Blob Storage
Blob Storage Upload
Endpoint Overview
- URL:
https://webhook.qubitro.com/integrations/http/blob
- Method:
POST
- Content-Type:
multipart/form-data
Upload files to Qubitro's Blob Storage by sending a POST request to the specified URL. The file will be uploaded and stored securely.
Example Request
cURL
curl --location 'https://webhook.qubitro.com/integrations/http/blob' \
--header 'Authorization: Basic WcjPrvmEn01iMs742x305XVofB7GrpcUhYpPKQ7f' \
--form 'file=@"/path/to/your/file.jpg"'
Parameters
The request requires the following headers and form data:
Parameter | Type | Description |
---|---|---|
Authorization | String | Required. The Basic authorization token. The value is the device token found in the device settings page. |
file | File | Required. The file to be uploaded. Must be included as form-data. |
Response
On success, the API will return a JSON object with the following structure:
{
"success": true,
"action": "blob storage upload",
"status": 201,
"message": "The object was uploaded successfully."
}
Response Codes
Status Code | Description |
---|---|
201 | Created - The object was uploaded successfully. |
400 | Bad Request - The request could not be understood or was missing required parameters. |
401 | Unauthorized - Authentication failed or was not provided. |
403 | Forbidden - Authentication succeeded, but access is not allowed. |
404 | Not Found - The requested resource could not be found. |
500 | Internal Server Error - An error occurred on the server. |
Start building today
Collect, process, and activate device data. Scale from one device to thousands.