Skip to main content
GET
/
v1
/
apps
/
{id}
/
download
Download Application
curl --request GET \
  --url https://api.vertracloud.app/v1/apps/{id}/download
{
  "code": "APP_NOT_FOUND"
}
id
string
required
The application ID to download. If the application belongs to a workspace, include the workspace ID in the format appId-workspaceId.

Response

The response is a binary ZIP file containing the application files.
  • Content-Type: application/zip
  • Content-Disposition: attachment; filename="{id}.zip"
  • Content-Length: O tamanho do arquivo ZIP em bytes.

Error Responses

code
string
The error code indicating the reason for the failure. Possible values:
  • UNAUTHORIZED: The user is not authenticated or does not have 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.
message
string
A descriptive message providing additional details about the error.
{
  "code": "APP_NOT_FOUND"
}