Core
API v2.x
2

hlen #

Returns the number of fields contained in a hash.

[Redis documentation]


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/ms/_hlen/<_id>
Method: GET

Other protocols #

Copied to clipboard!
{
  "controller": "ms",
  "action": "hlen",
  "_id": "<key>"
}

Arguments #

  • _id: hash key identifier

Response #

Returns the number of fields stored in a hash.

Copied to clipboard!
{
  "requestId": "<unique request identifier>",
  "status": 200,
  "error": null,
  "controller": "ms",
  "action": "hlen",
  "collection": null,
  "index": null,
  "result": 4
}