Core
API v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

hget #

Returns the field's value of a hash.

[Redis documentation]


Query Syntax #

HTTP #

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

Other protocols #

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

Arguments #

  • _id: hash key identifier
  • field: field name to retrieve

Response #

Returns the field's value.

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