GET /info

Retrieves information about the modules on the server, the service packages, thier categories and types.

Responses

  • 200 application/json

    The modules and services information from the server.

    Hide response attributes Show response attributes object
    • modules object Required

      The modules and settings.

      Hide modules attribute Show modules attribute object
      • * array[object] Additional properties

        The settings for a module.

        Hide * attributes Show * attributes object
        • SERVICE_ID_OFFSET integer(int32) Required
        • USE_REPEAT_INVOICE boolean Required
        • USE_PACKAGES boolean Required
        • BILLING_DAYS_OFFSET integer(int32) Required
        • IMGNAME string Required
        • REPEAT_BILLING_METHOD integer(int32) Required
        • DELETE_PENDING_DAYS integer(int32) Required
        • SUSPEND_DAYS integer(int32) Required
        • SUSPEND_WARNING_DAYS integer(int32) Required
        • TITLE string Required
        • MENUNAME string Required
        • EMAIL_FROM string Required
        • TBLNAME string Required
        • TABLE string Required
        • TITLE_FIELD string Required
        • TITLE_FIELD2 string
        • TITLE_FIELD3 string
        • PREFIX string Required
    • services object Required

      The list of service packages.

      Hide services attribute Show services attribute object
      • * array[object] Additional properties

        An individual package tied to one of our services.

        Hide * attributes Show * attributes object
        • services_id integer(int32) Required
        • services_name string Required
        • services_cost integer(int32) Required
        • services_currency string Required
        • services_category integer(int32) Required
        • services_buyable boolean Required
        • services_type integer(int32) Required
        • services_field1 string Required
        • services_field2 string Required
        • services_module string Required
    • serviceTypes object Required

      The listing of service types

      Hide serviceTypes attribute Show serviceTypes attribute object
      • * array[object] Additional properties

        A general grouping of services within a category.

        Hide * attributes Show * attributes object
        • st_id integer(int32) Required
        • st_name string Required
        • st_category integer(int32) Required
        • st_module string Required
    • serviceCategories object Required

      The listing of the categories for the services.

      Hide serviceCategories attribute Show serviceCategories attribute object
      • * array[object] Additional properties

        A Category of Services. This is the broadest grouping within a module.

        Hide * attributes Show * attributes object
        • category_id integer(int32) Required
        • category_name string Required
        • category_tag string Required
        • category_module string Required
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
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"
}