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
Format | Description |
---|---|
oai_dc | |
mhs-head | The most recent Metadata Sidecar |
mhs | |
mets-mhs-head | METS format with as embedded metadata the most recent Metadata Sidecar |
mets-mhs | METS format with as embedded metadata the Metadata Sidecar 20.3 |
mets | METS format with as embedded metadata the obsolete External Metadata [deprecated] |
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 Metadata Fields for the complete reference.
Authentication
From version
23.2
the basic authentication is deprecated and strongly discouraged from use because of security reasonsThe standard OAuth2.0 authentication must be used instead and is already available since at least
22.1
From version
25.1
the basic authentication supported is removed