Documentation menu
These are pre-release docs from the main branch.

API reference

7 operations in tags. Raw spec: openapi.json.

GET/api/v1/tags

GET /api/tags — the org's tag taxonomy with application counts.

Responses

StatusDescription
200

Security: bearer

POST/api/v1/tags

POST /api/tags — create a tag.

Request body

CreateTagRequest

Responses

StatusDescription
200
409duplicate tag name or idempotency key reused

Security: bearer

PATCH/api/v1/tags/{id}

PATCH /api/tags/{id} — rename / recolor.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

UpdateTagRequest

Responses

StatusDescription
200
404tag not found
409version conflict or duplicate name

Security: bearer

DELETE/api/v1/tags/{id}

DELETE /api/tags/{id} — removes the tag and every ticket application.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404tag not found

Security: bearer

GET/api/v1/tickets/{id}/tags

GET /api/tickets/{id}/tags — the ticket's applied tags.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200

Security: bearer

POST/api/v1/tickets/{id}/tags

POST /api/tickets/{id}/tags — apply a tag to a ticket (idempotent).

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

ApplyTagRequest

Responses

StatusDescription
200
404ticket or tag not found
409idempotency key reused

Security: bearer

DELETE/api/v1/tickets/{id}/tags/{tag_id}

DELETE /api/tickets/{id}/tags/{tag_id} — remove one applied tag.

Parameters

NameInTypeRequiredDescription
idpathstringYes
tag_idpathstringYes

Responses

StatusDescription
200
404ticket or tag not in scope

Security: bearer