persist #
Removes the expiration delay or timestamp from a key, making it persistent.
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
}
Edit this page on Github(opens new window)