Core
API v2.x
2

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
}