Upload Files to Application
File Manager
Upload Files to Application
Uploads a ZIP file to an application, replacing its contents. Optionally restarts the app after upload.
POST
Upload Files to Application
The ID of the application to upload files to. If the application belongs to a workspace, include the workspace_id in the format
appId-workspace_id.If set to
"true", the application will automatically restart after the upload completes.The ZIP file to upload. If a single root directory is detected, it will be automatically flattened.
Response
The result returned from the wing after the upload.
Error Responses
The error code indicating the reason for failure. Possible values:
UNAUTHORIZED: The user is not authenticated.ACCESS_DENIED: The user does not have access to the application.APP_NOT_FOUND: The specified application does not exist.NO_FILE_UPLOADED: No file was provided in the request.UNKNOWN_ERROR: An unexpected error occurred in the wing.INTERNAL_SERVER_ERROR: An unexpected server error occurred.