keys

Returns all keys matching the provided pattern.

[Redis documentation]


Query Syntax

HTTP

Copied to clipboard!
URL: http://kuzzle:7512/ms/_keys/<pattern>
Method: GET

Other protocols

Copied to clipboard!
{
  "controller": "ms",
  "action": "keys",
  "pattern": "foo*"
}

Arguments

  • pattern: match pattern

Response

Returns the list of matching keys.

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