Resources Issue Get Milestones
Get Milestones
Http Method
GET
End Point
/api/issues/{issueId}/milestones
Placeholder Description Example
{issueId} Issue Id 1
Response
Operation Successful
Status Code
200
Response Body
Content Type
application/json
Example
[ {
"id" : 1 ,
"projectId" : 1 ,
"name" : "string" ,
"description" : "string" ,
"startDate" : "2022-11-28T04:00:51.987+00:00" ,
"dueDate" : "2022-11-28T04:00:51.987+00:00" ,
"closed" : 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/issues/1/milestones
Please wait...
Page is in error, reload to recover