bus

Fetch packed slabs for upload

Changed on

Returns packed slabs that are ready to be uploaded.

post/bus/slabbuffer/fetch

Request

  • The document declares no server URL.
  • Auth
    none declared

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.

Changes

    • warning

      the request property's min was set to 1.00

    • warning

      the request property's min was set to 2.00

    • info

      the request property default value 10 was added

    • info

      the request property default value 30 was added

    • breaking

      removed the media type text/plain for the response with the status

    • info

      api tag bus added