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

What API provides the ability to download all ReducedDatums for a target? #1125

Open
rachel3834 opened this issue Nov 23, 2024 · 2 comments
Open
Labels
enhancement New feature or request User Issue Raised by a user

Comments

@rachel3834
Copy link
Contributor

I have some software used for fitting models to timeseries data. I'd like this code to be able to directly retrieve from my TOM all lightcurves for a give target (identified by name).

I can see the TOM already provides APIs for querying targets, and for listing, creating (uploading) and deleting data products (tom_dataproducts/api_views) but it is not clear to me whether downloading the ReducedDatums is supported.

Please can you point me in the right direction?

@rachel3834 rachel3834 added enhancement New feature or request question Further information is requested User Issue Raised by a user labels Nov 23, 2024
@github-project-automation github-project-automation bot moved this to Triage in TOM Toolkit Nov 23, 2024
@jchate6
Copy link
Contributor

jchate6 commented Nov 23, 2024

I'm not sure I understand the question, Let's chat about it after the holiday.
In the mean time, you can send a get request to base_url/api/reduceddatums/ to retrieve reduced datums, however it doesn't look like we have terribly useful filters for limiting the results.

@jchate6 jchate6 moved this from Triage to Backlog in TOM Toolkit Dec 6, 2024
@jchate6 jchate6 removed the question Further information is requested label Dec 6, 2024
@jchate6
Copy link
Contributor

jchate6 commented Dec 6, 2024

We need to add filters to Reduced Datums for related fields in the restframe API.
Minimum requirements: filter on Target and Data Product

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request User Issue Raised by a user
Projects
Status: Backlog
Development

No branches or pull requests

2 participants