{
  "opencollection": "1.0.0",
  "info": {
    "name": "Gremlin agents kubernetes.attacks API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "kubernetes.attacks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get an attack by it's guid",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.gremlin.com/v1/kubernetes/attacks/:guid",
            "params": [
              {
                "name": "guid",
                "value": "",
                "type": "path",
                "description": "This value represents the globally unique identifier of the record to fetch."
              },
              {
                "name": "teamId",
                "value": "",
                "type": "query",
                "description": "Required when using company session token."
              }
            ]
          },
          "docs": "Requires the privilege [`EXPERIMENTS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)"
        },
        {
          "info": {
            "name": "List all attacks.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.gremlin.com/v1/kubernetes/attacks",
            "params": [
              {
                "name": "source",
                "value": "Adhoc",
                "type": "query",
                "description": "Filter Kubernetes attacks to either Adhoc or Scenario."
              },
              {
                "name": "teamId",
                "value": "",
                "type": "query",
                "description": "Required when using company session token."
              }
            ]
          },
          "docs": "Requires the privilege [`EXPERIMENTS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)"
        },
        {
          "info": {
            "name": "Legacy endpoint for creating K8s attacks. Please consider `POST /attacks` endpoint instead",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.gremlin.com/v1/kubernetes/attacks/new",
            "params": [
              {
                "name": "teamId",
                "value": "",
                "type": "query",
                "description": "Required when using company session token."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Requires the privilege [`EXPERIMENTS_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)"
        },
        {
          "info": {
            "name": "Halt an active attack",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.gremlin.com/v1/kubernetes/attacks/:uid/halt",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path"
              },
              {
                "name": "teamId",
                "value": "",
                "type": "query",
                "description": "Required when using company session token."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Requires the privilege [`HALT_WRITE`](https://www.gremlin.com/docs/user-management/access-control/#privileges)"
        },
        {
          "info": {
            "name": "Halt all active attacks",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.gremlin.com/v1/kubernetes/attacks/halt",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Halt all active attacks"
        }
      ]
    }
  ],
  "bundled": true
}