API: Server info
From BrainyCP
Administrative functions require API root rights to use any login hosted on the server. If you do not have root rights, you can only use your username.
Incoming data marked with an asterisk is required.
Incoming data marked with an asterisk is required.
Модуль |
Функция |
Входящие данные |
Варианты ошибок |
hardware_info |
Getting all information about the server. hardware_info |
username (post or get) * - login;
password (send or receive) * - user password; hardware_info (post or get) * - constant, module name; hardware_info (post or get) * - constant, operation name; language (send or receive) - can take the value: en / ru (ru by default). |
error: 0, mess: 'Information about the system', detail [array_info];
error: 400, mess: 'Unfortunately, the module is not available to you.' |
Other useful articles: