{ "opencollection": "1.0.0", "info": { "name": "Dryad datasets internal API", "version": "2.1.0" }, "items": [ { "info": { "name": "internal", "type": "folder" }, "items": [ { "info": { "name": "Get processor results for the ID given", "type": "http" }, "http": { "method": "GET", "url": "https://datadryad.org/api/v2/processor_results/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The processor results ID for a single item." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Shows the processor results stored in the database for the given ID." }, { "info": { "name": "Overwrite processor results for the ID given", "type": "http" }, "http": { "method": "PUT", "url": "https://datadryad.org/api/v2/processor_results/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The processor results ID for a single item." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Overwrite the processor results stored in the database for the given ID, resource_id, dates can't be manually changed" }, { "info": { "name": "Get processor results for the version given", "type": "http" }, "http": { "method": "GET", "url": "https://datadryad.org/api/v2/versions/:version_id/processor_results", "params": [ { "name": "id", "value": "", "type": "path", "description": "The version ID is a unique integer and can be obtained from the list of versions for a dataset." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Shows the processor results stored in the database for the resource_id" }, { "info": { "name": "Create processor results for the ID given", "type": "http" }, "http": { "method": "POST", "url": "https://datadryad.org/api/v2/versions/:version_id/processor_results", "params": [ { "name": "id", "value": "", "type": "path", "description": "The processor results ID for a single item." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new processor result in the database." }, { "info": { "name": "Update related works for a Dryad DOI", "type": "http" }, "http": { "method": "PUT", "url": "https://datadryad.org/api/v2/datasets/:doi/related_works/:related_doi", "params": [ { "name": "doi", "value": "", "type": "path", "description": "DOI like doi:10.1000/18238577 that should be URL encoded (example: doi%3A10.1000%2F18238577)" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Adds or updates related works for a Dryad DOI." } ] } ], "bundled": true }