Resource URL: /platform/<<version=3>>/protocols/http/settings

    Overview: This resource applies the global HTTP settings.

     Methods: GET, PUT

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

Method GET: Retrieve HTTP properties.

       URL: GET /platform/<<version=3>>/protocols/http/settings

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "type": "object", 
      "properties": {
        "settings": {
          "type": "object", 
          "description": "This is schema that contains HTTP protocol properties.", 
          "properties": {
            "service": {
              "enum": [
                "enabled", 
                "disabled", 
                "redirect"
              ], 
              "type": "string", 
              "description": "Enable/disable the HTTP service or redirect to WebUI."
            }, 
            "access_control": {
              "type": "boolean", 
              "description": "Enable Access Control Authentication"
            }, 
            "integrated_authentication": {
              "type": "boolean", 
              "description": "Enable Integrated Authentication"
            }, 
            "basic_authentication": {
              "type": "boolean", 
              "description": "Enable Basic Authentication"
            }, 
            "dav": {
              "type": "boolean", 
              "description": "Enable DAV specification"
            }, 
            "https": {
              "type": "boolean", 
              "description": "Use HTTPS transport"
            }, 
            "server_root": {
              "type": "string", 
              "description": "Document root directory. Must be within /ifs."
            }, 
            "enable_access_log": {
              "type": "boolean", 
              "description": "Enable HTTP access logging"
            }
          }
        }
      }
    }
  ]
}

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

Method PUT: Modify HTTP properties.

       URL: PUT /platform/<<version=3>>/protocols/http/settings

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "description": "This is schema that contains HTTP protocol properties.", 
  "properties": {
    "service": {
      "enum": [
        "enabled", 
        "disabled", 
        "redirect"
      ], 
      "type": "string", 
      "description": "Enable/disable the HTTP service or redirect to WebUI."
    }, 
    "access_control": {
      "type": "boolean", 
      "description": "Enable Access Control Authentication"
    }, 
    "integrated_authentication": {
      "type": "boolean", 
      "description": "Enable Integrated Authentication"
    }, 
    "basic_authentication": {
      "type": "boolean", 
      "description": "Enable Basic Authentication"
    }, 
    "dav": {
      "type": "boolean", 
      "description": "Enable DAV specification"
    }, 
    "https": {
      "type": "boolean", 
      "description": "Use HTTPS transport"
    }, 
    "server_root": {
      "type": "string", 
      "description": "Document root directory. Must be within /ifs."
    }, 
    "enable_access_log": {
      "type": "boolean", 
      "description": "Enable HTTP access logging"
    }
  }
}

There is no JSON response body for this method.
