chore: mark people users endpoints as beta (#32233)
chore: mark people users endpoints as beta (#32232) (cherry picked from commit 481a7bf3ae0d2c2613100d74b028463117e44a39) Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
This commit is contained in:
co-authored by
Daniel Dietzler
parent
f892a5485d
commit
5a7e65fac3
@@ -10129,16 +10129,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",
|
||||
@@ -10224,16 +10224,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",
|
||||
@@ -10271,16 +10271,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}": {
|
||||
|
||||
@@ -231,7 +231,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);
|
||||
@@ -242,7 +242,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);
|
||||
@@ -253,7 +253,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