SAEONData / Open-Data-Platform

SAEON Open Data Platform core services, APIs and UIs.
MIT License
2 stars 0 forks source link

Request to expose JSON schema via API #21

Open zachsa opened 3 years ago

zachsa commented 3 years ago

Hi Mark,

There is currently the functionality to download the metadata records as JSON on the catalogue (for logged in users). I would like to allow for downloading in CSV format, but for that I need to first read the JSON schema. Can I get this via an API call?

marksparkza commented 3 years ago

Hi Zach, In the future our schemas will be published at odp.saeon.ac.za/schema, but for now you can just get it from GitHub: https://github.com/SAEONData/ODP-Data/tree/master/schema

zachsa commented 3 years ago

Can we leave this issue open? I will wait until the ODP endpoint makes it available before implementing

marksparkza commented 3 years ago

Okay - just bear in mind that this is happening as part of ODP v2 development which is still in very early days. It will likely only go to production sometime next year.

zachsa commented 3 years ago

All good