Get Pull Requests
- Http Method
- GET
- End Point
-
/~api/renovate/repos/{ownerName}/{repoName}/pulls
Placeholder Description Example {ownerName} Owner Name string {repoName} Repo Name string - Query Parameters
-
Parameter Description Required Example per_page Per_page Yes 1 state State No string sort Sort No string direction Direction No string page Page Yes 1 - Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
- No response body
- Operation Failed
-
- Status code
- Status code other than 200 indicating the error type
- Response Body
- Error detail of content type "text/plain"
- cURL Example
-
$ curl -u <login name>:<password or access token> -G https://git.codedune.app/~api/renovate/repos/string/string/pulls --data-urlencode per_page=1 --data-urlencode state=string --data-urlencode sort=string --data-urlencode direction=string --data-urlencode page=1