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

Add API to access ecodata's harvest APIs via BioCollect #1670

Open
temi opened this issue Feb 24, 2025 · 0 comments
Open

Add API to access ecodata's harvest APIs via BioCollect #1670

temi opened this issue Feb 24, 2025 · 0 comments
Assignees

Comments

@temi
Copy link
Contributor

temi commented Feb 24, 2025

Make sure the following ecodata APIs are accessible via BioCollect.

  1. /ws/record/listRecordsForDataResourceId - use projectId instead of data resource id.
  2. /ws/project/$projectId/archive -

Check if user has at least Editor permission before accessing these APIs. Also, check if project's ALA harvest flag is switched on and has a data resource id. Add these checks into a method to enable re-use.

Add these APIs to open API definition and api gateway.

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

No branches or pull requests

2 participants