Milestones
Milestone management operations
Retrieve a list of milestones with optional filtering
Number of items to skip
0
Maximum number of items to return
10
Filter by milestone slug
Filter by public visibility
Filter by milestone status
Filter by project ID
List of milestones retrieved successfully
Bad request - Invalid input parameters
Unauthorized - Invalid or missing authentication
GET /v1/milestones HTTP/1.1
Host: api.onset.com
Authorization: Bearer JWT
Accept: */*
[
{
"id": "text",
"title": "text",
"description": "text",
"slug": "text",
"status": "text",
"is_public": true,
"upvote_count": 1,
"project": {
"id": "text",
"name": "text"
},
"labels": [
{
"id": "text",
"name": "text",
"color": "text"
}
],
"created_at": "2025-09-13T04:40:10.136Z",
"updated_at": "2025-09-13T04:40:10.136Z"
}
]
Create a new milestone in the workspace
Milestone title
Milestone description/body content
Milestone status ID
URL-friendly milestone identifier
^[a-z0-9]+(?:-[a-z0-9]+)*$
Whether milestone should be publicly visible
ID of the project this milestone belongs to
Array of label IDs to attach to the milestone
Milestone created successfully
Bad request - Invalid input parameters
Unauthorized - Invalid or missing authentication
POST /v1/milestones HTTP/1.1
Host: api.onset.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 225
{
"title": "text",
"body": "text",
"status": "text",
"slug": "text",
"is_public": true,
"project_id": "text",
"label_ids": [
"text"
],
"attachments": [
{
"id": "text",
"type": "FILE",
"content": {
"title": "text",
"url": "text",
"size": 1,
"type": "text"
}
}
]
}
{
"id": "text",
"title": "text",
"description": "text",
"slug": "text",
"status": "text",
"is_public": true,
"upvote_count": 1,
"project": {
"id": "text",
"name": "text"
},
"labels": [
{
"id": "text",
"name": "text",
"color": "text"
}
],
"created_at": "2025-09-13T04:40:10.136Z",
"updated_at": "2025-09-13T04:40:10.136Z"
}
Retrieve a specific milestone by its ID
Milestone ID
Milestone retrieved successfully
Unauthorized - Invalid or missing authentication
Not found - Resource does not exist
GET /v1/milestones/{id} HTTP/1.1
Host: api.onset.com
Authorization: Bearer JWT
Accept: */*
{
"id": "text",
"title": "text",
"description": "text",
"slug": "text",
"status": "text",
"is_public": true,
"upvote_count": 1,
"project": {
"id": "text",
"name": "text"
},
"labels": [
{
"id": "text",
"name": "text",
"color": "text"
}
],
"created_at": "2025-09-13T04:40:10.136Z",
"updated_at": "2025-09-13T04:40:10.136Z"
}
Delete a milestone by its ID
Milestone ID
Milestone deleted successfully
No content
Unauthorized - Invalid or missing authentication
Not found - Resource does not exist
DELETE /v1/milestones/{id} HTTP/1.1
Host: api.onset.com
Authorization: Bearer JWT
Accept: */*
No content
Update an existing milestone
Milestone ID
Milestone title
Milestone description/body content
Milestone status ID
URL-friendly milestone identifier
^[a-z0-9]+(?:-[a-z0-9]+)*$
Whether milestone should be publicly visible
ID of the project this milestone belongs to
Array of label IDs to attach to the milestone
Milestone updated successfully
Bad request - Invalid input parameters
Unauthorized - Invalid or missing authentication
Not found - Resource does not exist
PATCH /v1/milestones/{id} HTTP/1.1
Host: api.onset.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 225
{
"title": "text",
"body": "text",
"status": "text",
"slug": "text",
"is_public": true,
"project_id": "text",
"label_ids": [
"text"
],
"attachments": [
{
"id": "text",
"type": "FILE",
"content": {
"title": "text",
"url": "text",
"size": 1,
"type": "text"
}
}
]
}
{
"id": "text",
"title": "text",
"description": "text",
"slug": "text",
"status": "text",
"is_public": true,
"upvote_count": 1,
"project": {
"id": "text",
"name": "text"
},
"labels": [
{
"id": "text",
"name": "text",
"color": "text"
}
],
"created_at": "2025-09-13T04:40:10.136Z",
"updated_at": "2025-09-13T04:40:10.136Z"
}