mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
parent
15c1cd6449
commit
8a445cac07
24 changed files with 905 additions and 18 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { Controller, Get } from '@nestjs/common';
|
||||
import { ApiTags } from '@nestjs/swagger';
|
||||
import {
|
||||
ServerAboutResponseDto,
|
||||
ServerConfigDto,
|
||||
ServerFeaturesDto,
|
||||
ServerMediaTypesResponseDto,
|
||||
|
|
@ -22,6 +23,12 @@ export class ServerInfoController {
|
|||
private versionService: VersionService,
|
||||
) {}
|
||||
|
||||
@Get('about')
|
||||
@Authenticated()
|
||||
getAboutInfo(): Promise<ServerAboutResponseDto> {
|
||||
return this.service.getAboutInfo();
|
||||
}
|
||||
|
||||
@Get('storage')
|
||||
@Authenticated()
|
||||
getStorage(): Promise<ServerStorageResponseDto> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue