diff --git a/mobile/openapi/README.md b/mobile/openapi/README.md index 22264857e..73bbe7c1f 100644 Binary files a/mobile/openapi/README.md and b/mobile/openapi/README.md differ diff --git a/mobile/openapi/lib/api/server_api.dart b/mobile/openapi/lib/api/server_api.dart index 4220e6747..7abdabcd3 100644 Binary files a/mobile/openapi/lib/api/server_api.dart and b/mobile/openapi/lib/api/server_api.dart differ diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json index 538a16e0a..f2886f59c 100644 --- a/open-api/immich-openapi-specs.json +++ b/open-api/immich-openapi-specs.json @@ -5275,9 +5275,9 @@ ] } }, - "/server/android-links": { + "/server/apk-links": { "get": { - "operationId": "getAndroidLinks", + "operationId": "getApkLinks", "parameters": [], "responses": { "200": { diff --git a/open-api/typescript-sdk/src/fetch-client.ts b/open-api/typescript-sdk/src/fetch-client.ts index 2b0e2849d..ac6608086 100644 --- a/open-api/typescript-sdk/src/fetch-client.ts +++ b/open-api/typescript-sdk/src/fetch-client.ts @@ -2874,11 +2874,11 @@ export function getAboutInfo(opts?: Oazapfts.RequestOpts) { ...opts })); } -export function getAndroidLinks(opts?: Oazapfts.RequestOpts) { +export function getApkLinks(opts?: Oazapfts.RequestOpts) { return oazapfts.ok(oazapfts.fetchJson<{ status: 200; data: ServerApkLinksDto; - }>("/server/android-links", { + }>("/server/apk-links", { ...opts })); } diff --git a/server/src/controllers/server.controller.ts b/server/src/controllers/server.controller.ts index 5bc78574c..3544fce2a 100644 --- a/server/src/controllers/server.controller.ts +++ b/server/src/controllers/server.controller.ts @@ -35,10 +35,10 @@ export class ServerController { return this.service.getAboutInfo(); } - @Get('android-links') + @Get('apk-links') @Authenticated() - getAndroidLinks(): ServerApkLinksDto { - return this.service.getAndroidLinks(); + getApkLinks(): ServerApkLinksDto { + return this.service.getApkLinks(); } @Get('storage') diff --git a/server/src/services/server.service.ts b/server/src/services/server.service.ts index e871536c9..bada717f4 100644 --- a/server/src/services/server.service.ts +++ b/server/src/services/server.service.ts @@ -49,7 +49,7 @@ export class ServerService extends BaseService { }; } - getAndroidLinks(): ServerApkLinksDto { + getApkLinks(): ServerApkLinksDto { const baseUrl = `https://github.com/immich-app/immich/releases/download/v${serverVersion.toString()}`; return { arm64v8a: `${baseUrl}/app-arm64-v8a-release.apk`,