Skip to main content
GET
Download Application
string
required
The application ID to download. If the application belongs to a workspace, pass its ID in the workspace_id query parameter.
string
If the application belongs to a workspace, the workspace’s ID. Required for workspace members acting on an application they don’t own.

Response

The response is a binary ZIP file containing the application files plus a vertracloud.config generated from the current settings (name, main file, memory, version, start command, auto-restart, subdomain), so the ZIP can be uploaded again with the same configuration.
  • Content-Type: application/zip
  • Content-Disposition: attachment; filename="{id}.zip"
  • Content-Length: O tamanho do arquivo ZIP em bytes.

Error Responses

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.
string
A descriptive message providing additional details about the error.