https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42386
--- Comment #66 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 203525 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203525&action=edit Bug 42386: (follow-up) Document 409 vs 403 error codes for POST /holds The new 403 error_code list added for this bug included codes (expired, debt_limit, bad_address, card_lost, restricted, hold_limit) that Koha::REST::V1::Holds actually returns with HTTP 409 via can_place_holds, and omitted library_not_found and no_items from the 403 list entirely. Split the codes correctly across both response blocks and added the missing 409 response. Test plan: 1. Apply patch 2. yarn build; review the generated API docs for POST /holds 3. Sign off :-D Signed-off-by: Martin Renvoize <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
