{
  "opencollection": "1.0.0",
  "info": {
    "name": "TestRail API (v2) Cases Configurations API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Configurations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get configurations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.testrail.io/index.php?/api/v2/get_configs/:project_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ]
          },
          "docs": "Returns a list of available configurations grouped by configuration group."
        },
        {
          "info": {
            "name": "Add configuration group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.testrail.io/index.php?/api/v2/add_config_group/:project_id",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "The ID of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new configuration group in a project."
        },
        {
          "info": {
            "name": "Add configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.testrail.io/index.php?/api/v2/add_config/:config_group_id",
            "params": [
              {
                "name": "config_group_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new configuration in a configuration group."
        }
      ]
    }
  ],
  "bundled": true
}