Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 728 Bytes

File metadata and controls

59 lines (41 loc) · 728 Bytes
code type title
true
page
persist | API | Core

persist

Removes the expiration delay or timestamp from a key, making it persistent.

[Redis documentation]


Query Syntax

HTTP

URL: http://kuzzle:7512/ms/_persist/<_id>
Method: POST

Other protocols

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

Argument

  • _id: key to persist

Response

Returns either 0 (command failed), or 1 (command succeeded).

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