Codevisor Server
Api reference

POST Projects Id Worktrees

POST/v1/projects/{id}/worktrees

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

id?string|null
sessionId?string|null
name?string|null

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/projects/string/worktrees" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "projectId": "string",  "serverId": "string",  "name": "string",  "branch": "string",  "path": "string",  "createdAt": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}