Child pages
  • Get List of Network IP Addresses
Skip to end of metadata
Go to start of metadata
GET /settings/networks/:network_id/ip_addresses.xml
GET /settings/networks/:network_id/ip_addresses.json

XML Output example

<?xml version="1.0" encoding="UTF-8"?>
<ip_addresses type="array">
<ip_address>
<netmask>255.255.255.240</netmask>
<disallowed_primary type="boolean">true</disallowed_primary>
<address>83.170.81.179</address>
<created_at type="datetime">2010-10-28T19:56:50+07:00</created_at>
<updated_at type="datetime">2011-05-17T17:53:23+07:00</updated_at>
<network_id type="integer">1</network_id>
<network_address>83.170.81.176</network_address>
<broadcast>83.170.81.191</broadcast>
<id type="integer">2</id>
<user_id nil="true"/>
<gateway>83.170.81.177</gateway>
<free type="boolean">false</free>
</ip_address>
...
<ip_address></ip_address>
...
</ip_addresses> 


Where:

ip_addresses – an array with all IP addresses in the selected network

netmask — netmask for the IP address

disallowed_primary – true if not allowed to be used as primary (for VS build), otherwise false

address – IP address

created_at — the date in the [YYYY][MM][DD]T[hh][mm][ss]Z format

updated_at — the date when the network was updated in the [YYYY][MM][DD]T[hh][mm][ss]Z format

network_id –the ID of the network

network_address – the address of the network

broadcast – broadcast address

id –the ID of the IP address

user_id - the ID of the user this IP address is assigned to

gateway – gateway address

free – true if free, otherwise false

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels