Get Started
Endpoints
- Projects
- Users
- User Invitations
- Project Members
- Connections
- Flows
- Flow Runs
- Sample Data
- Pieces
- Project Releases
- Global Connections
- Git Sync
- Folders
- Flow Templates
- MCP Servers
Git Sync
Configure
Upsert a git repository information for a project.
POST
/
v1
/
git-repos
Copy
Ask AI
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>"
}'
Copy
Ask AI
{
"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
.
Copy
Ask AI
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>"
}'
Copy
Ask AI
{
"id": "<string>",
"created": "<string>",
"updated": "<string>",
"remoteUrl": "<string>",
"branch": "<string>",
"branchType": "PRODUCTION",
"projectId": "<string>",
"slug": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.