Skip to main content
MilestoneGet All Milestones By Project ID
TestMu AI
StatusCommunityBlog
Milestone

Get All Milestones By Project ID

Retrieve all milestones associated with a given project ID.

GET
/api/v1/project/{project_id}/milestones
Get All Milestones By Project ID
curl --request GET \
--url "https://test-manager-api.lambdatest.com//api/v1/project/{project_id}/milestones" \
--header "Authorization: Basic <encoded-value>"
{
"data": {
"project_id": "01JG9PVWC7MJ9YKR92TMDTVYJC",
"name": "Sample Test Runs",
"description": "",
"test_case_count": 17,
"test_run_count": 0,
"created_by": 1000188123,
"updated_by": 1000188123,
"created_at": "2024-12-29T17:19:20.000Z",
"updated_at": "2024-12-29T17:19:20.000Z",
"tags": [
{
"tag_id": 9043,
"name": "sample"
}
]
}
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

project_idstringrequired

Response

application/json

Successful retrieval of milestones.

dataobject
data.project_idstring
Example: "01JG9PVWC7MJ9YKR92TMDTVYJC"
data.namestring
Example: "Sample Test Runs"
data.descriptionstring
Example: ""
data.test_case_countnumber
Example: 17
data.test_run_countnumber
Example: 0
data.created_bynumber
Example: 1000188123
data.updated_bynumber
Example: 1000188123
data.created_atstring
Example: "2024-12-29T17:19:20.000Z"
data.updated_atstring
Example: "2024-12-29T17:19:20.000Z"
data.tagsobject[]
Get All Milestones By Project ID
curl --request GET \
--url "https://test-manager-api.lambdatest.com//api/v1/project/{project_id}/milestones" \
--header "Authorization: Basic <encoded-value>"
{
"data": {
"project_id": "01JG9PVWC7MJ9YKR92TMDTVYJC",
"name": "Sample Test Runs",
"description": "",
"test_case_count": 17,
"test_run_count": 0,
"created_by": 1000188123,
"updated_by": 1000188123,
"created_at": "2024-12-29T17:19:20.000Z",
"updated_at": "2024-12-29T17:19:20.000Z",
"tags": [
{
"tag_id": 9043,
"name": "sample"
}
]
}
}