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.

zincrby #

Increments the score of a sorted set member by the provided value.

[Redis documentation]


Query Syntax #

HTTP #

URL: http://kuzzle:7512/ms/_zincrby/<_id>
Method: POST
Body:
{
  "member": "<member>",
  "value": <integer>
}

Other protocols #

{
  "controller": "ms",
  "action": "zincrby",
  "_id": "<key>",
  "body": {
    "member": "<member>",
    "value": <integer>
  }
}

Arguments #

  • _id: sorted set identifier

Body properties #

  • member: sorted set value
  • value: integer value used to increment the member's score

Response #

Returns the updated member's score value.

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