[Bug 30652] New: RPC style action endpoint for choosing matches
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@lists.koha-community.org Reporter: martin.renvoize@ptfs-europe.com CC: tomascohen@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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30652 Bug 30652 depends on bug 22785, which changed state. Bug 22785 Summary: Manage matches when importing through stage MARC record import https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22785 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30652 --- Comment #1 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Martin Renvoize from comment #0)
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
POST /.../chosen DELETE /.../chosen ? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30652 --- Comment #2 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- I missed the reply.. I like the POST and DELETE on `/chosen` or maybe `selected` proposed here. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30652 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=38745 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30652 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=38226 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30652 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org