{
  "opencollection": "1.0.0",
  "info": {
    "name": "Gremlin agents test-suites API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "test-suites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Gets all reliability test suites for a company, starting with Gremlin's default global test suite, followed by other global suites and company's custom test suites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.gremlin.com/v1/test-suites",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "query",
                "description": "Required when using company session token."
              }
            ]
          },
          "docs": "Requires the privilege [`TEST_SUITES_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)"
        },
        {
          "info": {
            "name": "Creates a reliability test suite",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.gremlin.com/v1/test-suites",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Requires the privilege [`TEST_SUITES_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)"
        },
        {
          "info": {
            "name": "Gets a reliability test suite",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.gremlin.com/v1/test-suites/:testSuiteId",
            "params": [
              {
                "name": "testSuiteId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Requires the privilege [`TEST_SUITES_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)"
        },
        {
          "info": {
            "name": "Updates a reliability test suite",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.gremlin.com/v1/test-suites/:testSuiteId",
            "params": [
              {
                "name": "testSuiteId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Requires the privilege [`TEST_SUITES_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)"
        },
        {
          "info": {
            "name": "Delete a Test Suite.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.gremlin.com/v1/test-suites/:testSuiteId",
            "params": [
              {
                "name": "testSuiteId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Requires the privilege [`TEST_SUITES_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)"
        },
        {
          "info": {
            "name": "Retrieve the default list of available risks to add to a given TestSuite",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.gremlin.com/v1/test-suites/detected-risks"
          },
          "docs": "Requires the privilege [`TEST_SUITES_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)"
        }
      ]
    }
  ],
  "bundled": true
}