OAI PMH
From version 23.3
OAI-PMH is only available upon request
Introduction
OAI-PMH is an open standard designed for harvesting metadata
The full documentation can be found online
The complete API reference is also available
The OAI is from version
23.3
only available upon request.
OAI
Upon activation of the component you can access it using
https://<Your MediaHaven URL>/mediahaven-oai/oai
The Integration installation of MediaHaven always contains the latest release from MediaHaven
Delete Support
From version 22.1
the engine now has delete support for OAI meaning
Logically deleted records are present in OAI responses
These records are marked with
<header status="deleted">
as mandated by the OAI spec
When a record is logically deleted, the
Administrative.LastModifiedDate
changes and there will be a corresponding harvest for the corresponding date
Cookbook
List of metadata formats
See https://mediahaven.atlassian.net/wiki/spaces/CS/pages/4701683731 for additional information.
Selective harvesting
Select harvesting is the most useful feature of OAI-PMH, allowing for querying the API for recent changes and for keeping another platform in sync with changes. Open Archives Initiative - Protocol for Metadata Harvesting - v.2.0 describes in “Selective harvesting” how to achieve this.
Get metadata
Query Parameter | Description | Example |
---|---|---|
format | The metadata format as described in the previous section |
|
from | Return records that have been modified after this date (inclusive) |
|
until | Return records that have been modified before this date (inclusive) |
|
resumptionToken | Use this token to receive additional records matching between the time interval |
(base 64 string) |
The parameters from
and until
are calculated against the metadata field Administrative.LastModifiedDate
. See https://mediahaven.atlassian.net/wiki/spaces/CS/pages/42074134 for the complete reference.
Authentication
From version
23.2
the basic authentication is deprecated and strongly discouraged from use because of security reasonsThe standard https://mediahaven.atlassian.net/wiki/spaces/CS/pages/872251552 authentication must be used instead and is already available since at least
22.1
From version
25.1
the basic authentication support is removed