This function retrieves a web server's hostname.
uapi --output=jsonpretty \ --user=username \ Variables \ get_session_information
{- "apiversion": 3,
- "func": "get_session_information",
- "module": "Variables",
- "result": {
- "data": {
- "host": "example.com"
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}