[Archivesspace_Users_Group] Batch export EAD with numbered components using API?
Chris.Fitzpatrick at lyrasis.org
Tue Sep 9 09:11:12 EDT 2014
If you add a parameter of numbered_cs = true it will number the components. There's also parameters for
"include_unpublished" and "include_daos".
Odd this is not showing up in the API documentation..I will correct this.
Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat | Phone: 918.236.6048
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Ben Goldman <bmg17 at psu.edu>
Sent: Monday, September 08, 2014 10:48 PM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Batch export EAD with numbered components using API?
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.
Digital Records Archivist
Penn State University Libraries
University Park, PA
From: "Noah Huffman" <noah.huffman at duke.edu>
To: "Archivesspace_Users_Group at lyralists.lyrasis.org" <Archivesspace_Users_Group at lyralists.lyrasis.org>
Sent: Monday, September 8, 2014 3:40:36 PM
Subject: [Archivesspace_Users_Group] Batch export EAD with numbered components using API?
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).
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):
curl -O -H "X-ArchivesSpace-Session: $TOKEN" "[backend-url]/repositories/41/resource_descriptions/$IDs.xml
Does anyone know the syntax for using the numbered component option with the API?
Archivist for Metadata and Encoding
David M. Rubenstein Rare Book & Manuscript Library
noah.huffman at duke.edu<mailto:noah.huffman at duke.edu>
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Archivesspace_Users_Group