Skip to content
This repository was archived by the owner on Aug 17, 2022. It is now read-only.

Latest commit

 

History

History
13 lines (8 loc) · 1.6 KB

README.md

File metadata and controls

13 lines (8 loc) · 1.6 KB

Repository Sync

This plugin was developed in order to allow integration between ArchivesSpace and the backend to our digital repository, Digital Collections DU. The idea is that when a user updates an ArchivesSpace record, and the record represents an archival object that has a digital form available via the repository, the repository backend can query the API calls made available via this plugin and automatically update its Elasticsearch index using the JSON response it receives.

How it works

We have two model/exporter combinations available here, with separate API calls for each. /repositories/:repo_id/:archival_objects/:id/repository returns a JSON representation of selected metadata properties from both the queried Archival Object and any Digital Object attached to it and marked as its representative, which is then fed into the repository Elasticsearch index. /repositories/:repo_id/:archival_objects/:id/repository.xml returns a MODS XML representation of, more or less, the same metadata properties; this is derived from our ao_mods ArchivesSpace plugin, which will soon be deprecated in favor of this one. We maintain the MODS export for the benefit of any catalogers or metadata professionals who wish to see the full MODS representation of a repository object, and to enable download of that record from the staff interface.

Documentation