{
  "opencollection": "1.0.0",
  "info": {
    "name": "Red Hat 3scale Account Management Accounts Configuration API",
    "version": "1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "access_token",
      "value": "{{access_token}}",
      "placement": "query"
    }
  },
  "items": [
    {
      "info": {
        "name": "Configuration",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Gateway Configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}-admin.3scale.net/admin/api/config"
          },
          "docs": "Returns the current APIcast configuration in JSON format. This includes the loaded service configurations, proxy settings, and policy chains currently active in the gateway."
        },
        {
          "info": {
            "name": "Update Gateway Configuration (POST)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}-admin.3scale.net/admin/api/config",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the APIcast configuration by replacing it with the JSON payload provided in the request body."
        },
        {
          "info": {
            "name": "Update Gateway Configuration (PUT)",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{domain}-admin.3scale.net/admin/api/config",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the APIcast configuration by replacing it with the JSON payload provided in the request body (idempotent)."
        },
        {
          "info": {
            "name": "Delete Gateway Configuration",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{domain}-admin.3scale.net/admin/api/config"
          },
          "docs": "Deletes the current APIcast configuration, resetting the gateway."
        }
      ]
    }
  ],
  "bundled": true
}