GetInfo
Getting information about the state of the Mediaserver, resources consumed by the media server (CPU, RAM, IO, Network, as well as server uptime)
POST /api/server/
Body | |||||||||
tokenrequired | string | API authorization token. See Mediaserver/Web API/Authorization/CreateApiToken |
Response | |||||||||
200 | Returns a JSON object with information about the state of the Mediaserver | ||||||||
JSON
| |||||||||
string | server.hostname | Server hostname | |||||||
string | server.revision | Source code branch | |||||||
string | server.build | Software build number | |||||||
string | server.version | Software version | |||||||
string | server.name | Software name | |||||||
timestamp | server.startat | Mediaserver start time | |||||||
seconds | server.uptime | Time in seconds since server reboot | |||||||
timestamp | server.timestamp | ||||||||
object | cpu | CPU load information | |||||||
object | mem | Information on available and consumed memory | |||||||
object | io | Information on write/read speed | |||||||
object | net | Information on network load and number of connected clients | |||||||
403 | API authorization error. Invalid or missing API access token. See Mediaserver/Web API/Authorization/CreateApiToken |
Example | |||||||||
JSON
|