Content
Upload File
Upload a local file to the QuickBlox cloud storage. The request is a multipart HTTP request where one part is a JSON object and the other part is the content of the file itself.
POST
To upload a file, proceed as following:
- Create File. Make sure to create an entity for a file within the system - a blob, before uploading it.
- Upload File. An upload link is obtained from the response to the create file request. The link has expiration time so if it gets expired, you should obtain a new link using the create file request.
File size limit
The maximum size of the uploaded file depends on the membership plan.
Basic | Startup | Growth | HIPAA | Enterprise | |
---|---|---|---|---|---|
File size limit | 10 Mb | 25 Mb | 50Mb | 50Mb | Contact our sales team |
Path Parameters
ID of the file/blob. Generated automatically by the server after file/blob creation.
Body Parameters
A binary file to be uploaded to the cloud storage. The file size is restricted by the membership plan. See the File size limit section below.
File/blob identifier that should be taken from the response of the Create File request. This is the UID parameter.
Responses
Was this page helpful?