mirror of
https://github.com/immich-app/immich.git
synced 2026-10-11 22:49:53 +00:00
chore: mark people users endpoints as beta (#32232)
This commit is contained in:
@@ -10115,16 +10115,16 @@
|
||||
],
|
||||
"x-immich-history": [
|
||||
{
|
||||
"version": "v3.3",
|
||||
"version": "v3.3.0",
|
||||
"state": "Added"
|
||||
},
|
||||
{
|
||||
"version": "v3.3",
|
||||
"state": "Stable"
|
||||
"version": "v3.3.0",
|
||||
"state": "Beta"
|
||||
}
|
||||
],
|
||||
"x-immich-permission": "person.update",
|
||||
"x-immich-state": "Stable"
|
||||
"x-immich-state": "Beta"
|
||||
},
|
||||
"get": {
|
||||
"description": "Retrieve a list of users and the people to which they have been given access",
|
||||
@@ -10210,16 +10210,16 @@
|
||||
],
|
||||
"x-immich-history": [
|
||||
{
|
||||
"version": "v3.3",
|
||||
"version": "v3.3.0",
|
||||
"state": "Added"
|
||||
},
|
||||
{
|
||||
"version": "v3.3",
|
||||
"state": "Stable"
|
||||
"version": "v3.3.0",
|
||||
"state": "Beta"
|
||||
}
|
||||
],
|
||||
"x-immich-permission": "person.read",
|
||||
"x-immich-state": "Stable"
|
||||
"x-immich-state": "Beta"
|
||||
},
|
||||
"put": {
|
||||
"description": "Give users access to people",
|
||||
@@ -10257,16 +10257,16 @@
|
||||
],
|
||||
"x-immich-history": [
|
||||
{
|
||||
"version": "v3.3",
|
||||
"version": "v3.3.0",
|
||||
"state": "Added"
|
||||
},
|
||||
{
|
||||
"version": "v3.3",
|
||||
"state": "Stable"
|
||||
"version": "v3.3.0",
|
||||
"state": "Beta"
|
||||
}
|
||||
],
|
||||
"x-immich-permission": "person.update",
|
||||
"x-immich-state": "Stable"
|
||||
"x-immich-state": "Beta"
|
||||
}
|
||||
},
|
||||
"/people/{id}": {
|
||||
|
||||
@@ -227,7 +227,7 @@ export class PersonController {
|
||||
@Endpoint({
|
||||
summary: 'Get people access',
|
||||
description: 'Retrieve a list of users and the people to which they have been given access',
|
||||
history: new HistoryBuilder().added('v3.3').stable('v3.3'),
|
||||
history: new HistoryBuilder().added('v3.3.0').beta('v3.3.0'),
|
||||
})
|
||||
getUsersForPeople(@Auth() auth: AuthDto, @Query() dto: PersonUsersSearchDto): Promise<PersonUsersResponseDto> {
|
||||
return this.service.getUsersForPeople(auth, dto);
|
||||
@@ -238,7 +238,7 @@ export class PersonController {
|
||||
@Endpoint({
|
||||
summary: 'Upsert user access',
|
||||
description: 'Give users access to people',
|
||||
history: new HistoryBuilder().added('v3.3').stable('v3.3'),
|
||||
history: new HistoryBuilder().added('v3.3.0').beta('v3.3.0'),
|
||||
})
|
||||
upsertPeopleUsers(@Auth() auth: AuthDto, @Body() dto: PeopleUsersUpsertDto): Promise<void> {
|
||||
return this.service.upsertPeopleUsers(auth, dto);
|
||||
@@ -249,7 +249,7 @@ export class PersonController {
|
||||
@Endpoint({
|
||||
summary: 'Remove users from people',
|
||||
description: 'Remove user access to people',
|
||||
history: new HistoryBuilder().added('v3.3').stable('v3.3'),
|
||||
history: new HistoryBuilder().added('v3.3.0').beta('v3.3.0'),
|
||||
})
|
||||
removeUsersFromPeople(@Auth() auth: AuthDto, @Body() dto: PersonUsersDeleteDto): Promise<void> {
|
||||
return this.service.removeUsersFromPeople(auth, dto);
|
||||
|
||||
Reference in New Issue
Block a user