Key Value

Get key-value pairs from collection

Fetch key-value pairs from collection. Optional list of keys.

Note: Max limit is 100 keys per request.

Note that you should specify multipart/form-data as the response content type when you are retrieving from a blob collection.

post/_fabric/{fabric}/_api/kv/{collection}/values

Request

Path parameters

fabricstring string required

The name of the fabric.

collectionstring string required

The name of the key-value collection.

Query parameters

groupIDstring string

Get key-value pairs belonging to this groupID.

offsetstring

This option can be used to simulate paging.

limitstring

This option can be used to simulate paging. Limit the result.

Request body

string[] required

Example request

[
  "foo"
]

Response

Successfully fetched an array of key-value pairs from collection. If no keys are found and empty array is returned.

codeinteger

HTTP response code.

errorboolean required

Flag if there is an error in response. False for this response.

Example response

{
  "code": 200,
  "result": [
    {
      "_key": "foo",
      "value": "bar",
      "expireAt": 1637859600
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.