Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Request to expose JSON schema via API #21

Open
zachsa opened this issue Jul 26, 2021 · 4 comments
Open

Request to expose JSON schema via API #21

zachsa opened this issue Jul 26, 2021 · 4 comments

Comments

@zachsa
Copy link

zachsa commented Jul 26, 2021

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
Copy link
Member

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
Copy link
Author

zachsa commented Aug 2, 2021

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

@marksparkza
Copy link
Member

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.

@marksparkza marksparkza reopened this Aug 3, 2021
@zachsa
Copy link
Author

zachsa commented Aug 4, 2021

All good

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants