Closed will-moore closed 7 years ago
Alternative idea, in keeping with the move to a standard json API, is to provide a way to query the parents of an image. E.g. listing objects & filtering by image:
/api/datasets/?image=123
/api/plates/?image=123
Or perhaps image_marshal of an image would include Datasets if loaded, and we could specify whether to load parents in the query, E.g:
/api/images/10/?load=datasets&load=wells.wellsamples.plate
cc @chris-allan @jburel We need to resume discussion of this: how to include S/P/W and P/D parents in imgData json.
Closing - see reason at https://github.com/openmicroscopy/openmicroscopy/pull/4486#issuecomment-253175508
Discussion started about what parent info to include in the
imgData
json and how to handle multiple parents. See https://github.com/openmicroscopy/openmicroscopy/pull/4486Currently we have added a list of
datasets
andwells
undermeta
, but have not removed the existingdatasetName
,datasetId
,datasetDescription
,wellSampleId
,wellId
and we haven't made any changes to handle multiple Projects, so these current changes are not "breaking".We could include multiple Projects within each
dataset
objectcc @chris-allan @jburel