You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The /pscheduler/tasks/xxx/runs endpoint returns an empty list rather than the 404 it should if the task doesn't exist:
$ cpr https://ps01-l.farm.particle.cz/pscheduler/tasks/e24f7abc-21d2-4cb3-88dc-67d30cc38989/runs/74f58e57-178b-4112-9485-13dff578d041
Server returned 404:
Resource not found.
$ cpr https://ps01-l.farm.particle.cz/pscheduler/tasks/e24f7abc-21d2-4cb3-88dc-67d30cc38989/runs
[]
$ cpr https://ps01-l.farm.particle.cz/pscheduler/tasks/e24f7abc-21d2-4cb3-88dc-67d30cc38989
Server returned 404:
Resource not found.
Code is in `pscheduler-server/pscheduler-server/api-server/pschedulerapiserver/runs.py`
The text was updated successfully, but these errors were encountered:
mfeit-internet2
changed the title
API /runs not returning 404 when it needs to
API /runs not returning 404 when it needs to return an empty list
Sep 18, 2024
mfeit-internet2
changed the title
API /runs not returning 404 when it needs to return an empty list
API /runs should return 404 instead of empty list
Dec 2, 2024
The
/pscheduler/tasks/xxx/runs
endpoint returns an empty list rather than the404
it should if the task doesn't exist:The text was updated successfully, but these errors were encountered: