<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.hostway.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Accounts-account-dedicatedServers-server-ipAddresses%3AGET</id>
		<title>Accounts-account-dedicatedServers-server-ipAddresses:GET - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Accounts-account-dedicatedServers-server-ipAddresses%3AGET"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-account-dedicatedServers-server-ipAddresses:GET&amp;action=history"/>
		<updated>2026-04-26T03:48:29Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Accounts-account-dedicatedServers-server-ipAddresses:GET&amp;diff=2353&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 111</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-account-dedicatedServers-server-ipAddresses:GET&amp;diff=2353&amp;oldid=prev"/>
				<updated>2015-09-18T17:15:14Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 111&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:15, 18 September 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Accounts-account-dedicatedServers-server-ipAddresses:GET&amp;diff=2352&amp;oldid=prev</id>
		<title>Viktor.penkov: /* Get a list with details of a dedicated server's IPs */</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-account-dedicatedServers-server-ipAddresses:GET&amp;diff=2352&amp;oldid=prev"/>
				<updated>2015-06-15T12:08:34Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Get a list with details of a dedicated server&amp;#039;s IPs&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= GET /accounts/{account_number}/dedicatedServers/{serverId}/ipAddresses =&lt;br /&gt;
Retrieves a list of the IP addresses of a dedicated server&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;GET /accounts/''{account_number}''/dedicatedServers/''{serverId}''/ipAddresses&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;GET /accounts/''{account_number}''/dedicatedServers/''{serverId}''/ipAddresses?status=pending&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Request Parameters ====&lt;br /&gt;
; account_number - ''string''&lt;br /&gt;
: The user account owning the dedicated servers&lt;br /&gt;
; serverId - ''string''&lt;br /&gt;
: The specified dedicated server Id&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
&lt;br /&gt;
; status- ''string''&lt;br /&gt;
: Specifies the status of the IP product, which is a child of the Dedicated Server product. Can be &amp;quot;open&amp;quot; or &amp;quot;pending&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
; details - ''string''&lt;br /&gt;
: If set to '''true''' details will be displayed for each IP address&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
&lt;br /&gt;
{{Authorization}}&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
[&lt;br /&gt;
    &amp;quot;{APIBaseURL}/accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}&amp;quot;,&lt;br /&gt;
    &amp;quot;{APIBaseURL}/accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}&amp;quot;&lt;br /&gt;
]&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Expected Response Codes  ===&lt;br /&gt;
; 200 OK&lt;br /&gt;
: Success&lt;br /&gt;
&lt;br /&gt;
; 401 Unauthorized&lt;br /&gt;
: The supplied credentials are invalid.&lt;br /&gt;
&lt;br /&gt;
; 403 Forbidden&lt;br /&gt;
: The authorized user does not have permissions to access the resource. The only user(s) who has access to the dedicated servers list must be a sales agent, the account owner, or the account technical admin. &lt;br /&gt;
&lt;br /&gt;
; 404 Not Found&lt;br /&gt;
: The account or server does not exist.&lt;br /&gt;
&lt;br /&gt;
; 405 Method not allowed&lt;br /&gt;
: The HTTP request method is not allowed.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Get a list of a dedicated server's IPs ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
GET /accounts/test-ng-809027223/dedicatedServers/test-ng-809027223-00000132ff10f8d8d63e8ce6000ac648/ipAddresses&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
[&amp;quot;http://coreapi01.ote.chicago.hostway:8092/accounts/test-ng-809027223/dedicatedServers/test-ng-809027223-00000132ff10f8d8d63e8ce6000ac648/ipAddresses/11.10.13.11&amp;quot;]&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Get a list of a dedicated server's open IPs ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
GET /accounts/test-ng-809027223/dedicatedServers/test-ng-809027223-00000132ff10f8d8d63e8ce6000ac648/ipAddresses?status=open&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
[&amp;quot;http://coreapi01.ote.chicago.hostway:8092/accounts/test-ng-809027223/dedicatedServers/test-ng-809027223-00000132ff10f8d8d63e8ce6000ac648/ipAddresses/11.10.13.11&amp;quot;]&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Get a list with details of a dedicated server's IPs ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
GET /accounts/test-ng-809027223/dedicatedServers/test-ng-809027223-00000132ff10f8d8d63e8ce6000ac648/ipAddresses?details=true&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
    {&lt;br /&gt;
       &amp;quot;list&amp;quot;:&lt;br /&gt;
       [&lt;br /&gt;
           {&lt;br /&gt;
               &amp;quot;ipAddress&amp;quot;: &amp;quot;200.200.200.13&amp;quot;,&lt;br /&gt;
               &amp;quot;links&amp;quot;:&lt;br /&gt;
               [&lt;br /&gt;
                   {&lt;br /&gt;
                       &amp;quot;href&amp;quot;: &amp;quot;http://localhost:6545/accounts/test-ng-809027223/dedicatedServers/test-ng-809027223-00000132ff10f8d8d63e8ce6000ac648/ipAddresses/200.200.200.13&amp;quot;,&lt;br /&gt;
                       &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
                   }&lt;br /&gt;
               ]&lt;br /&gt;
           },&lt;br /&gt;
           {&lt;br /&gt;
               &amp;quot;ipAddress&amp;quot;: &amp;quot;200.200.200.14&amp;quot;,&lt;br /&gt;
               &amp;quot;links&amp;quot;:&lt;br /&gt;
               [&lt;br /&gt;
                   {&lt;br /&gt;
                       &amp;quot;href&amp;quot;: &amp;quot;http://localhost:6545/accounts/test-ng-809027223/dedicatedServers/test-ng-809027223-00000132ff10f8d8d63e8ce6000ac648/ipAddresses/200.200.200.14&amp;quot;,&lt;br /&gt;
                       &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
                   }&lt;br /&gt;
               ]&lt;br /&gt;
           }&lt;br /&gt;
       ]&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server API]]&lt;/div&gt;</summary>
		<author><name>Viktor.penkov</name></author>	</entry>

	</feed>