object #
Inspects the low-level properties of a key.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_object/<_id>?subcommand=[refcount|encoding|idletime]
Method: GET
Other protocols #
{
"controller": "ms",
"action": "object",
"_id": "<key>",
"subcommand": "[refcount|encoding|idletime]"
}
Argument #
_id
: key identifiersubcommand
: the object property to inspect. Allowed values:refcount
,encoding
,idletime
Response #
If subcommand
is set to refcount
or idletime
, then an integer is returned:
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "object",
"collection": null,
"index": null,
"result": 62993
}
If subcommand
is set to encoding
, then a string is returned:
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "object",
"collection": null,
"index": null,
"result": "ziplist"
}
Edit this page on Github(opens new window)