-
Notifications
You must be signed in to change notification settings - Fork 3
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
Refactor /nmdcschema/associations endpoint #717
Comments
More consensus is needed on how this endpoint should work. There is a desire for something more generalized than a tool that navigates "has_input" and "has_output" relationships. One idea is to use @eecavanna's refscan tool to create and cache a dict of possible paths between any two connected mongo collections. I think this is something that will come up in the next referential integrity meeting. In the meantime, I've prototyped a more specific use-case for traversing from data objects to biosamples [link to GH issue needed] |
implement with all-docs |
@PeopleMakeCulture I think this related_ids() function is kind of how this endpoint could function. So a list of ids comes in, along with a target class type, and out comes an association between input ids and output ids. |
some motivating context: folks are performing lots of client-side munging and writing logic that could be done server-side. |
Spinoff from branch 401-sparql related to #401
The text was updated successfully, but these errors were encountered: