No way to query status of multiple runs with the same run-id via REST API
ediril opened this issue · 0 comments
ediril commented
I have an On-Demand request and sometimes I schedule runs with the same run-id
. I am able to search for these runs using the Task Search feature in the web UI. It successfully returns all runs with the same runId
(except for the ones missing the runId
field, please see #1989). However, when I query the GET /api/track/run/{requestId}/{runId}
endpoint, it only returns one of the many runs. I'm not sure how it picks the one it returns because it's not necessarily the first one or the most recent one.
I think this endpoint should return the status of all runs that match the provided {runId}
as a list.