Store OAI Service

From n² wiki

Jump to: navigation, search

Nearby: Platform API

URI Pattern
http://api.talis.com/stores/{store}/services/oai-pmh
Allowed Methods
GET

An implementation of the OAI-PMH protocol for platform stores

Contents

[edit] Notes

See http://www.openarchives.org/OAI/openarchivesprotocol.html for information on the protocol. This implementation is an early, reduced functionality version.

[edit] GET

GETs to the OAI service require the harvest capability.


Returns an OAI-PMH response depending on the verb. Supported verbs are:

[edit] verb=ListRecords

Required Parameters

  • metadataPrefix - the format of the records to return, can be one of:
    • oai_dc
    • marcxml
  • from - an optional argument with a UTCdatetime value, which specifies a lower bound for datestamp-based selective harvesting.
  • until - an optional argument with a UTCdatetime value, which specifies a lower bound for datestamp-based selective harvesting.
  • resumptionToken - an exclusive argument (i.e. cannot be combined with other parameters) with a value that is the flow control token returned by a previous ListRecords request that issued an incomplete list.


[edit] Examples

List records using Dublin Core record format
GET http://api.talis.com/bf/stores/inst-5050/services/oai-pmh?verb=ListRecords&metadataPrefix=oai_dc
List records using MarcXML record format
GET http://api.talis.com/bf/stores/inst-5050/services/oai-pmh?verb=ListRecords&metadataPrefix=marcxml
List records changed since 5 Jan 2007
GET http://api.talis.com/bf/stores/inst-5050/services/oai-pmh?verb=ListRecords&metadataPrefix=marcxml&from=2007-01-05T20:30:00Z
Personal tools