chart-theme
GET
https://lucida.15-204-158-166.sslip.io /v1/orgs/{org_id}/chart-theme Parameters
org_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucida.15-204-158-166.sslip.io/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://lucida.15-204-158-166.sslip.io /v1/orgs/{org_id}/chart-theme Parameters
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://lucida.15-204-158-166.sslip.io/v1/orgs/{org_id}/chart-theme" \
-H "Content-Type: application/json" \
-d '{"dark":["string"],"light":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
DELETE
https://lucida.15-204-158-166.sslip.io /v1/orgs/{org_id}/chart-theme Parameters
org_idstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucida.15-204-158-166.sslip.io/v1/orgs/{org_id}/chart-theme"TypeScript
Python
Go
PHP
Ruby
Java
Responses
204
403
404
GET
https://lucida.15-204-158-166.sslip.io /v1/projects/{project_id}/chart-theme Parameters
project_idstringpathrequiredCode samples
cURL
curl -X GET "https://lucida.15-204-158-166.sslip.io/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://lucida.15-204-158-166.sslip.io /v1/projects/{project_id}/chart-theme Parameters
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://lucida.15-204-158-166.sslip.io/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://lucida.15-204-158-166.sslip.io /v1/projects/{project_id}/chart-theme Parameters
project_idstringpathrequiredCode samples
cURL
curl -X DELETE "https://lucida.15-204-158-166.sslip.io/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