List activity by the pull request or issue it happened on, one page at a time
Changed onOne member's activity when login is given, otherwise everyone's in the workspace or the team. With both, the member's activity within the team's scope. Each pull request or issue is listed once, by its latest activity in the range, newest first.
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /workspaces/{workspaceSlug}/activity/work
- Auth: HTTP bearer
Path parameters
Workspace slug
Query parameters
Activity range
Kinds of activity to list (repeatable); omit for every kind
The previous page's nextCursor; omit for the first page
Page size from 1 to 100; defaults to 30
Response
One page of work
Example response
{
"content": [
{
"actions": [
{
"count": 3
}
],
"work": {
"number": 42,
"repository": {
"labels": [
{
"color": "d73a4a"
}
]
},
"requestedTeams": [
{
"name": "Platform"
}
]
}
}
]
}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
- warning
deleted the
queryrequest parameterteamId - info
added the new optional
queryrequest parameterrange - info
added the new optional
queryrequest parameterrepo - info
added the new optional
queryrequest parameterteam
- warning