Upload Public File to Local Storage
Management API endpoint for uploading public files to local storage. This endpoint requires authentication. File metadata is provided via headers (X-File-Type, X-File-Name, X-Environment-ID, X-Signature, X-UUID, X-Timestamp) and the file is provided as a multipart/form-data file field named “file”. The “Content-Type” header must be set to a valid MIME type.
POST
Headers
MIME type of the file. Must be a valid MIME type.
URI encoded file name.
ID of the environment.
Signature for verifying the request.
Unique identifier for the signed upload.
Timestamp used for the signature.
Body
multipart/form-data
The file to be uploaded as a valid file object (buffer).
Response
200
application/json
OK - File uploaded successfully.
Was this page helpful?