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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
        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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to