Difference between revisions of "API: Server info"
From BrainyCP
Line 1: | Line 1: | ||
| | ||
− | <div data-placeholder="Перевод" dir="ltr"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;"> | + | <div data-placeholder="Перевод" dir="ltr"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">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.<br/> Incoming data marked with an asterisk is required.</font></font></div> |
{| border="1" cellpadding="5" | {| border="1" cellpadding="5" | ||
|- | |- | ||
Line 13: | Line 13: | ||
| style="vertical-align: top;" | | | style="vertical-align: top;" | | ||
− | <font style="vertical-align: inherit;"><font style="vertical-align: inherit;"> | + | <font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Getting all information about the server.</font></font> |
<font style="vertical-align: inherit;"><font style="vertical-align: inherit;">hardware_info</font></font> | <font style="vertical-align: inherit;"><font style="vertical-align: inherit;">hardware_info</font></font> | ||
− | | style="vertical-align: top;" | <div data-placeholder="Перевод" dir="ltr"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">username (post or get) * - | + | | style="vertical-align: top;" | <div data-placeholder="Перевод" dir="ltr"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">username (post or get) * - login;<br/> password (send or receive) * - user password;<br/> hardware_info (post or get) * - constant, module name;<br/> hardware_info (post or get) * - constant, operation name;<br/> language (send or receive) - can take the value: en / ru (ru by default).</font></font></div> |
| style="vertical-align: top;" | <div data-placeholder="Перевод" dir="ltr"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">ошибка: 0, беспорядок: 'Системная информация', деталь [array_info];</font></font></div> <div data-placeholder="Перевод" dir="ltr"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">ошибка: 400, беспорядок: «К сожалению, модуль вам недоступен».</font></font></div> | | style="vertical-align: top;" | <div data-placeholder="Перевод" dir="ltr"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">ошибка: 0, беспорядок: 'Системная информация', деталь [array_info];</font></font></div> <div data-placeholder="Перевод" dir="ltr"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">ошибка: 400, беспорядок: «К сожалению, модуль вам недоступен».</font></font></div> | ||
|} | |} | ||
− | + | Other useful articles: | |
{| style="width: 1090px;" | {| style="width: 1090px;" |
Revision as of 14:44, 17 November 2021
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). |
ошибка: 0, беспорядок: 'Системная информация', деталь [array_info]; ошибка: 400, беспорядок: «К сожалению, модуль вам недоступен».
|
Other useful articles: