{ "opencollection": "1.0.0", "info": { "name": "Gremlin agents disaster-recovery-tests API", "version": "1.0" }, "items": [ { "info": { "name": "disaster-recovery-tests", "type": "folder" }, "items": [ { "info": { "name": "Marks a disaster recovery test for a company as completed, generating a report", "type": "http" }, "http": { "method": "POST", "url": "https://api.gremlin.com/v1/disaster-recovery-tests/:identifier/complete", "params": [ { "name": "identifier", "value": "", "type": "path" } ] }, "docs": "Requires the privilege [`DISASTER_RECOVERY_TESTS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Creates a disaster recovery test for a company", "type": "http" }, "http": { "method": "POST", "url": "https://api.gremlin.com/v1/disaster-recovery-tests", "body": { "type": "json", "data": "{}" } }, "docs": "Requires the privilege [`DISASTER_RECOVERY_TESTS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Gets a disaster recovery test, complete with service details", "type": "http" }, "http": { "method": "GET", "url": "https://api.gremlin.com/v1/disaster-recovery-tests/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path" } ] }, "docs": "Requires the privilege [`DISASTER_RECOVERY_TESTS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Updates a disaster recovery test for a company", "type": "http" }, "http": { "method": "PUT", "url": "https://api.gremlin.com/v1/disaster-recovery-tests/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path" } ] }, "docs": "Requires the privilege [`DISASTER_RECOVERY_TESTS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Submits a task to delete a disaster recovery test for a company", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.gremlin.com/v1/disaster-recovery-tests/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path" } ] }, "docs": "Requires the privilege [`DISASTER_RECOVERY_TESTS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Gets all active disaster recovery tests for a company", "type": "http" }, "http": { "method": "GET", "url": "https://api.gremlin.com/v1/disaster-recovery-tests/active" }, "docs": "Requires the privilege [`DISASTER_RECOVERY_TESTS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Gets all draft disaster recovery tests for a company", "type": "http" }, "http": { "method": "GET", "url": "https://api.gremlin.com/v1/disaster-recovery-tests/draft" }, "docs": "Requires the privilege [`DISASTER_RECOVERY_TESTS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Halts all active scenario runs for all services for the disaster recovery test", "type": "http" }, "http": { "method": "POST", "url": "https://api.gremlin.com/v1/disaster-recovery-tests/:identifier/halt-all", "params": [ { "name": "identifier", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Requires the privilege [`DISASTER_RECOVERY_TESTS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Creates scenario runs for all eligible services for the disaster recovery test", "type": "http" }, "http": { "method": "POST", "url": "https://api.gremlin.com/v1/disaster-recovery-tests/:identifier/run-all", "params": [ { "name": "identifier", "value": "", "type": "path" } ] }, "docs": "Requires the privilege [`DISASTER_RECOVERY_TESTS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" }, { "info": { "name": "Creates a scenario run for the specified service as part of the disaster recovery test", "type": "http" }, "http": { "method": "POST", "url": "https://api.gremlin.com/v1/disaster-recovery-tests/:identifier/run", "params": [ { "name": "identifier", "value": "", "type": "path" }, { "name": "teamId", "value": "", "type": "query", "description": "Required when using company session token." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Requires the privilege [`MINIMUM_TEAM_PRIVILEGES`](https://www.gremlin.com/docs/user-management/access-control/#privileges)" } ] } ], "bundled": true }