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", "..."]
}