Key Value

Get number of key-value pairs in collection

Get number of key-value pairs in collection.

get/_fabric/{fabric}/_api/kv/{collection}/count

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 count of key-value pairs belonging to this groupID.

Response

Successfully fetched number of key-value pairs.

codeinteger

HTTP response code.

errorboolean required

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

namestring

It shows name of the collection.

countinteger

It gives kv count.

Example response

{
  "code": 200,
  "name": "testCollection",
  "count": 5
}

Changes

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