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
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.
A descriptive message providing additional details about the error.
{
"code": "APP_NOT_FOUND"
}