Difference between revisions of "API: Webserver status"
From BrainyCP
m (Protected "API: Webserver status" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
|
(No difference)
|
Revision as of 13:15, 26 July 2021
Administrative functions require API root rights in order to use any login hosted on the server. If you do not have root rights, you can only use your login.
Incoming data marked with an asterisk are required.
Module |
Function |
Incoming data |
Error variants |
server_control |
Webserver status. server_status |
username (post or get) * - username; password (post or get) * - user password; server_control (post or get) * - constant, module name; server_status (post or get) * - constant, operation name; language (post or get) - can take the value: en / ru (ru by default).
|
error: 0, mess: 'Web server status.', detail [Web server status]; error: 400, mess: 'Unfortunately, the module is not available to you.'
|
Other useful articles: