Difference between revisions of "API: host-accounts"
(13 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <div data-placeholder="Перевод" dir="ltr">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.</div> <div data-placeholder="Перевод" dir="ltr">Incoming data marked with an asterisk are required.</div> | |
− | |||
− | |||
− | |||
− | |||
{| border="1" cellpadding="5" | {| border="1" cellpadding="5" | ||
|- | |- | ||
− | | <p dir="ltr" style="text-align: center | + | | <p dir="ltr" style="text-align: center">'''Module'''</p> |
− | | <p dir="ltr" style="text-align: center | + | | style="width: 304px;" | <p dir="ltr" style="text-align: center">'''Function'''</p> |
− | | <p dir="ltr" style="text-align: center | + | | style="width: 251px;" | <p dir="ltr" style="text-align: center">'''Incoming data'''</p> |
− | | <p dir="ltr" style="text-align: center | + | | <p dir="ltr" style="text-align: center">'''Error variants'''</p> |
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Viewing the data of the host account (you can do it without api_full, but only if the host account's username is the same).</div> |
− | |||
− | |||
getlistacc<br/> | getlistacc<br/> | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | |
− | + | login (post or get) * - username; | |
− | + | pass (post or get) * - user password; | |
− | hostacc (post | + | hostacc (post or get) * - constant, module name; |
− | getlistacc (post | + | getlistacc (post or get) * - constant, operation name; |
− | language (post | + | language (post or get) - can take the value: en / ru (ru by default); |
− | panel_user (post | + | panel_user (post or get) - ISP username to which the operation is applied. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'Information was received successfully';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'An error occurred while receiving data';</div> <div data-placeholder="Перевод" dir="ltr">error: 1000, mess: 'You do not have permission to administer this user';</div> <div data-placeholder="Перевод" dir="ltr">error: 1001, mess: 'There is no such user in the ISP-panel'.</div> | ||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Change shell access for an account (it is possible without api_full, but only if the host account's username is the same).</div> |
− | |||
− | |||
changeshellacc | changeshellacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">ogin (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">changeshellacc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">shell (post or get) * - enable / disable shell access (can be yes / no);</div> <div data-placeholder="Перевод" dir="ltr">language (post or get) - can take the value: en / ru (ru by default);</div> <div data-placeholder="Перевод" dir="ltr">panel_user (post or get) - ISP username to which the operation is applied.</div> |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'Shell access was changed successfully. Current value: on / off ';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'An error occurred while trying to change access to the shell';</div> <div data-placeholder="Перевод" dir="ltr">error: 2, mess: 'The shell parameter contains an invalid value. Possible values: yes / no ';</div> <div data-placeholder="Перевод" dir="ltr">error: 1000, mess: 'You do not have permission to administer this user';</div> <div data-placeholder="Перевод" dir="ltr">error: 1001, mess: 'There is no such user in the ISP-panel'.</div> | |
− | |||
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | changeshellacc (post | ||
− | |||
− | shell (post | ||
− | |||
− | language (post | ||
− | |||
− | panel_user (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:2, mess:' | ||
− | |||
− | error:1000, mess:' | ||
− | |||
− | error:1001, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Change the language for the account (it is possible without api_full, but only if the host account's username is the same).</div> |
− | |||
− | |||
changelangacc | changelangacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">changelangacc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">lang (post or get) * - change the language (can be en / ru);</div> <div data-placeholder="Перевод" dir="ltr">language (post or get) - can take the value: en / ru (ru by default);</div> <div data-placeholder="Перевод" dir="ltr">panel_user (post or get) - ISP username to which the operation is applied.</div> |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'The selected language has been successfully installed, the current one is ru / en';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'An error occurred while trying to change the language';</div> <div data-placeholder="Перевод" dir="ltr">error: 2, mess: 'The lang parameter contains an invalid value. Possible values: ru / en ';</div> <div data-placeholder="Перевод" dir="ltr">error: 1000, mess: 'You do not have permission to administer this user';</div> <div data-placeholder="Перевод" dir="ltr">error: 1001, mess: 'There is no such user in the ISP-panel'.</div> | |
− | |||
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | changelangacc (post | ||
− | |||
− | lang (post | ||
− | |||
− | language (post | ||
− | |||
− | panel_user (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:2, mess:' | ||
− | |||
− | error:1000, mess:' | ||
− | |||
− | error:1001, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Editing host account (only with apifull enabled).</div> |
− | |||
− | |||
edituseracc | edituseracc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">edituseracc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">lg (post or get) - username;</div> <div data-placeholder="Перевод" dir="ltr">ps (post or get) - change password;</div> <div data-placeholder="Перевод" dir="ltr">ip (post or get) - change or add IP (separated by commas);</div> <div data-placeholder="Перевод" dir="ltr">group (post or get) - change the group;</div> <div data-placeholder="Перевод" dir="ltr">plan (post or get) - change the plan;</div> <div data-placeholder="Перевод" dir="ltr">lang (post or get) - change the language;</div> <div data-placeholder="Перевод" dir="ltr">emailboxes (post or get) - change the number of mailboxes;</div> <div data-placeholder="Перевод" dir="ltr">bandwidth (post or get) - change traffic, specified in MB;</div> <div data-placeholder="Перевод" dir="ltr">sites (post or get) - change the number of sites;</div> <div data-placeholder="Перевод" dir="ltr">databases (post or get) - change the number of mysql databases;</div> <div data-placeholder="Перевод" dir="ltr">subdomains (post or get) - change the number of subdomains;</div> <div data-placeholder="Перевод" dir="ltr">mailperhour (post or get) - change the number of letters per hour;</div> |
− | + | | |
− | + | <div data-placeholder="Перевод" dir="ltr">disk (post or get) - change the size of the disk space (specified in MB);</div> <div data-placeholder="Перевод" dir="ltr">ftp_accounts (post or get) - change the number of ftp accounts;</div> <div data-placeholder="Перевод" dir="ltr">shell_access (post or get) - access was in progress, maybe n / y;</div> <div data-placeholder="Перевод" dir="ltr">owner (post or get) - change the owner.</div> <div data-placeholder="Перевод" dir="ltr">language (post or get) - can take the value: en / ru (ru by default);</div> <div data-placeholder="Перевод" dir="ltr">panel_user (post or get) - ISP username to which the operation is applied.</div> | |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'New parameters for the user have been successfully applied';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'An error occurred while changing parameters for the user: <login>';</div> <div data-placeholder="Перевод" dir="ltr">error: 2, mess: 'No group was found';</div> <div data-placeholder="Перевод" dir="ltr">error: 3, mess: 'The specified group does not exist for this user';</div> <div data-placeholder="Перевод" dir="ltr">error: 4, mess: 'Login name must contain at least 4 characters';</div> <div data-placeholder="Перевод" dir="ltr">error: 5, mess: 'The new password must contain at least 7 characters';</div> <div data-placeholder="Перевод" dir="ltr">error: 6, mess: 'The shell value contains an invalid value. Allowed y / n ';</div> <div data-placeholder="Перевод" dir="ltr">error: 7, mess: 'No plan was found';</div> <div data-placeholder="Перевод" dir="ltr">error: 8, mess: 'The specified plan does not exist for this user';</div> <div data-placeholder="Перевод" dir="ltr">error: 9, mess: 'Invalid language specified. Allowed values are ru / en ';</div> <div data-placeholder="Перевод" dir="ltr">error: 10, mess: '<params_name> - only digits 0-9 are allowed';</div> <div data-placeholder="Перевод" dir="ltr">error: 11, mess: 'The specified ip-address is invalid';</div> <div data-placeholder="Перевод" dir="ltr">error: 1000, mess: 'You do not have permission to administer this user';</div> <div data-placeholder="Перевод" dir="ltr">error: 1001, mess: 'There is no such user in the ISP-panel';</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights';</div> <div data-placeholder="Перевод" dir="ltr">error: 100, mess: 'You are not authorized to perform this operation'.</div> | |
− | |||
− | hostacc (post | ||
− | |||
− | edituseracc (post | ||
− | |||
− | lg (post | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | disk (post | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | language (post | ||
− | |||
− | panel_user (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:2, mess:' | ||
− | |||
− | error:3, mess:' | ||
− | |||
− | error:4, mess:' | ||
− | |||
− | error:5, mess:' | ||
− | |||
− | error:6, mess:' | ||
− | |||
− | error:7, mess:' | ||
− | |||
− | error:8, mess:' | ||
− | |||
− | error:9, mess:' | ||
− | |||
− | error:10, mess:'<params_name> - | ||
− | |||
− | error:11, mess:' | ||
− | |||
− | error:1000, mess:' | ||
− | |||
− | error:1001, mess:' | ||
− | |||
− | error:1003, mess:' | ||
− | |||
− | error:100, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Remove host account (only with apifull enabled).</div> |
− | |||
− | |||
deluseracc | deluseracc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">deluseracc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">panel_user (post or get) - ISP username to which the operation is applied.</div> |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'The user was successfully deleted';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'An error occurred while deleting the user';</div> <div data-placeholder="Перевод" dir="ltr">error: 2, mess: 'There is no such user in the system';</div> <div data-placeholder="Перевод" dir="ltr">error: 1000, mess: 'You do not have permission to administer this user';</div> <div data-placeholder="Перевод" dir="ltr">error: 1001, mess: 'There is no such user in the ISP-panel';</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights';</div> <div data-placeholder="Перевод" dir="ltr">error: 100, mess: 'You are not authorized to perform this operation'.</div> | |
− | |||
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | deluseracc (post | ||
− | |||
− | panel_user (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:2, mess:' | ||
− | |||
− | error:1000, mess:' | ||
− | |||
− | error:1001, mess:' | ||
− | |||
− | error:1003, mess:' | ||
− | |||
− | error:100, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Blocking the host account completely and partially (only with apifull enabled).</div> |
− | |||
− | |||
suspendacc | suspendacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">suspendacc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">action - parameter, type of blocking</div> <div data-placeholder="Перевод" dir="ltr">suspend_ftp (post or get) - block ftp;<br/> suspend_sites (post or get) - block sites;<br/> suspend_shell (post or get) - block the shell;<br/> suspend_cron (post or get) - block crowns;<br/> suspend_panel (post or get) - block the runel;<br/> suspend_full (post or get) - block completely<br/> panel_user (post or get) - ISP username to which the operation is applied.</div> |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'Locks were successfully applied for user: <login>';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'There is nothing to block for the user: <login>';</div> <div data-placeholder="Перевод" dir="ltr">error: 1000, mess: 'You do not have permission to administer this user';</div> <div data-placeholder="Перевод" dir="ltr">error: 1001, mess: 'There is no such user in the ISP-panel';</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights'.</div> | |
− | |||
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | suspendacc (post | ||
− | |||
− | suspend_ftp (post | ||
− | |||
− | suspend_sites (post | ||
− | |||
− | suspend_shell (post | ||
− | |||
− | suspend_cron (post | ||
− | |||
− | suspend_panel (post | ||
− | |||
− | suspend_full (post | ||
− | |||
− | panel_user (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:1000, mess:' | ||
− | |||
− | error:1001, mess:' | ||
− | |||
− | error:1003, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Unlock host account (only with apifull enabled).</div> |
− | |||
− | |||
unsuspendacc | unsuspendacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">unsuspendacc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">action - parameter, unlock type</div> <div data-placeholder="Перевод" dir="ltr">unsuspend_ftp (post or get) - unblock ftp;<br/> unsuspend_sites (post or get) - unblock sites;<br/> unsuspend_shell (post or get) - unblock the shell;<br/> unsuspend_cron (post or get) - unblock crowns;<br/> unsuspend_panel (post or get) - unlock the runel;<br/> unsuspend_full (post or get) - Unblock completely</div> <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">panel_user (post or get) - ISP username to which the operation is applied.</div> <div> </div> |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'Unlock was successfully applied to user: <login>';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'There is nothing to unblock for the user: <login>';</div> <div data-placeholder="Перевод" dir="ltr">error: 1000, mess: 'You do not have permission to administer this user';</div> <div data-placeholder="Перевод" dir="ltr">error: 1001, mess: 'There is no such user in the ISP-panel';</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights'.</div> | |
− | |||
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | unsuspendacc (post | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | panel_user (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:1000, mess:' | ||
− | |||
− | error:1001, mess:' | ||
− | |||
− | error:1003, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">List of host accounts (only with apifull enabled).</div> |
− | |||
− | |||
listuseracc | listuseracc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | |
− | + | login (post or get) * - username; | |
− | |||
− | |||
− | |||
− | |||
− | + | pass (post or get) * - user password; | |
− | + | hostacc (post or get) * - constant, module name; | |
− | |||
− | + | listuseracc (post or get) * - constant, operation name. | |
− | |||
− | |||
+ | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'User list was received successfully';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'No user was found';</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights'.</div> | ||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Create a host account (only with apifull enabled).</div> |
− | |||
− | |||
adduseracc | adduseracc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">adduseracc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">$ lg (post or get) * - the name of the new user;</div> <div data-placeholder="Перевод" dir="ltr">$ ps (post or get) * - new user password;</div> <div data-placeholder="Перевод" dir="ltr">plan (post or get) * - the name of the tariff plan;</div> <div data-placeholder="Перевод" dir="ltr">group (post or get) * - group name;</div> <div data-placeholder="Перевод" dir="ltr">ip (post or get) * - change or add IP (separated by commas).</div> |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'The new user was added successfully';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'An error occurred while adding a new user';</div> <div data-placeholder="Перевод" dir="ltr">error: 2, mess: 'The specified group was not found';</div> <div data-placeholder="Перевод" dir="ltr">error: 3, mess: 'The specified tariff plan was not found';</div> <div data-placeholder="Перевод" dir="ltr">error: 4, mess: 'Login name must contain at least 4 characters';</div> <div data-placeholder="Перевод" dir="ltr">error: 5, mess: 'Password must contain at least 7 characters';</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights'.</div> | |
− | |||
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | adduseracc (post | ||
− | |||
− | $lg (post | ||
− | |||
− | $ps (post | ||
− | |||
− | plan (post | ||
− | |||
− | group (post | ||
− | |||
− | ip (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:2, mess:' | ||
− | |||
− | error:3, mess:' | ||
− | |||
− | error:4, mess:' | ||
− | |||
− | error:5, mess:' | ||
− | |||
− | error:1003, mess:' | ||
− | |||
− | |||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">List of subscription plans (only with apifull included).</div> |
− | |||
− | |||
listplanacc<br/> | listplanacc<br/> | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">listplanacc (post or get) * - constant, operation name.</div> |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'The list of subscription plans was successfully received';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'No subscription plan was found';</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights'.</div> | |
− | |||
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | listplanacc (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:1003, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Subscription plan view (only with apifull enabled).</div> |
− | |||
− | |||
viewplanacc | viewplanacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">viewplanacc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">plan (post or get) * - the name of the subscription plan.</div> |
− | + | | style="vertical-align: top" | | |
− | + | error: 0, mess: 'Subscription plan data was received successfully';<br/> error: 1, mess: 'An error occurred while receiving data about the subscription plan';<br/> error: 2, mess: 'The specified subscription plan does not exist';<br/> error: 3, mess: 'Subscription plan name is not specified'. | |
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | viewplanacc (post | ||
− | |||
− | plan (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:2, mess:' | ||
− | |||
− | error:3, mess:' | ||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <pre data-placeholder="Перевод" dir="ltr" id="tw-target-text">Subscription plan editing (only with apifull enabled).</pre> |
− | |||
editplanacc | editplanacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">editplanacc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">plan (post or get) * - the name of the tariff plan for editing;</div> <div data-placeholder="Перевод" dir="ltr">bandwidth (post or get) - bandwidth in MB;</div> <div data-placeholder="Перевод" dir="ltr">disk (post or get) - amount of disk space in MB;</div> <div data-placeholder="Перевод" dir="ltr">sites (post or get) - number of sites;</div> <div data-placeholder="Перевод" dir="ltr">dns_zones (post or get) * - number of dns zones;</div> <div data-placeholder="Перевод" dir="ltr">subdomains (post or get) - the number of subdomains;</div> <div data-placeholder="Перевод" dir="ltr">databases (post or get) - number of mysql databases;</div> <div data-placeholder="Перевод" dir="ltr">emailboxes (post or get) - number of mailboxes;</div> <div data-placeholder="Перевод" dir="ltr">mailperhour (post or get) - the number of letters per hour;</div> <div data-placeholder="Перевод" dir="ltr">ftp_accounts (post or get) - the number of ftp accounts;</div> <div data-placeholder="Перевод" dir="ltr">ip (post or get) - change IP (separated by commas);</div> <div data-placeholder="Перевод" dir="ltr">shell (post or get) - shell availability - y / n;</div> <div data-placeholder="Перевод" dir="ltr">owner (post or get) - owner;</div> <div data-placeholder="Перевод" dir="ltr">lang (post or get) - language (ru / en)</div> |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'The subscription plan was edited successfully';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'An error occurred while editing the subscription plan';</div> <div data-placeholder="Перевод" dir="ltr">error: 2, mess: 'The specified subscription plan does not exist';</div> <div data-placeholder="Перевод" dir="ltr">error: 3, mess: 'The shell value contains an invalid value. Allowed y / n ';</div> <div data-placeholder="Перевод" dir="ltr">error: 4, mess: 'Invalid language specified. Allowed values are ru / en ';</div> <div data-placeholder="Перевод" dir="ltr">error: 10, mess: '<params_name> - only digits 0-9 are allowed';</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights';</div> <div data-placeholder="Перевод" dir="ltr">error: 101, mess: 'You are not authorized to perform this operation'.</div> | |
− | |||
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | editplanacc (post | ||
− | |||
− | plan (post | ||
− | |||
− | bandwidth (post | ||
− | |||
− | disk (post | ||
− | |||
− | sites (post | ||
− | |||
− | subdomains (post | ||
− | |||
− | databases (post | ||
− | |||
− | emailboxes (post | ||
− | |||
− | mailperhour (post | ||
− | |||
− | ftp_accounts (post | ||
− | |||
− | shell (post | ||
− | |||
− | owner (post | ||
− | |||
− | lang (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:2, mess:' | ||
− | |||
− | error:3, mess:' | ||
− | |||
− | error:4, mess:' | ||
− | |||
− | error:10, mess:'<params_name> - | ||
− | |||
− | error:1003, mess:' | ||
− | |||
− | error:101, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Adding a subscription plan (only with apifull included).</div> |
− | |||
− | |||
addplanacc | addplanacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">addplanacc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">plan (post or get) * - the name of the new tariff plan;</div> <div data-placeholder="Перевод" dir="ltr">bandwidth (post or get) * - bandwidth in Mb;</div> <div data-placeholder="Перевод" dir="ltr">disk (post or get) * - amount of disk space in MB;</div> <div data-placeholder="Перевод" dir="ltr">sites (post or get) * - number of sites;</div> <div data-placeholder="Перевод" dir="ltr">dns_zones (post or get) * - number of dns zones;</div> <div data-placeholder="Перевод" dir="ltr">subdomains (post or get) * - the number of subdomains;</div> <div data-placeholder="Перевод" dir="ltr">databases (post or get) * - number of mysql databases;</div> <div data-placeholder="Перевод" dir="ltr">emailboxes (post or get) * - number of mailboxes;</div> <div data-placeholder="Перевод" dir="ltr">mailperhour (post or get) * - number of letters per hour;</div> <div data-placeholder="Перевод" dir="ltr">ftp_accounts (post or get) * - number of ftp accounts;</div> <div data-placeholder="Перевод" dir="ltr">shell (post or get) * - shell availability (y / n);</div> <div data-placeholder="Перевод" dir="ltr">ip (post or get) - add IP (separated by commas);</div> <div data-placeholder="Перевод" dir="ltr">owner (post or get) - owner ("" by default);</div> <div data-placeholder="Перевод" dir="ltr">lang (post or get) - language (ru / en).</div> |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'The new subscription plan was created successfully';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'An error occurred while creating a new subscription plan';</div> <div data-placeholder="Перевод" dir="ltr">error: 2, mess: 'This subscription plan already exists';</div> <div data-placeholder="Перевод" dir="ltr">error: 3, mess: 'Incorrect name of the new subscription plan is specified';</div> <div data-placeholder="Перевод" dir="ltr">error: 4, mess: 'The shell value contains an invalid value. Allowed y / n ';</div> <div data-placeholder="Перевод" dir="ltr">error: 5, mess: 'Invalid language specified. Allowed values are ru / en ';</div> <div data-placeholder="Перевод" dir="ltr">error: 10, mess: '<params_name> - only digits 0-9 are allowed';</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights';</div> <div data-placeholder="Перевод" dir="ltr">error: 101, mess: 'You are not authorized to perform this operation'.</div> | |
− | |||
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | addplanacc (post | ||
− | |||
− | plan (post | ||
− | |||
− | bandwidth (post | ||
− | |||
− | disk (post | ||
− | |||
− | sites (post | ||
− | |||
− | subdomains (post | ||
− | |||
− | databases (post | ||
− | |||
− | emailboxes (post | ||
− | |||
− | mailperhour (post | ||
− | |||
− | ftp_accounts (post | ||
− | |||
− | shell (post | ||
− | |||
− | owner (post | ||
− | |||
− | lang (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:2, mess:' | ||
− | |||
− | error:3, mess:' | ||
− | |||
− | error:4, mess:' | ||
− | |||
− | error:5, mess:' | ||
− | |||
− | error:10, mess:'<params_name> - | ||
− | |||
− | error:1003, mess:' | ||
− | |||
− | error:101, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Subscription plan removal (only with apifull enabled).</div> |
− | |||
− | |||
delplanacc | delplanacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">delplanacc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">plan (post or get) * - the name of the new subscription plan to be deleted.</div> |
− | username (post | + | | style="vertical-align: top" | |
+ | error: 0, mess: 'The subscription plan was successfully deleted'; | ||
− | + | error: 1, mess: 'An error occurred while deleting the subscription plan'; | |
− | + | error: 2, mess: 'This subscription plan does not exist'; | |
− | + | error: 3, mess: 'The name of the subscription plan to be deleted is not specified'; | |
− | + | error: 1003, mess: 'You do not have administrator rights'; | |
− | + | error: 101, mess: 'You are not authorized to perform this operation'. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | error:101, mess:' | ||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">List of groups (only with apifull enabled).</div> |
− | |||
− | |||
listgroupacc | listgroupacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">listgroupacc (post or get) * - constant, operation name.</div> |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'Group list was received successfully';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'No group was found';</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights'.</div> | |
− | |||
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | listgroupacc (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:1003, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Group view (only with apifull enabled).</div> |
− | |||
− | |||
viewgroupacc | viewgroupacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">viewgroupacc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">group (post or get) * - group name.</div> |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'Group data was successfully received';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'An error occurred while receiving data about the group; '<groupname>;</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights'.</div> | |
− | |||
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | viewgroupacc (post | ||
− | |||
− | group (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:1003, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | |
− | + | Adding a group (only with apifull enabled). | |
addgroupacc | addgroupacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">group (post or get) * - group name;</div> <div data-placeholder="Перевод" dir="ltr">'''Administrative options'''<br/> root (post or get) - Full access;<br/> api (post or get) - API access;<br/> group_apifull (post or get) - Full API access (administrator);<br/> speedtest (post or get) - Measurement of the server channel speed;<br/> csf (post or get) - CSF Firewall management;<br/> network_tools_connections (post or get) - Monitor connections;<br/> transfer (post or get) - Transfer management;</div> <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">certs_control_service (post or get) - SSL service management;<br/> smart_mon (post or get) - View SMART monitoring;<br/> hardware_info (post or get) - View information about the server;<br/> server_control_serverstatus (post or get) - View the status of the web server;<br/> mysql_processlist (post or get) - View MYSQL processes;<br/> server_info (post or get) - Process manager;<br/> ssh (post or get) - SSH management;<br/> packet_manager (post or get) - Access to the application manager;<br/> bindserver_cluster (post or get) - DNS cluster management;<br/> bindserver_nameservers (post or get) - Manage default nameservers;<br/> bindserver_install (post or get) - Installation and removal of a name server;<br/> blacklist (post or get) - Blacklists;<br/> mailserver_queue (post or get) - Mail queue management;<br/> mailserver_install (post or get) - Manage mail services;<br/> mysql_install (post or get) - Installation removing MYSQL / PHPMYADMIN;</div> <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">server_control_install (post or get) - Manage the installation of the web server, PCP;<br/> install (post or get) - Manage Brainy update;<br/> ipmanager (post or get) - IP addresses management;<br/> group_hostacc (post or get) - Manage host accounts;<br/> properties (post or get) -> Show server settings;<br/> adminpanel (post or get) -> Admin panel;<br/> users_management (post or get) -> User Management;<br/> mailclient_antvirus (post or get) -> Mail antivirus management;<br/> mailclient_spamassasin (post or get) -> Anti-spam management;<br/> server_control_www (post or get) -> Site Management;<br/> mailserver_customazing (post or get) -> Configuring mail service;</div> <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">'''Custom parameters'''<br/> hostacc_change_chell_user (post or get) -> Configuring mail service;<br/> antivirus (post or get) -> Manage antivirus;<br/> backup (post or get) -> Manage backups;<br/> certs_control_sites (post or get) -> SSL management of sites;<br/> monitor (post or get) -> Service monitoring management;<br/> logging (post or get) -> Logging;<br/> web_statistics (post or get) -> Manage statistics processing tools;<br/> d_average_load (post or get) -> View average load;<br/> traffic_usage (post or get) -> View traffic usage;<br/> ftp (post or get) -> FTP Management;<br/> crontab (post or get) -> CRON management;<br/> filemanager (post or get) -> Access to the file manager;<br/> autoins (post or get) -> Access to the CMS autoinstaller;<br/> bindserver_zones (post or get) -> Manage DNS zones;<br/> mailclient_statiscs (post or get) -> Mail statistics;</div> <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">mailclient_filters (post or get) -> Manage mail filters;<br/> mailclient_dkim (post or get) -> DKIM management;<br/> mailserver_spf (post or get) -> SPF management;<br/> mailclient (post or get) -> Manage mail accounts;<br/> mysql_dbs (post or get) -> Database Management;<br/> server_control_www_user (post or get) -> Site Management;<br/> php_ini (post or get) -> PHP.ini configuration;<br/> webserver_config (post or get) -> Individual customization of virtual hosts;<br/> error_pages (post or get) -> Error pages;<br/> optimization (post or get) -> Website optimization;<br/> apacserver_redirect (post or get) -> Set web redirect;<br/> apacserver_https (post or get) -> Setting HTTP / HTTPS redirection;<br/> apacserver_password (post or get) -> Setting the password for the directory;<br/> function_anyemaildomain (post or get) -> Create mailboxes with any domain;</div> <div> </div> |
− | group (post | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr"><div data-placeholder="Перевод" dir="ltr" id="tw-target-text">error: 0, mess: 'The new group was added successfully';<br/> error: 1, mess: 'An error occurred while adding a new group';<br/> error: 2, mess: 'This group already exists';<br/> error: 3, mess: 'Invalid value for new group specified';<br/> error: 4, mess: '<paramname> - the parameter is specified incorrectly. May be y / n / "" (empty string) ';<br/> error: 1003, mess: 'You do not have administrator rights'.</div> </div> |
− | |||
− | root (post | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:2, mess:' | ||
− | |||
− | error:3, mess:' | ||
− | |||
− | error:4, mess:'<paramname> - | ||
− | |||
− | error:1003, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Group editing (only with apifull enabled).</div> |
− | |||
− | |||
editgroupacc | editgroupacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | |
− | group (post или get)* — | + | group (post или get)* — group name; |
− | + | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">'''Administrative options'''<br/> root (post or get) - Full access;<br/> api (post or get) - API access;<br/> group_apifull (post or get) - Full API access (administrator);<br/> speedtest (post or get) - Measurement of the server channel speed;<br/> csf (post or get) - CSF Firewall management;<br/> network_tools_connections (post or get) - Monitor connections;<br/> transfer (post or get) - Transfer management;<br/> certs_control_service (post or get) - SSL service management;<br/> smart_mon (post or get) - View SMART monitoring;<br/> hardware_info (post or get) - View information about the server;<br/> server_control_serverstatus (post or get) - View the status of the web server;<br/> mysql_processlist (post or get) - View MYSQL processes;<br/> server_info (post or get) - Process manager;<br/> ssh (post or get) - SSH management;<br/> packet_manager (post or get) - Access to the application manager;<br/> bindserver_cluster (post or get) - DNS cluster management;<br/> bindserver_nameservers (post or get) - Manage default nameservers;</div> <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">bindserver_install (post or get) - Installation and removal of a name server;<br/> blacklist (post or get) - Blacklists;<br/> mailserver_queue (post or get) - Mail queue management;<br/> mailserver_install (post or get) - Manage mail services;<br/> mysql_install (post or get) - Installation removing MYSQL / PHPMYADMIN;<br/> server_control_install (post or get) - Manage the installation of a web server, PCP;<br/> install (post or get) - Manage Brainy update;<br/> ipmanager (post or get) - IP addresses management;<br/> group_hostacc (post or get) - Manage host accounts;<br/> properties (post or get) -> Show server settings;<br/> adminpanel (post or get) -> Admin panel;<br/> users_management (post or get) -> User Management;<br/> mailclient_antvirus (post or get) -> Mail antivirus management;<br/> mailclient_spamassasin (post or get) -> Anti-spam management;<br/> server_control_www (post or get) -> Site Management;<br/> mailserver_customazing (post or get) -> Configuring mail service;<br/> <br/> </div> <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">'''Custom parameters'''<br/> hostacc_change_chell_user (post or get) -> Configuring mail service;<br/> antivirus (post or get) -> Manage antivirus;<br/> backup (post or get) -> Manage backups;<br/> certs_control_sites (post or get) -> SSL management of sites;<br/> monitor (post or get) -> Service monitoring management;<br/> logging (post or get) -> Logging;<br/> web_statistics (post or get) -> Manage statistics processing tools;<br/> d_average_load (post or get) -> View average load;<br/> traffic_usage (post or get) -> View traffic usage;<br/> ftp (post or get) -> FTP Management;<br/> crontab (post or get) -> CRON management;<br/> filemanager (post or get) -> Access to the file manager;</div> <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">autoins (post or get) -> Access to the CMS autoinstaller;<br/> bindserver_zones (post or get) -> Manage DNS zones;<br/> mailclient_statiscs (post or get) -> Mail statistics;<br/> mailclient_filters (post or get) -> Manage mail filters;<br/> mailclient_dkim (post or get) -> DKIM management;<br/> mailserver_spf (post or get) -> SPF management;<br/> mailclient (post or get) -> Manage mail accounts;<br/> mysql_dbs (post or get) -> Database Management;<br/> server_control_www_user (post or get) -> Site Management;<br/> php_ini (post or get) -> PHP.ini configuration;<br/> webserver_config (post or get) -> Individual customization of virtual hosts;<br/> error_pages (post or get) -> Error pages;<br/> optimization (post or get) -> Website optimization;<br/> apacserver_redirect (post or get) -> Set web redirect;<br/> apacserver_https (post or get) -> Setting HTTP / HTTPS redirection;<br/> apacserver_password (post or get) -> Setting the password for the directory;<br/> function_anyemaildomain (post or get) -> Create mailboxes with any domain;</div> <div> </div> | |
− | root (post | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'The group was edited successfully';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'An error occurred while editing the group' ;;</div> <div data-placeholder="Перевод" dir="ltr">error: 2, mess: 'The specified group was not found or not defined'</div> <div data-placeholder="Перевод" dir="ltr">error: 3, mess: '<paramname> - the parameter is set incorrectly. May be y / n / "" (empty string) ';</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights'.</div> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:2, mess:' | ||
− | |||
− | error:3, mess:'<paramname> - | ||
− | |||
− | error:1003, mess:' | ||
− | |||
|- | |- | ||
− | | style="vertical-align: top | + | | style="vertical-align: top" | |
hostacc | hostacc | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 304px;" | <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Removing a group (only with apifull enabled).</div> |
− | |||
− | |||
delgroupacc<br/> | delgroupacc<br/> | ||
− | | style="vertical-align: top;" | | + | | style="vertical-align: top; width: 251px;" | <div data-placeholder="Перевод" dir="ltr">login (post or get) * - username;</div> <div data-placeholder="Перевод" dir="ltr">pass (post or get) * - user password;</div> <div data-placeholder="Перевод" dir="ltr">hostacc (post or get) * - constant, module name;</div> <div data-placeholder="Перевод" dir="ltr">delgroupacc (post or get) * - constant, operation name;</div> <div data-placeholder="Перевод" dir="ltr">group (post or get) * - group name.</div> |
− | + | | style="vertical-align: top" | <div data-placeholder="Перевод" dir="ltr">error: 0, mess: 'The group was successfully deleted';</div> <div data-placeholder="Перевод" dir="ltr">error: 1, mess: 'An error occurred while deleting the group';</div> <div data-placeholder="Перевод" dir="ltr">error: 2, mess: 'This group does not exist';</div> <div data-placeholder="Перевод" dir="ltr">error: 3, mess: 'Group name is not defined or is invalid';</div> <div data-placeholder="Перевод" dir="ltr">error: 1003, mess: 'You do not have administrator rights'.</div> | |
− | |||
− | |||
− | |||
− | hostacc (post | ||
− | |||
− | delgroupacc (post | ||
− | |||
− | group (post | ||
− | |||
− | | style="vertical-align: top | ||
− | error:0, mess:' | ||
− | |||
− | error:1, mess:' | ||
− | |||
− | error:2, mess:' | ||
− | |||
− | error:3, mess:' | ||
− | |||
− | error:1003, mess:' | ||
− | |||
|} | |} | ||
− | + | Other useful articles: | |
− | {| style="width: | + | {| style="width: 1122px;" |
|- | |- | ||
− | | | + | | style="width: 306px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_connection <font><font>API: connection</font></font>]''' |
− | | | + | | style="width: 407px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Monitoring <font><font>API: monitoring</font></font>]''' |
− | | | + | | style="width: 387px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Webserver_status <font><font>API: web server status</font></font>]''' |
|- | |- | ||
− | | | + | | style="width: 306px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_CMS_Autoinstaller <font><font>API: auto installer CMS</font></font>]''' |
− | | | + | | style="width: 407px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Configuring_backups <font><font>API: configuring backups</font></font>]''' |
− | | | + | | style="width: 387px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Transfer_between_servers <font><font>API: transfer between servers</font></font>]''' |
|- | |- | ||
− | | | + | | style="width: 306px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Antivirus <font><font>API: antivirus</font></font>]''' |
− | | | + | | style="width: 407px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Server_configuration <font><font>API: server settings</font></font>]''' |
− | | | + | | style="width: 387px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Manage_webserver <font><font>API: web server management</font></font>]''' |
|- | |- | ||
− | | | + | | style="width: 306px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Databases <font><font>API: database</font></font>]''' |
− | | | + | | style="width: 407px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_User_Certificates <font><font>API: custom certificates</font></font>]''' |
− | | | + | | style="width: 387px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Managing_mailboxes <font><font>API: mailbox management</font></font>]''' |
|- | |- | ||
− | | | + | | style="width: 306px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Server_info <font><font>API: server information</font></font>]''' |
− | | | + | | style="width: 407px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Mail <font><font>API: mail</font></font>]''' |
− | | | + | | style="width: 387px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Manage_DNS-zones <font><font>API: DNS zone management</font></font>]''' |
|- | |- | ||
− | | | + | | style="width: 306px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Traffic_usage <font><font>API: traffic usage</font></font>]''' |
− | | | + | | style="width: 407px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Client_mail <font><font>API: client mailboxes</font></font>]''' |
− | | | + | | style="width: 387px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Webserver_Installation <font><font>API: web server installation</font></font>]''' |
|- | |- | ||
− | | | + | | style="width: 306px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Logging <font><font>API: logging</font></font>]''' |
− | | | + | | style="width: 407px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Nameserver <font><font>API: name server</font></font>]''' |
− | | | + | | style="width: 387px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_host-accounts <font><font>API: host accounts</font></font>]''' |
|- | |- | ||
− | | | + | | style="width: 306px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_App_manager <font><font>API: application manager</font></font>]''' |
− | | | + | | style="width: 407px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Certificates_of_services <font><font>API: service certificates</font></font>]''' |
− | | | + | | style="width: 387px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_CRON <font><font>API: CRON</font></font>]''' |
|- | |- | ||
− | | | + | | style="width: 306px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Process_manager <font><font>API: process manager</font></font>]''' |
− | | | + | | style="width: 407px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Network_tools <font><font>API: network tools</font></font>]''' |
− | | | + | | style="width: 387px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_FTP-server <font><font>API: FTP server</font></font>]''' |
|- | |- | ||
− | | | + | | style="width: 306px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_IP-address_manager <font><font>API: IP address manager</font></font>]''' |
− | | | + | | style="width: 407px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_Load_average <font><font>API: average load</font></font>]''' |
− | | | + | | style="width: 387px;" | |
− | '''[https://docs.brainycp. | + | '''[https://docs.brainycp.io/index.php/API:_MySQL_processlist <font><font>API: MySQL processlist</font></font>]''' |
|} | |} |
Latest revision as of 13:25, 25 November 2021
Module |
Function |
Incoming data |
Error variants |
hostacc |
Viewing the data of the host account (you can do it without api_full, but only if the host account's username is the same).
getlistacc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; getlistacc (post or get) * - constant, operation name; language (post or get) - can take the value: en / ru (ru by default); panel_user (post or get) - ISP username to which the operation is applied. |
error: 0, mess: 'Information was received successfully'; error: 1, mess: 'An error occurred while receiving data'; error: 1000, mess: 'You do not have permission to administer this user'; error: 1001, mess: 'There is no such user in the ISP-panel'.
|
hostacc |
Change shell access for an account (it is possible without api_full, but only if the host account's username is the same).
changeshellacc |
ogin (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; changeshellacc (post or get) * - constant, operation name; shell (post or get) * - enable / disable shell access (can be yes / no); language (post or get) - can take the value: en / ru (ru by default); panel_user (post or get) - ISP username to which the operation is applied.
|
error: 0, mess: 'Shell access was changed successfully. Current value: on / off '; error: 1, mess: 'An error occurred while trying to change access to the shell'; error: 2, mess: 'The shell parameter contains an invalid value. Possible values: yes / no '; error: 1000, mess: 'You do not have permission to administer this user'; error: 1001, mess: 'There is no such user in the ISP-panel'.
|
hostacc |
Change the language for the account (it is possible without api_full, but only if the host account's username is the same).
changelangacc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; changelangacc (post or get) * - constant, operation name; lang (post or get) * - change the language (can be en / ru); language (post or get) - can take the value: en / ru (ru by default); panel_user (post or get) - ISP username to which the operation is applied.
|
error: 0, mess: 'The selected language has been successfully installed, the current one is ru / en'; error: 1, mess: 'An error occurred while trying to change the language'; error: 2, mess: 'The lang parameter contains an invalid value. Possible values: ru / en '; error: 1000, mess: 'You do not have permission to administer this user'; error: 1001, mess: 'There is no such user in the ISP-panel'.
|
hostacc |
Editing host account (only with apifull enabled).
edituseracc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; edituseracc (post or get) * - constant, operation name; lg (post or get) - username; ps (post or get) - change password; ip (post or get) - change or add IP (separated by commas); group (post or get) - change the group; plan (post or get) - change the plan; lang (post or get) - change the language; emailboxes (post or get) - change the number of mailboxes; bandwidth (post or get) - change traffic, specified in MB; sites (post or get) - change the number of sites; databases (post or get) - change the number of mysql databases; subdomains (post or get) - change the number of subdomains; mailperhour (post or get) - change the number of letters per hour;
disk (post or get) - change the size of the disk space (specified in MB); ftp_accounts (post or get) - change the number of ftp accounts; shell_access (post or get) - access was in progress, maybe n / y; owner (post or get) - change the owner. language (post or get) - can take the value: en / ru (ru by default); panel_user (post or get) - ISP username to which the operation is applied.
|
error: 0, mess: 'New parameters for the user have been successfully applied'; error: 1, mess: 'An error occurred while changing parameters for the user: <login>'; error: 2, mess: 'No group was found'; error: 3, mess: 'The specified group does not exist for this user'; error: 4, mess: 'Login name must contain at least 4 characters'; error: 5, mess: 'The new password must contain at least 7 characters'; error: 6, mess: 'The shell value contains an invalid value. Allowed y / n '; error: 7, mess: 'No plan was found'; error: 8, mess: 'The specified plan does not exist for this user'; error: 9, mess: 'Invalid language specified. Allowed values are ru / en '; error: 10, mess: '<params_name> - only digits 0-9 are allowed'; error: 11, mess: 'The specified ip-address is invalid'; error: 1000, mess: 'You do not have permission to administer this user'; error: 1001, mess: 'There is no such user in the ISP-panel'; error: 1003, mess: 'You do not have administrator rights'; error: 100, mess: 'You are not authorized to perform this operation'.
|
hostacc |
Remove host account (only with apifull enabled).
deluseracc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; deluseracc (post or get) * - constant, operation name; panel_user (post or get) - ISP username to which the operation is applied.
|
error: 0, mess: 'The user was successfully deleted'; error: 1, mess: 'An error occurred while deleting the user'; error: 2, mess: 'There is no such user in the system'; error: 1000, mess: 'You do not have permission to administer this user'; error: 1001, mess: 'There is no such user in the ISP-panel'; error: 1003, mess: 'You do not have administrator rights'; error: 100, mess: 'You are not authorized to perform this operation'.
|
hostacc |
Blocking the host account completely and partially (only with apifull enabled).
suspendacc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; suspendacc (post or get) * - constant, operation name; action - parameter, type of blocking suspend_ftp (post or get) - block ftp;
suspend_sites (post or get) - block sites; suspend_shell (post or get) - block the shell; suspend_cron (post or get) - block crowns; suspend_panel (post or get) - block the runel; suspend_full (post or get) - block completely panel_user (post or get) - ISP username to which the operation is applied. |
error: 0, mess: 'Locks were successfully applied for user: <login>'; error: 1, mess: 'There is nothing to block for the user: <login>'; error: 1000, mess: 'You do not have permission to administer this user'; error: 1001, mess: 'There is no such user in the ISP-panel'; error: 1003, mess: 'You do not have administrator rights'.
|
hostacc |
Unlock host account (only with apifull enabled).
unsuspendacc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; unsuspendacc (post or get) * - constant, operation name; action - parameter, unlock type unsuspend_ftp (post or get) - unblock ftp; unsuspend_sites (post or get) - unblock sites; unsuspend_shell (post or get) - unblock the shell; unsuspend_cron (post or get) - unblock crowns; unsuspend_panel (post or get) - unlock the runel; unsuspend_full (post or get) - Unblock completely panel_user (post or get) - ISP username to which the operation is applied. |
error: 0, mess: 'Unlock was successfully applied to user: <login>'; error: 1, mess: 'There is nothing to unblock for the user: <login>'; error: 1000, mess: 'You do not have permission to administer this user'; error: 1001, mess: 'There is no such user in the ISP-panel'; error: 1003, mess: 'You do not have administrator rights'.
|
hostacc |
List of host accounts (only with apifull enabled).
listuseracc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; listuseracc (post or get) * - constant, operation name. |
error: 0, mess: 'User list was received successfully'; error: 1, mess: 'No user was found'; error: 1003, mess: 'You do not have administrator rights'.
|
hostacc |
Create a host account (only with apifull enabled).
adduseracc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; adduseracc (post or get) * - constant, operation name; $ lg (post or get) * - the name of the new user; $ ps (post or get) * - new user password; plan (post or get) * - the name of the tariff plan; group (post or get) * - group name; ip (post or get) * - change or add IP (separated by commas).
|
error: 0, mess: 'The new user was added successfully'; error: 1, mess: 'An error occurred while adding a new user'; error: 2, mess: 'The specified group was not found'; error: 3, mess: 'The specified tariff plan was not found'; error: 4, mess: 'Login name must contain at least 4 characters'; error: 5, mess: 'Password must contain at least 7 characters'; error: 1003, mess: 'You do not have administrator rights'.
|
hostacc |
List of subscription plans (only with apifull included).
listplanacc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; listplanacc (post or get) * - constant, operation name.
|
error: 0, mess: 'The list of subscription plans was successfully received'; error: 1, mess: 'No subscription plan was found'; error: 1003, mess: 'You do not have administrator rights'.
|
hostacc |
Subscription plan view (only with apifull enabled).
viewplanacc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; viewplanacc (post or get) * - constant, operation name; plan (post or get) * - the name of the subscription plan.
|
error: 0, mess: 'Subscription plan data was received successfully'; |
hostacc |
Subscription plan editing (only with apifull enabled). editplanacc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; editplanacc (post or get) * - constant, operation name; plan (post or get) * - the name of the tariff plan for editing; bandwidth (post or get) - bandwidth in MB; disk (post or get) - amount of disk space in MB; sites (post or get) - number of sites; dns_zones (post or get) * - number of dns zones; subdomains (post or get) - the number of subdomains; databases (post or get) - number of mysql databases; emailboxes (post or get) - number of mailboxes; mailperhour (post or get) - the number of letters per hour; ftp_accounts (post or get) - the number of ftp accounts; ip (post or get) - change IP (separated by commas); shell (post or get) - shell availability - y / n; owner (post or get) - owner; lang (post or get) - language (ru / en)
|
error: 0, mess: 'The subscription plan was edited successfully'; error: 1, mess: 'An error occurred while editing the subscription plan'; error: 2, mess: 'The specified subscription plan does not exist'; error: 3, mess: 'The shell value contains an invalid value. Allowed y / n '; error: 4, mess: 'Invalid language specified. Allowed values are ru / en '; error: 10, mess: '<params_name> - only digits 0-9 are allowed'; error: 1003, mess: 'You do not have administrator rights'; error: 101, mess: 'You are not authorized to perform this operation'.
|
hostacc |
Adding a subscription plan (only with apifull included).
addplanacc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; addplanacc (post or get) * - constant, operation name; plan (post or get) * - the name of the new tariff plan; bandwidth (post or get) * - bandwidth in Mb; disk (post or get) * - amount of disk space in MB; sites (post or get) * - number of sites; dns_zones (post or get) * - number of dns zones; subdomains (post or get) * - the number of subdomains; databases (post or get) * - number of mysql databases; emailboxes (post or get) * - number of mailboxes; mailperhour (post or get) * - number of letters per hour; ftp_accounts (post or get) * - number of ftp accounts; shell (post or get) * - shell availability (y / n); ip (post or get) - add IP (separated by commas); owner (post or get) - owner ("" by default); lang (post or get) - language (ru / en).
|
error: 0, mess: 'The new subscription plan was created successfully'; error: 1, mess: 'An error occurred while creating a new subscription plan'; error: 2, mess: 'This subscription plan already exists'; error: 3, mess: 'Incorrect name of the new subscription plan is specified'; error: 4, mess: 'The shell value contains an invalid value. Allowed y / n '; error: 5, mess: 'Invalid language specified. Allowed values are ru / en '; error: 10, mess: '<params_name> - only digits 0-9 are allowed'; error: 1003, mess: 'You do not have administrator rights'; error: 101, mess: 'You are not authorized to perform this operation'.
|
hostacc |
Subscription plan removal (only with apifull enabled).
delplanacc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; delplanacc (post or get) * - constant, operation name; plan (post or get) * - the name of the new subscription plan to be deleted.
|
error: 0, mess: 'The subscription plan was successfully deleted'; error: 1, mess: 'An error occurred while deleting the subscription plan'; error: 2, mess: 'This subscription plan does not exist'; error: 3, mess: 'The name of the subscription plan to be deleted is not specified'; error: 1003, mess: 'You do not have administrator rights'; error: 101, mess: 'You are not authorized to perform this operation'. |
hostacc |
List of groups (only with apifull enabled).
listgroupacc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; listgroupacc (post or get) * - constant, operation name.
|
error: 0, mess: 'Group list was received successfully'; error: 1, mess: 'No group was found'; error: 1003, mess: 'You do not have administrator rights'.
|
hostacc |
Group view (only with apifull enabled).
viewgroupacc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; viewgroupacc (post or get) * - constant, operation name; group (post or get) * - group name.
|
error: 0, mess: 'Group data was successfully received'; error: 1, mess: 'An error occurred while receiving data about the group; '<groupname>; error: 1003, mess: 'You do not have administrator rights'.
|
hostacc |
Adding a group (only with apifull enabled). addgroupacc |
group (post or get) * - group name; Administrative options root (post or get) - Full access; api (post or get) - API access; group_apifull (post or get) - Full API access (administrator); speedtest (post or get) - Measurement of the server channel speed; csf (post or get) - CSF Firewall management; network_tools_connections (post or get) - Monitor connections; transfer (post or get) - Transfer management; certs_control_service (post or get) - SSL service management; smart_mon (post or get) - View SMART monitoring; hardware_info (post or get) - View information about the server; server_control_serverstatus (post or get) - View the status of the web server; mysql_processlist (post or get) - View MYSQL processes; server_info (post or get) - Process manager; ssh (post or get) - SSH management; packet_manager (post or get) - Access to the application manager; bindserver_cluster (post or get) - DNS cluster management; bindserver_nameservers (post or get) - Manage default nameservers; bindserver_install (post or get) - Installation and removal of a name server; blacklist (post or get) - Blacklists; mailserver_queue (post or get) - Mail queue management; mailserver_install (post or get) - Manage mail services; mysql_install (post or get) - Installation removing MYSQL / PHPMYADMIN; server_control_install (post or get) - Manage the installation of the web server, PCP; install (post or get) - Manage Brainy update; ipmanager (post or get) - IP addresses management; group_hostacc (post or get) - Manage host accounts; properties (post or get) -> Show server settings; adminpanel (post or get) -> Admin panel; users_management (post or get) -> User Management; mailclient_antvirus (post or get) -> Mail antivirus management; mailclient_spamassasin (post or get) -> Anti-spam management; server_control_www (post or get) -> Site Management; mailserver_customazing (post or get) -> Configuring mail service; Custom parameters hostacc_change_chell_user (post or get) -> Configuring mail service; antivirus (post or get) -> Manage antivirus; backup (post or get) -> Manage backups; certs_control_sites (post or get) -> SSL management of sites; monitor (post or get) -> Service monitoring management; logging (post or get) -> Logging; web_statistics (post or get) -> Manage statistics processing tools; d_average_load (post or get) -> View average load; traffic_usage (post or get) -> View traffic usage; ftp (post or get) -> FTP Management; crontab (post or get) -> CRON management; filemanager (post or get) -> Access to the file manager; autoins (post or get) -> Access to the CMS autoinstaller; bindserver_zones (post or get) -> Manage DNS zones; mailclient_statiscs (post or get) -> Mail statistics; mailclient_filters (post or get) -> Manage mail filters; mailclient_dkim (post or get) -> DKIM management; mailserver_spf (post or get) -> SPF management; mailclient (post or get) -> Manage mail accounts; mysql_dbs (post or get) -> Database Management; server_control_www_user (post or get) -> Site Management; php_ini (post or get) -> PHP.ini configuration; webserver_config (post or get) -> Individual customization of virtual hosts; error_pages (post or get) -> Error pages; optimization (post or get) -> Website optimization; apacserver_redirect (post or get) -> Set web redirect; apacserver_https (post or get) -> Setting HTTP / HTTPS redirection; apacserver_password (post or get) -> Setting the password for the directory; function_anyemaildomain (post or get) -> Create mailboxes with any domain; |
error: 0, mess: 'The new group was added successfully'; error: 1, mess: 'An error occurred while adding a new group'; error: 2, mess: 'This group already exists'; error: 3, mess: 'Invalid value for new group specified'; error: 4, mess: '<paramname> - the parameter is specified incorrectly. May be y / n / "" (empty string) '; error: 1003, mess: 'You do not have administrator rights'. |
hostacc |
Group editing (only with apifull enabled).
editgroupacc |
group (post или get)* — group name; Administrative options root (post or get) - Full access; api (post or get) - API access; group_apifull (post or get) - Full API access (administrator); speedtest (post or get) - Measurement of the server channel speed; csf (post or get) - CSF Firewall management; network_tools_connections (post or get) - Monitor connections; transfer (post or get) - Transfer management; certs_control_service (post or get) - SSL service management; smart_mon (post or get) - View SMART monitoring; hardware_info (post or get) - View information about the server; server_control_serverstatus (post or get) - View the status of the web server; mysql_processlist (post or get) - View MYSQL processes; server_info (post or get) - Process manager; ssh (post or get) - SSH management; packet_manager (post or get) - Access to the application manager; bindserver_cluster (post or get) - DNS cluster management; bindserver_nameservers (post or get) - Manage default nameservers; bindserver_install (post or get) - Installation and removal of a name server; blacklist (post or get) - Blacklists; mailserver_queue (post or get) - Mail queue management; mailserver_install (post or get) - Manage mail services; mysql_install (post or get) - Installation removing MYSQL / PHPMYADMIN; server_control_install (post or get) - Manage the installation of a web server, PCP; install (post or get) - Manage Brainy update; ipmanager (post or get) - IP addresses management; group_hostacc (post or get) - Manage host accounts; properties (post or get) -> Show server settings; adminpanel (post or get) -> Admin panel; users_management (post or get) -> User Management; mailclient_antvirus (post or get) -> Mail antivirus management; mailclient_spamassasin (post or get) -> Anti-spam management; server_control_www (post or get) -> Site Management; mailserver_customazing (post or get) -> Configuring mail service; Custom parameters hostacc_change_chell_user (post or get) -> Configuring mail service; antivirus (post or get) -> Manage antivirus; backup (post or get) -> Manage backups; certs_control_sites (post or get) -> SSL management of sites; monitor (post or get) -> Service monitoring management; logging (post or get) -> Logging; web_statistics (post or get) -> Manage statistics processing tools; d_average_load (post or get) -> View average load; traffic_usage (post or get) -> View traffic usage; ftp (post or get) -> FTP Management; crontab (post or get) -> CRON management; filemanager (post or get) -> Access to the file manager; autoins (post or get) -> Access to the CMS autoinstaller; bindserver_zones (post or get) -> Manage DNS zones; mailclient_statiscs (post or get) -> Mail statistics; mailclient_filters (post or get) -> Manage mail filters; mailclient_dkim (post or get) -> DKIM management; mailserver_spf (post or get) -> SPF management; mailclient (post or get) -> Manage mail accounts; mysql_dbs (post or get) -> Database Management; server_control_www_user (post or get) -> Site Management; php_ini (post or get) -> PHP.ini configuration; webserver_config (post or get) -> Individual customization of virtual hosts; error_pages (post or get) -> Error pages; optimization (post or get) -> Website optimization; apacserver_redirect (post or get) -> Set web redirect; apacserver_https (post or get) -> Setting HTTP / HTTPS redirection; apacserver_password (post or get) -> Setting the password for the directory; function_anyemaildomain (post or get) -> Create mailboxes with any domain; |
error: 0, mess: 'The group was edited successfully'; error: 1, mess: 'An error occurred while editing the group' ;; error: 2, mess: 'The specified group was not found or not defined' error: 3, mess: '<paramname> - the parameter is set incorrectly. May be y / n / "" (empty string) '; error: 1003, mess: 'You do not have administrator rights'.
|
hostacc |
Removing a group (only with apifull enabled).
delgroupacc |
login (post or get) * - username; pass (post or get) * - user password; hostacc (post or get) * - constant, module name; delgroupacc (post or get) * - constant, operation name; group (post or get) * - group name.
|
error: 0, mess: 'The group was successfully deleted'; error: 1, mess: 'An error occurred while deleting the group'; error: 2, mess: 'This group does not exist'; error: 3, mess: 'Group name is not defined or is invalid'; error: 1003, mess: 'You do not have administrator rights'.
|
Other useful articles: