Skip to main content
POST
/
api
/
workspaces
Create Workspace
curl --request POST \
  --url http://localhost:8080/api/workspaces \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "path": "<string>",
  "github_url": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "path": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "github_url": "<string>",
  "github_installation_id": 123,
  "github_repo": "<string>",
  "auto_fix_merge_conflicts": false,
  "auto_fix_ci_failures": false
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string | null
path
string | null
github_url
string | null

Response

Successful Response

id
string
required
name
string
required
path
string
required
created_at
string
required
updated_at
string
required
github_url
string | null
github_installation_id
integer | null
github_repo
string | null
auto_fix_merge_conflicts
boolean
default:false
auto_fix_ci_failures
boolean
default:false