Key Value

Get value from key-value collection

Fetch value from key-value collection.

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

get/_fabric/{fabric}/_api/kv/{collection}/value/{key}

Request

Path parameters

fabricstring string required

The name of the fabric.

collectionstring string required

The name of the key-value collection.

keystring string required

The key.

Response

Successfully fetched the key-value pair.

_idstring

ID of the collection.

_keystring

_key details of collection.

_revstring

_rev details of collection.

expireAtinteger

Expiration details of collection.n

valuestring

Value of the collection.

Example response

{
  "_id": "test/foo",
  "_key": "foo",
  "_rev": "_dPRuHxe--_",
  "expireAt": 1638291600,
  "value": "bar"
}

Changes

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