Api reference
POST Projects Id Remote
POST
/v1/projects/{id}/remoteAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
url*string
initialize?boolean|null
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/projects/string/remote" \ -H "Content-Type: application/json" \ -d '{ "url": "string" }'{ "id": "string", "name": "string", "origin": "codevisor", "createdAt": "string", "locations": [ { "id": "string", "projectId": "string", "serverId": "string", "folderPath": "string", "createdAt": "string", "isGitRepository": true } ], "repoUrl": "string", "repoKey": "string", "worktreeBase": { "remote": "string", "branch": "string" }, "defaultRunLocation": "projectDirectory", "isScratch": true, "isBot": true}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}