diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json index 8359ebc173..068d01b901 100644 --- a/open-api/immich-openapi-specs.json +++ b/open-api/immich-openapi-specs.json @@ -4959,7 +4959,22 @@ "summary": "Retrieve auth status", "tags": [ "Authentication" - ] + ], + "x-immich-history": [ + { + "version": "v1", + "state": "Added" + }, + { + "version": "v1", + "state": "Beta" + }, + { + "version": "v2", + "state": "Stable" + } + ], + "x-immich-state": "Stable" } }, "/auth/validateToken": { diff --git a/server/src/controllers/auth.controller.ts b/server/src/controllers/auth.controller.ts index ea09e33080..63cdce4f32 100644 --- a/server/src/controllers/auth.controller.ts +++ b/server/src/controllers/auth.controller.ts @@ -112,6 +112,7 @@ export class AuthController { summary: 'Retrieve auth status', description: 'Get information about the current session, including whether the user has a password, and if the session can access locked assets.', + history: new HistoryBuilder().added('v1').beta('v1').stable('v2'), }) getAuthStatus(@Auth() auth: AuthDto): Promise { return this.service.getAuthStatus(auth);