chart-theme
GET
https://lucidace.com /v1/orgs/{org_id}/chart-theme Scope adminParameters
org_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/chart-theme"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
Example
{
"source": "string",
"theme": {
"dark": [
"string"
],
"light": [
"string"
]
}
}Schema
sourcestringproject | org; null when the shipped palette applies.themeThemeShow child parameters
darkstring[]requiredlightstring[]required404
PUT
https://lucidace.com /v1/orgs/{org_id}/chart-theme Scope adminParameters
org_idstringpathrequiredRequest body
application/json
Eight #rrggbb series colours for light mode and eight for dark mode.
darkstring[]requiredlightstring[]required{
"dark": [
"string"
],
"light": [
"string"
]
}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/orgs/{org_id}/chart-theme" \
-H "Content-Type: application/json" \
-d '{"dark":["string"],"light":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
DELETE
https://lucidace.com /v1/orgs/{org_id}/chart-theme Scope adminParameters
org_idstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/orgs/{org_id}/chart-theme"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
GET
https://lucidace.com /v1/projects/{project_id}/chart-theme Scope insight:readParameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/chart-theme"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 The theme the project's charts use: its own, else the org's
404
PUT
https://lucidace.com /v1/projects/{project_id}/chart-theme Scope adminParameters
project_idstringpathrequiredRequest body
application/json
Eight #rrggbb series colours for light mode and eight for dark mode.
darkstring[]requiredlightstring[]required{
"dark": [
"string"
],
"light": [
"string"
]
}Code samples
cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/chart-theme" \
-H "Content-Type: application/json" \
-d '{"dark":["string"],"light":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200
400 A colour is too faint, malformed or repeated
403
404
DELETE
https://lucidace.com /v1/projects/{project_id}/chart-theme Scope adminParameters
project_idstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/chart-theme"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204 The project falls back to the org theme
403
404
Updated