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.

sunion #

Returns the union of sets of unique values.

[Redis documentation]


Query Syntax #

HTTP #

URL: http://kuzzle:7512/ms/_sunion?keys=key1,key2,...
Method: GET

Other protocols #

{
  "controller": "ms",
  "action": "sunion",
  "keys": ["key1", "key2", "..."]
}

Arguments #

  • keys: array of set identifiers

Response #

Returns the result of the union between the provided sets.

{
  "requestId": "<unique request identifier>",
  "status": 200,
  "error": null,
  "controller": "ms",
  "action": "sunion",
  "collection": null,
  "index": null,
  "result": [
    "value1",
    "value2",
    "..."
  ]
}