Taxonomy

createTaxonomyClassification

Create a new classification for a taxonomy

post/v2/entity/taxonomies/classifications

Request

  • Base URL
    https://entity.sls.epilot.io
  • URL
    https://entity.sls.epilot.io/v2/entity/taxonomies/classifications
  • Auth
    • HTTP bearer
    • or API key in header x-epilot-org-id

Request body

idstring
slugstring required

URL-friendly identifier for the classification

namestring required
parentsClassificationId[]
colorstring

Color of the classification

created_atstring date-time
updated_atstring date-time
archivedboolean

Archived classification are not visible in the UI

starredboolean

Starred taxonomy classifications can represent "favorites" or commonly used classifications

enabled_purposesstring[]

List of purpose slugs where the classification is enabled to be used. If empty, it's enabled for all purposes.

_manifeststring[] nullable

Manifest ID used to create/update the taxonomy classification

Example request

{
  "id": "taxonomy-slug:classification-slug",
  "slug": "wallbox-pv",
  "name": "Wallbox PV",
  "parents": [
    "taxonomy-slug:classification-slug"
  ],
  "color": "#FF5733",
  "_manifest": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}

Response

Created taxonomy classification

idstring
slugstring required

URL-friendly identifier for the classification

namestring required
parentsClassificationId[]
colorstring

Color of the classification

created_atstring date-time
updated_atstring date-time
archivedboolean

Archived classification are not visible in the UI

starredboolean

Starred taxonomy classifications can represent "favorites" or commonly used classifications

enabled_purposesstring[]

List of purpose slugs where the classification is enabled to be used. If empty, it's enabled for all purposes.

_manifeststring[] nullable

Manifest ID used to create/update the taxonomy classification

Example response

{
  "id": "taxonomy-slug:classification-slug",
  "slug": "wallbox-pv",
  "name": "Wallbox PV",
  "parents": [
    "taxonomy-slug:classification-slug"
  ],
  "color": "#FF5733",
  "_manifest": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}

Changes

No recorded changes to this operation across all 18 revisions of this API.