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.

Changes

Changed in 4 of the 50 revisions of this API.224

  • c38282599c5a22See the full diff
    • the minShards request property's min was set to 1.00

      request-property-min-set

    • the totalShards request property's min was set to 2.00

      request-property-min-set

    • the minShards request property default value 10 was added

      request-property-default-value-added

    • the totalShards request property default value 30 was added

      request-property-default-value-added

  • 922f156353c911See the full diff
    • removed the media type text/plain for the response with the status 500

      response-media-type-removed

    • api tag bus added

      api-tag-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 99 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog