[Koha-bugs] [Bug 33711] New: Refine the token passing mechanisms introduced in bug 23336

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 10 14:12:31 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33711

            Bug ID: 33711
           Summary: Refine the token passing mechanisms introduced in bug
                    23336
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: REST API
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
                CC: koha-bugs at lists.koha-community.org,
                    tomascohen at gmail.com
        Depends on: 23336

Bug 23336 introduces an API workflow for checkouts by adding two endpoints..
one for availability that creates a token for confirmations that can then be
used by the checkouts endpoint to verify that availability has been checked.

Whilst I think the availability endpoint is worthwhile in it's own right, I
think we could also send back the token in the 409 pre-condition failed
response of the checkouts endpoint so one could use that single endpoint for
double duty in the right circumstances.

I also think we could work on how the confirmation token is sent to the
endpoint.. it's currently a simple query param but may lend itself to being
part of the x-koha-overrides header or another header?


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23336
[Bug 23336] Add an API endpoint for issuing an item to a patron
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Koha-bugs mailing list