Difference between revisions of "API: Server info"

From BrainyCP
Jump to: navigation, search
 
Line 18: Line 18:
  
 
| 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;">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;">error: 0, mess: 'Information about the system', detail [array_info];<br/> error: 400, mess: 'Unfortunately, the module is not available to you.'</font></font></div>  
 
|}
 
|}
  

Latest revision as of 15:01, 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.

Модуль

Функция

Входящие данные

Варианты ошибок

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:

API: connection

API: monitoring

API: web server status

API: auto installer CMS

API: configuring backups

API: transfer between servers

API: antivirus

API: server settings

API: web server management

API: database

API: custom certificates

API: mailbox management

API: server information

API: mail

API: DNS zone management

API: traffic usage

API: client mailboxes

API: web server installation

API: logging

API: name server

API: host accounts

API: application manager

API: service certificates

API: CRON

API: process manager

API: network tools

API: FTP server

API: IP address manager

API: average load

API: MySQL processlist