Skip to content

Put base64-encoded blobs into store in a single request.

PUT
/store/v1/blob/batch
curl --request PUT \
--url https://example.com/store/v1/blob/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "blobs": [ { "blob": "example", "cid": "example", "multicodec_code": 1 } ] }'

Put base64-encoded blobs into store in a single request.

Each blob should be base64-encoded. If no multicodec is provided, the default (0x55: raw binary) will be used.

Media type application/json
object
blobs
required
Array<object>
object
blob
required
string
cid
string
nullable
multicodec_code
integer format: int64
nullable
Example generated
{
"blobs": [
{
"blob": "example",
"cid": "example",
"multicodec_code": 1
}
]
}

Put batch

Media type application/json
object
results
required
Array<object>
object
cid
required
string
Example generated
{
"results": [
{
"cid": "example"
}
]
}