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 two new endpoints GET /entities/<id>/collections and GET /entities/<id>/uploads #674

Closed
yuanzhou opened this issue May 5, 2024 · 0 comments
Assignees
Labels
P Pitt dev team

Comments

@yuanzhou
Copy link
Member

yuanzhou commented May 5, 2024

To facilitate hubmapconsortium/search-api#791, add two new endpoints.

  • GET /entities/<id>/collections: returns a list of collections that the given member entity id (either uuid or hubmap_id) belongs to, support query string filtering by ?property=uuid
  • GET /entities/<id>/uploads: returns a list of uploads that the given entity id (either uuid or hubmap_id) is associated with, support query string filtering by ?property=uuid

Related HM card - https://github.com/orgs/hubmapconsortium/projects/40/views/1?pane=issue&itemId=66590391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P Pitt dev team
Projects
None yet
Development

No branches or pull requests

3 participants