Metadata Dump
Provides information about the metadata dumps.
Categories:
Endpoint Overview
SIDRE can provide metadata dumps that you can download for further processing.
This feature has to be activated by an administrator of the SIDRE instance. If activated, an overview of all available dumps can be found at /resources/dumps
.
A JSON dump is the standard format for metadata dumps. But additional formats like MARCXML can also be activated by an administrator of the SIDRE instance.
The dumps are updated regularly, usually once a week after the weekly cleanup.
API description
dumps
Download metadata dump
GET
/resources/dumps/{metadataIndexName}.{format}
Parameters
name | type | data type | description |
---|---|---|---|
metadataIndexName |
(path) required | string | Name of the metadata index - see applicationInfo |
format |
(path) required | string | Format of the metadata dump. Check /resources/dumps for available formats. Default format ndjson should always be available. |
Responses
http code | content-type | response |
---|---|---|
200 |
application/x-ndjson |
metadata dump |
Example cURL
curl -X GET https://oersi.org/resources/dumps/oer_data.ndjson \
--user-agent "MyBot/1.0 (https://example.org/mybot/; mybot@example.org)"
curl -X GET https://oersi.org/resources/dumps/oer_data.mrc.xml \
--user-agent "MyBot/1.0 (https://example.org/mybot/; mybot@example.org)"