Color Palettes
Update a custom color palette
Changed onUpdates a custom chart color palette. Omitted fields keep their current values. Charts using the palette pick up the new colors. Requires the Manage Config permission.
put/api/v1/color-palettes/{id}
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/color-palettes/{id}
- AuthHTTP bearer
Path parameters
idstring uuid required
Palette ID
Example:3c90c3cc-0d44-4b50-8888-8dd25736052a
Request body
Example request
{
"colors": [
"#1f77b4",
"#ff7f0e",
"#2ca02c"
],
"name": "Brand colors",
"type": "discrete"
}Response
Color palette updated
Example response
{
"colors": [
"#1f77b4",
"#ff7f0e",
"#2ca02c"
],
"name": "Brand colors",
"type": "discrete"
}Changes
- info
endpoint added
- info