Add New Milestone

POST/api/milestones

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
title string Mandatory Milestone title
project_id number Mandatory Project ID
due_date string Mandatory Due date (Y-m-d)
description string optional Optional Milestone description
curl -X POST "https://yoursite.com/api/milestones" \
  -H "authtoken: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "title": "...", "project_id": "...", "due_date": "..." }'

Success-Response:

HTTP/1.1 201 Created
{
  "status": 200,
  "messages": {"success": "Milestone add success"},
  "id": 1
}
MethodPOST
Path/api/milestones
GroupMilestones
Sincev1.0.0
Defined inRestApi/Controllers/MilestonesController.php