Skip to main content
GET
/
combined-data
/
git-api
/
pulls
/
forRepo
/
:repoDataId
Get Pull Requests for Repository
curl --request GET \
  --url https://www.api.baselink.tech/combined-data/git-api/pulls/forRepo/:repoDataId \
  --header 'bearer: <api-key>'
{
  "pullRequests": [
    {}
  ],
  "pullRequests[].id": "<string>",
  "pullRequests[].number": 123,
  "pullRequests[].title": "<string>",
  "pullRequests[].state": "<string>",
  "pullRequests[].author": "<string>",
  "pullRequests[].createdAt": "<string>",
  "pullRequests[].updatedAt": "<string>",
  "pullRequests[].mergedAt": "<string>"
}
Retrieve pull request data for a specific repository.
pullRequests
array
Array of pull request data objects for the repository.
pullRequests[].id
string
The unique identifier of the pull request.
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.