...
Metadata is provided in the MODS schema (http://www.loc.gov/standards/mods/) as extended in the Harvard LibraryCloud Schema (URL)with some LibraryCloud extensions) and Dublin Core.
Base URI
The the service's base address is: https://api.lib.harvard.edu/oai
...
The ListSets verb will return a list of all harvestable OAI sets defined as LibraryCloud Collections. At this time, the LibraryCloud ListSets verb does not support a resumptionToken, so the response will always include the first 10 collections only.
https://api.lib.harvard.edu/oai/?verb=ListSets
...
https://api.lib.harvard.edu/oai/?verb=ListMetadataFormats (works)
https://api.lib.harvard.edu/oai/?verb=ListMetadataFormats&identifier=990007968560203941 (why doesn't this work?)
Resumption tokens
The OAI requests for ListSets, ListRecords, and ListIdentifiers retrieve 10 results at a time, so the repeated use of a resumptionToken in the request URL is needed to retrieve the full amount of data.
For this a ListRecords request in the Scarlet collection :-- https://api.lib.harvard.edu/oai/?verb=ListRecords&metadataPrefix=mods&set=scarlet, here -- this is how to use the resumption token to retrieve additional data beyond the first 10 items:
- Make the initial ListRecords request: https://api.lib.harvard.edu/oai/?verb=ListRecords&metadataPrefix=mods&set=scarlet.
- Copy the resumptionToken value from the bottom of the list of 10 results, for example:
<resumptionToken completeListSize="445">10:0001-01-01:9999-12-31:scarlet:mods</resumptionToken>
The first part of the token value indicates the number at which the next list will start – "10" in the example above. - Remove the “metadataPrefix=x&set=y” parameters from the original request url and replace with the resumptionToken as a an argument, like this:
https://api.lib.harvard.edu/oai/?verb=ListRecords&resumptionToken=10:0001-01-01:9999-12-31:scarlet:mods - Re-issue the request to get the next set of 10 items.
...