sismember #
Checks if a value is a member of a set of unique values.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_sismember/<_id>/<member>
Method: GET
Other protocols #
{
"controller": "ms",
"action": "sismember",
"_id": "<key>",
"member": "<member>"
}
Argument #
_id
: set key identifiermember
: member value to check
Response #
Returns either 1
(member belongs to the set), or 0
.
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "sismember",
"collection": null,
"index": null,
"result": 1
}
Edit this page on Github(opens new window)