chore!: remove /api/server/theme endpoint (#27880)

chore: remove server/theme endpoint
This commit is contained in:
Jason Rasmussen
2026-04-17 08:30:03 -04:00
committed by GitHub
parent 41968fdcac
commit 2f8be45fe0
11 changed files with 0 additions and 251 deletions
-50
View File
@@ -10550,44 +10550,6 @@
"x-immich-state": "Stable"
}
},
"/server/theme": {
"get": {
"description": "Retrieve the custom CSS, if existent.",
"operationId": "getTheme",
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServerThemeDto"
}
}
},
"description": ""
}
},
"summary": "Get theme",
"tags": [
"Server"
],
"x-immich-history": [
{
"version": "v1",
"state": "Added"
},
{
"version": "v1",
"state": "Beta"
},
{
"version": "v2",
"state": "Stable"
}
],
"x-immich-state": "Stable"
}
},
"/server/version": {
"get": {
"description": "Retrieve the current server version in semantic versioning (semver) format.",
@@ -21373,18 +21335,6 @@
],
"type": "object"
},
"ServerThemeDto": {
"properties": {
"customCss": {
"description": "Custom CSS for theming",
"type": "string"
}
},
"required": [
"customCss"
],
"type": "object"
},
"ServerVersionHistoryResponseDto": {
"properties": {
"createdAt": {
@@ -2123,10 +2123,6 @@ export type ServerStorageResponseDto = {
/** Used disk space in bytes */
diskUseRaw: number;
};
export type ServerThemeDto = {
/** Custom CSS for theming */
customCss: string;
};
export type ServerVersionResponseDto = {
/** Major version number */
major: number;
@@ -5643,17 +5639,6 @@ export function getStorage(opts?: Oazapfts.RequestOpts) {
...opts
}));
}
/**
* Get theme
*/
export function getTheme(opts?: Oazapfts.RequestOpts) {
return oazapfts.ok(oazapfts.fetchJson<{
status: 200;
data: ServerThemeDto;
}>("/server/theme", {
...opts
}));
}
/**
* Get server version
*/