Getting the Custom Banners
Get the current value of the custom banner text.
The ui_banner_contents
text will be shown in a banner in the Operations Manager web UI on every page. By default this is null
which means that no banner will be shown.
The ssh_banner_contents
text will be shown as the SSH banner whenever a user connects to an OpsManager over SSH. By default this is null which means that no banner will be shown.
Request
URI
GET
https://{api_host}/api/v0/settings/banner
COPY
Responses
200
OK
Returns BannerSetting of type(s) application/json
{
"ui_banner_contents": "string",
"ssh_banner_contents": "string"
}
string
ui_banner_contents
Optional
ui_banner_contents
string
ssh_banner_contents
Optional
ssh_banner_contents
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v0/settings/banner