Workspace API
Get all projects accessible to a workspace member
get/workspaces/{workspace_domain}/members/{user_id}/projects
Path parameters
workspace_domainstring required
Example:my-company
The human-readable ID of the workspace
user_idinteger required
Example:456
The ID of the user
Query parameters
pageinteger
Example:1
The number of the successive pages (results are split into pages of per_page elements each).
per_pageinteger
Example:20
Specifies the number of returned elements on the page. The default value is 20.
statusstring
Example:ACTIVE
Filters projects by the specified status. Can be one of ACTIVE or CLOSED
sort_bystring
Example:name
Specifies ordering. Can be one of name, create_date or repository_size
sort_directionstring
Example:ASC
Specifies the direction of the ordering. Can be one of ASC or DESC
allstring
Example:true
If set to true, returns all projects accessible to the user
Response
Example response
{
"projects": [
{
"name": "my-project",
"display_name": "My Project"
}
]
}