Get Pull Requests
- Http Method
- GET
- End Point
-
/api/issues/{issueId}/pull-requests
Placeholder Description Example {issueId} Issue Id 1 - Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
-
- Content Type
- application/json
- Example
-
[
{
"id" : 1 ,"title" : "string" ,"description" : "string" ,"submitterId" : 1 ,"numberScopeId" : 1 ,"targetProjectId" : 1 ,"targetBranch" : "string" ,"sourceProjectId" : 1 ,"sourceBranch" : "string" ,"baseCommitHash" : "string" ,"uuid" : "string" ,"number" : 1 ,"commentCount" : 1 ,"lastUpdate" : { } ,"checkError" : "string"
- 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> https://git.crazyhackgut.ru/api/issues/1/pull-requests