Skip to content

High performance self-hosted photo and video management solution.

chore: mark people users endpoints as beta (#32232)

Daniel Dietzler481a7bf3ae0d
diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json
index e86bc1333a..c6ecca7c0d 100644
--- a/open-api/immich-openapi-specs.json
+++ b/open-api/immich-openapi-specs.json
@@ -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}": {
diff --git a/server/src/controllers/person.controller.ts b/server/src/controllers/person.controller.ts
index e0fcab739f..e387f45b90 100644
--- a/server/src/controllers/person.controller.ts
+++ b/server/src/controllers/person.controller.ts
@@ -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);