Skip to main content
POST
/
blobs
Upload blob
curl --request POST \
  --url https://api.example.com/blobs \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'bucket=<string>' \
  --form blob='@example-file'
{
  "bucket": "<string>",
  "created_at": "<string>",
  "id": "<string>",
  "mime_type": "<string>",
  "size": 123
}

Headers

Authorization
string
default:""
required

Access token

Body

multipart/form-data
bucket
string
required

Bucket name

blob
file
required

Blob file

Response

201 - application/json

Created

bucket
string
created_at
string
id
string
mime_type
string
size
integer