{
  "opencollection": "1.0.0",
  "info": {
    "name": "frp Client Admin Clients Proxies API",
    "version": "0.0.1"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Proxies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List proxies by type",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/api/proxy/:type",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "Proxy type"
              }
            ]
          },
          "docs": "Returns all known proxies for a given proxy type."
        },
        {
          "info": {
            "name": "Get proxy by type and name",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/api/proxy/:type/:name",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "Proxy type"
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "Proxy name"
              }
            ]
          },
          "docs": "Returns detailed statistics for a single proxy identified by type and name."
        },
        {
          "info": {
            "name": "Get proxy by name",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/api/proxies/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "Proxy name"
              }
            ]
          },
          "docs": "Returns detailed statistics for a single proxy identified by name."
        },
        {
          "info": {
            "name": "Delete offline proxies",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://{host}:{port}/api/proxies",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Proxy status to clear (only offline is supported)"
              }
            ]
          },
          "docs": "Clears proxies that are no longer connected. The status query parameter must be set to offline; any other value is rejected."
        },
        {
          "info": {
            "name": "Get proxy traffic",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{host}:{port}/api/traffic/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "Proxy name"
              }
            ]
          },
          "docs": "Returns daily inbound and outbound traffic counters for a proxy."
        }
      ]
    }
  ],
  "bundled": true
}