API: Server info
From BrainyCP
Revision as of 13:14, 26 July 2021 by Alenka (talk | contribs) (Protected "API: Server info" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
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 |
hardware_info |
Getting all info about server. hardware_info |
username (post or get) * - username; password (post or get) * - user password; hardware_info (post or get) * - constant, module name; hardware_info (post or get) * - constant, operation name; language (post or get) - can take the value: en / ru (ru by default).
|
error: 0, mess: 'System information', detail [array_info]; error: 400, mess: 'Unfortunately, the module is not available to you.'
|
Other useful articles: