Skip to main content

get-active-theme

dci get-active-theme

Returns the theme currently active for the authenticated user. themeId is the reserved sentinel "default" when no custom or preset theme is selected and the user is on the built-in default.

Responses

200 (application/json)

OK - The request succeeded.

{
"type": "object",
"required": [
"themeId"
],
"description": "The theme currently active for the authenticated user.",
"properties": {
"themeId": {
"type": "string",
"default": "default",
"description": "Identifier of the active theme. The reserved sentinel `\"default\"` is\nreturned when the user is using the built-in default (no custom or\npreset theme stored)."
}
}
}

401 (application/json)

Unauthorized - Invalid API key.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

403 (application/json)

Forbidden - The client is not authorized to perform the request.

{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}

Aliases: get-active-theme, getactivetheme