[Archivesspace_Users_Group] Question Regarding the REST API batch_imports Operation
James R Griffin III
jrg5 at princeton.edu
Thu May 7 10:30:45 EDT 2020
Hello Everyone,
I have recently been reviewing the documentation for the REST API, and was looking to explore the possible usage of https://archivesspace.github.io/archivesspace/api/#import-a-batch-of-records
Please forgive for my ignorance, but does the body of the POST request contain a payload of EAD XML? Would this be a string of concatenated EAD documents?
Additionally, my understanding is that the response from this request contains an identifier for the created object. As the job for importing the records would be asynchronous, should one poll for the status of this new object by repeatedly transmitting a GET request against https://archivesspace.github.io/archivesspace/api/#find-resources-by-their-identifiers until it has been fully imported?
Thank you for your patience and assistance.
Sincerely,
James
--
my.pronoun.is/he<http://my.pronoun.is/he>
James R. Griffin III
Digital Infrastructure Developer
Princeton University Library<https://library.princeton.edu/>
Princeton, NJ 08544
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200507/fb74c73f/attachment.html>
More information about the Archivesspace_Users_Group
mailing list