status_info_presentation_get
Guest
Returns the template used to display status info.
Params
attribute | description |
---|---|
filter* Status Info Filter |
Filter defining what status information to retrieve. |
Return
Returns an object where keys are status info types and values are objects with the following structure:
attribute | description |
---|---|
status_info_presentation* Condensed Presentation@status_info |
Contains the display template. |
is_decoratedbool |
Identifies if the displayed table should be decorated. |
Note
The Condensed Presentation templates
must be compatible with Condensed Data
returned by the status_info_data_get
.
Example
{
"system": {
"status_info_presentation": {
"thead": [
[{ "isHeader": true, "colspan": 2, "content": "System" }]
],
"row_set_template": [
[
{ "content": "Version" },
{ "data": ".0" }
]
]
}
},
"ntp": {
"status_info_presentation": {
"thead": [
[{ "isHeader": true, "content": "NTP" }]
],
"row_set_template": [
[{ "data": ".0" }]
]
},
"is_decorated": true
}
}