{ "opencollection": "1.0.0", "info": { "name": "REST activities repositories API", "version": "2.3.0" }, "items": [ { "info": { "name": "repositories", "type": "folder" }, "items": [ { "info": { "name": "Add a new repository.", "type": "http" }, "http": { "method": "POST", "url": "https://api.test.datacite.org/repositories", "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Add a new repository." }, { "info": { "name": "Update a repository.", "type": "http" }, "http": { "method": "PUT", "url": "https://api.test.datacite.org/repositories/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "DataCite Repository ID." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Update a repository." }, { "info": { "name": "Delete a repository (only possible if no DOIs are in the repository)", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.test.datacite.org/repositories/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "DataCite Repository ID." } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Delete a repository (only possible if no DOIs are in the repository)" } ] } ], "bundled": true }