DigitalCommons / mykomap

A web application for mapping initiatives in the Solidarity Economy
3 stars 0 forks source link

[CWM] Whiteboarding session to create API design #267

Closed lin-d-hop closed 2 weeks ago

lin-d-hop commented 3 weeks ago

Track under CWM in clockify

Description

The new design of MM involves serving data over an API. We need to design the API - how the requests/response pairs will be formatted, languages and frameworks used etc.

We know that we want to serve the following from the MM BE: 1) Search by search term and/or prop filters (search query parameters -> array of indexes) N * category IDs + (optional) text fragment -> list of indexes http://blah/api/search/categories=A,B,C/text=D

2) Search by search term and/or prop filters (search query parameters + fields to return -> paginated array of objects)

3) Retrieve popup contents (index -> Html) http://blah/api/item/[index]

4) Retrieve full set of lng/lats ( _ -> JSON array)

Acceptance Criteria

lin-d-hop commented 3 weeks ago

Notes from meeting 20/8: https://docs.google.com/document/d/1aguAEMKfr8gqZRVkhJnb46VRJKd5wPMLLOQ1UmAKgFo/edit

Issues to be created:

rogup commented 2 weeks ago

The issues have been created (see above) so this ticket can be closed.