get-custom-theme
dci get-custom-theme id
Returns a custom theme by the specified Id.
Responses
200 (application/json)
OK - Custom theme returned.
{
"required": [
"id",
"name",
"primaryColor",
"colors"
],
"type": "object",
"description": "A custom color theme applied to Cloud Analytics reports.",
"properties": {
"id": {
"type": "string",
"description": "The unique identifier of the custom theme."
},
"name": {
"type": "string",
"description": "The display name of the custom theme.",
"maxLength": 200
},
"primaryColor": {
"type": "string",
"description": "A color in hex notation. Accepts `#RGB`, `#RRGGBB`, or `#RRGGBBAA`.",
"pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
"example": "#1A73E8"
},
"colors": {
"type": "object",
"required": [
"light",
"dark"
],
"description": "Palettes for light and dark display modes. Each palette must contain between 1 and 32 hex colors.",
"properties": {
"light": {
"type": "array",
"minItems": 1,
"maxItems": 32,
"items": {
"type": "string",
"description": "A color in hex notation. Accepts `#RGB`, `#RRGGBB`, or `#RRGGBBAA`.",
"pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
"example": "#1A73E8"
},
"description": "Colors used when the report is displayed in light mode."
},
"dark": {
"type": "array",
"minItems": 1,
"maxItems": 32,
"items": {
"type": "string",
"description": "A color in hex notation. Accepts `#RGB`, `#RRGGBB`, or `#RRGGBBAA`.",
"pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
"example": "#1A73E8"
},
"description": "Colors used when the report is displayed in dark mode."
}
}
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "The creation time of the custom theme."
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "The time when the custom theme was last updated."
}
}
}
400 (application/json)
Bad Request - The server cannot process the request, often due to a malformed request.
{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
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."
}
}
}
404 (application/json)
Not Found - The requested resource does not exist.
{
"type": "object",
"description": "Standard error response structure.",
"properties": {
"error": {
"type": "string",
"description": "Detailed error message."
}
}
}
Aliases: get-custom-theme, getcustomtheme