Activity

List what is open for a member

Changed on

Review requests, open pull requests and assigned issues, most recently updated first. Pull requests carry their reviewers.

get/workspaces/{workspaceSlug}/activity/members/{login}/open-work

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /workspaces/{workspaceSlug}/activity/members/{login}/open-work
  • Auth: HTTP bearer

Path parameters

workspaceSlugstring required

Workspace slug

loginstring required

The member's login

Response

Open work listed

Example response

{
  "issues": {
    "content": [
      {
        "number": 42,
        "repository": {
          "labels": [
            {
              "color": "d73a4a"
            }
          ]
        },
        "requestedTeams": [
          {
            "name": "Platform"
          }
        ]
      }
    ]
  },
  "pullRequests": {
    "content": [
      {
        "number": 42,
        "repository": {
          "labels": [
            {
              "color": "d73a4a"
            }
          ]
        },
        "requestedTeams": [
          {
            "name": "Platform"
          }
        ]
      }
    ]
  },
  "reviewRequests": {
    "content": [
      {
        "number": 42,
        "repository": {
          "labels": [
            {
              "color": "d73a4a"
            }
          ]
        },
        "requestedTeams": [
          {
            "name": "Platform"
          }
        ]
      }
    ]
  },
  "teamReviewRequests": {
    "content": [
      {
        "number": 42,
        "repository": {
          "labels": [
            {
              "color": "d73a4a"
            }
          ]
        },
        "requestedTeams": [
          {
            "name": "Platform"
          }
        ]
      }
    ]
  }
}

Changes

    • breaking

      for the path request parameter workspaceSlug, the minLength was increased from 0 to 3

    • warning

      for the path request parameter workspaceSlug, the maxLength was set to 51

    • warning

      changed the pattern of the path request parameter workspaceSlug from ^[a-z0-9][a-z0-9-]{2,50}$ to ^(?!.*--)[a-z0-9][a-z0-9-]{1,49}[a-z0-9]$

    • info

      added the non-success response with the status