Resources Pull Request Get Changes
Get Changes
Http Method
GET
End Point
/api/pull-requests/{requestId}/changes
Placeholder Description Example
{requestId} Request Id 1
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
[ {
"id" : 1 ,
"requestId" : 1 ,
"userId" : 1 ,
"date" : "2021-10-27T00:10:08.153+00:00" ,
"data" : {
"@type" : "PullRequestApproveData" ,
"comment" : "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://code.onedev.io/api/pull-requests/1/changes
Please wait...
Page is in error, reload to recover