Teams
List teams
Changed onReturns all teams in the workspace organization
get/workspaces/{workspaceSlug}/team
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /workspaces/{workspaceSlug}/team
- Auth: HTTP bearer
Path parameters
workspaceSlugstring required
Workspace slug
Response
list of teams with their members and permissions
Example response
[
{
"labels": [
{
"color": "d73a4a"
}
],
"repositories": [
{
"labels": [
{
"color": "d73a4a"
}
]
}
]
}
]Changes
- breaking
for the
pathrequest parameterworkspaceSlug, the minLength was increased from0to3 - warning
for the
pathrequest parameterworkspaceSlug, the maxLength was set to51 - warning
changed the pattern of the
pathrequest parameterworkspaceSlugfrom^[a-z0-9][a-z0-9-]{2,50}$to^(?!.*--)[a-z0-9][a-z0-9-]{1,49}[a-z0-9]$
- breaking
- info
added the required property
/to the response with the status
- info