mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(server): apk links API endpoint for Obtainium Android mobile-server version sync (#18700)
This commit is contained in:
parent
be247395db
commit
8ea40973a7
10 changed files with 263 additions and 0 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue