GET
/
v1
/
apps
/
:id
/
commits
/
:commit_id
/
download
Download Application Commit
curl --request GET \
  --url https://api.vertracloud.app/v1/apps/:id/commits/:commit_id/download \
  --header 'Authorization: Bearer <token>'
{
  "status": "error",
  "code": "UNAUTHORIZED"
}
id
string
The ID of the application.
commit_id
string
The ID of the commit to download.

Response

status
string
Indicates whether the operation was successful. success if the commit ZIP was retrieved.
response
file
The ZIP file containing the application at the specified commit.

Error Responses

status
string
Indicates whether the operation was successful. error if not successful.
code
string
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 application.
  • APP_NOT_FOUND: The specified application does not exist.
  • COMMIT_NOT_FOUND: The specified commit does not exist.
  • COMMIT_DATA_NOT_FOUND: The commit data could not be retrieved from the server.
{
  "status": "error",
  "code": "UNAUTHORIZED"
}