Core
API v2.x
2

zscore #

Returns the score of an element in a sorted set.

[Redis documentation]


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/ms/_zscore/<_id>/<member>
Method: GET

Other protocols #

Copied to clipboard!
{
  "controller": "ms",
  "action": "zscore",
  "_id": "<key>",
  "member": "<member>"
}

Arguments #

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

Response #

Returns the member score.

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