microbiomedata / nmdc-runtime

Runtime system for NMDC data management and orchestration
https://microbiomedata.github.io/nmdc-runtime/
Other
4 stars 3 forks source link

Given a Biosample id we need to be able to retrieve the associated DataObjects #545

Closed sujaypatil96 closed 3 weeks ago

sujaypatil96 commented 1 month ago

As part of the efforts in the NCBI Export squad, one of the requirements that has come up is the need to be able to retrieve DataObjects (ids and URLs) given a Biosample id.

Ideally, this would be a specific case of NMDC Database roll-up, but since we don't have the "machinery" for that just yet, we will need to implement something custom for this use case in the meantime.

The code for the NCBI Export squad is being developed in PR #518

The two cases that we need to cover are:

Implementation details:

sujaypatil96 commented 1 month ago

CC: @PeopleMakeCulture @dwinston

PeopleMakeCulture commented 1 month ago

@sujaypatil96 we actually built out an api endpoint for this but it never got pushed to prod. let me find the issue for you.

PeopleMakeCulture commented 1 month ago

Duplicate of #401