hmget #
Returns the values of the specified hash's fields.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_hmget/<_id>?fields=<field1,field2,...>
Method: GET
Other protocols #
{
"controller": "ms",
"action": "hmget",
"_id": "<key>",
"fields": ["field1", "field2", "..."]
}
Arguments #
_id
: hash key identifierfields
: the list of fields to fetch
Response #
Returns the list of requested field values, in the same order than in the query.
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "hmget",
"collection": null,
"index": null,
"result": [
"field1's value",
"field2's value",
"...'s value"
]
}
Edit this page on Github(opens new window)