Blob Storage

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:

ParameterTypeDescription
AuthorizationStringRequired. The Basic authorization token. The value is the device token found in the device settings page.
fileFileRequired. 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 CodeDescription
201Created - The object was uploaded successfully.
400Bad Request - The request could not be understood or was missing required parameters.
401Unauthorized - Authentication failed or was not provided.
403Forbidden - Authentication succeeded, but access is not allowed.
404Not Found - The requested resource could not be found.
500Internal Server Error - An error occurred on the server.

logo

Start building today

Collect, process, and activate device data. Scale from one device to thousands.

Qubitro Logo

Product

Decision Aids

Resources

Company

© 2024 Qubitro, Inc. All rights reserved