Core
API v2.x
2

hkeys #

Returns all field names contained in a hash.

[Redis documentation]


Query Syntax #

HTTP #

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

Other protocols #

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

Arguments #

  • _id: hash key identifier

Response #

Returns an array of hash field names.

Copied to clipboard!
{
  "requestId": "<unique request identifier>",
  "status": 200,
  "error": null,
  "controller": "ms",
  "action": "hkeys",
  "collection": null,
  "index": null,
  "result": [
    "field1",
    "field2",
    "..."
  ]
}