touch #
Alters the last access time of multiple keys. A key is ignored if it does not exist.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_touch
Method: POST
Body:
{
"keys": ["key1", "key2", "..."]
}
Other protocols #
{
"controller": "ms",
"action": "touch",
"body": {
"keys": ["key1", "key2", "..."]
}
}
Arguments #
keys
: array of key identifiers to alter
Response #
Returns the number of altered keys.
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "touch",
"collection": null,
"index": null,
"result": 3
}
Edit this page on Github (opens new window)