Skip to main content

Post Blob/File

info

All JSON array responses have been shortened for readability.

POST/<ApplicationID>/store/<BlobID>
Endpoint Requires Authentication


note

Note that, currently, an authorized reseller must initialize a container manually for each Application. If the container has not been created, the response error detail will be Container not found for application..

Example
https://api.centrix.world/641c1177ebc8b2f3c195b02c/store/<BlobID>
Description

Uploads a file to the container. Accepts only one file, using multipart/form-data under the content key.

The <BlobID> when uploading a file is not required. Providing a <BlobID> will replace the file with that ID, excluding the <BlobID> it will save as a new file.

Returns
{
"timestamp": "2023-03-23T09:30:13.157Z",
"data": {
"_id": "641c1c258fde9d1d8a0e0419"
}
}