Core
API v2.x
2

sinter #

Returns the intersection of the provided sets of unique values.

[Redis documentation]


Query Syntax #

HTTP #

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

Other protocols #

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

Argument #

  • keys: list of set identifiers to intersect

Response #

Returns an array of intersected values.

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