Get a label
/workspace/{handle}/labels/{id}Scopes
Needs a token holding issues:read, issues:write or projects:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
idstringRequiredResponses
200OK
LabelResponse
colorstringcreated_atstringcreated_byUserReference5 fields
avatarstringavatar_gradientstringemailstringidstringnamestringdescriptionstringidstringnamestringupdated_atstringupdated_byUserReference5 fields
avatarstringavatar_gradientstringemailstringidstringnamestringdefaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.
List the workspace's labels
/workspace/{handle}/labels/all-by-workspaceScopes
Needs a token holding issues:read, issues:write or projects:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
Request bodyapplication/json
PaginationAndFilters
exclude_pending_deletionbooleanexclude_user_idsarray of stringnullablefiltersanynullableids_onlybooleaninclude_invitesbooleanlabel_idsarray of stringnullablelimitintegernullablepageintegernullablequerystringnullablerole_excludearray of stringnullablerole_slugsarray of stringnullablesort_bystringnullablesort_dirstringnullablestatusesarray of stringnullableResponses
200OK
object
countintegerUnfiltered item count, where the endpoint reports one. Omitted when zero.
dataarray of LabelResponsenullable8 fields
colorstringcreated_atstringcreated_byUserReference5 fields
avatarstringavatar_gradientstringemailstringidstringnamestringdescriptionstringidstringnamestringupdated_atstringupdated_byUserReference5 fields
avatarstringavatar_gradientstringemailstringidstringnamestringlimitintegerPage size used for this response. Omitted when zero.
pageintegerCurrent page, starting at 1. Omitted when zero.
totalintegerNumber of items matching the filters. Omitted when zero.
defaultError. Handlers answer with the JSON `Error` body; workspace, authentication and rate-limit checks that run before the handler answer with a plain-text message.
See Errors for the fields it carries.