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="{id}.zip"
- Content-Length: The size of the ZIP file in bytes.
Error Responses
Indicates whether the call was successful.
error
if not successful.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.