SecurityCenter API: Configuration Section

/configSection

Methods
GET

Gets the Configuration Sections

Request Parameters

None

Example Response
Expand
{
	"type" : "regular",
	"response" : [
		{
			"id" : 0,
			"name" : "Plugins",
			"description" : "Ths is the Plugins section."
		},
		{
			"id" : 1,
			"name" : "Mail",
			"description" : "This is the Mail section."
		},
		null,
		{
			"id" : 3,
			"name" : "Security",
			"description" : "This is the Security section."
		},
		{
			"id" : 4,
			"name" : "Miscellaneous",
			"description" : "This is the Miscellaneous section."
		},
		{
			"id" : 5,
			"name" : "Data Expiration",
			"description" : "This is the Data Expiration section."
		},
		{
			"id" : 6,
			"name" : "Schedules",
			"description" : "Ths is the Schedule section."
		}
	],
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1410211414
}

/configSection/{id}

Methods
GET

Gets the Configuration Section associated with {id}.

Request Query Parameters

None

Example Response
Expand
{
	"type" : "regular",
	"response" : {
		"id" : "1",
		"name" : "Mail",
		"description" : "This is the Mail section.",
		"SMTPHost" : "",
		"SMTPAuth" : "",
		"SMTPConnection" : "",
		"SMTPPort" : "",
		"SMTPUsername" : "",
		"SMTPPassword" : "",
		"SMTPReturnAddress" : "",
		"SMTPHostname" : ""
	},
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1410211451
}

PATCH

Edits the Configuration Section associated with {id}, changing only the passed in fields.

Request Parameters

(All fields are optional)

Expand

NOTE: For valid names for section types, perform /configSection/{id}::GET on desired configuration section type.

{
    <name:string> : <value:string>...
}
Example Response
See /configSection/{id}::GET