curl -X POST "https://your-collabase.ch/api/v1/test-management/my-space/proj-abc123/cases" \
-H "Authorization: Bearer cba_live_xYz123ABCD..." \
-H "Content-Type: application/json" \
-d '{
"title": "Verify login with valid credentials",
"priority": "HIGH",
"type": "MANUAL"
}'
{
"id": "tc-001",
"title": "Verify login with valid credentials",
"priority": "HIGH",
"type": "MANUAL",
"status": "DRAFT",
"testProjectId": "proj-abc123"
}
Create a new test case inside a test project.
curl -X POST "https://your-collabase.ch/api/v1/test-management/my-space/proj-abc123/cases" \
-H "Authorization: Bearer cba_live_xYz123ABCD..." \
-H "Content-Type: application/json" \
-d '{
"title": "Verify login with valid credentials",
"priority": "HIGH",
"type": "MANUAL"
}'
{
"id": "tc-001",
"title": "Verify login with valid credentials",
"priority": "HIGH",
"type": "MANUAL",
"status": "DRAFT",
"testProjectId": "proj-abc123"
}
DRAFT and are not enrolled in test runs until their status is changed to READY.
LOW, MEDIUM, HIGH, CRITICAL. Defaults to MEDIUM.MANUAL, AUTOMATED, EXPLORATORY. Defaults to MANUAL.LOW, MEDIUM, HIGH, or CRITICAL.MANUAL, AUTOMATED, or EXPLORATORY.DRAFT on creation.curl -X POST "https://your-collabase.ch/api/v1/test-management/my-space/proj-abc123/cases" \
-H "Authorization: Bearer cba_live_xYz123ABCD..." \
-H "Content-Type: application/json" \
-d '{
"title": "Verify login with valid credentials",
"priority": "HIGH",
"type": "MANUAL"
}'
{
"id": "tc-001",
"title": "Verify login with valid credentials",
"priority": "HIGH",
"type": "MANUAL",
"status": "DRAFT",
"testProjectId": "proj-abc123"
}
Was this page helpful?