randomkey #
Returns a key identifier from the memory storage, at random.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_randomkey
Method: GET
Other protocols #
{
"controller": "ms",
"action": "randomkey"
}
Response #
Returns one of the database key, at random.
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "randomkey",
"collection": null,
"index": null,
"result": "qux"
}
Edit this page on Github(opens new window)