POST
/
v1
/
git-repos
curl --request POST \
  --url https://cloud.activepieces.com/api/v1/git-repos \
  --header 'Content-Type: application/json' \
  --data '{
  "projectId": "<string>",
  "remoteUrl": "<string>",
  "branch": "<string>",
  "branchType": "PRODUCTION",
  "sshPrivateKey": "<string>",
  "slug": "<string>"
}'
{
  "id": "<string>",
  "created": "<string>",
  "updated": "<string>",
  "remoteUrl": "<string>",
  "branch": "<string>",
  "branchType": "PRODUCTION",
  "projectId": "<string>",
  "slug": "<string>"
}

Body

application/json

Response

201 - application/json

Default Response

The response is of type object.