Core
API v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

geohash #

Converts a key's geopoints (see geoadd) into geohashes.

[Redis documentation]


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/ms/_geohash/<_id>?members=member1,member2,...
Method: GET

Other protocols #

Copied to clipboard!
{
  "controller": "ms",
  "action": "geohash",
  "_id": "<key>",
  "members": ["member1", "member2", "..."]
}

Arguments #

  • _id: key containing the geopoints to convert
  • members: list of geopoint names to convert

Response #

Returns the converted geohashes, in the same order than the one provided in the query.

Copied to clipboard!
{
  "requestId": "<unique request identifier>",
  "status": 200,
  "error": null,
  "controller": "ms",
  "action": "geohash",
  "collection": null,
  "index": null,
  "result": ["geohash1", "geohash2", "..."]
}