[Koha-bugs] [Bug 30652] New: RPC style action endpoint for choosing matches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 29 13:55:30 CEST 2022


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

            Bug ID: 30652
           Summary: RPC style action endpoint for choosing matches
 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: tomascohen at gmail.com
        Depends on: 22785

In bug 22785 we added endpoint for selecting which match of a record is used at
import.

I wasn't sure about the API structure as it didn't feel RESTful.. you are
changing the state of more than the single resource you are pointing to.

I propose the following as an alternative.

POST
/import/{import_batch_id}/records/{import_record_id}/matches/{record_match_id}/choose
POST 
/import/{import_batch_id}/records/{import_record_id}/matches/{record_match_id}/unchoose


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22785
[Bug 22785] Manage matches when importing through stage MARC record import
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list