[Bug 26740] New: REST API: Add endpoint for task queue
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26740 Bug ID: 26740 Summary: REST API: Add endpoint for task queue Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: REST API Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au It would be great if there were a HTTP API endpoint that we could use to enqueue tasks. That said, we would need to be careful with permissions, so it would probably need to be a different endpoint for each kind of task that could be enqueued. My main thought here is to have a task scheduler daemon that adds tasks via the task queue endpoint when its timers fire, but it could be used in all sorts of ways. A frontend AJAX call could add a task and then either poll/have a refresh button to get updated information about that task. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26740 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |22417 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22417 [Bug 22417] Add a task queue -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26740 Bug 26740 depends on bug 22417, which changed state. Bug 22417 Summary: Add a task queue https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22417 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26740 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Is this resolved? https://api.koha-community.org/#tag/jobs -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26740 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from David Cook <dcook@prosentient.com.au> --- (In reply to Katrin Fischer from comment #1)
Is this resolved?
It looks like you can only get/list jobs. The search also looks like it could have some issues if used outside of the current context (ie the Admin module)... I'm happy to close this one though as I don't think I'll work on it, and I'm not sure it's even a good idea. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org