Create project
POST/api/projects
Connects an existing repository as a new project without adding any files to it; to connect several, send repos instead of repo_url, each row with its repo_url and integration_branch and exactly one marked is_primary; with neither, the project has no repository and each of its tasks runs in an empty folder instead of a git worktree. With placement, which requires the Org Owner or Org Admin role, checks the nodes named (404 for an unknown node or another organization's, 409 for a disabled one) and answers a placement_warning when cloning on them would fail, but declares nothing, since a new project runs on every node of its organization. Returns 201 with the project, or 422 naming each bad repos row by its index.
Request
Responses
- 201
- 422
Created
Unprocessable content