5 Mar
2025
5 Mar
'25
2:42 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38253 --- Comment #23 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- (In reply to Tomás Cohen Arazi (tcohen) from comment #3)
I don't think having a verb in the resource path is RESTful, and we should avoid it for consistency.
This can be solved by getting rid of the 'toggle' nature of the route and the method used. For example:
``` PUT /holds/{hold_id}/lowest_priority true ```
or
``` PUT /holds/{hold_id}/lowest_priority false ```
This is not what's been implemented. And it should. -- You are receiving this mail because: You are watching all bug changes.