future-coop / transition-map

Mapping for Good
https://map.transition-muc.de
GNU Affero General Public License v3.0
3 stars 0 forks source link

Display all data of entries when requesting it from server and add date of entry #18

Open sonja-retzlaff opened 5 years ago

sonja-retzlaff commented 5 years ago

When checking all entries on map via server, all data included in each entry should be shown (e.g. address, website link etc). In addition it would be great, if we could add an info regarding date and time the entry was added to the map. otherwise we can´t track which and how many entries are new each month.

https://api.ofdb.io/v0/search?text=&bbox=47.98869021499127,11.04986160993576,48.249972729386265,12.179393470287323

image

uklotzde commented 5 years ago

The universal, multi-purpose search request returns matching entries with only a subset of their properties. The contents in the response are supposed to be sufficient for displaying a quick or summary view of the search results without requiring additional server round-trips to openfairdb.

It is possible to extend the selection of returned properties as well as adding additional search criteria like the creation/modification time stamp. We should strive to find a set of properties that suits the requirements of all clients. Including or excluding certain properties on demand to reduce network traffic is an additional option.

Openfairdb may also offer extended search or load requests. Those requests are supposed to provide limited search capabilities (i.e. no full-text search) for implementing uses cases that require the complete entry with all properties, tags, and more.

Related issue (fixed): ofdb #152