Query Basic Info
- Http Method
- GET
- End Point
-
/~api/pulls
- Query Parameters
-
Parameter Description Required Example query Syntax of this query is the same as in pull requests page No to be reviewed by me offset Offset Yes 0 count Count Yes 100 - Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
-
- Content Type
- application/json
- Example
-
[
{
"id" : 1 ,"title" : "string" ,"submitterId" : 1 ,"numberScopeId" : 1 ,"targetProjectId" : 1 ,"targetBranch" : "string" ,"sourceBranch" : "string" ,"baseCommitHash" : "string" ,"buildCommitHash" : "string" ,"duration" : 1 ,"submitTimeGroups" : {"day" : 1 ,"week" : 1 ,"month" : 1"closeTimeGroups" : {"day" : 1 ,"week" : 1 ,"month" : 1"uuid" : "string" ,"number" : 1 ,"commentCount" : 1 ,"lastActivity" : { } ,"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> -G https://git.codedune.app/~api/pulls --data-urlencode 'query=to be reviewed by me' --data-urlencode offset=0 --data-urlencode count=100