Developers
API ReferenceMilestone

Creates a Milestone resource

POST
/project/milestones

Creates a Milestone resource

Authorization<token>

Value for the Authorization header parameter.

In: header

Request Body

The new Milestone resource

TypeScript Definitions

Use the request body type in TypeScript.

project*string
Formatuuid
stage?|
Formatuuid
name*string
Lengthlength <= 100
dateStart*string
Formatdate-time
description?|
Lengthlength <= 500
status?|

Value in

  • "todo"
  • "on-hold"
  • "at-risk"
  • "done"

Response Body

curl -X POST "https://example.com/project/milestones" \  -H "Content-Type: application/json" \  -d '{    "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",    "name": "string",    "dateStart": "2019-08-24T14:15:22Z"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "project": "9ec8a81a-31b2-4a83-bcd8-cef9150932d2",  "stage": "9f09bdb0-89bd-4a1a-b468-0312474f1023",  "weight": 0,  "name": "string",  "dateStart": "2019-08-24T14:15:22Z",  "description": "string",  "status": "todo"}