Page tree
Skip to end of metadata
Go to start of metadata

API Essentials

API Key Generation





Firewall Rules

Flex Cloud VM Control

Getting Started with Superb Flex Cloud

IP Addresses


Network Interfaces


SSH Keys


Test Route

Troubleshooting API Issues

Viewing Activity Logs

Virtual Server Operating Systems

Virtual Servers

VS Disks

GET /virtual_machines/:virtual_machine_id/ip_addresses

Gets IP address assignments for specified VS


Response Parameters

ip_address_joins – an array of all IP addresses, assigned to VS

ip_address _id – ID of IP address

created_at - the timestamp in DB when this record was created

updated_at - the timestamp in DB when this record was updated

ip_address – an array of IP address, assigned to the VS 

id – ID of the IP address join

network_interface_id - the ID of the network interface to which this IP address should be assigned

JSON Request example

 GET /virtual_machines/:virtual_machine_id/ip_addresses.json

JSON Response

        "ip_address_join": {
            "created_at": "2015-08-28T19:05:45+00:00",
            "id": 987,
            "ip_address_id": 1234,
            "network_interface_id": 500,
            "updated_at": "2015-08-28T19:05:45+00:00",
            "ip_address": {
                "address": "",
                "broadcast": "",
                "created_at": "2015-07-30T01:35:54+00:00",
                "customer_network_id": null,
                "disallowed_primary": false,
                "gateway": "",
                "hypervisor_id": null,
                "id": 1234,
                "ip_address_pool_id": null,
                "network_address": "",
                "network_id": 1,
                "pxe": false,
                "updated_at": "2015-08-27T19:34:49+00:00",
                "user_id": null,
                "free": false,
                "netmask": ""

XML Request example

 GET /virtual_machines/:virtual_machine_id/ip_addresses.xml

XML Response example

 <?xml version="1.0" encoding="UTF-8"?>
<ip_address_joins type="array">
<ip_address_id type="integer">5</ip_address_id>
<created_at type="datetime">2011-07-19T12:29:10Z</created_at>
<updated_at type="datetime">2011-07-19T12:29:10Z</updated_at>
<disallowed_primary type="boolean">false</disallowed_primary>
<created_at type="datetime">2011-07-14T15:43:09Z</created_at>
<updated_at type="datetime">2011-07-14T15:43:09Z</updated_at>
<network_id type="integer">1</network_id>
<id type="integer">5</id>
<free type="boolean">false</free>
<id type="integer">46</id>
<network_interface_id type="integer">34</network_interface_id>
  • No labels