[Koha-devel] REST API / MARC fields

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Fri Jan 22 14:09:27 CET 2021


Thanks. Overlaying the whole marc record is interesting too. Overwriting specific fields might offer some more fine grained control however too.

Something like:

PUT /api/v1/biblios/123456/marc  ?

POST, PUT /api/v1/biblios/123456/marc/field/789  ?


Marcel

________________________________

X
X!

​T/m 18 jaar gratis 
​In verband met de coronamaatregelen is het 
​boeken van een starttijd noodzakelijk.
​
​Kijk hier de nieuwste aflevering van Rijksmuseum Unlocked
x!

xxx

​Please think before you print
Van: Koha-devel <koha-devel-bounces at lists.koha-community.org> namens Tomas Cohen Arazi <tomascohen at gmail.com>
Verzonden: vrijdag 22 januari 2021 13:38
Aan: Marcel de Rooy <rooy.de.m at gmail.com>
CC: koha-devel <koha-devel at lists.koha-community.org>
Onderwerp: Re: [Koha-devel] REST API / MARC fields

We could have a route to overlay the MARC representation of a biblio (if acceptable). We could use

PATCH /biblios/:biblio_id
Content-Type: application/marc-in-json
{ ...




El vie., 22 ene. 2021 6:20, Marcel de Rooy <rooy.de.m at gmail.com<mailto:rooy.de.m at gmail.com>> escribió:
Hi all,

Any thoughts here about how we should handle updating fields in MARC which have no specific corresponding database field.
I am thinking about e.g. a persistent identifier in MARC21 field 024 or an OCLC number in field 035.
Could we add REST API entries for such changes as well? They will only generate changes in the marcxml for now..

Thanks,
Marcel
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org<mailto:Koha-devel at lists.koha-community.org>
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.koha-community.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fkoha-devel&data=04%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C8a43a8da6b554e41b3b108d8bed2ba1d%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637469159561939658%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=stBfgoLskKrgvFhMGNVV16wPP%2B%2Fujj3cxlnNjZHx8P8%3D&reserved=0>
website : https://www.koha-community.org/<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.koha-community.org%2F&data=04%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C8a43a8da6b554e41b3b108d8bed2ba1d%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637469159561949653%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=1cSgyDiK99%2Fts6gHaB2ykUq14RnsqLA7oYrMnQZ1Xho%3D&reserved=0>
git : https://git.koha-community.org/<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.koha-community.org%2F&data=04%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C8a43a8da6b554e41b3b108d8bed2ba1d%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637469159561949653%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uY%2BCVgf8svk4GJqQQPNbZdOlxQo%2BWB4psGleHBf14zw%3D&reserved=0>
bugs : https://bugs.koha-community.org/<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.koha-community.org%2F&data=04%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C8a43a8da6b554e41b3b108d8bed2ba1d%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C637469159561959648%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=I8u%2FDourFHEiGEEscgPFGcfPMzP3VtqgzVNky1NNoTY%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210122/d22f3ba0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image737934.png
Type: image/png
Size: 20645 bytes
Desc: image737934.png
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210122/d22f3ba0/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image057227.jpg
Type: image/jpeg
Size: 33251 bytes
Desc: image057227.jpg
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210122/d22f3ba0/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image481710.png
Type: image/png
Size: 910 bytes
Desc: image481710.png
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210122/d22f3ba0/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image676877.png
Type: image/png
Size: 737 bytes
Desc: image676877.png
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210122/d22f3ba0/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image447450.png
Type: image/png
Size: 799 bytes
Desc: image447450.png
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210122/d22f3ba0/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image637524.png
Type: image/png
Size: 804 bytes
Desc: image637524.png
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210122/d22f3ba0/attachment-0009.png>


More information about the Koha-devel mailing list