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.

zscore #

Returns the score of an element in a sorted set.

[Redis documentation]


Query Syntax #

HTTP #

URL: http://kuzzle:7512/ms/_zscore/<_id>/<member>
Method: GET

Other protocols #

{
  "controller": "ms",
  "action": "zscore",
  "_id": "<key>",
  "member": "<member>"
}

Arguments #

  • _id: sorted set identifier
  • member: member value to examine

Response #

Returns the member score.

{
  "requestId": "<unique request identifier>",
  "status": 200,
  "error": null,
  "controller": "ms",
  "action": "zscore",
  "collection": null,
  "index": null,
  "result": 23
}