Open rachel3834 opened 1 year ago
This feels like a very specific use case for a dramatically missing Tom functionality of simply downloading data. (See Issue #248 ) Unless it was uploaded from another file, we cannot download it without directly querying the DB.
This seems like a pretty significant oversight that we should rectify in a general sense in addition to the specific use case of an API endpoint to retrieve JSON.
Is your feature request related to a problem? Please describe. A user team would like to download the ReducedDatum products (e.g. lightcurves) stored for a set of targets en masse, without having to click a button to download each lightcurve for each target in turn.
Describe the solution you'd like An API designed to receive a list of TargetNames. The TOM should identify which Targets these correspond to, and respond with a JSON object containing the ReducedDatum objects available for those Targets.