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

Finalize Galaxy API Request Body wrt Export Tool Requirements #196

Closed kshitijrajsharma closed 2 years ago

kshitijrajsharma commented 2 years ago

This is like master issue can produce new issues after discussion, As a result from following two tasks

Now export tool can talk to Galaxy API with its complete functionality in terms of select, attribute filtering, type of feature (Only output data type is remaining i.e. Shapefile and other output data format supported by export tool), Now in order to make this happen Galaxy API is introduced with those new request body :

   point_filter :  Optional[dict]=None 
    line_filter :  Optional[dict]=None 
    poly_filter :  Optional[dict]=None 

    point_columns : Optional[List[str]]=None
    line_columns : Optional[List[str]]=None
    poly_columns : Optional[List[str]]=None

Now the plan is to find a standard request body and acceptance criteria which will match with existing request body we have. Code query generation logic has been completed and working already, this ticket will focus on standardization of request body with acceptance criteria