Resources User Get Pull Request Watches
Get Pull Request Watches
Http Method
GET
End Point
/api/users/{userId}/pull-request-watches
Placeholder Description Example
{userId} User Id 1
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
[ {
"id" : 1 ,
"requestId" : 1 ,
"userId" : 1 ,
"watching" : true
}
]
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/users/1/pull-request-watches
Please wait...
Page is in error, reload to recover