REST API overview

API · v1.4.0

Tags

4 endpoints. Paths are relative to /api/v1 on your own instance; authentication is described on the overview page.

GET /workspaces/{workspace}/tags

Parameters

NameInTypeDescription
workspacerequiredpathstring

The workspace slug

cursorquerystring

Opaque cursor taken from meta.next_cursor of the previous page; omit it for the first page.

limitqueryinteger

Page size.

Responses

  • 200
  • 404 Not found
  • 403 Authorization error
  • 401 Unauthenticated

POST /workspaces/{workspace}/tags

Parameters

NameInTypeDescription
workspacerequiredpathstring

The workspace slug

Request body

NameType
namerequiredstring
colorstring

Responses

  • 201
  • 422 Validation error
  • 404 Not found
  • 403 Authorization error
  • 401 Unauthenticated

PATCH /workspaces/{workspace}/tags/{tag}

Parameters

NameInTypeDescription
workspacerequiredpathstring

The workspace slug

tagrequiredpathinteger

The tag ID

Request body

NameType
namestring
colorstring

Responses

  • 200
  • 422 Validation error
  • 404 Not found
  • 403 Authorization error
  • 401 Unauthenticated

DELETE /workspaces/{workspace}/tags/{tag}

Parameters

NameInTypeDescription
workspacerequiredpathstring

The workspace slug

tagrequiredpathinteger

The tag ID

Responses

  • 204 No content
  • 404 Not found
  • 403 Authorization error
  • 401 Unauthenticated