List labels visible in one team context
Returns team and workspace-wide labels after current team membership is verified. A personal access token and an explicit team are required in this preview.
Returns team and workspace-wide labels after current team membership is verified. A personal access token and an explicit team are required in this preview.
Authorization
machineBearer Personal access tokens and supported service-account keys are accepted only in the Authorization header and never in URLs. Each operation documents which principal types it authorizes.
In: header
Path Parameters
Workspace UUID. It must match the workspace bound to the credential.
uuidQuery Parameters
Team whose labels are requested. Workspace-wide labels are included.
uuidOpaque, signed cursor returned by the preceding page. Do not inspect or modify it.
1 <= length <= 8192Maximum resources to return.
1 <= value <= 10050Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/labels?teamId=497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "workspaceId": "ef0efa32-d1c1-43d4-a5e2-fe7b4f00403c", "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec", "name": "string", "color": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "meta": { "hasMore": true, "nextCursor": "string" }}Get one comment on a visible story GET
Returns a comment only after the personal access token's user can currently read the owning story and team. Both comments:read and stories:read are required.
List workflow states for one team GET
Returns the ordered workflow for a team the personal access token's user currently belongs to.