eq.php¶
Equipment management module (eq.php): API for server deployment, power management, IPMI, backups, searching, and retrieving detailed equipment configuration information.
API Methods¶
| Method | Action | Description |
|---|---|---|
abort_reinstall | cancel reinstall | Cancels the server reinstallation process, removes relevant tags, and restores the VLAN. |
add_ipmi_admin | add IPMI admin | Adds an IPMI user with administrator privileges. |
add_ipmi_user | add IPMI user | Adds an IPMI user. |
announceip | announce IP | Announces an IP address or subnet. |
backup_get_schedule | get backup schedule | Returns the backup schedule for a server. |
backup_list | list backups | Returns a list of available server backups. |
backup_save_schedule | save backup schedule | Saves the backup schedule for a server. |
boot_dev | boot from device | Boots the server from a specified medium (PXE or disk). |
check_backup_lock | check backup lock | Checks for a lock on backup creation. |
clear_pxe | clear PXE | Clears the PXE configuration for a server. |
create_backup | create backup | Initiates the creation of a server backup. |
create_pxe | create PXE | Creates a PXE configuration for server reinstallation. |
delete_backup | delete backup | Deletes a server backup. |
deploy | deploy | Deploys a server by preset ID or name. |
get_ipmi | get IPMI | Returns the IPMI address and model of the server. |
get_traffic | get traffic | Returns IPv4 traffic data for the server. |
getserversforannounce | get servers for announce | Returns a list of servers available for announcement. |
groups | get groups | Returns groups for a specific server. |
hard_off | hard power off | Hard powers off the server. |
history | history | Returns the server event history. |
list | list | Returns a list of equipment based on various search criteria. |
off | power off | Powers off the server. |
on | power on | Powers on the server. |
order_instance | order instance | Orders the deployment of a specific server instance. |
reboot | reboot | Reboots the server. |
reinstall | reinstall | Starts the server reinstallation process. |
remove_ipmi_user | remove IPMI user | Removes an IPMI user. |
request_backup_link | request backup link | Requests a link to download a backup. |
restore_backup | restore backup | Restores the server from a backup. |
search | search | Searches for equipment based on various criteria. |
sensors | sensors | Returns server sensor data. |
show | show | Returns data about the server and equipment. |
status | status | Returns the server status. |
suspend | suspend | Suspends the server. |
unified_server_search | unified server search | Unified server search by query. |
unit_reset | reset IPMI | Requests an IPMI reset for the server. |
unsuspend | unsuspend | Unsuspends the server. |
update_servers | update server list | Updates the server list for a specific token. |
eq/abort_reinstall¶
Cancels the server reinstallation process, removes relevant tags, and restores the VLAN.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: abort_reinstall |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
eq/add_ipmi_admin¶
Adds an IPMI user with administrator privileges.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: add_ipmi_admin |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
| admin_user | ❌ | string | Username (for admins) |
| admin_pass | ❌ | string | User password |
Example Request
Example of a successful response
eq/add_ipmi_user¶
Adds an IPMI user.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: add_ipmi_user |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
| admin_user | ❌ | string | Username for administrator (available only to users with the admin_ipmi tag) |
| admin_pass | ❌ | string | Password for administrator (used only if admin_user is passed) |
Example Request
Example of a successful response
eq/announceip¶
Announces an IP address or subnet.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: announceip |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
| subnet | ❌ | string | Subnet |
| server | ❌ | string | Server |
| subnetaddr | ❌ | string | Subnet address |
| subnetaddrmask | ❌ | string | Subnet address mask |
| asn | ❌ | string | ASN |
| ownasn | ❌ | string | Own ASN |
| annonce | ❌ | string | Announce |
| return | ❌ | string | Return |
| route | ❌ | string | Route |
| cmnt | ❌ | string | Comment |
| ASRegistered | ✅ | int | Checkbox: AS is registered (1 or 0) |
| RKPIValid | ✅ | int | Checkbox: RKPI is valid (1 or 0) |
| SubNetNotSpamhaus | ✅ | int | Checkbox: Subnet is not in Spamhaus (1 or 0) |
| DataIsCorrect | ✅ | int | Checkbox: Data is correct (1 or 0) |
Example Request
eq/backup_get_schedule¶
Returns the backup schedule for a server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: backup_get_schedule |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/backup_list¶
Returns a list of available server backups.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: backup_list |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/backup_save_schedule¶
Saves the backup schedule for a server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: backup_save_schedule |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
| backup_schedule | ✅ | object | Backup schedule object containing fields: days (array), time (string HH:MM), timezone (string) |
Example Request
Example of a successful response
eq/boot_dev¶
Boots the server from a specified medium (PXE or disk).
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: boot_dev |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
| media | ✅ | string | Media type (e.g., PXE, disk) |
| boot_mode | ❌ | string | Boot mode (uefi, legacy, auto) |
Example Request
Example of a successful response
eq/check_backup_lock¶
Checks for a lock on backup creation.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: check_backup_lock |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/check_pin¶
Checks the PIN code for operations.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: check_pin |
| token | ✅ | string | Authorization token |
| pin | ✅ | string | PIN code for verification |
Example Request
Example of a successful response
eq/clear_pxe¶
Clears the PXE configuration for a server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: clear_pxe |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
| hostname | ❌ | string | Hostname |
Example Request
Example of a successful response
eq/create_backup¶
Initiates the creation of a server backup.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: create_backup |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/create_pxe¶
Creates a PXE configuration for server reinstallation.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: create_pxe |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
| os_id | ✅ | int | Operating system ID |
| hostname | ✅ | string | Hostname |
| root_pass | ✅ | string | Root password |
| ssh_key | ❌ | string | SSH key |
| post_install_script | ❌ | string | Post-installation script |
| post_install_callback | ❌ | string | Callback after installation |
| reinstall_key | ❌ | string | Reinstall key |
| ❌ | string | ||
| os_name | ❌ | string | OS name |
| disk_mirror | ❌ | int | Disk mirroring |
| activate_windows | ❌ | int | Activate Windows |
| uefi | ❌ | int | UEFI mode |
| attendedInstall | ❌ | int | Attended installation |
| root_size | ❌ | int | Root size |
| deploy_ticket | ❌ | string | Deployment ticket (admin only) |
| ignore_duplicated_install | ❌ | int | Ignore duplicates (admin only) |
| no_lvm | ❌ | int | No LVM |
| custom_domain | ❌ | string | Custom domain |
| manual_choice_dsk | ❌ | int | Manual disk selection |
Example Request
Example of a successful response
eq/delete_backup¶
Deletes a server backup.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: delete_backup |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
| name | ✅ | string | Backup name |
Example Request
Example of a successful response
eq/deploy¶
Deploys a server by preset ID or name.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: deploy |
| token | ✅ | string | Authorization token |
| id | ❌ | int | Server ID |
| preset | ❌ | string | Preset name |
| location | ❌ | int | Location ID |
| root_pass | ❌ | string | Root password |
| os_id | ❌ | int | OS ID |
| ssh_key | ❌ | string | SSH key |
| post_install_script | ❌ | string | Post-installation script |
| post_install_callback | ❌ | string | Callback after installation |
| hostname | ❌ | string | Hostname |
| reinstall_key | ❌ | string | Reinstall key |
| deploy_data | ✅ | string | Billing data |
| deploy_options | ✅ | string | Billing options |
| deploy_price | ❌ | string | Deployment price |
| deploy_period | ❌ | string | Deployment period |
| deploy_notify | ❌ | string | Deployment notification |
| deploy_ticket | ❌ | string | Deployment ticket |
| deploy_comment | ❌ | string | Deployment comment |
| imitate_deploy | ❌ | int | Simulate deployment |
| imitate_error | ❌ | int | Simulate error |
| own_os | ❌ | int | Own OS |
| jenkins_task | ❌ | string | Jenkins task |
| jenkins_tests | ❌ | int | Jenkins tests |
| traffic_plan | ❌ | int | Traffic plan |
| disk_mirror | ❌ | int | Disk mirroring |
| invoice_relid | ❌ | int | Invoice ID |
| activate_windows | ❌ | int | Activate Windows |
| uefi | ❌ | int | UEFI mode |
| attendedInstall | ❌ | int | Attended installation |
| root_size | ❌ | int | Root size |
| manual_choice_dsk | ❌ | int | Manual disk selection |
| custom_domain | ❌ | string | Custom domain |
| ipv4_amount | ❌ | int | IPv4 quantity |
Example Request
Example of a successful response
eq/get_ipmi¶
Returns the IPMI address and model of the server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: get_ipmi |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/get_traffic¶
Returns IPv4 traffic data for the server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: get_traffic |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/getserversforannounce¶
Returns a list of servers available for announcement.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: getserversforannounce |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/groups¶
Returns groups for a specific server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: groups |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
eq/hard_off¶
Hard powers off the server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: hard_off |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/history¶
Returns the server event history.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: history |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
| type | ❌ | array<string> | Filter by event types |
| date_from | ❌ | string | Start date of the period (YYYY-MM-DD) |
| date_to | ❌ | string | End date of the period (YYYY-MM-DD) |
Example Request
Example of a successful response
eq/list¶
Returns a list of equipment based on various search criteria.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: list |
| token | ✅ | string | Authorization token |
| group | ❌ | string | Equipment group |
| dc | ❌ | string | Data center |
| location | ❌ | string | Location |
| rack | ❌ | string | Rack |
| status | ❌ | string | Status |
| owner | ❌ | string | Owner |
| component | ❌ | string | Component |
| type | ❌ | string | Equipment type |
| ip | ❌ | string | IP address |
| mac | ❌ | string | MAC address |
| account_id | ❌ | string | Account ID |
| billing | ❌ | string | Billing |
| ❌ | string | ||
| name_client | ❌ | string | Client name |
| full | ❌ | int | Full information |
| kvm | ❌ | string | KVM |
| serialNumber | ❌ | string | Serial number |
| id | ❌ | string | ID |
Example Request
Example of a successful response
eq/off¶
Powers off the server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: off |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/on¶
Powers on the server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: on |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/order_instance¶
Orders the deployment of a specific server instance.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: order_instance |
| id | ❌ | int | Server ID (for reinstall or ordering a specific server) |
| token | ✅ | string | Authorization token |
| preset | ❌ | string | Preset name (required if id is not specified) |
| location_name | ✅ | string | Location name (US, NL, EU, etc.) |
| root_pass | ✅ | string | Root password (minimum 8 characters, letters, numbers, special characters) |
| os_id | ✅ | int | Operating system ID |
| ssh_key | ❌ | string | SSH key |
| post_install_script | ❌ | string | Post-installation script |
| post_install_callback | ❌ | string | Callback after installation |
| hostname | ❌ | string | Hostname |
| reinstall_key | ❌ | string | Reinstall key |
| ❌ | string | ||
| deploy_data | ❌ | string | Billing data (email or invoice_id) |
| deploy_options | ❌ | string | Billing options (billing location) |
| deploy_period | ❌ | string | Deployment period (hourly, monthly, quarterly, semi-annually, annually) |
| deploy_price | ❌ | int | Deployment price (override) |
| deploy_notify | ❌ | int | Deployment notification (0/1) |
| deploy_ticket | ❌ | string | Deployment ticket (Kayako) |
| deploy_comment | ❌ | string | Deployment comment |
| imitate_deploy | ❌ | int | Simulate deployment (dry run) |
| imitate_error | ❌ | int | Simulate error |
| os_name | ❌ | string | OS name (alternative to os_id) |
| own_os | ❌ | int | Own OS (1/0) |
| jenkins_task | ❌ | string | Jenkins task |
| jenkins_tests | ❌ | int | Jenkins tests |
| traffic_plan | ❌ | int | Traffic plan ID |
| disk_mirror | ❌ | int | Disk mirroring (RAID) |
| invoice_relid | ❌ | int | Invoice ID (relid) |
| activate_windows | ❌ | int | Activate Windows |
| uefi | ❌ | int | UEFI mode (1/0) |
| attendedInstall | ❌ | int | Attended installation |
| option | ❌ | int | Server option |
| value | ❌ | int | Option value |
| config | ❌ | int | Server configuration |
| server_name | ❌ | string | Server name |
| ip | ❌ | string | IP address (private) |
| promocode | ❌ | string | Promo code |
| full | ❌ | int | Full information |
| manual_choice_dsk | ❌ | int | Manual disk selection |
| vlan | ❌ | string | VLAN |
| key | ❌ | string | Key |
| new_id | ❌ | int | New ID |
| new_interface_id | ❌ | int | New interface ID |
| dont_move_ip | ❌ | int | Do not move IP |
| map_interface | ❌ | int | Interface map |
| free_ips | ❌ | int | Free IPs |
| create_kayako_ticket | ❌ | int | Create Kayako ticket |
| kayako_ticket_text | ❌ | string | Kayako ticket text |
| ticket | ❌ | string | Ticket |
| limit | ❌ | int | Limit |
| no_lvm | ❌ | int | No LVM |
| tags_replace_confirmed | ❌ | int | Tag replacement confirmation |
| ipv4_amount | ❌ | int | IPv4 quantity |
| currency_code | ❌ | string | Currency code |
| custom_domain | ❌ | string | Custom domain |
| os_template | ❌ | string | OS template |
| soft_id | ❌ | int | Software ID |
| root_size | ❌ | int | Root partition size |
| cloud_init_script | ❌ | string | Cloud-init script |
Example Request
Example of a successful response
eq/reboot¶
Reboots the server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: reboot |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/reinstall¶
Starts the server reinstallation process.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: reinstall |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/remove_ipmi_user¶
Removes an IPMI user.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: remove_ipmi_user |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/request_backup_link¶
Requests a link to download a backup.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: request_backup_link |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
| name | ✅ | string | Backup name |
Example Request
Example of a successful response
eq/restore_backup¶
Restores the server from a backup.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: restore_backup |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
| name | ✅ | string | Backup name |
Example Request
Example of a successful response
eq/search¶
Searches for equipment based on various criteria.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: search |
| token | ✅ | string | Authorization token |
| group | ❌ | string | Equipment group |
| dc | ❌ | string | Data center |
| location | ❌ | string | Location |
| rack | ❌ | string | Rack |
| status | ❌ | string | Status |
| owner | ❌ | string | Owner |
| component | ❌ | string | Component |
| type | ❌ | string | Equipment type |
| ip | ❌ | string | IP address |
| mac | ❌ | string | MAC address |
| account_id | ❌ | string | Account ID |
| billing | ❌ | string | Billing |
| ❌ | string | ||
| name_client | ❌ | string | Client name |
| full | ❌ | int | Full information |
| kvm | ❌ | string | KVM |
| serialNumber | ❌ | string | Serial number |
| id | ❌ | string | ID |
Example Request
Example of a successful response
eq/sensors¶
Returns server sensor data.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: sensors |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/set_pin¶
Sets the PIN code for operations.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: set_pin |
| token | ✅ | string | Authorization token |
| new_pin | ✅ | string | New PIN code (4-10 characters) |
| old_pin | ❌ | string | Old PIN code |
| no_pin_req | ❌ | string | Flag to skip PIN check (true/false) |
Example Request
Example of a successful response
eq/show¶
Returns data about the server and equipment.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: show |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
{
"result": "OK",
"server_data": {
"id": 123,
"name": "Server 1",
"status": "rent",
"Condition_Component": "rent",
"cost_trafficIN": 0,
"limit_trafficIN": 0,
"cost_traffic": 0,
"new_limit_traffic": 0,
"limit_traffic": 0,
"account_id": 1,
"limit_bands": 0,
"due_date": "2023-12-31",
"IsShape": 0,
"last_backup": {
"date": "2023-10-01",
"size": 1024
},
"techAssigned": "",
"trafficPeriodOut": 0,
"trafficPeriodIn": 0,
"trafficPeriodOutBilling": 0,
"trafficPeriodInBilling": 0,
"datePeriod": "2023-10-01",
"hwconfig": "config_data",
"server_contacts": "",
"days_left": 30,
"project_ids": [
1,
2
],
"is_prebill": false,
"name_client": "Client Name"
},
"hardware": {
"components": [
{
"Type": "CPU",
"Count": 1,
"Cores": 8
}
],
"config": "config_data"
},
"groups": [
{
"id": 1,
"name": "Group 1"
}
],
"licenses": [
{
"id": 1,
"name": "License 1",
"amount": 1,
"date_buy": "2023-01-01"
}
],
"reinstall": "",
"location": {
"dc_location": "NL",
"location_id": 1
},
"OS": "Ubuntu 22.04",
"IP": [
{
"IP": "192.168.1.1",
"type": "public"
}
],
"interfaces": [
{
"id": 1,
"type": "eth0",
"mac": "00:00:00:00:00:00",
"upstream_id": 1,
"IsMain": true,
"IsVirt": false,
"Status": "up",
"switch_owner": "owner",
"switch_model": "model",
"port_of_virt_node": 0
}
],
"IPMI": {
"model": "Supermicro",
"interfaces": [
{
"IP": "192.168.1.2",
"MAC": "00:00:00:00:00:01"
}
],
"user": "admin",
"password": "password",
"white_ip": "192.168.1.3",
"ip_acl": "192.168.1.0/24",
"rule_id": 1
},
"tags": [
{
"tag": "next_duedate",
"value": "2023-12-31",
"internal": 0
}
],
"preset": "Preset Name",
"commitment": "12 months",
"preset_description": "Description of preset"
}
eq/status¶
Returns the server status.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: status |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/suspend¶
Suspends the server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: suspend |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/unified_server_search¶
Unified server search by query.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: unified_server_search |
| token | ✅ | string | Authorization token |
| query | ✅ | string | Search query (string or numeric ID) |
Example Request
Example of a successful response
{
"result": "OK",
"results": {
"servers": [
{
"id": 123,
"name": "Server 1",
"owner": "[email protected]",
"status": "rent",
"billing": "en",
"type": "server"
}
]
},
"limited": {
"servers": false
},
"category": "servers"
}
eq/unit_reset¶
Requests an IPMI reset for the server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: unit_reset |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/unsuspend¶
Unsuspends the server.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: unsuspend |
| id | ✅ | int | Server ID |
| token | ✅ | string | Authorization token |
Example Request
Example of a successful response
eq/update_servers¶
Updates the server list for a specific token.
HTTP Method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: update_servers |
| token | ✅ | string | Authorization token |
Example Request