REST API
Infra APIProjects

Ensure Project GitHub editing credentials

POST/api/v1/serverless/projects/{project_id}/source/credentials

Authorization

BearerAuth
AuthorizationBearer <token>

Hydra JWT Bearer token

In: header

Path Parameters

project_id*string

Project ID

Request Body

application/json

Repository and Sandbox

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/serverless/projects/string/source/credentials" \  -H "Content-Type: application/json" \  -d '{}'
{  "ready": true}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}