API documentation
General
API allows user to automate most actions that can be done using Artnet Customers Panel.Connection to API is made by connecting to artnet.pl server using HTTPS protocol. Each command has its own URL path and it has to be called using POST request with command parameters given as POST variables. Request sended to server should looks like it was send from the POST HTML form. Server response is allways JSON object.
Connection
URL address to connect to API: https://panel.artnet.pl/api/COMMAND/NAMEString /COMMAND/NAME is a command name to call according to "API commands" section of this documentation.
Authorization
Authorization credentials have to be sent in each requst as command parameters (i.e. POST variables)id
(customer ID) and api_key (API authorization key). Customer ID (id
) is a number and it is the one using to login to Customers Panel. API key (api_key
) is alphanumeric string that can be taken from Customers Panel - select "Customer" from menu, then from the "Utilities" sections choose "Manage API access". If API access is disabled, please enable it - new API key will be generated then.
Request example
Example request for getting detailed informations about specified service usign /services/details command can be as following:POST /panel/api/services/details HTTP/1.1 Host: artnet.pl Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded api_key=XXXXXXXXXXXXXXX&id=19052&service_id=12345
Servers response
Server`s response is allways an JSON object. Every response will contain fieldsuccess
(boolen), which value determines wheter command execution was successful. If error occures, success
will be false and response will contain error
object describing error. If command was successful response can be simply only success
or can contain another fields according to what described in "API commands" section.
Response example
Example error response:{ "success": false, "error": { "code": "unknown-command", "description": { "pl": "Nieznane polecenie", "en": "Unknown command" } } }Example successful response (command: /services/details):
{ "service": { "id": 12345, "type": "dedicated", "name": "HP DL120 G7 123.123.123.123", "custom_description": null, "expiration_time": 1481213614, "payment_details": { "price": 527, "price_brutto": 648.21, "currency": "EUR", "payment_period": "1" }, "parent_service_id": 0, "ip": "123.123.123.123" }, "success": true }
Services types
- dedicated -
- colocation -
- vps -
- domain -
- additional-ip -
- avx -
- easyisp -
- hosting-artnet -
- foip -
- link -
- software -
- ssl -
- other -
API commands
Module: customer Customer`s infomrations management. /customer/regenerate-api-key - generation of new API key Generation of new API key. Command returns new api_key value in response. After calling this command old API key in no longer valid. All feture requests have to use new API key to authorize. Response:- api_key (string) - newly generated API key
- internal-update-error
- limit (number) - maximal number of headers to fetch
- offset (number) - offset of first record to fetch
- emails_list (objects-list) - headers list
- id (number) - unique ID of the email
- time (timestamp) - time of sending the email
- subject (string) - email subject
- email_id (number) - ID of email message
- email (object) - email details
- id (number) - unique ID of the email
- time (timestamp) - time of sending the email
- address (string) - address to which email was sent
- subject (string) - email subject
- body (string) - email body
- invalid-id
- language (string) - language name
- incorrect-param-value
- language (string) - language name
- customer (object) - customer details
- id (number) - unique ID
- name (string) - customer name
- nip (string) - VAT identification number
- regon (string) - PESEL or REGON number (polish company or personal identification number)
- street (string) - customer address - street
- postcode (string) - customer address - postcode
- city (string) - customer address - city
- country_code (string) - customer address - country code
- country_label (string) - customer address - country name
- tel (string) - phone number
- fax (string) - fax number
- email (string) - email address
- email_tech (string) - technical email address
- email_invoice (string) - invoicing email address (for sending eInvoices)
- correspondence_name (string) - correspondence address - receiver name
- correspondence_street (string) - correspondence address - street
- correspondence_postcode (string) - correspondence address - postcode
- correspondence_city (string) - correspondence address - city
- business (boolean) - legal form (true - business, false - individual person)
- language (string) - language
- currency (string) - default currency code
- invalid-id
- customer[name] (string) - customer name
- customer[nip] (string) - VAT identification number
- customer[regon] (string) - PESEL or REGON number (polish company or personal identification number)
- customer[street] (string) - customer address - street
- customer[postcode] (string) - customer address - postcode
- customer[city] (string) - customer address - city
- customer[country_code] (string) - customer address - country code
- customer[tel] (string) - phone number
- customer[fax] (string) - fax number
- customer[email] (string) - email address
- customer[email_tech] (string) - technical email address
- customer[email_invoice] (string) - invoicing email address (for sending eInvoices)
- customer[correspondence_name] (string) - correspondence address - receiver name
- customer[correspondence_street] (string) - correspondence address - street
- customer[correspondence_postcode] (string) - correspondence address - postcode
- customer[correspondence_city] (string) - correspondence address - city
- customer[business] (string) - legal form (true - business, false - individual person)
- incorrect-param-value
- limit (number) - maximal number of records to fetch
- offset (number) - offset of first record to fetch
- service_type (string) - service_type (if given only services of given type will be returned)
- parent_service_id (number) - parent service ID (if given and non-zero only child services of specified parent service will be returned)
- services_list (objects-list) - services-list
- id (number) - unique service ID
- type (string) - service type
- name (string) - service identification name (ea. domain name, hosting account login, etc..) or service name
- custom_description (string) - custom (setted by customer) description of service
- expiration_time (timestamp) - service expiration time
- payment_details (object) - pricing and payment details
- price (number) - price for payment period (VAT excluded)
- price_brutto (number) - price for payment period (VAT included)
- currency (string) - currency code (like PLN, USD, EUR)
- payment_period (number) - payment period in months
- parent_service_id (number) - parent service ID (if service has parent service) or 0
- ip (string) - IP address, if applicable
- service_id (number) - service ID
- service (object) - service details
- id (number) - unique service ID
- type (string) - service type
- name (string) - service identification name (ea. domain name, hosting account login, etc..) or service name
- custom_description (string) - custom (setted by customer) description of service
- expiration_time (timestamp) - service expiration time
- payment_details (object) - pricing and payment details
- price (number) - price for payment period (VAT excluded)
- price_brutto (number) - price for payment period (VAT included)
- currency (string) - currency code (like PLN, USD, EUR)
- payment_period (number) - payment period in months
- parent_service_id (number) - parent service ID (if service has parent service) or 0
- ip (string) - IP address, if applicable
- authorization-failed
- service_id (number) - service ID
- service_details (object) - domain details
- id (number) - unique service ID
- domain_name (string) - domain name
- manageable (boolean) - information on possibility to automatically changing DNS servers (if this field is false then you have to contact Customer Service)
- dns_servers (ordered-list) - list of DNS servers of the domain (order is significant); if there is no information is Artnet internal system this field will not be present
- authorization-failed
- service_id (number) - service ID
- dns_servers (list) - multiple DNS hostnames as elements of the list (order is significant)
- invalid-service-type
- incorrect-param-value
- dns-servers-insufficient
- edit-dns-error
- service_id (number) - service ID
- service_details (object) - details
- id (number) - unique service ID
- login (string) - account login
- package (string) - resources package name
- authorization-failed
- service_id (number) - service ID
- service_details (object) - details
- id (number) - unique service ID
- login (string) - account login
- package (string) - resources package name
- authorization-failed
- service_id (number) - service ID
- service_details (object) - details
- id (number) - unique service ID
- login (string) - account login
- package (string) - resources package name
- authorization-failed
- service_id (number) - service ID
- service_details (object) - details
- id (number) - unique service ID
- domain (string) - name of domain associated with the SSL certificate
- certificate (object) - object describing certificate name
- pl (string) - certificate name in polish
- en (string) - certificate name in english
- authorization-failed
- service_id (number) - service ID
- service_details (object) - details
- id (number) - unique service ID
- licence (object) - licence details
- name (string) - software nad licence name
- licences_number (number) - number of licences in this service
- authorization-failed
- service_id (number) - service ID
- service_details (object) - details
- id (number) - unique service ID
- bandwidth (object) - Bandwidth details.
- up (number) - Bandwidth for outgoing traffic [Mbps].
- down (number) - Bandwidth for incoming traffic [Mbps].
- network_configuration (object) - Network configuration.
- ip (string) - IP address
- mask (string) - subnetwork mask
- mask_short (string) - subnetwork mask short (like "\32")
- authorization-failed
- service_id (number) - service ID
- service_details (object) - details
- id (number) - unique service ID
- virtual_ip (string) - Virtual static external IP address.
- real_ip (string) - The actual IP address on which traffic is routed currently or false if service is not active.
- real_ips_allowed_list (strings-list) - List of IP addresses traffic can be switched to.
- authorization-failed
- service_id (number) - service ID
- real_ip (string) - new target address (have to be on the list of allowed addresses)
- authorization-failed
- invalid-service-type
- incorrect-param-value
- ip-not-allowed
- internal-fail-over-ip-error
- service_id (number) - service ID
- service_details (object) - details
- id (number) - unique service ID
- subnetworks (objects-list) - subnetworks list
- id (number) - unique subnetwork ID number
- ip (string) - subnetwork address
- mask (string) - subnetwork's mask
- mask_short (string) - mask short (in notation like '/29')
- type (string) - subnetwork type (IPv4 / IPv6)
- authorization-failed
- parent_service_id (number) - service ID of server for which additional IP price you want to be calculated
- order_info (object) -
- maximum_ips_number (number) - maximum number of IP addresses that can be currently order
- one_ip_payment_details (object) - an object describing calculated payment details for ONE
additional IP address
- price (number) - price for ONE additional IP (VAT excluded)
- price_brutto (number) - price for ONE additional IP (VAT included)
- currency (string) - currency code (like PLN, EUR, USD)
- payment_period (number) - payment period in months
- invalid-parent-service-type
- parent_service_id (number) - service ID of server to which you want to assigns new IP addresses
- ips_number (number) - number of new IP addresses to assign
- order_details (object) - details of placed order
- service_id (number) - unique ID of newly created additional IP addresses service
- ips_number (number) - number of assigned IP addresses
- ips_configuration (objects-list) - list of objects describing configuration of assigned
addresses
- ip (string) - IP address
- mask (string) - IP mask that should be used to configure IP on the server
- invalid-parent-service-type
- invalid-ips-number
- internal-service-create-error
- internal-service-update-error
- internal-additional-ip-error
- service_id (number) - service ID
- service_details (object) - details
- id (number) - unique service ID
- newtwork_configuration (object) - network configuration of VPS server
- ip (string) - main IP address of VPS server
- additional_ips_list (strings-list) - list of additional IP addresses
- features (object) - features allowed for this server
- power_management (boolean) - if it's true you can manage pawer of this VPS
- power_state (string) - describses VPS power state ("unknown", "on" or "off")
- active (boolean) - determines whether the server is active (true) or locked (false)
- authorization-failed
- service_id (number) - service ID
- confirm (string) - value of this field has to be "confirm"
- invalid-service-type
- service-suspended
- unsupported-feature
- unconfirmed
- internal-operation-error
- service_id (number) - service ID
- confirm (string) - value of this field has to be "confirm"
- invalid-service-type
- service-suspended
- unsupported-feature
- unconfirmed
- internal-operation-error
- service_id (number) - service ID
- confirm (string) - value of this field has to be "confirm"
- invalid-service-type
- unsupported-feature
- service-suspended
- unconfirmed
- internal-operation-error
- service_id (number) - service ID
- service_details (object) - server details
- id (number) - unique service ID
- hardware_configuration (object) - hardwer resources details
- server (object) - server details
- vendor (string) - vendor
- model (string) - model name
- cpu (objects-list) - CPUs list
- vendor (string) - vendor
- model (string) - model name
- clock (number) - CPU's clock [GHz]
- cores (number) - number of cores
- ht (boolean) - hyper-threading enabled
- ram (objects-list) - memory modules list
- capacity (number) - capacity [GB]
- type (string) - module type
- speed (number) - speed [MHz]
- hdd (objects-list) - list of HDDs
- capacity (number) - capacity [GB]
- type (string) - HDD type
- speed (string) - speed
- hdd_controller (objects-list) - list of HDD's controllers
- model (string) - model name
- builtin (boolean) - is this is builtin controller
- server (object) - server details
- network_configuration (object) - network configuration details
- ip (string) - IP address
- additional_ips (strings-list) - list of additionals IP address
- subnetworks (objects-list) - subnetworks list
- id (number) - unique subnetwork ID number
- ip (string) - subnetwork address
- mask (string) - subnetwork's mask
- mask_short (string) - mask short (in notation like '/29')
- type (string) - subnetwork type (IPv4 / IPv6)
- firewall_ruleset_id (string) - identifier of firewall ruleset applaying to this serwer; in depends of your servers network cofniguration one ruleset may apply to one (usuall) or more of your servers; if firewall configuration is not available for this server this field will not occure
- features (object) - features allowed for this server
- ilo_access_management (boolean) - if it's true you can enable access to ILO / IPMI for this server
- power_management (boolean) - if it's true you can manage pawer of this server
- firewall_management (boolean) - if it's true you can manage externall firewall rules for this server
- installation_url (string) - if OS installation is available, it contains link to the installation, otherwise an empty value
- active (boolean) - determines whether the server is active (true) or locked (false)
- authorization-failed
- service_id (number) - service ID
- transfer_usage_details (object) - transfer details
- periods_list (objects-list) - list of objects describing transfer usage across last
payment periods
- time_range (object) - object describing time range
- from (number) - timestamp (UNIX) of begining of period
- from (number) - timestamp (UNIX) of begining of period
- transfer_usage (object) - object describing transfer usage in period
- up (number) - amount of data sended [bytes]
- down (number) - amount of data received [bytes]
- time_range (object) - object describing time range
- periods_list (objects-list) - list of objects describing transfer usage across last
payment periods
- invalid-service-type
- unsupported-feature
- service_id (number) - service ID
- ilo_details (object) - iLO / IPMI access details
- available (boolean) - if it's true you can enable access to ILO / IPMI for this server
- ip (string) - iLO / IPMI service IP address
- access_enabled (boolean) - determines whether access to iLO / IPMI is currenly open
- access_ip (string) - if access to iLO / IPMI is enabled this field contains remote IP address allowed to connect
- invalid-service-type
- unsupported-feature
- service_id (number) - service ID
- remote_ip (string) - remote IP address for which access to iLO / IPMI is to be open
- invalid-service-type
- unsupported-feature
- internal-operation-error
- service_id (number) - service ID
- invalid-service-type
- unsupported-feature
- internal-operation-error
- service_id (number) - service ID
- power_details (object) - power state details
- manageable (boolean) - determines wheter for this server power line can be managed
- state (string) - current power state
- invalid-service-type
- unsupported-feature
- service_id (number) - service ID
- confirm (string) - value of this field has to be "confirm"
- invalid-service-type
- unsupported-feature
- unconfirmed
- internal-operation-error
- service_id (number) - service ID
- confirm (string) - value of this field has to be "confirm"
- invalid-service-type
- unsupported-feature
- unconfirmed
- internal-operation-error
- service_id (number) - service ID
- confirm (string) - value of this field has to be "confirm"
- invalid-service-type
- unsupported-feature
- unconfirmed
- internal-operation-error
- service_id (number) - service ID
- service_details (object) - colocation details
- id (number) - unique service ID
- network_configuration (object) - network configuration details
- ip (string) - IP address
- additional_ips (strings-list) - list of additionals IP address
- subnetworks (objects-list) - subnetworks list
- id (number) - unique subnetwork ID number
- ip (string) - subnetwork address
- mask (string) - subnetwork's mask
- mask_short (string) - mask short (in notation like '/29')
- type (string) - subnetwork type (IPv4 / IPv6)
- firewall_ruleset_id (string) - identifier of firewall ruleset applaying to this serwer; in depends of your servers network cofniguration one ruleset may apply to one (usuall) or more of your servers; if firewall configuration is not available for this server this field will not occure
- features (object) - features allowed for this server
- power_management (boolean) - if it's true you can manage pawer of this server
- firewall_management (boolean) - if it's true you can manage externall firewall rules for this colocation
- active (boolean) - determines whether the server is active (true) or locked (false)
- authorization-failed
- service_id (number) - service ID
- transfer_usage_details (object) - transfer details
- periods_list (objects-list) - list of objects describing transfer usage across last
payment periods
- time_range (object) - object describing time range
- from (number) - timestamp (UNIX) of begining of period
- from (number) - timestamp (UNIX) of begining of period
- transfer_usage (object) - object describing transfer usage in period
- up (number) - amount of data sended [bytes]
- down (number) - amount of data received [bytes]
- time_range (object) - object describing time range
- periods_list (objects-list) - list of objects describing transfer usage across last
payment periods
- invalid-service-type
- unsupported-feature
- service_id (number) - service ID
- power_details (object) - power state details
- manageable (boolean) - determines wheter for this server power line can be managed
- state (string) - current power state
- invalid-service-type
- unsupported-feature
- service_id (number) - service ID
- confirm (string) - value of this field has to be "confirm"
- invalid-service-type
- unsupported-feature
- unconfirmed
- internal-operation-error
- service_id (number) - service ID
- confirm (string) - value of this field has to be "confirm"
- invalid-service-type
- unsupported-feature
- unconfirmed
- internal-operation-error
- service_id (number) - service ID
- confirm (string) - value of this field has to be "confirm"
- invalid-service-type
- unsupported-feature
- unconfirmed
- internal-operation-error
- blackholed_ips_list (objects-list) - list of blocked IP addresses
- ip (string) - blocked IP address
- type (string) - Type of blockade. This field can be: "customer" if it was set by customer and can be unset, "admin" if it was set by network administrator and cannot be unset by you.
- authorization-failed
- ip (string) - IP address you want to block
- incorrect-ip
- ip-not-allowed
- ip-already-blackholed
- internal-blackholing-ip-error
- ip (string) - IP address you want to unlock
- incorrect-ip
- ip-not-allowed
- ip-not-blackholed
- admin-blackhole
- internal-blackholing-ip-error
- zones_list (objects-list) - list of zones
- id (number) - zone ID
- domain (string) - domain name
- type (string) - Zone type. It can be either "primary" or "secoundary".
- master_nameserver (string) - name of primary server (this field is given only for secoundary zones)
- authorization-failed
- zone_id (number) - zone ID
- incorrect-param-value
- invalid-zone-id
- internal-dns-error
- zone_id (number) - zone ID
- zone_details (object) - configuration details
- id (number) - zone ID
- domain (string) - domain name
- type (string) - Zone type. It can be either "primary" or "secoundary".
- master_nameserver (string) - name of primary server
- incorrect-ip
- ip-not-allowed
- ip-already-blackholed
- internal-blackholing-ip-error
- domain (string) - domain name to add to DNS
- master_nameserver (string) - host name or IP address of master nameserver
- zone_details (object) - details of newly created zone
- id (number) - zone ID
- domain (string) - domain name
- type (string) - Zone type. It can be either "primary" or "secoundary".
- master_nameserver (string) - name of primary server
- incorrect-param-value
- domain-not-allowed
- domain-already-exists
- unresolveable-master-nameserver
- internal-dns-error
- zone_id (number) - zone ID
- zone_details (object) - configuration details
- id (number) - zone ID
- domain (string) - domain name
- type (string) - Zone type. It can be either "primary" or "secoundary".
- nameservers (strings-list) - list of name servers hostnames (according to NS records)
- serial (number) - Current value of DNS zone serial number. Its value is required to edit records and it changes after every edit.
- records (objects-list) - List of DNS records in this zone. Records fields are in
form described in according RFC documents (see RFC 1035).
Order is significat.
- name (string) - host name for this DNS record; allowed forms: relative name, full wuallified domain name (ending with a point sign), @ sign (relative to main domain), living this field empty (relative to previuos record)
- ttl (number) - time-to-live - time in secoudns after which any name server should refresh cached value of this record
- type (string) - DNS record type ('A', 'AAAA', 'CNAME', 'MX', 'TXT', 'SRV')
- data1 (string) - first part of record's data; this field is provided for all records types, next fields are optional and their existing depends on record type
- data2 (string) - [optional, depending on record type] secound part of data
- data3 (string) - [optional, depending on record type] third part of data
- data4 (string) - [optional, depending on record type] fourth part of data
- incorrect-ip
- ip-not-allowed
- ip-already-blackholed
- internal-blackholing-ip-error
- domain (string) - domain name to add to DNS
- zone_details (object) - details of newly created zone
- id (number) - zone ID
- domain (string) - domain name
- type (string) - Zone type. It can be either "primary" or "secoundary".
- incorrect-param-value
- domain-not-allowed
- domain-already-exists
- internal-dns-error
- zone_id (number) - zone ID
- serial (string) - actual value of SOA serial number
- records[N] (array-of-arrays) - array describing single DNS record; index N have to be unique for single firewall rule within request; order of records i significant
- records[N][name] (string) - host name for this DNS record; allowed forms: relative name, full wuallified domain name (ending with a point sign), @ sign (relative to main domain), living this field empty (relative to previuos record)
- records[N][ttl] (number) - time-to-live - time in secoudns after which any name server should refresh cached value of this record
- records[N][type] (string) - DNS record type ('A', 'AAAA', 'CNAME', 'MX', 'TXT', 'SRV')
- records[N][data1] (number) - first part of record's data; this field is provided for all records types, next fields are optional and their existing depends on record type
- records[N][data2] (number) - [optional, depending on record type] secound part of data
- records[N][data3] (number) - [optional, depending on record type] third part of data
- records[N][data4] (number) - [optional, depending on record type] fourth part of data
- incorrect-param-value
- invalid-zone-id
- invalid-zone-type
- internal-dns-error
- incorrect-soa-serial
- subnetworks_list (objects-list) - list of subnetworks along with configuration subclasses
- id (number) - unique subnetwork ID number
- ip (string) - subnetwork address
- mask (string) - subnetwork's mask
- mask_short (string) - mask short (in notation like '/29')
- type (string) - subnetwork type (IPv4 / IPv6)
- dns_subclasses (strings-list) - list of configuration subclasses in subnetwork
- subnetwork_id (number) - subnetwork ID
- dns_subclass (string) - configuration subclass name (one element of dns_subclasses list of selected subnetwork)
- subclass_details (object) - configuration of selected subclass
- serial (number) - serial number of SOA record of current configuration; this value is required to configuration editing
- type (string) - subnetwork type (IPv4 / IPv6)
- prefix (string) - IP address prefix; this value is contant part of IP addresses in entire subclass; prefix + IP separator + origin is the complete IP address
- ptr_records (objects-list) - list of PTR records
- origin (string) - record ID in subclass
- ptr (string) - PTR record value
- address (string) - full IP address of this record
- authorization-failed
- subnetwork_id (number) - subnetwork ID
- dns_subclass (string) - configuration subclass name (one element of dns_subclasses list of selected subnetwork)
- serial (number) - current value of SOA serial value
- ptr_records[N] (array-of-arrays) - array containing arrays of PTR records values; N index have to be unique within the query for each PTR record
- ptr_records[N][origin] (string) - origin of record to edit or add
- ptr_records[N][ptr] (string) - PTR record value to set
- ptr_records[N][delete] (string) - if value of this field is "delete" corresponding field will be deleted
- warnings (objects-list) - list of error occured while editing specific records;
warning object for record means that no changes have been made
on in
- origin (string) - identificator of record for which error eccured
- address (string) - full record IP address
- task (string) - name of operation for which error occured
- code (string) - error code
- description (object) - error description
- pl (string) - error description in polish
- en (string) - error description in english
- authorization-failed
- invalid-subclass
- internal-dns-error
- invalid-origin
- invalid-serial
- authorization-failed
- rulesets_list (objects-list) - list of ruleset of firewall rules
- id (string) - ruleset identifier
- services_ids_list (numbers-list) - list of IDs of servers services, which are applied to firewall rules of this set
- ruleset_id (string) - ruleset identifier
- ruleset_details (object) - details of firewall configuration
- id (string) - ruleset identifier
- enabled (boolean) - whether the firewall is active
- maximum_rules_number (number) - specifies maximum number of rules, that can be set for one direction
- protocol (string) - protocol number (rfc1700) or empty string field if protocol is not to be checked
- rules (object) - object describing firewall rules
- in (objects-list) - list of rules for incoming traffic (order is
significant)
- policy (string) - rule policy ("ACCEPT" or "DROP")
- source (object) - packet source conditions
- ip (string) - IP address
- mask_short (number) - number specifying short form of subnetwork mask (as number from range 0 - 32)
- port (object) - conditions for source port of the packet
- begin (string) - the lower limit of port range (or empty string if not apply to selected protocol or is not to be checked)
- end (string) - the upper limit of port range (or empty string if not apply to selected protocol or is not to be checked)
- destination (object) - packet destination conditions
- ip (string) - IP address
- mask_short (number) - number specifying short form of subnetwork mask (as number from range 0 - 32)
- port (object) - conditions for destination port of the packet
- begin (string) - the lower limit of port range (or empty string if not apply to selected protocol or is not to be checked)
- end (string) - the upper limit of port range (or empty string if not apply to selected protocol or is not to be checked)
- out (objects-list) - list of rules for outgoing traffic (order is
significant)
- policy (string) - rule policy ("ACCEPT" or "DROP")
- source (object) - packet source conditions
- ip (string) - IP address
- mask_short (number) - number specifying short form of subnetwork mask (as number from range 0 - 32)
- port (object) - conditions for source port of the packet
- begin (string) - the lower limit of port range (or empty string if not apply to selected protocol or is not to be checked)
- end (string) - the upper limit of port range (or empty string if not apply to selected protocol or is not to be checked)
- destination (object) - packet destination conditions
- ip (string) - IP address
- mask_short (number) - number specifying short form of subnetwork mask (as number from range 0 - 32)
- port (object) - conditions for destination port of the packet
- begin (string) - the lower limit of port range (or empty string if not apply to selected protocol or is not to be checked)
- end (string) - the upper limit of port range (or empty string if not apply to selected protocol or is not to be checked)
- in (objects-list) - list of rules for incoming traffic (order is
significant)
- invalid-ruleset-id
- ruleset_id (string) - ruleset identifier
- invalid-service-type
- internal-firewall-error
- ruleset_id (string) - ruleset identifier
- invalid-service-type
- internal-firewall-error
- ruleset_id (string) - ruleset identifier
- rules[in][N] (array-of-arrays) - array describing single firewall rule for incomoing traffic; index N have to be unique for single firewall rule within request
- rules[in][N][policy] (string) - rule policy ("ACCEPT" or "DROP")
- rules[in][N][protocol] (number) - packet protocol number (according to RFC1700)
- rules[in][N][source][ip] (string) - source IP address of packet
- rules[in][N][source][mask_short] (number) - number specyfying subnetwork short (number from range 0 - 32)
- rules[in][N][source][port][begin] (number) - the lower limit of source port range (or an empty string if not applied to selected protokol or is not to be checked)
- rules[in][N][source][port][end] (number) - the upper limit of source port range (or an empty string if not applied to selected protokol or is not to be checked)
- rules[in][N][destination][ip] (string) - source IP address of packet
- rules[in][N][destination][mask_short] (number) - number specyfying subnetwork short (number from range 0 - 32)
- rules[in][N][destination][port][begin] (number) - the lower limit of destination port range (or an empty string if not applied to selected protokol or is not to be checked)
- rules[in][N][destination][port][end] (number) - the upper limit of destination port range (or an empty string if not applied to selected protokol or is not to be checked)
- rules[out][N] (array-of-arrays) - array describing single firewall rule for outgoing traffic; index N have to be unique for single firewall rule within request
- rules[out][N][policy] (string) - rule policy ("ACCEPT" or "DROP")
- rules[out][N][protocol] (number) - packet protocol number (according to RFC1700)
- rules[out][N][source][ip] (string) - source IP address of packet
- rules[out][N][source][mask_short] (number) - number specyfying subnetwork short (number from range 0 - 32)
- rules[out][N][source][port][begin] (number) - the lower limit of source port range (or an empty string if not applied to selected protokol or is not to be checked)
- rules[out][N][source][port][end] (number) - the upper limit of source port range (or an empty string if not applied to selected protokol or is not to be checked)
- rules[out][N][destination][ip] (string) - source IP address of packet
- rules[out][N][destination][mask_short] (number) - number specyfying subnetwork short (number from range 0 - 32)
- rules[out][N][destination][port][begin] (number) - the lower limit of destination port range (or an empty string if not applied to selected protokol or is not to be checked)
- rules[out][N][destination][port][end] (number) - the upper limit of destination port range (or an empty string if not applied to selected protokol or is not to be checked)
- invalid-ruleset-id
- too-many-rules
- rules-syntax-error
- internal-firewall-error
- resources (objects-list) - list of available servers
- platforms (object-list) - list of available platforms
- model_name (string) - model name
- resources (object-list) - resources of the model
- cpu (string) - CPU name
- hdd_controller (string) - HDD controller name
- resources_limits (object-list) - platform limits
- hdd_sizes (array-string) - available disk sizes
- hdd_slots (string) - maximum available disk slots
- ram_max (string) - maximum amount of RAM
- cpu_slots (integer) - maximum available CPU slots
- price (object-list) - price
- price (integer) - price
- currency (string) - currency of payment
- payment_period (string) - payment period
- hdd_disks (object-list) - available disks list
- capacity (string) - disk capacity
- type (string) - disk type
- speed (string) - disk speed
- size (string) - disk size
- price (object-list) - price
- price (integer) - price
- currency (string) - currency of payment
- payment_period (string) - payment period
- rams (string) - available RAM
- capacity (string) - disk capacity
- price (object-list) - price
- price (integer) - price
- currency (string) - currency of payment
- payment_period (string) - payment period
- additional_cpus (object-list) - available additional CPU
- name (string) - additional CPU name
- price (object-list) - price
- price (integer) - price
- currency (string) - currency of payment
- payment_period (string) - payment period
- hdd_controllers (object-list) - available additional HDD controllers
- name (string) - additional HDD controller name
- price (object-list) - price
- price (integer) - price
- currency (string) - currency of payment
- payment_period (string) - payment period
- transfer_package (object-list) - available transfer packeges
- transfer (string) - data package size
- price (object-list) - price
- price (integer) - price
- currency (string) - currency of payment
- payment_period (string) - payment period
- bandwidth_package (object-list) - available bandwidth packeges
- bandwidth (string) - bandwidth speed
- price (object-list) - price
- price (integer) - price
- currency (string) - currency of payment
- payment_period (string) - payment period
- others (object-list) - additional services
- name (string) - name of additional service
- price (object-list) - price
- price (integer) - price
- currency (string) - currency of payment
- payment_period (string) - payment period
- ip (object-list) - additional ip address
- amount (string) - amount of additional ip addresses
- price (object-list) - price
- platforms (object-list) - list of available platforms
- authorization-failed
- offer (objects-list) - list of available servers
- id (number) - unique server ID
- hardware_configuration (object) - hardwer resources details
- server (object) - server details
- vendor (string) - vendor
- model (string) - model name
- cpu (objects-list) - CPUs list
- vendor (string) - vendor
- model (string) - model name
- clock (number) - CPU's clock [GHz]
- cores (number) - number of cores
- ht (boolean) - hyper-threading enabled
- ram (objects-list) - memory modules list
- capacity (number) - capacity [GB]
- type (string) - module type
- speed (number) - speed [MHz]
- hdd (objects-list) - list of HDDs
- capacity (number) - capacity [GB]
- type (string) - HDD type
- speed (string) - speed
- hdd_controller (objects-list) - list of HDD's controllers
- model (string) - model name
- builtin (boolean) - is this is builtin controller
- server (object) - server details
- prices (object) - information about prices
- regular (object) - price for customers
- price (number) - price for server (VAT excl.)
- currency (string) - currency code
- payment_period (number) - payment period for this price (number of months)
- reseller (object) - visible only for resellers; price for reseller
- price (number) - price for server (VAT excl.)
- currency (string) - currency code
- payment_period (number) - payment period for this price (number of months)
- regular (object) - price for customers
- authorization-failed
- offer (objects-list) - list of available servers
- id (number) - unique server ID
- hardware_configuration (object) - hardwer resources details
- server (object) - server details
- vendor (string) - vendor
- model (string) - model name
- cpu (objects-list) - CPUs list
- vendor (string) - vendor
- model (string) - model name
- clock (number) - CPU's clock [GHz]
- cores (number) - number of cores
- ht (boolean) - hyper-threading enabled
- ram (objects-list) - memory modules list
- capacity (number) - capacity [GB]
- type (string) - module type
- speed (number) - speed [MHz]
- hdd (objects-list) - list of HDDs
- capacity (number) - capacity [GB]
- type (string) - HDD type
- speed (string) - speed
- hdd_controller (objects-list) - list of HDD's controllers
- model (string) - model name
- builtin (boolean) - is this is builtin controller
- server (object) - server details
- prices (object) - information about prices
- regular (object) - price for customers
- price (number) - price for server (VAT excl.)
- currency (string) - currency code
- payment_period (number) - payment period for this price (number of months)
- reseller (object) - visible only for resellers; price for reseller
- price (number) - price for server (VAT excl.)
- currency (string) - currency code
- payment_period (number) - payment period for this price (number of months)
- regular (object) - price for customers
- authorization-failed
- server_id (number) - server ID
- authorization-failed
- invalid-server-id
- server_id (number) - server ID
- authorization-failed
- invalid-server-id
- server_id (number) - server ID
- order_details (object) - order details
- service_id (number) - unique service ID
- invoice_number (string) - invoice number of this order
- management_panel_url (string) - link to server management and operating system installation panel
- authorization-failed
- invalid-server-id
- internal-error-invalid-service
- internal-error-invalid-data
- instances_list (objects-list) - list instances
- id (number) - unique instance ID
- name (string) - System instance name, identifier.
- custom_name (string) - Customizable instance display name.
- price_resources (object) - Details of current price. Prices refers to 24h costs
with current instance parameters without additional costs
(like transfer).
- price (number) - Price for 24h. Price is given with 4 decimal places precision to allow you to calculate price to other periods.
- currency (string) - Currency code.
- period (string) - Period of calculation. Currently its always '24h'.
- vnc_configuration (object) - Host and port of VNC console.
- host (string) - VNC server address. Address is not permanently assigned to an instance and it can change sometimes.
- port (number) - VNC server port.
- resources (object) - Current hardware resources of instance.
- cpu_cores (number) - Number of CPU cores.
- ram (number) - RAM memory available [MB].
- hdd (number) - Available disk space [GB].
- bandwidth (number) - Bandwidth [Mbps].
- state (string) - Current instance status.
- state_time (timestamp) - Time of last refresh of instance status.
- boot_status (string) - Boot status of instance. If value of this field is 'install' instance will boot from chosen installation image. If this field value is 'boot' it will normal boot from own hard drive.
- authorization-failed
- instance_id (number) - instance ID
- instance_details (object) - instance details
- id (number) - unique instance ID
- name (string) - System instance name, identifier.
- custom_name (string) - Customizable instance display name.
- price_resources (object) - Details of current price. Prices refers to 24h costs
with current instance parameters without additional costs
(like transfer).
- price (number) - Price for 24h. Price is given with 4 decimal places precision to allow you to calculate price to other periods.
- currency (string) - Currency code.
- period (string) - Period of calculation. Currently its always '24h'.
- vnc_configuration (object) - Host and port of VNC console.
- host (string) - VNC server address. Address is not permanently assigned to an instance and it can change sometimes.
- port (number) - VNC server port.
- resources (object) - Current hardware resources of instance.
- cpu_cores (number) - Number of CPU cores.
- ram (number) - RAM memory available [MB].
- hdd (number) - Available disk space [GB].
- bandwidth (number) - Bandwidth [Mbps].
- state (string) - Current instance status.
- state_time (timestamp) - Time of last refresh of instance status.
- boot_status (string) - Boot status of instance. If value of this field is 'install' instance will boot from chosen installation image. If this field value is 'boot' it will normal boot from own hard drive.
- custom_properties (object) - Properties set by customer (like display name, instance
notes).
- display_name (string) - Display name of instance. This value is used in e.g. instances list in Customers Panel.
- notes (string) - Customer defined field for notes about instance. This field is designed for free use by the customer.
- network_configuration (object) - Network configuration of instance. It is neccessary to
configure internet connection of instance.
- ip (string) - Instance IP address.
- mask (string) - Mask of subnetwork in which instance is configured.
- gateway_ip (string) - Gateway IP address.
- dns_list (strings-list) - List of DNS IP addresses.
- authorization-failed
- instance_id (number) - instance ID
- instance_password (string) - management password of this instance
- authorization-failed
- invalid-service-type
- instance-password-incorrect
- internal-cloud-power-on-error
- instance_id (number) - instance ID
- instance_password (string) - management password of this instance
- authorization-failed
- invalid-service-type
- instance-password-incorrect
- internal-cloud-power-on-error
- instance_id (number) - instance ID
- instance_password (string) - management password of this instance
- authorization-failed
- invalid-service-type
- instance-password-incorrect
- internal-cloud-power-on-error
- instance_id (number) - instance ID
- instance_password (string) - management password of this instance
- authorization-failed
- invalid-service-type
- instance-password-incorrect
- internal-cloud-power-on-error
- instance_id (number) - instance ID
- instance_password (string) - management password of this instance
- authorization-failed
- invalid-service-type
- instance-password-incorrect
- internal-cloud-power-on-error
- instance_id (number) - instance ID
- resources_ranges (object) - Object with allowed values ranges of hardware resources
parameters.
- cpu (object) - Ranges for number of CPU cores.
- min (number) - Minimum value.
- max (number) - Maximum value.
- step (number) - Step. Final value has to be multiple of step (0 == value % step).
- ram (object) - Ranges for RAM memory size [MB].
- min (number) - Minimum value.
- max (number) - Maximum value.
- step (number) - Step. Final value has to be multiple of step (0 == value % step).
- hdd (object) - Ranges for HDD disk size [GB].
- min (number) - Minimum value.
- max (number) - Maximum value.
- step (number) - Step. Final value has to be multiple of step (0 == value % step).
- bandwidth (object) - Ranges for internet connection bandwidth [Mbps].
- min (number) - Minimum value.
- max (number) - Maximum value.
- step (number) - Step. Final value has to be multiple of step (0 == value % step).
- cpu (object) - Ranges for number of CPU cores.
- authorization-failed
- invalid-service-type
- instance_id (number) - instance ID
- resources[cpu] (number) - CPU cores number
- resources[ram] (number) - RAM memory size [MB]
- resources[hdd] (number) - hdd disk space [GB]
- resources[bandwidth] (number) - internet connection bandwidth [Mbps]
- price_resources (object) - Details of current price. Prices refers to 24h costs with
given hardware resources, without additional costs (like
transfer).
- price (number) - Price for 24h. Price is given with 4 decimal places precision to allow you to calculate price to other periods.
- currency (string) - Currency code.
- period (string) - Period of calculation. Currently its always '24h'.
- authorization-failed
- invalid-service-type
- invalid-param-value
- instance_id (number) - instance ID
- instance_password (string) - management password of this instance
- shutdown (boolean) - Determines wheter take try to shutdown OS. If value of this parameter will be "true" (string) system will try to shutdown OS; this may increase execution tme of this operation to few minutes and cause error if system cannot be shutted down. If value will be "false" power of your instance will be restarted without trying to shutdown OS.
- resources[cpu] (number) - CPU cores number
- resources[ram] (number) - RAM memory size [MB]
- resources[hdd] (number) - hdd disk space [GB]. Attention! HDD space decreasing is not allowed!
- resources[bandwidth] (number) - internet connection bandwidth [Mbps]
- authorization-failed
- invalid-service-type
- invalid-param-value
- internal-instance-resources-negotiate
- instance-resources-negotiate-incorrect-parameters
- instance-resources-negotiate-cannot-decrease-hdd
- instance-unable-shutdown
- instance_id (number) - instance ID
- installation_images_list (objects-list) - List of available installations.
- label (string) - Installation label (e.g. 'Debian 8.1 64bit').
- distribution (string) - Shortname of distribution (e.g. 'debian').
- image (string) - Installation image name.
- authorization-failed
- instance-password-incorrect
- instance_id (number) - instance ID
- instance_password (string) - management password of this instance
- installation_image (string) - chosen installation image
- shutdown (boolean) - Determines wheter take try to shutdown OS. If value of this parameter will be "true" (string) system will try to shutdown OS; this may increase execution tme of this operation to few minutes and cause error if system cannot be shutted down. If value will be "false" power of your instance will be restarted without trying to shutdown OS.
- authorization-failed
- instance-password-incorrect
- instance-boot-incorrect-installation-image
- instance-unable-shutdown
- internal-instance-boot-mode-installation-image
- instance_id (number) - instance ID
- instance_password (string) - management password of this instance
- shutdown (boolean) - Determines wheter take try to shutdown OS. If value of this parameter will be "true" (string) system will try to shutdown OS; this may increase execution tme of this operation to few minutes and cause error if system cannot be shutted down. If value will be "false" power of your instance will be restarted without trying to shutdown OS.
- authorization-failed
- instance-password-incorrect
- instance-unable-shutdown
- internal-instance-boot-mode-installation-image
- instance_id (number) - instance ID
- custom_properties[display_name] (array) - Instance name which will show on list of isntances in Customers Panel. Maximum 35 characters.
- custom_properties[notes] (string) - Notes about the instance. This field is designed for free use of customer for his purposes. Maximum 10240 characters.
- authorization-failed
- instance-custom-properties-display-name-too-long
- instance-custom-properties-notes-too-long
- internal-instance-custom-properties-edit-error
- instance_id (number) - instance ID
- instance_password (string) - management password of this instance
- instance_new_password (string) - new password (allowed are: lower and uppercase letters, numbers and .!@#$%^&*()_+-= characters)
- authorization-failed
- instance-password-incorrect
- password-too-short
- password-invalid
- instance_id (number) - instance ID
- instance_password (string) - management password of this instance
- authorization-failed
- instance-password-incorrect
- internal-instance-delete-error