cURL
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>" }
Upsert a git repository information for a project.
1
PRODUCTION
Default Response