Tenable Security Center API: Style

 

/style

Methods
GET

Gets all the Styles available to the current user

Request Parameters
None
Example Response
Expand
{
	"type" : "regular",
	"response" : 	[
		{
			"id" : "27","name" : "tenable-default-1","description" : "Default report style","type" : "text"
		},
		...
	],
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1421273343
}

/style/{id}

Methods
GET

Gets the Style associated with {id}.

Request Parameters

None

Example Response
Expand
{
	"type" : "regular",
	"response" :  {
		"id" : "1",
		"name" : "Letter",
		"description" : "",
		"type" : "paper",
		"attributes" : []
	},
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1421273493
}