Commit and Push App Version to Git
POST/apps/{appId}/versions/{versionId}/git-sync/push
Commits an existing app version to the configured Git repository and pushes it to the remote. The version must already exist before calling this endpoint.
Path Parameters
ID of the app.
ID of the app version to push.
Request Body
Git commit message.
Error Responses
Wrong version ID, app not found, git sync not enabled for this app, or clone/commit/push to GitHub failed.
External API disabled, missing EXTERNAL_API license, or invalid Authorization token.
Not available on Community Edition.
Request
curl -X POST "https://{your-domain}/api/ext/apps/{appId}/versions/{versionId}/git-sync/push" \
-H "Authorization: Basic <access_token>" \
-H "Content-Type: application/json" \
-d '{
"commitMessage": "Updated app configuration and components"
}'Response: 200