Retrieves information about the modules on the server, the service packages, thier categories and types.
GET
/info
curl \
--request GET 'https://my.interserver.net/apiv2/info'
Response examples (200)
{
"modules": {
"vps": {
"TABLE": "vps",
"TITLE": "VPS",
"PREFIX": "vps",
"IMGNAME": "root-server.png",
"TBLNAME": "VPS",
"MENUNAME": "VPS",
"EMAIL_FROM": "support@interserver.net",
"TITLE_FIELD": "vps_hostname",
"SUSPEND_DAYS": 14,
"TITLE_FIELD2": "vps_ip",
"TITLE_FIELD3": "vps_vzid",
"USE_PACKAGES": true,
"SERVICE_ID_OFFSET": 0,
"USE_REPEAT_INVOICE": true,
"BILLING_DAYS_OFFSET": 0,
"DELETE_PENDING_DAYS": 45,
"SUSPEND_WARNING_DAYS": 7,
"REPEAT_BILLING_METHOD": 2
},
"domains": {
"TABLE": "domains",
"TITLE": "Domain Registrations",
"PREFIX": "domain",
"IMGNAME": "domain.png",
"TBLNAME": "Domains",
"MENUNAME": "Domains",
"EMAIL_FROM": "support@interserver.net",
"TITLE_FIELD": "domain_hostname",
"SUSPEND_DAYS": 14,
"USE_PACKAGES": true,
"SERVICE_ID_OFFSET": 10000,
"USE_REPEAT_INVOICE": true,
"BILLING_DAYS_OFFSET": 45,
"DELETE_PENDING_DAYS": 45,
"SUSPEND_WARNING_DAYS": 7,
"REPEAT_BILLING_METHOD": 2
}
},
"services": {
"31": {
"services_id": 31,
"services_cost": 6,
"services_name": "OpenVZ VPS Slice",
"services_type": 6,
"services_field1": "slice",
"services_field2": "",
"services_module": "vps",
"services_buyable": true,
"services_category": 1,
"services_currency": "USD"
},
"32": {
"services_id": 32,
"services_cost": 10,
"services_name": "KVM Windows VPS Slice",
"services_type": 1,
"services_field1": "slice",
"services_field2": "",
"services_module": "vps",
"services_buyable": true,
"services_category": 2,
"services_currency": "USD"
}
},
"serviceTypes": {
"1": {
"st_id": 1,
"st_name": "KVM Windows",
"st_module": "vps",
"st_category": 2
},
"2": {
"st_id": 2,
"st_name": "KVM Linux",
"st_module": "vps",
"st_category": 2
},
"3": {
"st_id": 3,
"st_name": "Cloud KVM Windows",
"st_module": "vps",
"st_category": 3
}
},
"serviceCategories": {
"1": {
"category_id": 1,
"category_tag": "openvz",
"category_name": "OpenVZ Virtual Servers",
"category_module": "vps"
},
"2": {
"category_id": 2,
"category_tag": "kvm",
"category_name": "KVM Virtual Servers",
"category_module": "vps"
},
"3": {
"category_id": 3,
"category_tag": "xen",
"category_name": "Xen Virtual Servers",
"category_module": "vps"
}
}
}
Response examples (401)
{
"code": "string",
"message": "string"
}