{ "opencollection": "1.0.0", "info": { "name": "PHAIDRA datastream oai-pmh API", "version": "3.0" }, "items": [ { "info": { "name": "oai-pmh", "type": "folder" }, "items": [ { "info": { "name": "OAI-PMH endpoint.", "type": "http" }, "http": { "method": "GET", "url": "https://phaidra.unipd.it/api/oai", "params": [ { "name": "verb", "value": "", "type": "query", "description": "See [the OAI-PMH protocol](https://www.openarchives.org/pmh/)" } ] }, "docs": "OAI-PMH endpoint." }, { "info": { "name": "Same as GET.", "type": "http" }, "http": { "method": "POST", "url": "https://phaidra.unipd.it/api/oai" }, "docs": "Same as GET." }, { "info": { "name": "Add blacklist entries from TSV or JSON payload", "type": "http" }, "http": { "method": "POST", "url": "https://phaidra.unipd.it/api/oai/blacklist", "params": [ { "name": "sets", "value": "", "type": "query", "description": "Optional sets (comma-separated), if not supplied in JSON body." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Ingest TSV with columns `AC-Nummer` and `Identifier Phaidra`, and create records in `oai_records_blacklist` if ac_number/pid not already present. The blacklist is a list of PIDs which should not be included in a particular set in OAI-PMH, e.g. because the harvester gets those objects by other means (avoids duplicity)." } ] } ], "bundled": true }