[Archivesspace_Users_Group] attaching digital objects to archival objects

Kevin Clair Kevin.Clair at du.edu
Fri Aug 7 14:02:55 EDT 2015

Hi Maureen,

I've been working on a plugin that allows us to create new digital objects based on the metadata in an existing item record, to aid in our digitization workflow, and this is one of the problems it sets out to fix for us. What I ended up having to do was, once the digital object had been created, grab its URI, download the JSON for the original archival object, attach the digital object URI as a linked instance, and re-upload the new JSON through the backend. As far as I know that's the only solution, unless it's possible to write a plug-in with a backend controller that handles all those steps in one go.

We also can't do this in batches yet, it only allows for linking single digital objects to single items.

The code is here, with huge caveats that it's written specifically for our workflows and isn't actually in production at Denver yet: https://github.com/duspeccoll/digitized_object  -k

-----Original Message-----
From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Callahan, Maureen
Sent: Friday, August 07, 2015 11:45 AM
To: Archivesspace Users Group
Subject: [Archivesspace_Users_Group] attaching digital objects to archival objects

Hi everyone,

This may be a dumb question. I’m trying to wade in from the shallow end.

I have a list of digital objects that I want to create in ArchivesSpace and a list of which archival objects they should become instances of. I’m sitting down to write a script to start doing this work, and I’m wondering if this is possible — if there’s actually an endpoint that will let me do this. I see that I can post children digital objects to already-existing digital objects (POST /repositories/:repo_id/digital_object_components/:id/children), but I don’t see an explicit way to add digital objects as instances of archival objects. 

Thoughts? How would others approach this work?

Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org

More information about the Archivesspace_Users_Group mailing list