Colormap API
Get colormap by ID
Get a colormap by its ID, for a specified workspace and organization.
Request
Responses
200
Successful Response
List of ordered attribute values for gradient curve
An ordered list of RGB colors, containing between 2 and 1024 colors. Each color is represented by three integer values (for Red, Green, and Blue) ranging from 0 to 255.
List of gradient positions for gradient curve, floats between 0 and 1
An ordered list of RGB colors, containing between 1 and 16384 colors. Each color is represented by three integer values (for Red, Green, and Blue) ranging from 0 to 255.
String array mapping arbitrary strings to colors
An ordered list of RGB colors, containing between 1 and 1024 colors. Each color is represented by three integer values (for Red, Green, and Blue) ranging from 0 to 255.
Boolean array indicating whether to include the endpoint in the bucket or not
List of colormap bucket endpoints, must be one fewer than the number of colors
{
"attribute_controls": [
0
],
"colors": [
[
0
]
],
"created_at": "2024-07-29T15:51:28.071Z",
"created_by": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"gradient_controls": [
0
],
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"modified_at": "2024-07-29T15:51:28.071Z",
"modified_by": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"schema": "continuous",
"self_link": "string"
}
422
Validation Error
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}