openfairdb
openfairdb copied to clipboard
Serialisations and content negotiation
The tutorial at https://blog.vonmorgen.org/iframes/ explains to us how we can receive a dataset as CSV. It misses out to explain how, but that is left to be asked by mail instead.
Similarily it appears desirable to add a GeoJSON serialisation of the dataset, in so it can be more easily reused in other places. The content is already licenced as CC0, which would be a great contribution to the Intermapping commons.
The serialisation could be implemented in RESTful manner via an Accept:
Header accepting application/vnd.geo+json
(obsolete) or application/geo+json
(common).
The same content negotiation approach could also be nice for Accept: text/csv
.