7. Status and result
7.1. Status
https://toar-data.fz-juelich.de/api/v2/analysis/status/[task_id]
Response: If the result is not ready yet the response will return the task id and the URL itself again. If the result is ready you will be redirected to the result endpoint.
Example: https://toar-data.fz-juelich.de/api/v2/analysis/status/e2b17c39-6f80-4083-9bb8-f90cd72812b9
Result: {“task_id”:”e2b17c39-6f80-4083-9bb8-f90cd72812b9”,”status”:”https://toar-data.fz-juelich.de/api/v2/analysis/status/e2b17c39-6f80-4083-9bb8-f90cd72812b9”}
or
redirect to https://toar-data.fz-juelich.de/api/v2/analysis/result/e2b17c39-6f80-4083-9bb8-f90cd72812b9
7.2. Result
https://toar-data.fz-juelich.de/api/v2/analysis/result/[task_id]
Response: A zip archive containing the query result in the format you requested.
Example: https://toar-data.fz-juelich.de/api/v2/analysis/result/e2b17c39-6f80-4083-9bb8-f90cd72812b9
Result: zip archive