https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33036 --- Comment #24 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #23)
6. Not sure about the response of the endpoint, IMO it should return the biblio generated by the merge. Also the response contains "merged" and "kept" with the IDs we passed, it does not seem needed.
I'd say it needs to return the resulting object, with the Location header pointing to the /biblios/:biblio_id endpoint (instead of the /merge)
Note that Tomas suggested on the list: POST /biblios/123/merges { "biblio_id": 456, "rules": ? }
Yes, we certainly need a way to specify what to pick from which record... An initial implementation could just implement a full overwrite (i.e. effectively moving the items and removing the biblio) but it needs to allow, by design, for future enhancements like this, so it is more useful. -- You are receiving this mail because: You are watching all bug changes.