{ "opencollection": "1.0.0", "info": { "name": "medRxiv REST Details API", "version": "1.0.0" }, "items": [ { "info": { "name": "Details", "type": "folder" }, "items": [ { "info": { "name": "Retrieve preprint details by date interval", "type": "http" }, "http": { "method": "GET", "url": "https://api.medrxiv.org/details/:server/:interval/:cursor/:format", "params": [ { "name": "server", "value": "medrxiv", "type": "path", "description": "The preprint server to query. Use 'medrxiv' for medRxiv preprints or 'biorxiv' for bioRxiv preprints.\n" }, { "name": "interval", "value": "2020-01-01/2020-01-31", "type": "path", "description": "The date interval to query. Can be two dates in YYYY-MM-DD/YYYY-MM-DD format, a numeric value for N most recent posts, or a number followed by 'd' for the most recent N days (e.g., '7d' for last 7 days).\n" }, { "name": "cursor", "value": "0", "type": "path", "description": "Starting position for pagination. Defaults to 0. Increment by 100 to retrieve successive pages of results.\n" }, { "name": "format", "value": "json", "type": "path", "description": "The response format. Use 'json' for JSON or 'xml' for OAI-PMH XML.\n" } ] }, "docs": "Returns preprint metadata for papers posted within the specified interval. Results are paginated with 100 records per call. Use the cursor parameter to page through the full result set.\n" }, { "info": { "name": "Retrieve preprint details by DOI", "type": "http" }, "http": { "method": "GET", "url": "https://api.medrxiv.org/details/:server/:doi/na/:format", "params": [ { "name": "server", "value": "medrxiv", "type": "path", "description": "The preprint server to query. Use 'medrxiv' for medRxiv preprints or 'biorxiv' for bioRxiv preprints.\n" }, { "name": "doi", "value": "10.1101/2021.04.29.21256344", "type": "path", "description": "The Digital Object Identifier (DOI) of the preprint to retrieve. Do not include the 'https://doi.org/' prefix.\n" }, { "name": "format", "value": "json", "type": "path", "description": "The response format. Use 'json' for JSON or 'xml' for OAI-PMH XML.\n" } ] }, "docs": "Returns metadata for a single preprint identified by its DOI. All versions of the preprint are returned in the collection array.\n" } ] } ], "bundled": true }