Resource URL: /platform/<<version=3>>/antivirus/servers

    Overview: This resource uses the standard collection pattern to present
              antivirus definition servers.

     Methods: GET, POST, DELETE

********************************************************************************

Method GET: List antivirus servers.

       URL: GET /platform/<<version=3>>/antivirus/servers

Query arguments:
  sort=<string> The field that will be used for sorting.
limit=<integer> Return no more than this many results at once (see resume).
     dir=<enum> Where <enum> is one of ASC, DESC.  The direction of the sort.
resume=<string> Continue returning results from previous call using this token
                (token should come from the previous call, resume cannot be
                used with other options).

GET response body schema:
{
  "type": "object", 
  "properties": {
    "total": {
      "type": "integer", 
      "description": "Total number of items available."
    }, 
    "servers": {
      "items": {
        "type": "object", 
        "description": "An ICAP server that contains virus definitions.", 
        "properties": {
          "status": {
            "enum": [
              "active", 
              "inactive", 
              null
            ], 
            "description": "The status of the server."
          }, 
          "description": {
            "type": "string", 
            "description": "A description for the server."
          }, 
          "url": {
            "minLength": 1, 
            "type": "string", 
            "description": "The icap url for the server.  This should have a format of: icap://host.domain:port/path"
          }, 
          "enabled": {
            "type": "boolean", 
            "description": "Whether the server is enabled."
          }, 
          "definitions": {
            "type": [
              "string", 
              "null"
            ], 
            "description": "Virus definitions on the server."
          }, 
          "id": {
            "type": "string", 
            "description": "A unique identifier for the server."
          }
        }
      }, 
      "type": "array"
    }, 
    "resume": {
      "type": [
        "string", 
        "null"
      ], 
      "description": "Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options)."
    }
  }
}

********************************************************************************

Method POST: Create new antivirus servers.

        URL: POST /platform/<<version=3>>/antivirus/servers

There are no query arguments for this method.

POST request body schema:
{
  "type": [
    {
      "type": "object", 
      "description": "An ICAP server that contains virus definitions.", 
      "properties": {
        "url": {
          "minLength": 1, 
          "required": true, 
          "type": "string", 
          "description": "The icap url for the server.  This should have a format of: icap://host.domain:port/path"
        }, 
        "enabled": {
          "type": "boolean", 
          "description": "Whether the server is enabled."
        }, 
        "description": {
          "type": "string", 
          "description": "A description for the server."
        }
      }
    }, 
    {
      "items": {
        "type": "object", 
        "description": "An ICAP server that contains virus definitions.", 
        "properties": {
          "url": {
            "minLength": 1, 
            "required": true, 
            "type": "string", 
            "description": "The icap url for the server.  This should have a format of: icap://host.domain:port/path"
          }, 
          "enabled": {
            "type": "boolean", 
            "description": "Whether the server is enabled."
          }, 
          "description": {
            "type": "string", 
            "description": "A description for the server."
          }
        }
      }, 
      "type": "array"
    }
  ]
}

POST response body schema:
{
  "type": [
    {
      "type": "object", 
      "properties": {
        "id": {
          "required": true, 
          "type": "string", 
          "description": "ID of created item that can be used to refer to item in the collection-item resource path."
        }
      }
    }, 
    {
      "items": {
        "type": "object", 
        "properties": {
          "id": {
            "required": true, 
            "type": "string", 
            "description": "ID of created item that can be used to refer to item in the collection-item resource path."
          }
        }
      }, 
      "type": "array"
    }
  ]
}

********************************************************************************

Method DELETE: Delete all antivirus servers.

          URL: DELETE /platform/<<version=3>>/antivirus/servers

There are no query arguments for this method.

There is no response body for this method.
