feat(server): apk links API endpoint for Obtainium Android mobile-server version sync (#18700)

This commit is contained in:
Nicholas 2025-05-28 17:45:49 -04:00 committed by GitHub
parent be247395db
commit 8ea40973a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 263 additions and 0 deletions

View file

@ -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> {