Api reference
Add a project to a bot and check its repository out for the bot
POST
/v1/bots/{id}/projectsAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
projectId*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/bots/string/projects" \ -H "Content-Type: application/json" \ -d '{ "projectId": "string" }'{ "id": "string", "serverId": "string", "name": "string", "symbolName": "string", "mascot": { "color": "string", "hat": "string", "hatColor": "string", "eyewear": "string", "eyewearColor": "string" }, "harnessId": "string", "configSelections": { "property1": "string", "property2": "string" }, "projectId": "string", "sessionId": "string", "workspaceId": "string", "rootPath": "string", "projects": [ { "projectId": "string", "folderName": "string", "branch": "string", "path": "string" } ], "isArchived": true, "archivedAt": "string", "createdAt": "string", "updatedAt": "string", "about": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}