scard #
Returns the number of members stored in a set of unique values.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_scard/<_id>
Method: GET
Other protocols #
{
"controller": "ms",
"action": "scard",
"_id": "<key>"
}
Argument #
_id
: set key identifier
Response #
Returns the set length.
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "scard",
"collection": null,
"index": null,
"result": 36
}
Edit this page on Github(opens new window)