{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cisco Voice Portal Administration Application Configuration Call Server Management API",
    "version": "12.6.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Call Server Management",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Cisco Voice Portal List All Call Servers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{oamp-server}:9443/oamp/rest/callserver"
          },
          "docs": "Retrieves a list of all CVP Call Servers managed by the OAMP Server. Call Servers handle SIP call control and routing within the CVP deployment."
        },
        {
          "info": {
            "name": "Cisco Voice Portal Get Call Server Configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{oamp-server}:9443/oamp/rest/callserver/:serverId/config",
            "params": [
              {
                "name": "serverId",
                "value": "",
                "type": "path",
                "description": "Server identifier"
              }
            ]
          },
          "docs": "Retrieves the full configuration of a specific Call Server, including SIP settings, call routing rules, dialed number patterns, and connection settings to ICM/UCCE."
        },
        {
          "info": {
            "name": "Cisco Voice Portal Update Call Server Configuration",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{oamp-server}:9443/oamp/rest/callserver/:serverId/config",
            "params": [
              {
                "name": "serverId",
                "value": "",
                "type": "path",
                "description": "Server identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the configuration of a specific Call Server. Changes to SIP and routing configuration may require a service restart."
        }
      ]
    }
  ],
  "bundled": true
}