2 Trellis API endpoints for members, with the scopes, parameters and response each one takes.
List the workspace's members
/workspaces/{handle}/membership/allScopes
Needs a token holding issues:read, issues:write or workspace: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
A page of members, or every matching user ID when the request sets `ids_only`.
MemberListPage
countsMemberStatusCounts2 fields
activeintegerpendingintegerdataarray of MemberListItemnullable22 fields
avatar_gradientstringcontract_end_datestringcontract_start_datestringcreated_atstringhas_salarybooleanidstringinvited_atstringis_expiredbooleanlabelsarray of MemberLabelnullable4 fields
colorstringdescriptionstringidstringnamestringrate_card_idstringrate_card_namestringrole_colorstringrole_idstringrole_namestringrole_slugstringstatusstringupdated_atstringuser_avatarstringuser_emailstringuser_idstringuser_namestringworkspace_idstringlimitintegerpageintegertotalintegerMemberIDsPage
dataarray of stringnullablelimitintegerpageintegertotalintegerdefaultError. 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.
Get the caller's workspace membership
/workspaces/{handle}/membership/meScopes
Needs a token holding issues:read, issues:write or workspace:read.
Path parameters
handlestringRequiredWorkspace handle, as it appears in the Trellis URL.
Responses
200OK
MyMembership
addressstringavatar_gradientstringcitystringcontract_end_datestringcontract_start_datestringcountrystringcreated_atstringdate_of_birthstringhas_salarybooleanidstringphone_numberstringrate_card_idstringrate_card_namestringrole_colorstringrole_idstringrole_namestringrole_slugstringupdated_atstringuser_avatarstringuser_emailstringuser_idstringuser_namestringworkspace_idstringzip_codestringdefaultError. 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.