Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
/knowledge/feature/geoSuggest/{fragment}/{comma-separated-list-of-community-ids}
Info

Returns a list of geo suggestions based the sentence/query fragment passed in (eg what the user has typed so far into a query box).

Authentication

Required, see Auth - Login

Arguments

fragment (required)
One or more words (the last word can also be a fragment), which are "fuzzily" compared against known geotags stored in Infinit.e

community ID list (required)
The list of community IDs or community ID - regex in the URL controls which sources the query will use. Obviously the logged-in user must have access rights to those communities. A user's communities can be viewed using the "person/get" API call.

Example

http://infinite.ikanow.com/api/knowledge/feature/geoSuggest/madagas/4c927585d591d31d7b37097a

Example Response
Info
Code Block
languagejavascript