<html><body><div style="font-family: georgia,serif; font-size: 10pt; color: #000000"><div>Noah,<br></div><div><br></div><div>I don't have an answer to your question, but I'd be extremely interested in hearing more about this process once you have it nailed down. As part of our migration to ASpace, we're incorporating some other data silos, so ASpace will ultimately contain much more data than we expose to our researchers. And since we don't plan, at this point, to use the public interface, we'd like to batch export these hundreds of new records at some point in the near future.</div><div><br></div><div>Thanks,</div><div>Ben</div><div><br></div><br><div><br></div><div><span name="x"></span><span data-mce-style="color: #000000; font-size: small;" style="color: #000000; font-size: small;" size="2"><span style="font-family: georgia,serif; font-weight: bold;">Ben Goldman</span><br style="font-family: georgia,serif;"><span style="font-family: georgia,serif;">Digital Records Archivist</span><br style="font-family: georgia,serif;"><span style="font-family: georgia,serif;">Penn State University Libraries</span><br style="font-family: georgia,serif;"><span style="font-family: georgia,serif;">University Park, PA</span><br style="font-family: georgia,serif;"><span style="font-family: georgia,serif;">814-863-8333<br><a href="http://www.libraries.psu.edu/psul/speccolls.html">http://www.libraries.psu.edu/psul/speccolls.html</a><br></span></span><span name="x"></span><br></div><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Noah Huffman" <noah.huffman@duke.edu><br><b>To: </b>"Archivesspace_Users_Group@lyralists.lyrasis.org" <Archivesspace_Users_Group@lyralists.lyrasis.org><br><b>Sent: </b>Monday, September 8, 2014 3:40:36 PM<br><b>Subject: </b>[Archivesspace_Users_Group] Batch export EAD with numbered components using API?<br><div><br></div>
<style><!--
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’m trying to batch export all resource records as EAD in a given repository using the API, but I can’t quite figure out how to get numbered components (instead of unnumbered).</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">With the following command, I can get all resources as EAD with unnumbered components ($IDs is a list of all resource IDs in curly braces):</p>
<p class="MsoNormal"></p>
<p class="MsoNormal">curl -O -H "X-ArchivesSpace-Session: $TOKEN" "[backend-url]/repositories/41/resource_descriptions/$IDs.xml</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Does anyone know the syntax for using the numbered component option with the API?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks!</p>
<p class="MsoNormal">-Noah</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="color:#404040">================</span></p>
<p class="MsoNormal"><span style="color:#404040">Noah Huffman</span></p>
<p class="MsoNormal"><span style="color:#404040">Archivist for Metadata and Encoding</span></p>
<p class="MsoNormal"><span style="color:#404040">David M. Rubenstein Rare Book & Manuscript Library</span></p>
<p class="MsoNormal"><span style="color:#404040">Duke University</span></p>
<p class="MsoNormal"><span style="color:#404040"><a href="mailto:noah.huffman@duke.edu" target="_blank"><span style="color:#404040">noah.huffman@duke.edu</span></a></span></p>
<p class="MsoNormal"><span style="color:#404040">919-660-5982</span></p>
<p class="MsoNormal"><span style="color:#404040"><a href="http://library.duke.edu/rubenstein/" target="_blank"><span style="color:#404040">http://library.duke.edu/rubenstein/</span></a>
</span></p>
<p class="MsoNormal"> </p>
</div>
<br>_______________________________________________<br>Archivesspace_Users_Group mailing list<br>Archivesspace_Users_Group@lyralists.lyrasis.org<br>http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group<br></div><div><br></div></div></body></html>