<div dir="ltr"><div><div><div><div>Phil,<br><br></div>As far as I'm aware, there's no bulk EAD export functionality in ASpace. However, since ASpace's resource identifiers are sequential integers, you can loop over each resource id in a repository and make an API call for its EAD record:<br><br></div>for x in {first..last}; do curl -H '[session token]' "https://[address]/repositories/[id]/resource_descriptions/${x}.xml" > aspace_${x}.xml; done<br><br></div>A loop like that should generate EAD records for each resource in your repository.<br><br></div><div>Regards,<br></div>--Alex <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 28, 2015 at 10:27 AM, Suda, Phillip J <span dir="ltr"><<a href="mailto:psuda1@tulane.edu" target="_blank">psuda1@tulane.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div>
<p class="MsoNormal">Greetings all, <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"> Is there an API or mass export feature for exporting all EAD records from a repository, etc.? I am only seeing a collection level export feature.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks, <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Phil <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Phillip Suda<u></u><u></u></p>
<p class="MsoNormal">Systems Librarian<u></u><u></u></p>
<p class="MsoNormal">Howard-Tilton Memorial Library<u></u><u></u></p>
<p class="MsoNormal">Tulane University<u></u><u></u></p>
<p class="MsoNormal"><a href="mailto:psuda1@tulane.edu" target="_blank">psuda1@tulane.edu</a><u></u><u></u></p>
<p class="MsoNormal"><a href="tel:504-865-5607" value="+15048655607" target="_blank">504-865-5607</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Alexander Duryee<div>Metadata Archivist</div><div>New York Public Library</div><div>(917)-229-9590</div><div><a href="mailto:alexanderduryee@nypl.org" target="_blank">alexanderduryee@nypl.org</a></div></div></div></div></div>
</div>