[Archivesspace_Users_Group] find_by_id/archival_objects API endpoint

Noah Huffman noah.huffman at duke.edu
Mon Nov 20 11:43:06 EST 2017


Matthew,
Here’s how I format a request for a ref_id, with the response pasted below.


Get request:
https://[backend-url]/repositories/2/find_by_id/archival_objects?ref_id[]=3121b0181e90b39cc250cba2e587b47e

Response:
{
    "archival_objects": [
        {
            "ref": "/repositories/2/archival_objects/1083181"
        }
    ]
}

-Noah
================
Noah Huffman
Archivist for Metadata, Systems, and Digital Records
David M. Rubenstein Rare Book & Manuscript Library
Duke University | 919-660-5982
http://library.duke.edu/rubenstein/



From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Matthew Adair
Sent: Monday, November 20, 2017 11:28 AM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] find_by_id/archival_objects API endpoint

Can anybody out there provide me with a "real" example of the Find Archival Objects by ref_id or component_id endpoint documented here:

http://archivesspace.github.io/archivesspace/api/#get-repositories-repo_id-find_by_id-archival_objects<https://urldefense.proofpoint.com/v2/url?u=http-3A__archivesspace.github.io_archivesspace_api_-23get-2Drepositories-2Drepo-5Fid-2Dfind-5Fby-5Fid-2Darchival-5Fobjects&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=F0JE8U9-xhxe_nE7d7aEUi-uqfKqvYJ222bS0oz9mko&m=2X5ASJQisEwch8kaSmAi6BC0iu7azz6z-O6qQz-zs0Q&s=V-OF8O6KnDwsGUP2wJE-qTTpGZ1fo5GIUWER5SASfJ0&e=>

I've been pulling my hair out all morning with no luck. FWIW - I'm not using Python or CURL, so something fairly generic would be much appreciated.

- Matt

----
Matthew Adair
Lead Archivist for Digitization

[https://webapps.lsa.umich.edu/dean/lsa_emails/bentley-sig-em.png]

  Bentley Historical Library
  1150 Beal Avenue
  Ann Arbor, Michigan 48109-2113
  734-647-3537
  www.bentley.umich.edu<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.bentley.umich.edu_&d=DwMFaQ&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=F0JE8U9-xhxe_nE7d7aEUi-uqfKqvYJ222bS0oz9mko&m=2X5ASJQisEwch8kaSmAi6BC0iu7azz6z-O6qQz-zs0Q&s=aiEMIxmgS2kEELJCUNXrnviQQ-NXTFB7a2InCXhletY&e=>
  @UmichBentley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20171120/3b2071bd/attachment.html>


More information about the Archivesspace_Users_Group mailing list