Skip to main content

Push App Version to GitHub

POST/apps/{appId}/versions/{versionId}/git-sync/push

Push a specific app version to the configured GitHub repository.

Path Parameters
appIdstringrequired
ID of the app.
versionIdstringrequired
ID of the app version to push.
Request Body
commitMessagestringrequired
Git commit message.
Error Responses
400
Wrong version ID, app not found, git sync not enabled for this app, or clone/commit/push to GitHub failed.
403
External API disabled, missing EXTERNAL_API license, or invalid Authorization token.
404
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