List the distinct task labels for the Tasks-page Labels filter chip (PT-483)
GET/api/task-labels
List the distinct task labels for the Tasks-page Labels filter chip (PT-483). Scoped to exactly the tasks the caller can list via /api/my-tasks: the collaborator-or-creator project window for GUEST / projects.read.own-only callers, and pinned to the caller's own assigned tasks for tasks.read.own-only callers. Requires (tasks.read OR tasks.read.own) AND (projects.read OR projects.read.own) plus active membership.
Request
Responses
- 200
- 401
- 403
Successful response
Unauthorized — authentication credentials are missing or invalid
Forbidden — requires (tasks.read OR tasks.read.own) AND (projects.read OR projects.read.own), or the caller has no active membership in the organisation.