GET
/
v1
/
apps
/
{id}
/
download
Download Application
curl --request GET \
  --url https://api.vertracloud.app/v1/apps/{id}/download \
  --header 'Authorization: Bearer <token>'
{
  "status": "error",
  "code": "APP_NOT_FOUND"
}
id
string
required
The ID of the application to download. If the application belongs to an organization, include the organization ID in the format appId-orgId.

Response

The response is a binary ZIP file containing the application files.
  • Content-Type: application/zip
  • Content-Disposition: attachment; filename="{appId}.zip"
  • Content-Length: The size of the ZIP file in bytes.

Error Responses

status
string
Indicates whether the call 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.
  • APP_NOT_FOUND: The specified application does not exist.
  • FORBIDDEN: The user does not have permission to access the application.
  • DOWNLOAD_FAILED: The application files could not be downloaded.
{
  "status": "error",
  "code": "APP_NOT_FOUND"
}