Skip to main content

PutBatch

Puts (sets or overwrites) multiple key-value entries by key(s).

Request Body required
  • 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.

  • entries object[] required

    A list of entries to insert.

    • key string required

      A string reprenting a key in the key-value database.

      Key path components are split by a slash (e.g. a/b/c has the path components ["a", "b", "c"]). Slashes can be escaped by using a forward slash (e.g. a/b\/c/d has the path components ["a", "b/c", "d"]).

      See rivet.api.kv.common#KeyComponents for the structure of a rivet.api.kv.common#Key split by /.

    • value required
Responses

PutBatch 200 response