Jobs Api filter by name or change return size
Description
Currently, we have a use case where we are running builds through the jobs api for our static site. If one of our content authors wants to publish changes to the site I have code where they can hit the jobs api to run a build.
I do this by first getting all the latest successful jobs and find the job that was successful for the environment they are working in and use that ID to retry a job. The issue that i'm running into is that the jobs api only returns the latest 20 jobs and if that environment hasn't run in a while it doesn't show up in that array.
Proposal
My proposal is to either return a larger array size(probably not the greatest idea since that could get very large) or to be able to filter by a jobs name like how we can already filter by the scope of a job.