Milestone › Create a new milestone
Milestone
Create a new milestone Endpoint to create a new milestone for a project.
curl -- request POST \
-- url "https://test-manager-api.lambdatest.com/api/v1/milestone" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"project_id" : "01JEQSN8WQW76RM59X3KSBZYVH" ,
"title" : "mile mi" ,
"description" : "desc desc." ,
"test_run_id" : [
"01JF4TH6P7A9TCP2YPZWQX7E3Z"
] ,
"tags" : [
"t01" ,
"t02"
] ,
"start_at" : "2024-01-02T15:04:05.000Z" ,
"end_at" : "2026-01-02T15:04:05.000Z" ,
"owned_by" : 862914
} '
{
"message" : "Milestone created successfully" ,
"type" : "Success" ,
"id" : "01JHN7P7PXFF4F85SPXDKTGXWG"
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body application/json project_id string required
Unique identifier for the project.
title string required
Title of the milestone.
description string
Detailed description of the milestone.
test_run_id array
List of associated test run IDs.
tags array
Tags associated with the milestone.
start_at string<date-time> required
Start date and time of the milestone in the format YYYY-MM-DD HH:mm:ss.
end_at string<date-time> required
End date and time of the milestone in the format YYYY-MM-DD HH:mm:ss.
owned_by integer required
User ID of the milestone owner.
milestone_id string
Unique identifier for the milestone.
Response 200▼
application/json Successful creation of the milestone.
curl -- request POST \
-- url "https://test-manager-api.lambdatest.com/api/v1/milestone" \
-- header "Authorization: Basic <encoded-value>" \
-- header "Content-Type: application/json" \
-- data ' {
"project_id" : "01JEQSN8WQW76RM59X3KSBZYVH" ,
"title" : "mile mi" ,
"description" : "desc desc." ,
"test_run_id" : [
"01JF4TH6P7A9TCP2YPZWQX7E3Z"
] ,
"tags" : [
"t01" ,
"t02"
] ,
"start_at" : "2024-01-02T15:04:05.000Z" ,
"end_at" : "2026-01-02T15:04:05.000Z" ,
"owned_by" : 862914
} '
{
"message" : "Milestone created successfully" ,
"type" : "Success" ,
"id" : "01JHN7P7PXFF4F85SPXDKTGXWG"
}