Server Administration
System Information
Return server's hostname
This function retrieves the server's hostname.
get/gethostname
Response
HTTP Request was successful.
Example response
{
"data": {
"hostname": "hostname.example.com"
},
"metadata": {
"command": "gethostname",
"reason": "OK",
"result": 1,
"version": 1
}
}