Resources Pull Request Get Basic Info
Get Basic Info
Http Method
GET
End Point
/~api/pulls/{requestId}
Placeholder Description Example
{requestId} Request Id 1
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
{
"id" : 1 ,
"title" : "string" ,
"description" : "string" ,
"sourceProjectId" : 1 ,
"status" : "OPEN" ,
"submitterId" : 1 ,
"numberScopeId" : 1 ,
"targetProjectId" : 1 ,
"targetBranch" : "string" ,
"sourceBranch" : "string" ,
"baseCommitHash" : "string" ,
"buildCommitHash" : "string" ,
"submitDate" : "2024-11-21T11:17:38.052+00:00" ,
"closeDate" : "2024-11-21T11:17:38.052+00:00" ,
"duration" : 1 ,
"submitTimeGroups" : {
"day" : 1 ,
"week" : 1 ,
"month" : 1
}
,
"closeTimeGroups" : {
"day" : 1 ,
"week" : 1 ,
"month" : 1
}
,
"mergeStrategy" : "CREATE_MERGE_COMMIT" ,
"uuid" : "string" ,
"number" : 1 ,
"commentCount" : 1 ,
"lastActivity" : {
"userId" : 1 ,
"date" : "2024-11-21T11:17:38.053+00:00" ,
"description" : "string"
}
,
"codeCommentsUpdateDate" : "2024-11-21T11:17:38.053+00:00" ,
"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.codedune.app/~api/pulls/1
Please wait...
Page is in error, reload to recover