Tag Definitions

Create Tag Definition

Changed on
post/api/v1/tag-definitions

Request

  • Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.getanana.com/api/v1/tag-definitions
  • Auth: none declared

Request body

namestring required
slugstring required
color'default' | 'neutral' | 'success' | 'error' | 'warning' | 'danger' | 'info' | 'purple' | 'pink' | 'teal' | 'orange' | 'indigo' | 'slate'
iconstring nullable
descriptionstring nullable

Response

Successful Response

idstring uuid required
namestring required
slugstring required
color'default' | 'neutral' | 'success' | 'error' | 'warning' | 'danger' | 'info' | 'purple' | 'pink' | 'teal' | 'orange' | 'indigo' | 'slate' required
iconstring nullable
descriptionstring nullable required
dimensionstring required
parent_idstring uuid nullable required
deprecated_atstring date-time nullable required
created_by_user_idstring uuid nullable required
created_atstring date-time required
updated_atstring date-time required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status