Update
Update milestone of specified id
- Http Method
- POST
- End Point
-
/~api/milestones/{milestoneId}
Placeholder |
Description |
Example |
{milestoneId} |
Milestone Id |
1
|
- Request Body
-
- Content Type
- application/json
- Example
-
{
"projectId"
:
1
,
"name"
:
"string"
,
"description"
:
"string"
,
"startDate"
:
"2024-09-16T21:41:46.996+00:00"
,
"dueDate"
:
"2024-09-16T21:41:46.996+00:00"
,
"closed"
:
true
}
- Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
-
- Content Type
- application/json
- Example
-
1
- 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> -X POST [email protected] -H "Content-Type: application/json" https://crash.software/~api/milestones/1