Skip to main content

GetBatch

Gets multiple key-value entries by key(s).

Query Parameters
  • keys string[] required

    A list of keys.

  • watch_index string

    A query parameter denoting the requests watch index.

  • namespace_id string

    Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

    A universally unique identifier.

Responses

GetBatch 200 response

Schema
  • entries object[] required

    A list of key-value entries.

    • key string[] required

      A key separated into components.

    • value
    • deleted boolean
  • watch object required

    Provided by watchable endpoints used in blocking loops.

    • index string required

      Index indicating the version of the data responded.

      Pas this to rivet.common#WatchQuery to block and wait for the next response.