API v1.x

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.

mget #

Returns the values of the provided keys.

[Redis documentation]

Query Syntax #


Copied to clipboard!
URL: http://kuzzle:7512/ms/_mget?keys=key1,key2,...
Method: GET

Other protocols #

Copied to clipboard!
  "controller": "ms",
  "action": "mget",
  "keys": ["key1", "key2", "..."]

Argument #

  • keys: a list of keys to get

Response #

Returns the list of corresponding key values, in the same order than the one provided in the query.

Copied to clipboard!
  "requestId": "<unique request identifier>",
  "status": 200,
  "error": null,
  "controller": "ms",
  "action": "mget",
  "collection": null,
  "index": null,
  "result": [
    "value of key1",
    "value of key2",