note

From version 23.3 OAI-PMH is only available upon request

From version 23.3 OAI-PMH is only available upon request

Introduction

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

https://integration.mediahaven.com/mediahaven-oai/oai

Delete Support

From version 22.1 the engine now has delete support for OAI meaning

Note that the OAI specification forbids including the metadata of a deleted record in the response, however you can still make a GET request using the MediaHaven REST API 2.0

Cookbook

List of metadata formats

https://integration.mediahaven.com/mediahaven-oai/oai?verb=ListMetadataFormats

Format

Description

oai_dc

Small subset of Dublin core made for OAI

mhs-head

The most recent Metadata Sidecar

mhs

The Metadata Sidecar 20.3

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

https://integration.mediahaven.com/mediahaven-oai/oai?verb=ListRecords&metadataPrefix=mhs-head

Query Parameter

Description

Example

format

The metadata format as described in the previous section

mhs-head

from

Return records that have been modified after this date (inclusive)

2020-07-05

until

Return records that have been modified before this date (inclusive)

2020-07-06

resumptionToken

Use this token to receive additional records matching between the time interval [from,until]. See OAI Reference for more details.

e21ldGFkYXRhUHJlZml4PW1ocy1oZW...

(base 64 string)

The parameters from and until are calculated against the metadata field Administrative.LastModifiedDate. See Metadata Fields for the complete reference.

Authentication