{
  "opencollection": "1.0.0",
  "info": {
    "name": "Trellix Web Gateway Policy Anti-Malware Files API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "JSESSIONID",
      "value": "{{JSESSIONID}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List available files",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{mwg-server}:{port}/Konfigurator/REST/policy/files"
          },
          "docs": "List files available on the Web Gateway appliance, including rule set exports and configuration files."
        },
        {
          "info": {
            "name": "Download a file",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{mwg-server}:{port}/Konfigurator/REST/policy/files/:fileName",
            "params": [
              {
                "name": "fileName",
                "value": "",
                "type": "path",
                "description": "Name of the file"
              }
            ]
          },
          "docs": "Download a specific file from the Web Gateway appliance."
        },
        {
          "info": {
            "name": "Upload a file",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{mwg-server}:{port}/Konfigurator/REST/policy/files/:fileName",
            "params": [
              {
                "name": "fileName",
                "value": "",
                "type": "path",
                "description": "Name of the file"
              }
            ]
          },
          "docs": "Upload a file to the Web Gateway appliance, such as a rule set import or certificate file."
        },
        {
          "info": {
            "name": "Delete a file",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{mwg-server}:{port}/Konfigurator/REST/policy/files/:fileName",
            "params": [
              {
                "name": "fileName",
                "value": "",
                "type": "path",
                "description": "Name of the file"
              }
            ]
          },
          "docs": "Delete a specific file from the Web Gateway appliance."
        }
      ]
    }
  ],
  "bundled": true
}