Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job List API #25

Open
18601673727 opened this issue Dec 10, 2021 · 1 comment
Open

Job List API #25

18601673727 opened this issue Dec 10, 2021 · 1 comment

Comments

@18601673727
Copy link

Is there something like this?

GET /jobs?where=status:failed&offset=0&limit=10

Could be very helpful to manage jobs.

@davechallis
Copy link
Owner

There isn't at the moment, but that's something I'd like to add. Someone else had some good ideas about being able to find jobs by status to be able to manually deal with failed jobs.

At the moment it'd be very inefficient to implement as job data is kept in a flat structure once no longer queued (so e.g. finding all jobs with a given status would need a linear scan through all jobs).

I'm currently working on some changes that should allow this, just very busy with end of year work, but making some progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants