API endpoint to specifically fetch runner jobs
complete
V
Vinny Thanh
Right now, the process of filtering for jobs requesting runners is extremely painful: at least 3-4 API calls to fetch the pipelines, then the workflow(s) in the pipeline, then the job(s) in the workflow, and then finally a manual scan for a specific runner resource class.
I should be able to make a single API call and get all jobs that are requesting a runner resource (or any resource, really)
S
Steve Almy
complete
We now support an API that returns the number of queued runner jobs, by resource class. See https://circleci.com/docs/2.0/runner-api/#get-apiv2runnertasks for more details.