Skip to main content
GET
/
combined-data
/
git-api
/
pulls
/
forTeam
/
:teamDataId
Get Pull Requests for Team
curl --request GET \
  --url https://www.api.baselink.tech/combined-data/git-api/pulls/forTeam/:teamDataId \
  --header 'bearer: <api-key>'
{
  "pullRequests": [
    {}
  ],
  "pullRequests[].id": "<string>",
  "pullRequests[].repoId": "<string>",
  "pullRequests[].repoName": "<string>",
  "pullRequests[].number": 123,
  "pullRequests[].title": "<string>",
  "pullRequests[].state": "<string>",
  "pullRequests[].author": "<string>",
  "pullRequests[].createdAt": "<string>",
  "pullRequests[].updatedAt": "<string>",
  "pullRequests[].mergedAt": "<string>",
  "pullRequests[].closedAt": "<string>"
}
Retrieve pull request data for all repositories in a specific team.
pullRequests
array
Array of pull request data objects for the team.
pullRequests[].id
string
The unique identifier of the pull request.
pullRequests[].repoId
string
The ID of the repository.
pullRequests[].repoName
string
The name of the repository.
pullRequests[].number
number
The pull request number.
pullRequests[].title
string
The title of the pull request.
pullRequests[].state
string
The state of the pull request (open, closed, merged).
pullRequests[].author
string
The author of the pull request.
pullRequests[].createdAt
string
The creation timestamp of the pull request.
pullRequests[].updatedAt
string
The last update timestamp of the pull request.
pullRequests[].mergedAt
string
The merge timestamp of the pull request.
pullRequests[].closedAt
string
The close timestamp of the pull request.