randomkey

Returns a key identifier from the memory storage, at random.

[Redis documentation]


Query Syntax

HTTP

Copied to clipboard!
URL: http://kuzzle:7512/ms/_randomkey
Method: GET

Other protocols

Copied to clipboard!
{
  "controller": "ms",
  "action": "randomkey"
}

Response

Returns one of the database key, at random.

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