The ID of the application to upload a commit for. If the application belongs to an organization, include the organization ID in the format
appId-orgId
.If set to “true”, the application will automatically restart after the commit is uploaded.
The commit file to be uploaded in zip format.
Optional commit message describing the changes.
Optional version to assign to the commit.
Increment type for versioning. Possible values:
major
, minor
, patch
.Response
Indicates whether the call was successful.
success
if successful, error
if not.Information about the application after the commit upload.
Error Responses
Indicates whether the call was successful.
error
if not.The error code indicating the reason for failure. Possible values:
UNAUTHORIZED
: The user is not authenticated or lacks sufficient permissions.FORBIDDEN
: The user does not have access to the project.APP_NOT_FOUND
: The application was not found.NO_FILE_UPLOADED
: No file was provided for the commit.FILE_TOO_LARGE
: Uploaded file exceeds the maximum allowed size.UPLOAD_COMMIT_FAILED
: Failed to upload the commit.OWNER_APP_WITHOUT_LIMITS
: The owner has no resource limits defined.