geohash #
Converts a key's geopoints (see geoadd) into geohashes.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/ms/_geohash/<_id>?members=member1,member2,...
Method: GET
Other protocols #
{
"controller": "ms",
"action": "geohash",
"_id": "<key>",
"members": ["member1", "member2", "..."]
}
Arguments #
_id
: key containing the geopoints to convertmembers
: list of geopoint names to convert
Response #
Returns the converted geohashes, in the same order than the one provided in the query.
{
"requestId": "<unique request identifier>",
"status": 200,
"error": null,
"controller": "ms",
"action": "geohash",
"collection": null,
"index": null,
"result": ["geohash1", "geohash2", "..."]
}
Edit this page on Github(opens new window)