[Archivesspace_Users_Group] API question about digital objects and components

Lora Woodford Lora.Woodford at lyrasis.org
Fri Apr 10 16:14:22 EDT 2020


Hi Wendy,

Something like this should get you what you’re after (this should return all digital object components linked to the digital_objects/1 in repository 2):

http://your.base.api.url/search?page=1&filter={"query": {"jsonmodel_type": "boolean_query","op": "AND","subqueries": [{"field": "primary_type","value": "digital_object_component","jsonmodel_type": "field_query","negated": false,"literal": true}, {"field": "digital_object","value": "/repositories/2/digital_objects/1","jsonmodel_type": "field_query","negated": false,"literal": true}]}}

Best,

Lora Woodford


From: <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of "Hagenmaier, Wendy L" <wendy.hagenmaier at library.gatech.edu>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Date: Friday, April 10, 2020 at 2:44 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] API question about digital objects and components

Hi ASpace community,

We're working on a project using the API and have a question about digital object components. We've looked through the API documentation on GitHub and can't quite find what we're after, but maybe we've missed it.

Can anyone help us with a method for getting digital object component fields using the parent digital object ID (and without knowing the digital object component ID)?

Thank you,
Wendy

Wendy Hagenmaier
Digital Collections Archivist
Archives & Records Management
Georgia Institute of Technology Library
Atlanta, GA 30332-0900
wendy.hagenmaier at library.gatech.edu
(404) 894-4579
Pronouns: she/her/hers
library.gatech.edu/archives<http://library.gatech.edu/archives/>
<http://library.gatech.edu/retrotech>
library.gatech.edu/retrotech<http://library.gatech.edu/retrotech>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20200410/7186219c/attachment.html>


More information about the Archivesspace_Users_Group mailing list