REST API
Infra APIProjects

Get Project source

GET/api/v1/serverless/projects/{project_id}/source

Authorization

BearerAuth
AuthorizationBearer <token>

Hydra JWT Bearer token

In: header

Path Parameters

project_id*string

Project ID

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/serverless/projects/string/source"
{  "branch": "string",  "commit_sha": "string",  "project_id": "string",  "provider": "string",  "repository": "string",  "repository_id": "string",  "source_root": "string"}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}