hexists #
Checks if a field exists in a hash.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_hexists/<_id>/<field>
Method: GET
Other protocols #
{
"controller": "ms",
"action": "hexists",
"_id": "<key>",
"field": "field name"
}
Arguments #
_id
: hash key identifierfield
: field name to check
Response #
Returns either 0
(the field does not exist), or 1
(the field exist).
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "hexists",
"collection": null,
"index": null,
"result": [0|1]
}
Edit this page on Github(opens new window)