Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metadata-entry-form api? #297

Open
JessyBarrette opened this issue Dec 14, 2023 · 2 comments
Open

metadata-entry-form api? #297

JessyBarrette opened this issue Dec 14, 2023 · 2 comments

Comments

@JessyBarrette
Copy link
Collaborator

JessyBarrette commented Dec 14, 2023

Issue

I can see a lot use cases where a api sitting on top of the forms which could provide read access to the different records available would very useful and could potentially resolved some issues related to some downstream aspects. Among these, an API could help for:

  • Generate use case specific dashboard for different groups
  • Review and maintain metadata associated to a specific dataset. Example linking ERDDAP metadata to its metadata entry. If a an api exists, I can easily scrape the form to find the matching metadata record and update ERDDAP base on the latest changes made to the form.
  • Apply institution specific metadata tests: Example Hakai metadata records would ideally require to have the funder be listed as Tula foundation.

How

Perhaps just a python fast-api api instance that gives the ability to send back the different metadata records as json would be good enough.

@JessyBarrette
Copy link
Collaborator Author

After some discutions with @fostermh, this seem relatively doable. The metadata-entry-form uses a firebase database which is based out of the json file.

Firebase has its own api already. 👯

The main issue would related to how to set the authorizations to access the database.
@n-a-t-e apparently you would have some thoughts about that.

@fostermh
Copy link
Member

fostermh commented Dec 21, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants