zcard #
Returns the number of elements held by a sorted set.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_zcard/<_id>
Method: GET
Other protocols #
{
"controller": "ms",
"action": "zcard",
"_id": "<key>"
}
Arguments #
_id
: sorted set identifier
Response #
Returns the number of members in the sorted set.
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "zcard",
"collection": null,
"index": null,
"result": 10
}
Edit this page on Github (opens new window)