Get Milestones

GET /api/v1.0/milestones

This endpoint fetch the list of milestones.

Query parameters

  • project_id string Required

    Project ID

  • limit string

    No of records per page

  • offset string

    Record Offset

  • sort string

    Sorting order, default is descending

    Values are ascending or descending.

  • is_list string

    List Flag

Responses

  • Success Response

    Hide response attributes Show response attributes object
  • The client request has not been completed because it lacks valid authentication credentials for the requested resource.

  • The client does not have access rights to the content.

  • The request method is known by the server but is not supported by the target resource.

GET /api/v1.0/milestones
curl \
 -X GET https://openapi.niftypm.com/api/v1.0/milestones?project_id=string \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "hasMore": false,
  "items": [
    {
      "id": "string",
      "name": "string",
      "created_at": "2023-05-04T09:42:00+00:00",
      "created_by": "string",
      "description": "string",
      "dependency": "string",
      "start": "2023-05-04T09:42:00+00:00",
      "end": "2023-05-04T09:42:00+00:00",
      "archived": "string",
      "project": "string",
      "task_group": "string",
      "rule": "string",
      "tasks": [
        "string"
      ],
      "hidden": [
        "string"
      ],
      "fields": [
        {
          "id": "string",
          "value": "string"
        }
      ],
      "statistic": {
        "total": 42.0,
        "completed": 42.0,
        "overdue": 42.0,
        "total_story_points": 42.0,
        "completed_story_points": 42.0
      },
      "order": 42.0,
      "color": "string",
      "is_list": true,
      "assignees": [
        "string"
      ]
    }
  ]
}
Response examples (200)
{
  "hasMore": false,
  "items": [
    {
      "id": "string",
      "name": "string",
      "created_at": "2024-05-04T09:42:00+00:00",
      "created_by": "string",
      "description": "string",
      "dependency": "string",
      "start": "2024-05-04T09:42:00+00:00",
      "end": "2024-05-04T09:42:00+00:00",
      "archived": "string",
      "project": "string",
      "task_group": "string",
      "rule": "string",
      "tasks": [
        "string"
      ],
      "hidden": [
        "string"
      ],
      "fields": [
        {
          "id": "string",
          "value": "string"
        }
      ],
      "statistic": {
        "total": 42.0,
        "completed": 42.0,
        "overdue": 42.0,
        "total_story_points": 42.0,
        "completed_story_points": 42.0
      },
      "order": 42.0,
      "color": "string",
      "is_list": true,
      "assignees": [
        "string"
      ]
    }
  ]
}