{
  "opencollection": "1.0.0",
  "info": {
    "name": "Managed Database for PostgreSQL and MySQL Access Control List Endpoints API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Endpoints",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a Database Instance endpoint",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.scaleway.com/rdb/v1/regions/:region/endpoints/:endpoint_id",
            "params": [
              {
                "name": "region",
                "value": "",
                "type": "path",
                "description": "The region you want to target"
              },
              {
                "name": "endpoint_id",
                "value": "",
                "type": "path",
                "description": "UUID of the endpoint you want to get."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve information about a Database Instance endpoint. Full details about the endpoint, like `ip`, `port`, `private_network` and `load_balancer` specifications are returned in the response."
        },
        {
          "info": {
            "name": "Delete a Database Instance endpoint",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.scaleway.com/rdb/v1/regions/:region/endpoints/:endpoint_id",
            "params": [
              {
                "name": "region",
                "value": "",
                "type": "path",
                "description": "The region you want to target"
              },
              {
                "name": "endpoint_id",
                "value": "",
                "type": "path",
                "description": "UUID of the endpoint you want to delete.\nThis endpoint can also be used to delete a Read Replica endpoint."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Delete the endpoint of a Database Instance. You must specify the `region` and `endpoint_id` parameters of the endpoint you want to delete. Note that might need to update any environment configurations that point to the deleted endpoint."
        },
        {
          "info": {
            "name": "Migrate an existing instance endpoint to another instance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.scaleway.com/rdb/v1/regions/:region/endpoints/:endpoint_id/migrate",
            "params": [
              {
                "name": "region",
                "value": "",
                "type": "path",
                "description": "The region you want to target"
              },
              {
                "name": "endpoint_id",
                "value": "",
                "type": "path",
                "description": "UUID of the endpoint you want to migrate."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Migrate an existing instance endpoint to another instance"
        },
        {
          "info": {
            "name": "Create a new Database Instance endpoint",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.scaleway.com/rdb/v1/regions/:region/instances/:instance_id/endpoints",
            "params": [
              {
                "name": "region",
                "value": "",
                "type": "path",
                "description": "The region you want to target"
              },
              {
                "name": "instance_id",
                "value": "",
                "type": "path",
                "description": "UUID of the Database Instance you to which you want to add an endpoint."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-Auth-Token",
              "value": "{{X-Auth-Token}}",
              "placement": "header"
            }
          },
          "docs": "Create a new endpoint for a Database Instance. You can add `load_balancer` and `private_network` specifications to the body of the request."
        }
      ]
    }
  ],
  "bundled": true
}