Computational Use of Archival Materials
All of our online materials and our metadata are available for bulk access via open REST APIs.
All of our archival metadata is available though the UAlbanyArchives GitHub Page as EAD XML files.EAD 2002 Resources:
We think that it might be useful to iterate though archival metadata to access online materials. Archival metadata is hierarchical, which collection records linking to multiple levels of child records (series, subseries, files, or items). The lowest-order child records may link to an online version or to the containers that house them.
Collection records can be called using their collection ID, with this URI and the param
Collection IDs can be found in the URL for each collection page. A full list of collections is available here. Just add the param
?format=json to the end of any collection page to see the JSON API.
To find child records for any item, use the same URI following params:
The response JSON will have a
data key which will be a list of all children. You can get the ID for the child with the
id key. All records below collections have a 32 digit alphanumeric ID prepended by the collection ID and
To get the full record, append the ID to the same URI with the
Some records either represent online content, or have children that represent online content. These records have an
has_online_content_ssim key set to
If a records where
has_online_content_ssim is true, you can check the
component_children_bsi key to check if the records has child records. If the record does not have child records, it will have a
digital_objects_ssm key which is a list of json containing the URI for the online content record.
To get the online content record, use that uri with an additional
Once you have the online content URI, add the
?format=jsonld param for access to the digital file(s).
Find the ID for each file in a list as the
@graph key. The ID is in the
@id keys. Replace "https://archives.albany.edu/catalog/' in the URI with "https://archives.albany.edu/downloads." to get the URL for the binary file