Skip to main content
GET
/
v1
/
users
/
{id}
/
snapshots
/
{snapshot_id}
/
download
Download Application Snapshot
curl --request GET \
  --url https://api.vertracloud.app/v1/users/{id}/snapshots/{snapshot_id}/download
{
  "code": "UNAUTHORIZED"
}
id
string
required
The ID of the application or database.
snapshot_id
string
required
The ID of the snapshot to download.
scope
string
required
The resource type. Possible values: applications, databases.

Response

response
file
The ZIP file containing the application or database snapshot, returned as a binary download with Content-Disposition: attachment.

Error Responses

code
string
The error code indicating the reason for failure. Possible values:
  • UNAUTHORIZED: The user is not authenticated.
  • USER_NOT_FOUND: The authenticated user was not found.
  • ACCESS_DENIED: The snapshot does not belong to the authenticated user.
  • SNAPSHOT_NOT_FOUND: The specified snapshot does not exist.
  • INTERNAL_SERVER_ERROR: An unexpected server error occurred.
{
  "code": "UNAUTHORIZED"
}