Skip to main content

Colormap API

Version: 1.0

List colormaps

GET
/colormap/orgs/{org_id}/workspaces/{workspace_id}/colormaps

Get a list of all colormaps for a specified workspace and organization.

Request

Path parameters
org_iduuid
Required
workspace_iduuid
Required

Responses

200

Successful Response

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.

created_atdate-time
created_byuuid
iduuid

String array mapping arbitrary strings to colors

modified_atdate-time
modified_byuuid
namestring
schema"continuous" | "category" | "discrete"
self_linkuri
>= 1 char

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.

created_atdate-time
created_byuuid

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

iduuid
modified_atdate-time
modified_byuuid
namestring
schema"continuous" | "category" | "discrete"
self_linkuri
>= 1 char

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.

created_atdate-time
created_byuuid

List of gradient positions for gradient curve, floats between 0 and 1

iduuid
modified_atdate-time
modified_byuuid
namestring
schema"continuous" | "category" | "discrete"
self_linkuri
>= 1 char
{
"colormaps": [
{
"colors": [
[
0
]
],
"created_at": "2024-07-29T15:51:28.071Z",
"created_by": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"map": [
"string"
],
"modified_at": "2024-07-29T15:51:28.071Z",
"modified_by": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"schema": "continuous",
"self_link": "string"
},
{
"colors": [
[
0
]
],
"created_at": "2024-07-29T15:51:28.071Z",
"created_by": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"end_inclusive": [
true
],
"end_points": [
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"
},
{
"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

msgstring
typestring
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}