mirror of
https://github.com/immich-app/immich.git
synced 2025-12-19 01:11:07 +03:00
feat(server): apk links API endpoint for Obtainium Android mobile-server version sync (#18700)
This commit is contained in:
@@ -3,6 +3,7 @@ import { ApiNotFoundResponse, ApiTags } from '@nestjs/swagger';
|
||||
import { LicenseKeyDto, LicenseResponseDto } from 'src/dtos/license.dto';
|
||||
import {
|
||||
ServerAboutResponseDto,
|
||||
ServerApkLinksDto,
|
||||
ServerConfigDto,
|
||||
ServerFeaturesDto,
|
||||
ServerMediaTypesResponseDto,
|
||||
@@ -34,6 +35,12 @@ export class ServerController {
|
||||
return this.service.getAboutInfo();
|
||||
}
|
||||
|
||||
@Get('android-links')
|
||||
@Authenticated()
|
||||
getAndroidLinks(): ServerApkLinksDto {
|
||||
return this.service.getAndroidLinks();
|
||||
}
|
||||
|
||||
@Get('storage')
|
||||
@Authenticated()
|
||||
getStorage(): Promise<ServerStorageResponseDto> {
|
||||
|
||||
Reference in New Issue
Block a user