{
  "opencollection": "1.0.0",
  "info": {
    "name": "Managed Database for PostgreSQL and MySQL Access Control List Route API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Route",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all routes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.scaleway.com/lb/v1/zones/:zone/routes",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "The zone you want to target"
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Sort order of routes in the response."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "The number of route objects to return."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number to return, from the paginated results."
              },
              {
                "name": "frontend_id",
                "value": "",
                "type": "query",
                "description": "Frontend ID to filter for, only Routes from this Frontend will be returned."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "List all routes for a given frontend. The response is an array of routes, each one  with a specified backend to direct to if a certain condition is matched (based on the value of the SNI field or HTTP Host header)."
        },
        {
          "info": {
            "name": "Create a route",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.scaleway.com/lb/v1/zones/:zone/routes",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "The zone you want to target"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Create a new route on a given frontend. To configure a route, specify the backend to direct to if a certain condition is matched (based on the value of the SNI field or HTTP Host header)."
        },
        {
          "info": {
            "name": "Get a route",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.scaleway.com/lb/v1/zones/:zone/routes/:route_id",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "The zone you want to target"
              },
              {
                "name": "route_id",
                "value": "",
                "type": "path",
                "description": "Route ID."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve information about an existing route, specified by its route ID. Its full details, origin frontend, target backend and match condition, are returned in the response object."
        },
        {
          "info": {
            "name": "Update a route",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.scaleway.com/lb/v1/zones/:zone/routes/:route_id",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "The zone you want to target"
              },
              {
                "name": "route_id",
                "value": "",
                "type": "path",
                "description": "Route ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Update the configuration of an existing route, specified by its route ID."
        },
        {
          "info": {
            "name": "Delete a route",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.scaleway.com/lb/v1/zones/:zone/routes/:route_id",
            "params": [
              {
                "name": "zone",
                "value": "",
                "type": "path",
                "description": "The zone you want to target"
              },
              {
                "name": "route_id",
                "value": "",
                "type": "path",
                "description": "Route ID."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Delete an existing route, specified by its route ID. Deleting a route is permanent, and cannot be undone."
        }
      ]
    }
  ],
  "bundled": true
}