Skip to main content

Colormap API

Version: 1.0

Create object attribute association

POST
/colormap/orgs/{org_id}/workspaces/{workspace_id}/objects/{object_id}/associations

Create a new association for a colormap to an object attribute.

Request

Path parameters
org_iduuid
Required
workspace_iduuid
Required
object_iduuid
Required
Body parameters
Required
attribute_idstring
Required
colormap_iduuid
Required
{
"attribute_id": "string",
"colormap_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

Responses

200

Successful Response

attribute_idstring
colormap_iduuid
colormap_uriuri
>= 1 char
created_atdate-time
created_byuuid
iduuid
modified_atdate-time
modified_byuuid
self_linkuri
>= 1 char
workspace_iduuid
{
"attribute_id": "string",
"colormap_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"colormap_uri": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"created_by": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"modified_at": "2024-07-29T15:51:28.071Z",
"modified_by": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"self_link": "string",
"workspace_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

422

Validation Error

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