{
  "opencollection": "1.0.0",
  "info": {
    "name": "APIs.io Engineering Platform Amazon API Gateway 2014 11 13 Tunnel Routing API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Tunnel Routing",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "APIs.io Engineering Platform List tunnel routes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/teamnet/routes",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "comment",
                "value": "",
                "type": "query"
              },
              {
                "name": "is_deleted",
                "value": "",
                "type": "query"
              },
              {
                "name": "network_subset",
                "value": "",
                "type": "query"
              },
              {
                "name": "network_superset",
                "value": "",
                "type": "query"
              },
              {
                "name": "existed_at",
                "value": "",
                "type": "query"
              },
              {
                "name": "tunnel_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "route_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "tun_types",
                "value": "",
                "type": "query"
              },
              {
                "name": "virtual_network_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Lists and filters private network routes in an account."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Create a tunnel route",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/teamnet/routes",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Routes a private network through a Cloudflare Tunnel."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Get tunnel route",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/teamnet/routes/:route_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "route_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a private network route in an account."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Update a tunnel route",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/teamnet/routes/:route_id",
            "params": [
              {
                "name": "route_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing private network route in an account. The fields that are meant to be updated should be provided in the body of the request."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Delete a tunnel route",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/teamnet/routes/:route_id",
            "params": [
              {
                "name": "route_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a private network route from an account.\n"
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Get tunnel route by IP",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/teamnet/routes/ip/:ip",
            "params": [
              {
                "name": "ip",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "virtual_network_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Fetches routes that contain the given IP address."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Create a tunnel route (CIDR Endpoint)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/teamnet/routes/network/:ip_network_encoded",
            "params": [
              {
                "name": "ip_network_encoded",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Routes a private network through a Cloudflare Tunnel. The CIDR in `ip_network_encoded` must be written in URL-encoded format."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Update a tunnel route (CIDR Endpoint)",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/teamnet/routes/network/:ip_network_encoded",
            "params": [
              {
                "name": "ip_network_encoded",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Updates an existing private network route in an account. The CIDR in `ip_network_encoded` must be written in URL-encoded format."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Delete a tunnel route (CIDR Endpoint)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/teamnet/routes/network/:ip_network_encoded",
            "params": [
              {
                "name": "ip_network_encoded",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "virtual_network_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "tun_type",
                "value": "",
                "type": "query"
              },
              {
                "name": "tunnel_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Deletes a private network route from an account. The CIDR in `ip_network_encoded` must be written in URL-encoded format. If no virtual_network_id is provided it will delete the route from the default vnet. If no tun_type is provided it will fetch the type from the tunnel_id or if that is missing it will assume Cloudflare Tunnel as default. If tunnel_id is provided it will delete the route from that tunnel, otherwise it will delete the route based on the vnet and tun_type.\n"
        }
      ]
    }
  ],
  "bundled": true
}