Core
API v2.x
2

llen #

Returns the length of a list.

[Redis documentation]


Query Syntax #

HTTP #

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

Other protocols #

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

Argument #

  • _id: list key identifier

Response #

Returns the length of the list.

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