DSpace REST API version check
In the Github pull-request for DSpace REST API there is functionality for connecting and depositing to the DSpace 6.x REST API.
The thing is that between each major version of DSpace there have been made changes to the REST API. Specifically how user authentication is done between 5 and 6 and there will be differences between 6 and 7 I believe.
DSpace 4 REST API is read only so for versions 5 => SWORD will have to be used.
 User story
If the DSpace REST API changes with a new version of DSpace, I want Archivematica to be configured to work with that new version.
One solution is to add support for DSpace to the agentarchives library. We're already using it for ArchivesSpace.