Forced rеstart: Server.Restart
The method and parameters
With the Server.Restart
method you can force the Mediaserver restart.
string Server.Restart
(string reason
, string who
)
string reason
REQUIRED – the reason to restart the server. A logging message will be added.
string who
REQUIRED – who initiates the restart.
POST /api/ |
200 |
bool – the operation execution result.
JSON
|
400 |
The JSON-RPC error
JSON
|
500 |
The server error |