{
  "opencollection": "1.0.0",
  "info": {
    "name": "Fastly DDoS Protection Events API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Fastly-Key",
      "value": "{{Fastly-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List DDoS Events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fastly.com/ddos-protection/v1/events"
          },
          "docs": "List DDoS Events"
        },
        {
          "info": {
            "name": "Get DDoS Event By Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fastly.com/ddos-protection/v1/events/:event_id",
            "params": [
              {
                "name": "event_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get DDoS Event By Id"
        }
      ]
    },
    {
      "info": {
        "name": "Rules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get All Rules For An Event",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fastly.com/ddos-protection/v1/events/:event_id/rules",
            "params": [
              {
                "name": "event_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get All Rules For An Event"
        },
        {
          "info": {
            "name": "Get A Rule By Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fastly.com/ddos-protection/v1/rules/:rule_id",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get A Rule By Id"
        },
        {
          "info": {
            "name": "Update Rule",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.fastly.com/ddos-protection/v1/rules/:rule_id",
            "params": [
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update Rule"
        }
      ]
    },
    {
      "info": {
        "name": "Traffic Stats",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Traffic Stats For A Rule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.fastly.com/ddos-protection/v1/events/:event_id/rules/:rule_id/traffic-stats",
            "params": [
              {
                "name": "event_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "rule_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Traffic Stats For A Rule"
        }
      ]
    }
  ],
  "bundled": true
}