From 53902e1b3a4430aa9b144ce29f49b9a3ee744af9 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Mon, 24 Aug 2015 13:22:27 -0400 Subject: [PATCH] Add categories parameter to /search enpoint docs --- DOCS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DOCS.md b/DOCS.md index 57f742dc..e3382cfb 100644 --- a/DOCS.md +++ b/DOCS.md @@ -6,6 +6,9 @@ The full text search endpoint that matches the name of a place to points on the * `input`: the string to search for (eg `new york city` or `london`) #### Optional Parameters +* `categories`: filter results to only those belonging to the given categories(a comma delimited + list is accepted). The list of possible categories can be found at + https://github.com/pelias/openstreetmap/blob/master/config/category_map.js * `lat`, `lon`: the latitude/longitude coordinates to bias search results towards (may increase relevancy) * `zoom`: zoom level from which you wish to view the world * `size` (default: `10`): the number of results to return