hotosm / galaxy-api

Backend to fetch data from Underpass
https://galaxy-api.hotosm.org/latest/redoc
GNU Affero General Public License v3.0
14 stars 5 forks source link

Support key != value query option on API : Rawdata #191

Open kshitijrajsharma opened 2 years ago

kshitijrajsharma commented 2 years ago

Explanation : Export tool has functionality for supporting key != value , type of query as well , Such type of request are rare , but yet will be needed to exactly match the functionalities , for example this will be useful for such request let's say I want all amenities features without toilet . Implementation will require discussion how we can add this in current API request body , could be of low priority : flagging this so that we will not miss this

ramyaragupathy commented 2 years ago

Looks like such negated queries are supported only through YAML specification? Could you please confirm @itskshitiz321 ?

kshitijrajsharma commented 2 years ago

yes true @ramyaragupathy ! It is not defined on predefined set of list