Skip to main content
POST
/
api
/
workspaces
/
{id}
/
projects
/
{project_id}
/
phases
Create Phase
curl --request POST \
  --url http://localhost:8080/api/workspaces/{id}/projects/{project_id}/phases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": ""
}
'
{
  "project_id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "phase_order": 123,
  "status": "<string>",
  "created_at": "<string>",
  "tasks": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
project_id
string
required

Body

application/json
name
string
required
description
string
default:""

Response

Successful Response

project_id
string
required
name
string
required
description
string
required
phase_order
integer
required
status
string
required
created_at
string
required
tasks
TaskResponse · object[]