v1

latestOpenAPI 3.0.02026-07-17120114186.8 KB
bus

Fetch packed slabs for upload

Returns packed slabs that are ready to be uploaded.

post/bus/slabbuffer/fetch

Request body

lockingDurationinteger

Duration in milliseconds to lock the slabs

minShardsinteger

The number of data shards a piece of an object gets erasure-coded into

totalShardsinteger

The number of total data shards a piece of an object gets erasure-coded into

limitinteger

Maximum number of packed slabs to return

Example request

{
  "lockingDuration": 30000
}

Response

Successfully retrieved packed slabs

bufferIDinteger

ID of the buffer containing the slab

datastring binary

The slab data

encryptionKeystring

A key used to encrypt and decrypt data. The key is either a regular key (key) or a salted key (skey). The latter requires a seed to be used for encryption and decryption.