<?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/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mitko.georgiev</id>
		<title>Hostway API Documentation - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mitko.georgiev"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Special:Contributions/Mitko.georgiev"/>
		<updated>2026-04-23T01:27:40Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://docs.hostway.com/index.php/Monitoring/Checks_History</id>
		<title>Monitoring/Checks History</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Monitoring/Checks_History"/>
				<updated>2015-05-13T13:18:24Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;='''GET''' /accounts/'''account_id'''/dedicatedServers/'''dedicated_server_id'''/ipAddresses/'''ip_address/monitoring/events=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Get history checks/events/ list&lt;br /&gt;
&lt;br /&gt;
== Result ==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;events&amp;quot; : [ {&lt;br /&gt;
    &amp;quot;status&amp;quot; : &amp;quot;OK&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot; : &amp;quot;HTTP&amp;quot;,&lt;br /&gt;
    &amp;quot;timestamp&amp;quot; : 1349962341,&lt;br /&gt;
    &amp;quot;id&amp;quot; : 6499684,&lt;br /&gt;
    &amp;quot;type&amp;quot; : &amp;quot;TCP&amp;quot;,&lt;br /&gt;
    &amp;quot;port&amp;quot; : 80,&lt;br /&gt;
    &amp;quot;name&amp;quot; : &amp;quot;HTTP&amp;quot;&lt;br /&gt;
  }, {&lt;br /&gt;
    &amp;quot;status&amp;quot; : &amp;quot;ERROR&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot; : &amp;quot;HTTP&amp;quot;,&lt;br /&gt;
    &amp;quot;timestamp&amp;quot; : 1349962332,&lt;br /&gt;
    &amp;quot;id&amp;quot; : 6499683,&lt;br /&gt;
    &amp;quot;type&amp;quot; : &amp;quot;TCP&amp;quot;,&lt;br /&gt;
    &amp;quot;port&amp;quot; : 80,&lt;br /&gt;
    &amp;quot;name&amp;quot; : &amp;quot;HTTP&amp;quot;&lt;br /&gt;
  }, {&lt;br /&gt;
    &amp;quot;status&amp;quot; : &amp;quot;ERROR&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot; : &amp;quot;PING&amp;quot;,&lt;br /&gt;
    &amp;quot;timestamp&amp;quot; : 1349962325,&lt;br /&gt;
    &amp;quot;id&amp;quot; : 6499682,&lt;br /&gt;
    &amp;quot;type&amp;quot; : &amp;quot;PING&amp;quot;,&lt;br /&gt;
    &amp;quot;port&amp;quot; : 0,&lt;br /&gt;
    &amp;quot;name&amp;quot; : &amp;quot;PING&amp;quot;&lt;br /&gt;
  }, {&lt;br /&gt;
    &amp;quot;status&amp;quot; : &amp;quot;OK&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot; : &amp;quot;PING&amp;quot;,&lt;br /&gt;
    &amp;quot;timestamp&amp;quot; : 1349962317,&lt;br /&gt;
    &amp;quot;id&amp;quot; : 6499681,&lt;br /&gt;
    &amp;quot;type&amp;quot; : &amp;quot;PING&amp;quot;,&lt;br /&gt;
    &amp;quot;port&amp;quot; : 0,&lt;br /&gt;
    &amp;quot;name&amp;quot; : &amp;quot;PING&amp;quot;&lt;br /&gt;
  }, {&lt;br /&gt;
    &amp;quot;status&amp;quot; : &amp;quot;OK&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot; : &amp;quot;HTTP&amp;quot;,&lt;br /&gt;
    &amp;quot;timestamp&amp;quot; : 1349962308,&lt;br /&gt;
    &amp;quot;id&amp;quot; : 6499680,&lt;br /&gt;
    &amp;quot;type&amp;quot; : &amp;quot;TCP&amp;quot;,&lt;br /&gt;
    &amp;quot;port&amp;quot; : 80,&lt;br /&gt;
    &amp;quot;name&amp;quot; : &amp;quot;HTTP&amp;quot;&lt;br /&gt;
  }, {&lt;br /&gt;
    &amp;quot;status&amp;quot; : &amp;quot;ERROR&amp;quot;,&lt;br /&gt;
    &amp;quot;description&amp;quot; : &amp;quot;HTTP&amp;quot;,&lt;br /&gt;
    &amp;quot;timestamp&amp;quot; : 1349962297,&lt;br /&gt;
    &amp;quot;id&amp;quot; : 6499679,&lt;br /&gt;
    &amp;quot;type&amp;quot; : &amp;quot;TCP&amp;quot;,&lt;br /&gt;
    &amp;quot;port&amp;quot; : 80,&lt;br /&gt;
    &amp;quot;name&amp;quot; : &amp;quot;HTTP&amp;quot;&lt;br /&gt;
  } ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''OK (200)''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''Unauthorized (401)'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''No Permission (403)''&lt;br /&gt;
: ''Not Found (404)'' : The resource requested is not found. Returned when either of account_id, dedicated_server_id or ip_address parameters do not exist.&lt;br /&gt;
&lt;br /&gt;
== Examples(errors) ==&lt;br /&gt;
'''GET''' /accounts/&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_account_id&amp;lt;/span&amp;gt;/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/events&lt;br /&gt;
&lt;br /&gt;
''- Response:''&lt;br /&gt;
:''Not Found (404)'': &lt;br /&gt;
 {&amp;quot;itemNotFound&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;/accounts/fake_account_id/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/events&amp;quot;, &amp;quot;code&amp;quot;: 404, &amp;quot;details&amp;quot;: &amp;quot;&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
'''GET''' /accounts/account_id_123/dedicatedServers/&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_dedicated_server_id&amp;lt;/span&amp;gt;/ipAddresses/11.22.33.44/monitoring/events&lt;br /&gt;
&lt;br /&gt;
''- Response:''&lt;br /&gt;
:''Not Found (404)'': &lt;br /&gt;
 {&amp;quot;itemNotFound&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;/accounts/account_id_123/dedicatedServers/fake_dedicated_server_id/ipAddresses/11.22.33.44/monitoring/events&amp;quot;, &amp;quot;code&amp;quot;: 404, &amp;quot;details&amp;quot;: &amp;quot;&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
'''GET''' /accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;99.99.99.99&amp;lt;/span&amp;gt;/monitoring/events&lt;br /&gt;
&lt;br /&gt;
''- Response:''&lt;br /&gt;
:''Not Found (404)'': &lt;br /&gt;
 {&amp;quot;itemNotFound&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;/accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/99.99.99.99/monitoring/events&amp;quot;, &amp;quot;code&amp;quot;: 404, &amp;quot;details&amp;quot;: &amp;quot;&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Monitoring/Process</id>
		<title>Monitoring/Process</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Monitoring/Process"/>
				<updated>2015-05-13T13:17:52Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
='''POST''' /accounts/'''account_number'''/dedicatedServers/'''dedicated_server_id'''/ipAddresses/'''ip_address'''/monitoring/process=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Create a Process check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account_number - ''string''&lt;br /&gt;
; dedicated_server_id - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;enabled&amp;quot;: true, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: false&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;, &lt;br /&gt;
         &amp;quot;maxProcess&amp;quot; : 10&lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.checkProcessType - ''int''&lt;br /&gt;
: The type of process monitoring check&lt;br /&gt;
; options.maxProcess - ''int''&lt;br /&gt;
: The maximum threshold number of processes&lt;br /&gt;
&lt;br /&gt;
== Response==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
	&amp;quot;type&amp;quot;: &amp;quot;process&amp;quot;,&lt;br /&gt;
	&amp;quot;options&amp;quot;: {&lt;br /&gt;
		&amp;quot;processName&amp;quot;: null,&lt;br /&gt;
		&amp;quot;maxProcess&amp;quot;: 10,&lt;br /&gt;
		&amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;check&amp;quot;: {&lt;br /&gt;
		&amp;quot;status&amp;quot;: &amp;quot;UNKNOWN&amp;quot;,&lt;br /&gt;
		&amp;quot;lastCheck&amp;quot;: 0,&lt;br /&gt;
		&amp;quot;enabledAlert&amp;quot;: false,&lt;br /&gt;
		&amp;quot;enabled&amp;quot;: true,&lt;br /&gt;
		&amp;quot;id&amp;quot;: 19&lt;br /&gt;
	}&lt;br /&gt;
   },&lt;br /&gt;
   &amp;quot;links&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_number/dedicatedServers/dedicated_server_id/ipAddresses/ip_address/monitoring/process/19&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: process&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the process check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last process check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.processName - ''string''&lt;br /&gt;
: The name of the monitored process&lt;br /&gt;
; options.maxProcess - ''int''&lt;br /&gt;
: The threshold count for this monitoring check&lt;br /&gt;
; options.checkProcessType - ''string''&lt;br /&gt;
: The type of process check&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 201 Created''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 400 Bad Request'': There was an error in the request the client sent&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden'' : You don't have permissions to access the resource&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
: ''HTTP/1.1 409 Conflict'' : Only one process check for Dedicated Server per IP is allowed&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''Successfully create a process check'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;, &amp;quot;maxProcess&amp;quot; : 10 }}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 201 Created&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
	&amp;quot;type&amp;quot;: &amp;quot;process&amp;quot;,&lt;br /&gt;
	&amp;quot;options&amp;quot;: {&lt;br /&gt;
		&amp;quot;processName&amp;quot;: null,&lt;br /&gt;
		&amp;quot;maxProcess&amp;quot;: 10,&lt;br /&gt;
		&amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;check&amp;quot;: {&lt;br /&gt;
		&amp;quot;status&amp;quot;: &amp;quot;UNKNOWN&amp;quot;,&lt;br /&gt;
		&amp;quot;lastCheck&amp;quot;: 0,&lt;br /&gt;
		&amp;quot;enabledAlert&amp;quot;: false,&lt;br /&gt;
		&amp;quot;enabled&amp;quot;: true,&lt;br /&gt;
		&amp;quot;id&amp;quot;: 19&lt;br /&gt;
	}&lt;br /&gt;
   },&lt;br /&gt;
   &amp;quot;links&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_number/dedicatedServers/dedicated_server_id/ipAddresses/ip_address/monitoring/process/19&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Bad request - missing options in the request body'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: false, &amp;quot;enabledAlert&amp;quot;: false}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 400 Bad Request&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.options&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Request to create process check for a missing dedicated server or IP address'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_server&amp;lt;/span&amp;gt;}/ipAddresses/{ip_address}/monitoring/process&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_ip&amp;lt;/span&amp;gt;}/monitoring/process&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;, &amp;quot;maxProcess&amp;quot; : 10}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Add an already existing process check'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;, &amp;quot;maxProcess&amp;quot; : 10}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 409 Conflict&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
='''GET''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/process/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Get process check details&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the process check.&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;processName&amp;quot;: null,&lt;br /&gt;
	 &amp;quot;maxProcess&amp;quot;: 10,&lt;br /&gt;
	 &amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;&lt;br /&gt;
      },&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server_id}/ipAddresses/{ip_address}/monitoring/process/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: process&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the process check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last process check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.processName - ''string''&lt;br /&gt;
: The name of monitored process&lt;br /&gt;
; options.maxProcess - ''int''&lt;br /&gt;
: The threshold count for this monitoring check&lt;br /&gt;
; options.checkProcessType - ''string''&lt;br /&gt;
: The type of process check&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 200 Ok''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden'' : You don't have permissions to access the resource&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''View process check details'''&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/19&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 200 Ok&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;process&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;processName&amp;quot;: null,&lt;br /&gt;
	 &amp;quot;maxProcess&amp;quot;: 10,&lt;br /&gt;
	 &amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: &amp;quot;UNKNOWN&amp;quot;,&lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: 0,&lt;br /&gt;
	 &amp;quot;enabledAlert&amp;quot;: false,&lt;br /&gt;
	 &amp;quot;enabled&amp;quot;: true,&lt;br /&gt;
	 &amp;quot;id&amp;quot;: 19&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/19&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Access a non-existing process check'''&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/9999&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Request a check for missing server or IP addresss'''&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_server&amp;lt;/span&amp;gt;}/ipAddresses/{ip_address}/monitoring/process/19&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_ip&amp;lt;/span&amp;gt;}/monitoring/process/19&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
='''PUT''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/process/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Update process monitoring check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the process check.&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
            &amp;quot;enabledAlert&amp;quot;: {enabled_alert}&lt;br /&gt;
         }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;,&lt;br /&gt;
         &amp;quot;maxProcess&amp;quot; : 5 &lt;br /&gt;
      },&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.maxProcess - ''int''&lt;br /&gt;
: The threshold count for this monitoring check&lt;br /&gt;
; options.checkProcessType - ''string''&lt;br /&gt;
: The type of process check&lt;br /&gt;
&lt;br /&gt;
== Response==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;,&lt;br /&gt;
         &amp;quot;maxProcess&amp;quot; : 5&lt;br /&gt;
      },&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: process&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the process check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last process check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.maxProcess - ''int''&lt;br /&gt;
: The threshold count for this monitoring check&lt;br /&gt;
; options.checkProcessType - ''string''&lt;br /&gt;
: The type of process check&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 200 Ok''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 400 Bad Request''&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden''&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''Update existing process check'''&lt;br /&gt;
:'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/19&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;checkProcessType&amp;quot; : &amp;quot;COUNT&amp;quot;, &amp;quot;maxProcess&amp;quot; : 5}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 200 Ok&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;process&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;processName&amp;quot;: null,&lt;br /&gt;
         &amp;quot;maxProcess&amp;quot;: 5,&lt;br /&gt;
         &amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: &amp;quot;UNKNOWN&amp;quot;, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: 0, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: false, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: true, &lt;br /&gt;
         &amp;quot;id&amp;quot;: 19&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/19&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Bad request - update a process check with wrong request data'''&lt;br /&gt;
:'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/19&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;options&amp;quot;: {&amp;quot;maxProcess&amp;quot;: 5, &amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 400 Bad Request&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.check&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Try to update a missing process check resource'''&lt;br /&gt;
:'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/9999&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;maxProcess&amp;quot;: 5, &amp;quot;checkProcessType&amp;quot;: &amp;quot;COUNT&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
='''DELETE''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/process/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Delete process check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the process check.&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success deleting the resource&lt;br /&gt;
: ''HTTP/1.1 204 No Content''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden''&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''Successfully delete a process check'''&lt;br /&gt;
:'''DELETE''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/19&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 204 No Content&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Request to delete a missing process check resource'''&lt;br /&gt;
:'''DELETE''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/process/9999&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Monitoring/Disk</id>
		<title>Monitoring/Disk</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Monitoring/Disk"/>
				<updated>2015-05-13T13:17:08Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;='''POST''' /accounts/'''account_number'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/disk=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Creates Disk check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account_number - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 {&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;enabled&amp;quot;: true,&lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: false         &lt;br /&gt;
      },&lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeSpace&amp;quot;: 10, &lt;br /&gt;
         &amp;quot;partition&amp;quot;: &amp;quot;/&amp;quot;&lt;br /&gt;
      }      &lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.freeSpace - ''int''&lt;br /&gt;
: The disk space usage limit for check alerts&lt;br /&gt;
; options.partition - ''string''&lt;br /&gt;
: The partition identifier&lt;br /&gt;
&lt;br /&gt;
== Response==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;disk&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeSpace&amp;quot;: 10, &lt;br /&gt;
         &amp;quot;partition&amp;quot;: &amp;quot;/&amp;quot;&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
     {&lt;br /&gt;
       &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_id}/dedicatedServers/{dedicated_server_id}/ipAddresses/{ip_address}/monitoring/disk/{id}&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;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: disk&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the disk check - possible values: null, OK, Warning, Critical, Unknown&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last disk check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.freeSpace - ''int''&lt;br /&gt;
: The disk space usage limit for check alerts&lt;br /&gt;
; options.partition - ''string''&lt;br /&gt;
: The partition identifier&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 201 Created''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 400 Bad Request'': There was an error in the request the client sent&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden'' : You don't have permissions to access the resource&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
: ''HTTP/1.1 409 Conflict'' : Only one disk check for Dedicated Server per IP is allowed&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''Successfully create a disk check'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;freeSpace&amp;quot; : 10, &amp;quot;partition&amp;quot; : &amp;quot;/&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 201 Created&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;disk&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeSpace&amp;quot;: 10,&lt;br /&gt;
         &amp;quot;partition&amp;quot;: &amp;quot;/&amp;quot; &lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: null, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: null, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: false, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: true, &lt;br /&gt;
         &amp;quot;id&amp;quot;: 17&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk/17&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;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Bad request - missing options in the request body'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: false, &amp;quot;enabledAlert&amp;quot;: false}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 400 Bad Request&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.options&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Request to create disk check for a missing dedicated server or IP address'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_server&amp;lt;/span&amp;gt;}/ipAddresses/{ip_address}/monitoring/disk&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_ip&amp;lt;/span&amp;gt;}/monitoring/disk&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;freeSpace&amp;quot; : 10, &amp;quot;partition&amp;quot; : &amp;quot;/&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Add an existing disk check'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;freeSpace&amp;quot; : 10, &amp;quot;partition&amp;quot; : &amp;quot;/&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 409 Conflict&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
='''GET''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/disk/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Get disk check details&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the disk check.&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: disk, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeSpace&amp;quot;: 10, &lt;br /&gt;
         &amp;quot;partition&amp;quot;: &amp;quot;/&amp;quot; &lt;br /&gt;
      },&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: 17&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk/{id}&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;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: disk&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the disk check - possible values: null, OK, Warning, Critical, Unknown&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last disk check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.freeSpace - ''int''&lt;br /&gt;
: The disk space usage limit for check alerts&lt;br /&gt;
; options.partition - ''string''&lt;br /&gt;
: The partition used for check&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 200 OK''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden'' : You don't have permissions to access the resource&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''View disk check details'''&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk/17&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 200 OK&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;disk&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeSpace&amp;quot;: 10, &lt;br /&gt;
         &amp;quot;partition&amp;quot;: &amp;quot;/&amp;quot; &lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: null, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: null, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: false, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: true, &lt;br /&gt;
         &amp;quot;id&amp;quot;: 17&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk/17&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;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Access a non-existing disk check'''&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk/0000&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Request a check for missing server or IP addresss'''&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_server&amp;lt;/span&amp;gt;}/ipAddresses/{ip_address}/monitoring/disk/17&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_ip&amp;lt;/span&amp;gt;}/monitoring/disk/17&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
='''PUT''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/disk/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Update disk check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the disk check.&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
            &amp;quot;enabledAlert&amp;quot;: {enabled_alert}&lt;br /&gt;
         }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeSpace&amp;quot; : 15, &lt;br /&gt;
         &amp;quot;partition&amp;quot; : &amp;quot;/&amp;quot;&lt;br /&gt;
      },&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.freeSpace - ''int''&lt;br /&gt;
: The disk space usage limit for check alerts&lt;br /&gt;
; options.partition - ''string''&lt;br /&gt;
: The disk partition identifier&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeSpace&amp;quot;: 15, &lt;br /&gt;
         &amp;quot;partition&amp;quot;: &amp;quot;/&amp;quot;&lt;br /&gt;
      },&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabledAlert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk/{id}&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;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: disk&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the disk check - possible values: null, OK, Warning, Critical, Unknown&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last disk check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.freeSpace - ''int''&lt;br /&gt;
: The disk space usage limit for check alerts&lt;br /&gt;
; options.partition - ''string''&lt;br /&gt;
: The disk partition identifier&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 200 Ok''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 400 Bad Request''&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden''&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''Update existing disk check'''&lt;br /&gt;
:'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk/17&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;freeSpace&amp;quot;: 15, &amp;quot;partition&amp;quot;: &amp;quot;/&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 200 OK&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;disk&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeSpace&amp;quot;: 15, &lt;br /&gt;
         &amp;quot;partition&amp;quot;: &amp;quot;/&amp;quot; &lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: null, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: 1334148166, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: false, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: true, &lt;br /&gt;
         &amp;quot;id&amp;quot;: 17&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk/17&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;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Bad request - update a disk check with wrong request data'''&lt;br /&gt;
:'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk/17&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;options&amp;quot;: {&amp;quot;freeSpace&amp;quot; : 15, &amp;quot;partition&amp;quot; : &amp;quot;/&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 400 Bad Request&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.check&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Try to update a missing disk check resource'''&lt;br /&gt;
:'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk/000&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;freeSpace&amp;quot; : 15, &amp;quot;partition&amp;quot; : &amp;quot;/&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
='''DELETE''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/disk/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Delete disk check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the disk check.&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success deleting the resource&lt;br /&gt;
: ''HTTP/1.1 204 No Content''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden''&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''Successfully delete a disk check'''&lt;br /&gt;
:'''DELETE''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk/17&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 204 No Content&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Request to delete a missing disk check resource'''&lt;br /&gt;
:'''DELETE''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/disk/000&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Monitoring/Memory</id>
		<title>Monitoring/Memory</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Monitoring/Memory"/>
				<updated>2015-05-13T13:16:23Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
='''POST''' /accounts/'''account_number'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/memory=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Create Memory check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
            &amp;quot;enabledAlert&amp;quot;: {enabled_alert}&lt;br /&gt;
         }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeMemory&amp;quot;: 1024,&lt;br /&gt;
         &amp;quot;freeSwap&amp;quot;: 2048 &lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.freeMemory - ''int''&lt;br /&gt;
: The memory usage limit for check alerts&lt;br /&gt;
; options.freeSwap - ''int''&lt;br /&gt;
: The swap file usage limit for check alerts&lt;br /&gt;
&lt;br /&gt;
== Response==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;memory&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeMemory&amp;quot;: 1024,&lt;br /&gt;
         &amp;quot;freeSwap&amp;quot;: 2048 &lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: memory&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the memory check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last memory check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.freeMemory - ''int''&lt;br /&gt;
: The memory usage limit for check alerts&lt;br /&gt;
; options.freeSwap - ''int''&lt;br /&gt;
: The swap file usage limit for check alerts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 201 Created''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 400 Bad Request'': There was an error in the request the client sent&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden'' : You don't have permissions to access the resource&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
: ''HTTP/1.1 409 Conflict'' : Only one memory check for Dedicated Server per IP is allowed&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''Successfully create a memory check'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: false, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;freeMemory&amp;quot;: 1024, &amp;quot;freeSwap&amp;quot;: 1024}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 201 Created&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;memory&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeMemory&amp;quot;: 1024,&lt;br /&gt;
         &amp;quot;freeSwap&amp;quot;: 1024 &lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: null, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: null, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: false, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: true, &lt;br /&gt;
         &amp;quot;id&amp;quot;: 16&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/16&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Bad request - missing options in the request body'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: false, &amp;quot;enabledAlert&amp;quot;: false}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 400 Bad Request&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.options&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Request to create memory check for a missing dedicated server or IP address'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_server&amp;lt;/span&amp;gt;}/ipAddresses/{ip_address}/monitoring/memory&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_ip&amp;lt;/span&amp;gt;}/monitoring/memory&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;freeMemory&amp;quot;: 1024, &amp;quot;freeSwap&amp;quot;: 1024}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Add an existing memory check'''&lt;br /&gt;
:'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;freeMemory&amp;quot;: 1024, &amp;quot;freeSwap&amp;quot;: 1024}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 409 Conflict&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
='''GET''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/memory/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Get memory check details&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the memory check.&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeMemory&amp;quot;: 1024,&lt;br /&gt;
         &amp;quot;freeSwap&amp;quot;: 2048 &lt;br /&gt;
      },&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: memory&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the memory check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last memory check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.freeMemory - ''int''&lt;br /&gt;
: The memory usage limit for check alerts&lt;br /&gt;
; options.freeSwap - ''int''&lt;br /&gt;
: The swap file usage limit for check alerts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 200 Ok''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden'' : You don't have permissions to access the resource&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''View memory check details'''&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/16&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 200 Ok&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;memory&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeMemory&amp;quot;: 1024,&lt;br /&gt;
         &amp;quot;freeSwap&amp;quot;: 1024 &lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: null, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: null, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: false, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: true, &lt;br /&gt;
         &amp;quot;id&amp;quot;: 16&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/16&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Access a non-existing memory check'''&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/9999&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Request a check for missing server or IP addresss'''&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_server&amp;lt;/span&amp;gt;}/ipAddresses/{ip_address}/monitoring/memory/16&lt;br /&gt;
:'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_ip&amp;lt;/span&amp;gt;}/monitoring/memory/16&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
='''PUT''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/memory/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Update memory check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the memory check.&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
            &amp;quot;enabledAlert&amp;quot;: {enabled_alert}&lt;br /&gt;
         }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeMemory&amp;quot;: 1024,&lt;br /&gt;
         &amp;quot;freeSwap&amp;quot;: 2048 &lt;br /&gt;
      },&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.freeMemory - ''int''&lt;br /&gt;
: The memory usage limit for check alerts&lt;br /&gt;
; options.freeSwap - ''int''&lt;br /&gt;
: The swap file usage limit for check alerts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeMemory&amp;quot;: 1024,&lt;br /&gt;
         &amp;quot;freeSwap&amp;quot;: 2048 &lt;br /&gt;
      },&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: memory&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the memory check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last memory check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.freeMemory - ''int''&lt;br /&gt;
: The memory usage limit for check alerts&lt;br /&gt;
; options.freeSwap - ''int''&lt;br /&gt;
: The swap file usage limit for check alerts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 200 Ok''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 400 Bad Request''&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden''&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''Update existing memory check''''&lt;br /&gt;
:'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/16&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;freeMemory&amp;quot;: 2048, &amp;quot;freeSwap&amp;quot;: 2048}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 200 Ok&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;memory&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;freeMemory&amp;quot;: 2048,&lt;br /&gt;
         &amp;quot;freeSwap&amp;quot;: 2048 &lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: ERROR, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: 1334148166, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: false, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: true, &lt;br /&gt;
         &amp;quot;id&amp;quot;: 16&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/16&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Bad request - update a memory check with wrong request data'''&lt;br /&gt;
:'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/16&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;options&amp;quot;: {&amp;quot;freeMemory&amp;quot;: 1024, &amp;quot;freeSwap&amp;quot;: 1024}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 400 Bad Request&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Response Body:''&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.check&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Try to update a missing memory check resource'''&lt;br /&gt;
:'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/9999&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;freeMemory&amp;quot;: 1024, &amp;quot;freeSwap&amp;quot;: 1024}}}&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
='''DELETE''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/memory/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Delete memory check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the memory check.&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success deleting the resource&lt;br /&gt;
: ''HTTP/1.1 204 No Content''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden''&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''Successfully delete a memory check'''&lt;br /&gt;
:'''DELETE''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/16&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 204 No Content&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Request to delete a missing memory check resource'''&lt;br /&gt;
:'''DELETE''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/memory/9999&lt;br /&gt;
&lt;br /&gt;
''Response Code:''&lt;br /&gt;
&amp;lt;pre&amp;gt;HTTP/1.1 404 Not Found&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Monitoring/CPU</id>
		<title>Monitoring/CPU</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Monitoring/CPU"/>
				<updated>2015-05-13T13:15:27Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;='''POST''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/cpu=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Create CPU check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
            &amp;quot;enabledAlert&amp;quot;: {enabled_alert}&lt;br /&gt;
         }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;maxLoad&amp;quot;: {max_load}&lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.maxLoad - ''number''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Result==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;maxLoad&amp;quot;: {max_load}&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: cpu&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the cpu check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last cpu check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.maxLoad - ''int''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 201 Created''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 400 Bad Request'': There was an error in the request the client sent&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden'' : You don't have permissions to access the resource&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
: ''HTTP/1.1 409 Conflict'' : Only one memory check for Dedicated Server per IP is allowed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot; : {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;maxLoad&amp;quot;: 1.0}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''HTTP/1.1 201 Created'': &lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;type&amp;quot;: &amp;quot;cpu&amp;quot;, &amp;quot;options&amp;quot;: {&amp;quot;maxLoad&amp;quot;: 1.0}, &amp;quot;check&amp;quot;: {&amp;quot;status&amp;quot;: null, &amp;quot;lastCheck&amp;quot;: null, &amp;quot;enabledAlert&amp;quot;: false, &amp;quot;enabled&amp;quot;: true, &amp;quot;id&amp;quot;: 18}}, &amp;quot;links&amp;quot;: [{&amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/18&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;}]}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot; : {&amp;quot;check&amp;quot;: {&amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;maxLoad&amp;quot;: 1.0}}}&lt;br /&gt;
''Response:''&lt;br /&gt;
: ''HTTP/1.1 400 Bad Request'':&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.check.enabled&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/abc/ipAddresses/{ip_address}/monitoring/cpu&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot; : {&amp;quot;check&amp;quot;: {&amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;maxLoad&amp;quot;: 1.0}}}&lt;br /&gt;
''Response:''&lt;br /&gt;
:''HTTP/1.1 404 Not Found''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''POST''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot; : {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false }, &amp;quot;options&amp;quot;: {&amp;quot;maxLoad&amp;quot;: 1.0}}}&lt;br /&gt;
''Response:''&lt;br /&gt;
:''HTTP/1.1 409 Conflict''&lt;br /&gt;
&lt;br /&gt;
='''GET''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/cpu/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Get CPU check details&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the cpu check.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Result ==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;maxLoad&amp;quot;: {max_load}&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: cpu&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the cpu check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last cpu check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.maxLoad - ''number''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 200 Ok''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden'' : You don't have permissions to access the resource&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/18&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''HTTP/1.1 200 Ok'': &lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;type&amp;quot;: &amp;quot;cpu&amp;quot;, &amp;quot;options&amp;quot;: {&amp;quot;maxLoad&amp;quot;: 1.0}, &amp;quot;check&amp;quot;: {&amp;quot;status&amp;quot;: null, &amp;quot;lastCheck&amp;quot;: null, &amp;quot;enabledAlert&amp;quot;: false, &amp;quot;enabled&amp;quot;: true, &amp;quot;id&amp;quot;: 18}}, &amp;quot;links&amp;quot;: [{&amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/18/&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;}]}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/9999&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''HTTP/1.1 404 Not Found''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''GET''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/abc/ipAddresses/{ip_address}/monitoring/cpu/18&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''HTTP/1.1 404 Not Found''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
='''PUT''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/cpu/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Update CPU check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the cpu check.&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
            &amp;quot;enabledAlert&amp;quot;: {enabled_alert}&lt;br /&gt;
         }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;maxLoad&amp;quot;: {max_load} &lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.maxLoad - ''int''&lt;br /&gt;
&lt;br /&gt;
== Result==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;maxLoad&amp;quot;: {max_load}&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: cpu&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the cpu check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last cpu check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.maxLoad - ''int''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''HTTP/1.1 200 Ok''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 400 Bad Request''&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden''&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/18&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot; : {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;maxLoad&amp;quot;: 0.5}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''HTTP/1.1 200 Ok'': &lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;type&amp;quot;: &amp;quot;cpu&amp;quot;, &amp;quot;options&amp;quot;: {&amp;quot;maxLoad&amp;quot;: 0.5}, &amp;quot;check&amp;quot;: {&amp;quot;status&amp;quot;: null, &amp;quot;lastCheck&amp;quot;: null, &amp;quot;enabledAlert&amp;quot;: false, &amp;quot;enabled&amp;quot;: true, &amp;quot;id&amp;quot;: 18}}, &amp;quot;links&amp;quot;: [{&amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/18/&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;}]}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/18&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;options&amp;quot;: {&amp;quot;maxLoad&amp;quot;: 0.5}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
: ''HTTP/1.1 400 Bad Request'':&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.check&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''PUT''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/9999&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: false, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;maxLoad&amp;quot;: 0.5}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''HTTP/1.1 404 Not Found''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
='''DELETE''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/cpu/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Delete CPU check&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the cpu check.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success deleting the resource&lt;br /&gt;
: ''HTTP/1.1 204 No Content''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''HTTP/1.1 401 Unauthorized'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''HTTP/1.1 403 Forbidden''&lt;br /&gt;
: ''HTTP/1.1 404 Not Found'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''DELETE''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/18&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''HTTP/1.1 204 No Content''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DELETE''' http(s)://{api_server}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/cpu/9999&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''HTTP/1.1 404 Not Found''&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Monitoring/Port</id>
		<title>Monitoring/Port</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Monitoring/Port"/>
				<updated>2015-05-13T13:14:33Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;='''POST''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/port=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Create PORT check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
            &amp;quot;enabledAlert&amp;quot;: {enabled_alert}&lt;br /&gt;
         }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;port&amp;quot;: {port} &lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.port- ''int''&lt;br /&gt;
&lt;br /&gt;
== Result==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;port&amp;quot;: {port}&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: port&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the port check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last port check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.port - ''int''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''Created (201)''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''Bad Request (400)''&lt;br /&gt;
: ''Unauthorized (401)'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''No Permission (403)''&lt;br /&gt;
: ''Not Found (404)'' : The resource requested is not found.&lt;br /&gt;
: ''Conflict (409)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''POST {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot; : {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false }, &amp;quot;options&amp;quot;: {&amp;quot;port&amp;quot;: 8981}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Created (201)'': &lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;type&amp;quot;: &amp;quot;port&amp;quot;, &amp;quot;options&amp;quot;: {&amp;quot;port&amp;quot;: 8981}, &amp;quot;check&amp;quot;: {&amp;quot;status&amp;quot;: null, &amp;quot;lastCheck&amp;quot;: null, &amp;quot;enabledAlert&amp;quot;: false, &amp;quot;enabled&amp;quot;: true, &amp;quot;id&amp;quot;: 42}}, &amp;quot;links&amp;quot;: [{&amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/42&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;}]}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''POST {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot; : {&amp;quot;check&amp;quot;: {&amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;port&amp;quot;: 8981}}}&lt;br /&gt;
''Response:''&lt;br /&gt;
: ''Bad Request (400)'':&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.check.enabled&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''POST {server_name}/accounts/{account_number}/dedicatedServers/abc/ipAddresses/{ip_address}/monitoring/port'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot; : {&amp;quot;check&amp;quot;: {&amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;port&amp;quot;: 8080}}}&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Not Found (404)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''POST {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot; : {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false }, &amp;quot;options&amp;quot;: {&amp;quot;port&amp;quot;: 8981}}}&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Conflict (409)''&lt;br /&gt;
&lt;br /&gt;
='''GET''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/port/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Get PORT check details&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the port check.&lt;br /&gt;
&lt;br /&gt;
== Result ==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;port&amp;quot;: {port}&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: port&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the port check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last port check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.port - ''int''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''OK (200)''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''Unauthorized (401)'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''No Permission (403)''&lt;br /&gt;
: ''Not Found (404)'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''GET {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/42'''&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''OK (200)'': &lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;type&amp;quot;: &amp;quot;port&amp;quot;, &amp;quot;options&amp;quot;: {&amp;quot;port&amp;quot;: 8981}, &amp;quot;check&amp;quot;: {&amp;quot;status&amp;quot;: null, &amp;quot;lastCheck&amp;quot;: null, &amp;quot;enabledAlert&amp;quot;: false, &amp;quot;enabled&amp;quot;: false, &amp;quot;id&amp;quot;: 42}}, &amp;quot;links&amp;quot;: [{&amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/42/&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;}]}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''GET {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/9999'''&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Not Found (404)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''GET {server_name}/accounts/{account_number}/dedicatedServers/abc/ipAddresses/{ip_address}/monitoring/port/42'''&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Not Found (404)''&lt;br /&gt;
&lt;br /&gt;
='''PUT''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/port/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Update PORT check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the port check.&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
            &amp;quot;enabledAlert&amp;quot;: {enabled_alert}&lt;br /&gt;
         }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;port&amp;quot;: {port} &lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.port - ''int''&lt;br /&gt;
&lt;br /&gt;
== Result==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;port&amp;quot;: {port}&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: port&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the port check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last port check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.port - ''int''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''OK (200)''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''Bad Request (400)''&lt;br /&gt;
: ''Unauthorized (401)'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''No Permission (403)''&lt;br /&gt;
: ''Not Found (404)'' : The resource requested is not found.&lt;br /&gt;
: ''Bad Gateway (502)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''PUT {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/42'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: false, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;port&amp;quot;: 8981}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''OK (200)'': &lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;type&amp;quot;: &amp;quot;port&amp;quot;, &amp;quot;options&amp;quot;: {&amp;quot;port&amp;quot;: 8981}, &amp;quot;check&amp;quot;: {&amp;quot;status&amp;quot;: null, &amp;quot;lastCheck&amp;quot;: null, &amp;quot;enabledAlert&amp;quot;: false, &amp;quot;enabled&amp;quot;: false, &amp;quot;id&amp;quot;: 42}}, &amp;quot;links&amp;quot;: [{&amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/42/&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;}]}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''PUT {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/42'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;options&amp;quot;: {&amp;quot;port&amp;quot;: 8981}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
: ''Bad Request (400)'':&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.check&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''PUT {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/9999'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: false, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;port&amp;quot;: 8981}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Not Found (404)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''PUT {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/42'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: false, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;port&amp;quot;: 8080}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Bad Gateway (502)''&lt;br /&gt;
&lt;br /&gt;
='''DELETE''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/port/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Delete PORT check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the port check.&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''No Content (204)''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''Unauthorized (401)'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''No Permission (403)''&lt;br /&gt;
: ''Not Found (404)'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''DELETE {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/42'''&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''No Content (204)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DELETE {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/port/9999'''&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Not Found (404)''&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Monitoring/Ping</id>
		<title>Monitoring/Ping</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Monitoring/Ping"/>
				<updated>2015-05-13T13:12:27Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;='''POST''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/ping=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Create PING check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
            &amp;quot;enabledAlert&amp;quot;: {enabled_alert}&lt;br /&gt;
         }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;count&amp;quot;: {count} &lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.count - ''int''&lt;br /&gt;
&lt;br /&gt;
== Result==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;count&amp;quot;: {count}&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: ping&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the ping check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last ping check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.count - ''int''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''Created (201)''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''Bad Request (400)''&lt;br /&gt;
: ''Unauthorized (401)'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''No Permission (403)''&lt;br /&gt;
: ''Not Found (404)'' : The resource requested is not found.&lt;br /&gt;
: ''Conflict (409)'' : Only one ping for Dedicated Server is allowed&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''POST {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: false, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;count&amp;quot;: 10}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Created (201)'': &lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;type&amp;quot;: &amp;quot;ping&amp;quot;, &amp;quot;options&amp;quot;: {&amp;quot;count&amp;quot;: 10}, &amp;quot;check&amp;quot;: {&amp;quot;status&amp;quot;: null, &amp;quot;lastCheck&amp;quot;: null, &amp;quot;enabledAlert&amp;quot;: false, &amp;quot;enabled&amp;quot;: false, &amp;quot;id&amp;quot;: 16}}, &amp;quot;links&amp;quot;: [{&amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/16&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;}]}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''POST {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: false, &amp;quot;enabledAlert&amp;quot;: false}}}&lt;br /&gt;
''Response:''&lt;br /&gt;
: ''Bad Request (400)'':&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.options&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''POST {server_name}/accounts/{account_number}/dedicatedServers/abc/ipAddresses/{ip_address}/monitoring/ping'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;count&amp;quot;: 10}}}&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Not Found (404)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''POST {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;count&amp;quot;: 10}}}&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Conflict (409)''&lt;br /&gt;
&lt;br /&gt;
='''GET''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/ping/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Get PING check details&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the ping check.&lt;br /&gt;
&lt;br /&gt;
== Result ==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;count&amp;quot;: {count}&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: ping&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the ping check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last ping check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.count - ''int''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''OK (200)''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''Unauthorized (401)'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''No Permission (403)''&lt;br /&gt;
: ''Not Found (404)'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''GET {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/16'''&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''OK (200)'': &lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;type&amp;quot;: &amp;quot;ping&amp;quot;, &amp;quot;options&amp;quot;: {&amp;quot;count&amp;quot;: 10}, &amp;quot;check&amp;quot;: {&amp;quot;status&amp;quot;: &amp;quot;ERROR&amp;quot;, &amp;quot;lastCheck&amp;quot;: 1334148166, &amp;quot;enabledAlert&amp;quot;: false, &amp;quot;enabled&amp;quot;: false, &amp;quot;id&amp;quot;: 16}}, &amp;quot;links&amp;quot;: [{&amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/16/&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;}]}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''GET {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/9999'''&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Not Found (404)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''GET {server_name}/accounts/{account_number}/dedicatedServers/abc/ipAddresses/{ip_address}/monitoring/ping/16'''&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Not Found (404)''&lt;br /&gt;
&lt;br /&gt;
='''PUT''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/ping/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Update PING check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the ping check.&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
            &amp;quot;enabledAlert&amp;quot;: {enabled_alert}&lt;br /&gt;
         }, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;count&amp;quot;: {count} &lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Enable the check&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Enable alerts&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.count - ''int''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Result==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;monitoring&amp;quot;: {&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{type}&amp;quot;, &lt;br /&gt;
      &amp;quot;options&amp;quot;: {&lt;br /&gt;
         &amp;quot;count&amp;quot;: {count}&lt;br /&gt;
      }, &lt;br /&gt;
      &amp;quot;check&amp;quot;: {&lt;br /&gt;
         &amp;quot;status&amp;quot;: {status}, &lt;br /&gt;
         &amp;quot;lastCheck&amp;quot;: {last_check}, &lt;br /&gt;
         &amp;quot;enabledAlert&amp;quot;: {enabled_alert}, &lt;br /&gt;
         &amp;quot;enabled&amp;quot;: {enabled}, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {id}&lt;br /&gt;
      }&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/{id}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====monitoring====&lt;br /&gt;
; type - ''string''&lt;br /&gt;
: ping&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
=====check=====&lt;br /&gt;
; check.id - ''string''&lt;br /&gt;
: Unique identifier for this check.&lt;br /&gt;
&lt;br /&gt;
; check.status&lt;br /&gt;
: Status of the ping check&lt;br /&gt;
&lt;br /&gt;
; check.lastCheck&lt;br /&gt;
: Time of last ping check&lt;br /&gt;
&lt;br /&gt;
; check.enabled - ''boolean''&lt;br /&gt;
: Is the check enabled&lt;br /&gt;
&lt;br /&gt;
; check.enabledAlert - ''boolean''&lt;br /&gt;
: Are alerts enabled&lt;br /&gt;
&lt;br /&gt;
=====options=====&lt;br /&gt;
; options.count - ''int''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''OK (200)''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''Bad Request (400)''&lt;br /&gt;
: ''Unauthorized (401)'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''No Permission (403)''&lt;br /&gt;
: ''Not Found (404)'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''PUT {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/16'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;count&amp;quot;: 3}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''OK (200)'': &lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;type&amp;quot;: &amp;quot;ping&amp;quot;, &amp;quot;options&amp;quot;: {&amp;quot;count&amp;quot;: 3}, &amp;quot;check&amp;quot;: {&amp;quot;status&amp;quot;: &amp;quot;ERROR&amp;quot;, &amp;quot;lastCheck&amp;quot;: 1334148166, &amp;quot;enabledAlert&amp;quot;: false, &amp;quot;enabled&amp;quot;: true, &amp;quot;id&amp;quot;: 16}}, &amp;quot;links&amp;quot;: [{&amp;quot;href&amp;quot;: &amp;quot;{server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/16/&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;}]}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''PUT {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/16'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;options&amp;quot;: {&amp;quot;count&amp;quot;: 3}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
: ''Bad Request (400)'':&lt;br /&gt;
 {&amp;quot;badRequest&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: {&amp;quot;monitoring.check&amp;quot;: &amp;quot;Required&amp;quot;}}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''PUT {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/9999'''&lt;br /&gt;
&lt;br /&gt;
''Request:''&lt;br /&gt;
 {&amp;quot;monitoring&amp;quot;: {&amp;quot;check&amp;quot;: {&amp;quot;enabled&amp;quot;: true, &amp;quot;enabledAlert&amp;quot;: false}, &amp;quot;options&amp;quot;: {&amp;quot;count&amp;quot;: 3}}}&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Not Found (404)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
='''DELETE''' /accounts/'''account'''/dedicatedServers/'''dedicated_server'''/ipAddresses/'''ip_address'''/monitoring/ping/'''id'''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Delete PING check&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account - ''string''&lt;br /&gt;
; dedicated_server - ''string''&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Id of the ping check.&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''No Content (204)''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''Unauthorized (401)'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''No Permission (403)''&lt;br /&gt;
: ''Not Found (404)'' : The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''DELETE {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/16'''&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''No Content (204)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DELETE {server_name}/accounts/{account_number}/dedicatedServers/{dedicated_server}/ipAddresses/{ip_address}/monitoring/ping/9999'''&lt;br /&gt;
&lt;br /&gt;
''Response:''&lt;br /&gt;
:''Not Found (404)''&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Monitoring/Checks</id>
		<title>Monitoring/Checks</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Monitoring/Checks"/>
				<updated>2015-05-13T13:10:19Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;='''GET''' /accounts/'''account_id'''/dedicatedServers/'''dedicated_server_id'''/ipAddresses/'''ip_address/monitoring/checks=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Get list of active Monitoring checks&lt;br /&gt;
&lt;br /&gt;
== Result ==&lt;br /&gt;
=== JSON ===&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;
            &amp;quot;status&amp;quot;: &amp;quot;ok&amp;quot;,&lt;br /&gt;
            &amp;quot;lastCheck&amp;quot;: 0,&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: true,&lt;br /&gt;
            &amp;quot;details&amp;quot;: &amp;quot;http://{server-name}/accounts/{accountId}/dedicatedServers/{dedicatedServerId}/ipAddresses/{ipAddress}/monitoring/port/{checkId}&amp;quot;&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;status&amp;quot;: &amp;quot;error&amp;quot;,&lt;br /&gt;
            &amp;quot;lastCheck&amp;quot;: 0,&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: true,&lt;br /&gt;
            &amp;quot;details&amp;quot;: &amp;quot;http://{server-name}/accounts/{accountId}/dedicatedServers/{dedicatedServerId}/ipAddresses/{ipAddress}/monitoring/ping/{checkId}&amp;quot;&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;status&amp;quot;: &amp;quot;unknown&amp;quot;,&lt;br /&gt;
            &amp;quot;lastCheck&amp;quot;: 0,&lt;br /&gt;
            &amp;quot;enabled&amp;quot;: true,&lt;br /&gt;
            &amp;quot;details&amp;quot;: &amp;quot;http://{server-name}/accounts/{accountId}/dedicatedServers/{dedicatedServerId}/ipAddresses/{ipAddress}/monitoring/cpu/{checkId}&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
    ], &lt;br /&gt;
    &amp;quot;links&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/{accountId}/dedicatedServers/{dedicatedServerId}/ipAddresses/{ipAddress}/monitoring/checks/&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;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''OK (200)''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''Unauthorized (401)'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''No Permission (403)''&lt;br /&gt;
: ''Not Found (404)'' : The resource requested is not found. Returned when either of account_id, dedicated_server_id or ip_address parameters do not exist.&lt;br /&gt;
&lt;br /&gt;
== Examples(errors) ==&lt;br /&gt;
'''GET''' /accounts/&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_account_id&amp;lt;/span&amp;gt;/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/checks&lt;br /&gt;
&lt;br /&gt;
''- Response:''&lt;br /&gt;
:''Not Found (404)'': &lt;br /&gt;
 {&amp;quot;itemNotFound&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;/accounts/fake_account_id/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/checks&amp;quot;, &amp;quot;code&amp;quot;: 404, &amp;quot;details&amp;quot;: &amp;quot;&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
'''GET''' /accounts/account_id_123/dedicatedServers/&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_dedicated_server_id&amp;lt;/span&amp;gt;/ipAddresses/11.22.33.44/monitoring/checks&lt;br /&gt;
&lt;br /&gt;
''- Response:''&lt;br /&gt;
:''Not Found (404)'': &lt;br /&gt;
 {&amp;quot;itemNotFound&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;/accounts/account_id_123/dedicatedServers/fake_dedicated_server_id/ipAddresses/11.22.33.44/monitoring/checks&amp;quot;, &amp;quot;code&amp;quot;: 404, &amp;quot;details&amp;quot;: &amp;quot;&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
'''GET''' /accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;99.99.99.99&amp;lt;/span&amp;gt;/monitoring/checks&lt;br /&gt;
&lt;br /&gt;
''- Response:''&lt;br /&gt;
:''Not Found (404)'': &lt;br /&gt;
 {&amp;quot;itemNotFound&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;/accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/99.99.99.99/monitoring/checks&amp;quot;, &amp;quot;code&amp;quot;: 404, &amp;quot;details&amp;quot;: &amp;quot;&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts-contactId:DELETE</id>
		<title>Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts-contactId:DELETE</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts-contactId:DELETE"/>
				<updated>2015-05-13T13:09:56Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=DELETE /accounts/''{accountNumber}''/dedicatedServers/''{serverId}''/ipAddresses/''{ipAddr}''/monitoring/notificationGroups/''{groupId}''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Delete a contact&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;DELETE /accounts/''{accountNumber}''/dedicatedServers/''{serverId}''/ipAddresses/''{ipAddr}''/monitoring/notificationGroups/''{groupId}''/contacts/''{contactId}''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Request Parameters ====&lt;br /&gt;
; accountNumber - ''string''&lt;br /&gt;
; serverId - ''string''&lt;br /&gt;
; ipAddr - ''string''&lt;br /&gt;
; groupId - ''string''&lt;br /&gt;
: Id of the notification group&lt;br /&gt;
; contactId - ''string''&lt;br /&gt;
: Id of the contact in this notification group&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
; Authorization&lt;br /&gt;
: Specify the '''Authorization''' header when requesting details for an order that was already submitted. Follow the instructions for API [[Authentication]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
;204 No Content&lt;br /&gt;
: Success.&lt;br /&gt;
&lt;br /&gt;
;401 Unauthorized&lt;br /&gt;
: This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
&lt;br /&gt;
;404 Not Found&lt;br /&gt;
:  The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Successful deletion ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DELETE {{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186/contacts/1556&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response:'''&lt;br /&gt;
:''OK (204)'': &lt;br /&gt;
&lt;br /&gt;
=== Resource not found ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;DELETE {{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186/contacts/9999&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
:''Item Not Found (404)'': &lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Monitoring|Monitoring API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts-contactId:PUT</id>
		<title>Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts-contactId:PUT</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts-contactId:PUT"/>
				<updated>2015-05-13T13:09:41Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=PUT /accounts/''{accountNumber}''/dedicatedServers/''{serverId}''/ipAddresses/''{ipAddr}''/monitoring/notificationGroups/''{groupId}''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Update a contact&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;PUT /accounts/''{accountNumber}''/dedicatedServers/''{serverId}''/ipAddresses/''{ipAddr}''/monitoring/notificationGroups/''{groupId}''/contacts/''{contactId}''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Request Parameters ====&lt;br /&gt;
; accountNumber - ''string''&lt;br /&gt;
; serverId - ''string''&lt;br /&gt;
; ipAddr - ''string''&lt;br /&gt;
; groupId - ''string''&lt;br /&gt;
: Id of the notification group&lt;br /&gt;
; contactId - ''string''&lt;br /&gt;
: Id of the contact in this notification group&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
; Authorization&lt;br /&gt;
: Specify the '''Authorization''' header when requesting details for an order that was already submitted. Follow the instructions for API [[Authentication]].&lt;br /&gt;
&lt;br /&gt;
; Content-Type&lt;br /&gt;
: Required. Set this header to &amp;lt;code&amp;gt;application/json; charset=UTF-8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Request Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{ &lt;br /&gt;
   &amp;quot;contact&amp;quot;: {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;{contact_name}&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{contact_type}&amp;quot;, &lt;br /&gt;
      &amp;quot;address&amp;quot;: &amp;quot;{contact_address}&amp;quot;,&lt;br /&gt;
      &amp;quot;onTime&amp;quot;: {contact_ontime}, &lt;br /&gt;
      &amp;quot;offTime&amp;quot;: {contact_offtime}&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; name - ''string''&lt;br /&gt;
: Descriptive name for this contact.&lt;br /&gt;
&lt;br /&gt;
; type - ''EMAIL/PAGER''&lt;br /&gt;
&lt;br /&gt;
; address - ''string''&lt;br /&gt;
: Email or pager number&lt;br /&gt;
&lt;br /&gt;
; onTime - ''int''&lt;br /&gt;
&lt;br /&gt;
; offTime - ''int''&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
;200 OK&lt;br /&gt;
: Success.&lt;br /&gt;
&lt;br /&gt;
;400 Bad Request&lt;br /&gt;
: Invalid user input&lt;br /&gt;
&lt;br /&gt;
;401 Unauthorized&lt;br /&gt;
: This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required&lt;br /&gt;
&lt;br /&gt;
;404 Not Found&lt;br /&gt;
:  The resource requested is not found&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;contact&amp;quot;: {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;{contact_name}&amp;quot;, &lt;br /&gt;
      &amp;quot;onTime&amp;quot;: {contact_ontime}, &lt;br /&gt;
      &amp;quot;links&amp;quot;: [&lt;br /&gt;
         {&lt;br /&gt;
            &amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/contactgroups/{contactgroup_id}/contacts/{contact_id}/&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
         }&lt;br /&gt;
      ], &lt;br /&gt;
      &amp;quot;address&amp;quot;: &amp;quot;{contact_address}&amp;quot;, &lt;br /&gt;
      &amp;quot;offTime&amp;quot;: {contact_offtime}, &lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{contact_type}&amp;quot;, &lt;br /&gt;
      &amp;quot;id&amp;quot;: {contact_id}&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Unique identifier for this contact.&lt;br /&gt;
&lt;br /&gt;
; name - ''string''&lt;br /&gt;
: Descriptive name for this contact.&lt;br /&gt;
&lt;br /&gt;
; type - ''EMAIL/PAGER''&lt;br /&gt;
&lt;br /&gt;
; address - ''string''&lt;br /&gt;
: Email or pager number&lt;br /&gt;
&lt;br /&gt;
; onTime - ''int''&lt;br /&gt;
&lt;br /&gt;
; offTime - ''int''&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Successful deletion ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;PUT {{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186/contacts/1556&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;contact&amp;quot;: {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;test_contact_updated&amp;quot;, &lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;EMAIL&amp;quot;, &lt;br /&gt;
      &amp;quot;address&amp;quot;: &amp;quot;updated_abc@abc.com&amp;quot;, &lt;br /&gt;
      &amp;quot;onTime&amp;quot;: 50400, &lt;br /&gt;
      &amp;quot;offTime&amp;quot;: 11600&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
:''OK (200)'':&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;contact&amp;quot;: {&lt;br /&gt;
	&amp;quot;onTime&amp;quot;: 50400,&lt;br /&gt;
	&amp;quot;name&amp;quot;: &amp;quot;test_contact_updated&amp;quot;,&lt;br /&gt;
	&amp;quot;address&amp;quot;: &amp;quot;updated_abc@abc.com&amp;quot;,&lt;br /&gt;
	&amp;quot;offTime&amp;quot;: 11600,&lt;br /&gt;
	&amp;quot;type&amp;quot;: &amp;quot;EMAIL&amp;quot;,&lt;br /&gt;
	&amp;quot;id&amp;quot;: 1556&lt;br /&gt;
   },&lt;br /&gt;
   &amp;quot;links&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186/contacts/1556&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Wrong input ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;PUT {{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186/contacts/1556&amp;lt;/code&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;contact&amp;quot;: {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;test_contact_updated&amp;quot;, &lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;FAX&amp;quot;, &lt;br /&gt;
      &amp;quot;address&amp;quot;: &amp;quot;updated_abc.com&amp;quot;, &lt;br /&gt;
      &amp;quot;onTime&amp;quot;: 50400, &lt;br /&gt;
      &amp;quot;offTime&amp;quot;: 21600&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
:''Bad Request (400)'': &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;badRequest&amp;quot;: {&lt;br /&gt;
      &amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &lt;br /&gt;
      &amp;quot;code&amp;quot;: 400, &lt;br /&gt;
      &amp;quot;details&amp;quot;: {&lt;br /&gt;
         &amp;quot;contact.address&amp;quot;: &amp;quot;Invalid email address&amp;quot;, &lt;br /&gt;
         &amp;quot;contact.type&amp;quot;: &amp;quot;\&amp;quot;FAX\&amp;quot; is not one of EMAIL&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Monitoring|Monitoring API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts-contactId:GET</id>
		<title>Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts-contactId:GET</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts-contactId:GET"/>
				<updated>2015-05-13T13:09:24Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=GET /accounts/''{accountNumber}''/dedicatedServers/''{serverId}''/ipAddresses/''{ipAddr}''/monitoring/notificationGroups/''{groupId}''/contacts/''{contactId}''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
List contact details&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;GET /accounts/''{accountNumber}''/dedicatedServers/''{serverId}''/ipAddresses/''{ipAddr}''/monitoring/notificationGroups/''{groupId}''/contacts/''{contactId}''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Request Parameters ====&lt;br /&gt;
; accountNumber - ''string''&lt;br /&gt;
; serverId - ''string''&lt;br /&gt;
; ipAddr - ''string''&lt;br /&gt;
; groupId - ''string''&lt;br /&gt;
: Id of the notification group&lt;br /&gt;
; contactId - ''string''&lt;br /&gt;
: Id of the contact in this notification group&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
; Authorization&lt;br /&gt;
: Specify the '''Authorization''' header when requesting details for an order that was already submitted. Follow the instructions for API [[Authentication]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
;200 OK&lt;br /&gt;
: Success&lt;br /&gt;
&lt;br /&gt;
;401 Unauthorized&lt;br /&gt;
: This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required&lt;br /&gt;
&lt;br /&gt;
;404 Not Found&lt;br /&gt;
:  The resource requested is not found&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;contacts&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;name&amp;quot;: &amp;quot;{contact_name}&amp;quot;, &lt;br /&gt;
         &amp;quot;onTime&amp;quot;: {contact_ontime}, &lt;br /&gt;
         &amp;quot;links&amp;quot;: [&lt;br /&gt;
            {&lt;br /&gt;
               &amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/{accountNumber}/dedicatedServers/{serverId}/ipAddresses/{ipAddr}/monitoring/notificationGroups/{groupId}/contacts/{contactId}/&amp;quot;,&lt;br /&gt;
               &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
            }&lt;br /&gt;
         ], &lt;br /&gt;
         &amp;quot;address&amp;quot;: &amp;quot;{contact_address}&amp;quot;, &lt;br /&gt;
         &amp;quot;offTime&amp;quot;: {contact_offtime}, &lt;br /&gt;
         &amp;quot;type&amp;quot;: &amp;quot;{contact_type}&amp;quot;, &lt;br /&gt;
         &amp;quot;id&amp;quot;: {contact_id}&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Unique identifier for this contact.&lt;br /&gt;
; name - ''string''&lt;br /&gt;
: Descriptive name for this contact.&lt;br /&gt;
; type - ''EMAIL/PAGER''&lt;br /&gt;
; address - ''string''&lt;br /&gt;
: Email or pager number&lt;br /&gt;
; onTime - ''int''&lt;br /&gt;
; offTime - ''int''&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Successful retrieval ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;GET {{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186/contacts/1556&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
:''OK (200)'': &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;contact&amp;quot;: {&lt;br /&gt;
      &amp;quot;onTime&amp;quot;: 10400, &lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;test_contact_updated&amp;quot;, &lt;br /&gt;
      &amp;quot;address&amp;quot;: &amp;quot;updated_abc@abc.com&amp;quot;, &lt;br /&gt;
      &amp;quot;offTime&amp;quot;: 11600, &lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;EMAIL&amp;quot;, &lt;br /&gt;
      &amp;quot;id&amp;quot;: 1556&lt;br /&gt;
   }, &lt;br /&gt;
   &amp;quot;links&amp;quot;: [{&lt;br /&gt;
      &amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186/contacts/1556&amp;quot;, &lt;br /&gt;
      &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Resource not found ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;GET {{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186/contacts/9999&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
:''Item Not Found (404)'':&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;itemNotFound&amp;quot;: {&lt;br /&gt;
      &amp;quot;message&amp;quot;: &amp;quot;Resource not found&amp;quot;, &lt;br /&gt;
      &amp;quot;code&amp;quot;: 404, &lt;br /&gt;
      &amp;quot;details&amp;quot;: &amp;quot;&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Monitoring|Monitoring API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts:POST</id>
		<title>Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts:POST</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts:POST"/>
				<updated>2015-05-13T13:09:09Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=POST /accounts/''{accountNumber}''/dedicatedServers/''{serverId}''/ipAddresses/''{ipAddr}''/monitoring/notificationGroups/''{groupId}''/contacts=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Create a contact&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;POST /accounts/''{accountNumber}''/dedicatedServers/''{serverId}''/ipAddresses/''{ipAddr}''/monitoring/notificationGroups/''{groupId}''/contacts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Request Parameters ====&lt;br /&gt;
; accountNumber - ''string''&lt;br /&gt;
; serverId - ''string''&lt;br /&gt;
; ipAddr - ''string''&lt;br /&gt;
; groupId - ''string''&lt;br /&gt;
: Id of the notification group&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
; Authorization&lt;br /&gt;
: Specify the '''Authorization''' header when requesting details for an order that was already submitted. Follow the instructions for API [[Authentication]].&lt;br /&gt;
&lt;br /&gt;
; Content-Type&lt;br /&gt;
: Required. Set this header to &amp;lt;code&amp;gt;application/json; charset=UTF-8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Request Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{ &lt;br /&gt;
   &amp;quot;contact&amp;quot;: {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;{contact_name}&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{contact_type}&amp;quot;, &lt;br /&gt;
      &amp;quot;address&amp;quot;: &amp;quot;{contact_address}&amp;quot;,&lt;br /&gt;
      &amp;quot;onTime&amp;quot;: {contact_ontime}, &lt;br /&gt;
      &amp;quot;offTime&amp;quot;: {contact_offtime}&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; name - ''string''&lt;br /&gt;
: Descriptive name for this contact.&lt;br /&gt;
&lt;br /&gt;
; type - ''EMAIL/PAGER''&lt;br /&gt;
&lt;br /&gt;
; address - ''string''&lt;br /&gt;
: Email or pager number&lt;br /&gt;
&lt;br /&gt;
; onTime - ''int''&lt;br /&gt;
&lt;br /&gt;
; offTime - ''int''&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
;201 Created&lt;br /&gt;
: Success&lt;br /&gt;
&lt;br /&gt;
;400 Bad Request&lt;br /&gt;
: Invalid user input&lt;br /&gt;
&lt;br /&gt;
;401 Unauthorized&lt;br /&gt;
: This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required&lt;br /&gt;
&lt;br /&gt;
;404 Not Found&lt;br /&gt;
:  The resource requested is not found&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;contact&amp;quot;: {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;{contact_name}&amp;quot;, &lt;br /&gt;
      &amp;quot;onTime&amp;quot;: {contact_ontime}, &lt;br /&gt;
      &amp;quot;links&amp;quot;: [&lt;br /&gt;
         {&lt;br /&gt;
            &amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/{accountNumber}/dedicatedServers/{serverId}/ipAddresses/{ipAddr}/monitoring/notificationGroups/{groupId}/contacts/{contact_id}/&amp;quot;,&lt;br /&gt;
            &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
         }&lt;br /&gt;
      ], &lt;br /&gt;
      &amp;quot;address&amp;quot;: &amp;quot;{contact_address}&amp;quot;, &lt;br /&gt;
      &amp;quot;offTime&amp;quot;: {contact_offtime}, &lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;{contact_type}&amp;quot;, &lt;br /&gt;
      &amp;quot;id&amp;quot;: {contact_id}&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Unique identifier for this contact.&lt;br /&gt;
&lt;br /&gt;
; name - ''string''&lt;br /&gt;
: Descriptive name for this contact.&lt;br /&gt;
&lt;br /&gt;
; type - ''EMAIL/PAGER''&lt;br /&gt;
&lt;br /&gt;
; address - ''string''&lt;br /&gt;
: Email or pager number&lt;br /&gt;
&lt;br /&gt;
; onTime - ''int''&lt;br /&gt;
&lt;br /&gt;
; offTime - ''int''&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Successfully create a notification contact ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;POST {{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186/contacts&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;contact&amp;quot;: {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;test_contact&amp;quot;, &lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;EMAIL&amp;quot;, &lt;br /&gt;
      &amp;quot;address&amp;quot;: &amp;quot;abc@abc.com&amp;quot;, &lt;br /&gt;
      &amp;quot;onTime&amp;quot;: 50400, &lt;br /&gt;
      &amp;quot;offTime&amp;quot;: 21600&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
:''Created (201)'': &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;contact&amp;quot;: {&lt;br /&gt;
	&amp;quot;onTime&amp;quot;: 50400,&lt;br /&gt;
	&amp;quot;name&amp;quot;: &amp;quot;test_contact&amp;quot;,&lt;br /&gt;
	&amp;quot;address&amp;quot;: &amp;quot;abc@abc.com&amp;quot;,&lt;br /&gt;
	&amp;quot;offTime&amp;quot;: 21600,&lt;br /&gt;
	&amp;quot;type&amp;quot;: &amp;quot;EMAIL&amp;quot;,&lt;br /&gt;
	&amp;quot;id&amp;quot;: 1556&lt;br /&gt;
   },&lt;br /&gt;
   &amp;quot;links&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186/contacts/1556&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Failure creating a notification contact with wrong request data ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;POST {{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186/contacts&amp;lt;/code&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;contact&amp;quot;: {&lt;br /&gt;
      &amp;quot;name&amp;quot;: &amp;quot;test_contact&amp;quot;, &lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;EMAIL&amp;quot;, &lt;br /&gt;
      &amp;quot;address&amp;quot;: &amp;quot;abc.com&amp;quot;, &lt;br /&gt;
      &amp;quot;onTime&amp;quot;: 50400, &lt;br /&gt;
      &amp;quot;offTime&amp;quot;: 21600&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
:''Bad Request (400)'': &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;badRequest&amp;quot;: {&lt;br /&gt;
      &amp;quot;message&amp;quot;: &amp;quot;POST data error&amp;quot;, &lt;br /&gt;
      &amp;quot;code&amp;quot;: 400, &lt;br /&gt;
      &amp;quot;details&amp;quot;: {&lt;br /&gt;
         &amp;quot;contact.address&amp;quot;: &amp;quot;Invalid email address&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Monitoring|Monitoring API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts:GET</id>
		<title>Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts:GET</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts:GET"/>
				<updated>2015-05-13T13:08:52Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=GET /accounts/''{accountNumber}''/dedicatedServers/''{serverId}''/ipAddresses/''{ipAddr}''/monitoring/notificationGroups/''{groupId}''/contacts=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
List contacts&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;GET /accounts/''{accountNumber}''/dedicatedServers/''{serverId}''/ipAddresses/''{ipAddr}''/monitoring/notificationGroups/''{groupId}''/contacts&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Request Parameters ====&lt;br /&gt;
; accountNumber - ''string''&lt;br /&gt;
; serverId - ''string''&lt;br /&gt;
; ipAddr - ''string''&lt;br /&gt;
; groupId - ''string''&lt;br /&gt;
: Id of the notification group&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
; Authorization&lt;br /&gt;
: Specify the '''Authorization''' header when requesting details for an order that was already submitted. Follow the instructions for API [[Authentication]].&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
;200 OK&lt;br /&gt;
: Success&lt;br /&gt;
&lt;br /&gt;
;401 Unauthorized&lt;br /&gt;
: This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required&lt;br /&gt;
&lt;br /&gt;
;404 Not Found&lt;br /&gt;
:  The resource requested is not found&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/{accountNumber}/dedicatedServers/{serverId}/ipAddresses/{ipAddr}/monitoring/notificationGroups/{groupId}/contacts&amp;quot;,&lt;br /&gt;
         &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ],&lt;br /&gt;
   &amp;quot;contacts&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{contactLocation}&amp;quot;,&lt;br /&gt;
         &amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; contacts - ''list''&lt;br /&gt;
: A list of all the contacts defined for the given notification group&lt;br /&gt;
&lt;br /&gt;
;: contactLocation - ''string''&lt;br /&gt;
:: URL of the specific contact's details&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Success scenario ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;GET {{APIBaseURL}}/accounts/test-ng-358536378/dedicatedServers/test-ng-358536378-000001338fd091e0419d18a5000a3122/ipAddresses/11.11.10.3/monitoring/notificationGroups/186/contacts/&amp;lt;/code&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;links&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/test-ng-358536378/dedicatedServers/test-ng-358536378-000001338fd091e0419d18a5000a3122/ipAddresses/11.11.10.3/monitoring/notificationGroups/186/contacts/&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ],&lt;br /&gt;
   &amp;quot;contacts&amp;quot;: [&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/test-ng-358536378/dedicatedServers/test-ng-358536378-000001338fd091e0419d18a5000a3122/ipAddresses/11.11.10.3/monitoring/notificationGroups/186/contacts/337&amp;quot;,&lt;br /&gt;
         &amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
      },&lt;br /&gt;
      {&lt;br /&gt;
         &amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/test-ng-358536378/dedicatedServers/test-ng-358536378-000001338fd091e0419d18a5000a3122/ipAddresses/11.11.10.3/monitoring/notificationGroups/186/contacts/338&amp;quot;,&lt;br /&gt;
         &amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
      }&lt;br /&gt;
   ]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Monitoring|Monitoring API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Monitoring</id>
		<title>Monitoring</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Monitoring"/>
				<updated>2015-05-13T13:08:22Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This section is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
== Host ==&lt;br /&gt;
* [[Host]]&lt;br /&gt;
== Notifications ==&lt;br /&gt;
* [[Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId:GET|GET /accounts/{accountNumber}/dedicatedServers/{serverId}/ipAddresses/{ipAddr}/monitoring/notificationGroups/{groupId}]] - Gets single notification group details info&lt;br /&gt;
* [[Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts:GET|GET /accounts/{accountNumber}/dedicatedServers/{serverId}/ipAddresses/{ipAddr}/monitoring/notificationGroups/{groupId}/contacts]] - List contacts&lt;br /&gt;
* [[Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts:POST|POST /accounts/{accountNumber}/dedicatedServers/{serverId}/ipAddresses/{ipAddr}/monitoring/notificationGroups/{groupId}/contacts]] - Create contact&lt;br /&gt;
* [[Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts-contactId:GET|GET /accounts/{accountNumber}/dedicatedServers/{serverId}/ipAddresses/{ipAddr}/monitoring/notificationGroups/{groupId}/contacts/{contactId}]] - List contact details&lt;br /&gt;
* [[Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts-contactId:PUT|PUT /accounts/{accountNumber}/dedicatedServers/{serverId}/ipAddresses/{ipAddr}/monitoring/notificationGroups/{groupId}/contacts/{contactId}]] - Update a contact&lt;br /&gt;
* [[Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId-contacts-contactId:DELETE|DELETE /accounts/{accountNumber}/dedicatedServers/{serverId}/ipAddresses/{ipAddr}/monitoring/notificationGroups/{groupId}/contacts/{contactId}]] - Delete a contact&lt;br /&gt;
== Checks ==&lt;br /&gt;
* [[Monitoring/Checks|Checks]]&lt;br /&gt;
* [[Monitoring/Ping|Ping]]&lt;br /&gt;
* [[Monitoring/Port|Port]]&lt;br /&gt;
* [[Monitoring/CPU|CPU]]&lt;br /&gt;
* [[Monitoring/Memory|Memory]]&lt;br /&gt;
* [[Monitoring/Disk|Disk]]&lt;br /&gt;
* [[Monitoring/Process|Process]]&lt;br /&gt;
* [[Monitoring/Checks History|Checks History]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId:GET</id>
		<title>Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId:GET</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Accounts-accountNumber-dedicatedServers-serverId-ipAddresses-ipAddr-monitoring-notificationGroups-groupId:GET"/>
				<updated>2015-05-13T13:03:00Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=GET /accounts/''{accountNumber}''/dedicatedServers/''{serverId}''/ipAddresses/''{ipAddr}''/monitoring/notificationGroups/''{groupId}''=&lt;br /&gt;
'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
Gets single notification group details info.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;GET /accounts/''{accountNumber}''/dedicatedServers/''{serverId}''/ipAddresses/''{ipAddr}''/monitoring/notificationGroups/''{groupId}''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Request Parameters ====&lt;br /&gt;
; accountNumber - ''string''&lt;br /&gt;
; serverId - ''string''&lt;br /&gt;
; ipAddr - ''string''&lt;br /&gt;
; groupId - ''string''&lt;br /&gt;
: Id of the notification group&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
None&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
; Authorization&lt;br /&gt;
: Specify the '''Authorization''' header when requesting details for an order that was already submitted. Follow the instructions for API [[Authentication]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
;200 OK&lt;br /&gt;
: Success.&lt;br /&gt;
&lt;br /&gt;
;401 Unauthorized&lt;br /&gt;
: This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
&lt;br /&gt;
;404 Not Found&lt;br /&gt;
:  The resource requested is not found.&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;notificationGroup&amp;quot;: {&lt;br /&gt;
	&amp;quot;name&amp;quot;: &amp;quot;{group-name}&amp;quot;,&lt;br /&gt;
	&amp;quot;id&amp;quot;: &amp;quot;{group-id}&amp;quot;&lt;br /&gt;
   },&lt;br /&gt;
   &amp;quot;links&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/{account-number}/dedicatedServers/{dedicated-server-id}/ipAddresses/{ip-address}/monitoring/notificationGroups/{group-id}&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }],&lt;br /&gt;
   &amp;quot;contacts&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/{account-number}/dedicatedServers/{dedicated-server-id}/ipAddresses/{ip-address}/monitoring/notificationGroups/{group-id}/contacts&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; id - ''string''&lt;br /&gt;
: Unique identifier for this notification group.&lt;br /&gt;
&lt;br /&gt;
; name - ''string''&lt;br /&gt;
: Descriptive name for this notification group.&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
; contacts - ''list''&lt;br /&gt;
: List of contacts added for this notification group&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Successful retrieval ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;GET {{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response:'''&lt;br /&gt;
:''OK (200)'': &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;notificationGroup&amp;quot;: {&lt;br /&gt;
	&amp;quot;name&amp;quot;: &amp;quot;test_group2&amp;quot;,&lt;br /&gt;
	&amp;quot;id&amp;quot;: &amp;quot;186&amp;quot;&lt;br /&gt;
   },&lt;br /&gt;
   &amp;quot;links&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }],&lt;br /&gt;
   &amp;quot;contacts&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/186/contacts&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
   }]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Resource not found ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;GET {{APIBaseURL}}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/notificationGroups/9999&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
:''Item Not Found (404)'': &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 {&amp;quot;error&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;Not Found&amp;quot;, &amp;quot;code&amp;quot;: 404, &amp;quot;details&amp;quot;: &amp;quot;Not Found&amp;quot;}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Monitoring|Monitoring API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Host</id>
		<title>Host</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Host"/>
				<updated>2015-05-13T13:02:15Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;This API call is deprecated!&amp;lt;/span&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
='''PUT''' /accounts/'''account_id'''/dedicatedServers/'''dedicated_server_id'''/ipAddresses/'''ip_address/monitoring=&lt;br /&gt;
Creates a Monitoring host&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account_id - ''string''&lt;br /&gt;
: Id of the [[Orders#Account|Account]]&lt;br /&gt;
&lt;br /&gt;
; dedicated_server_id - ''string''&lt;br /&gt;
: Id of the monitored dedicated server&lt;br /&gt;
&lt;br /&gt;
; ip_address - ''string''&lt;br /&gt;
: Dedicated server's IP address specified&lt;br /&gt;
&lt;br /&gt;
== Request==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{ &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Result==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;orders&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/orders/{order-id}/action&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
   }],&lt;br /&gt;
   &amp;quot;links&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/{account-number}/dedicatedServers/{dedicated-server-id}/ipAddresses/{ip-address}/monitoring/&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''Accepted (202)''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''Bad Request (400)''&lt;br /&gt;
: ''Unauthorized (401)'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''No Permission (403)''&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''PUT''' /accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring&lt;br /&gt;
&lt;br /&gt;
''- Response:''&lt;br /&gt;
:''Accepted (202)'': &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;orders&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/orders/00000139e48dfcc7639c2ab9000a33dc8c8ae4f8/action&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
   }],&lt;br /&gt;
   &amp;quot;links&amp;quot;: [{&lt;br /&gt;
	&amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/test-358536378/dedicatedServers/test-358536378-000001338fd091e/ipAddresses/11.22.33.44/monitoring/&amp;quot;,&lt;br /&gt;
	&amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
='''GET''' /accounts/'''account_id'''/dedicatedServers/'''dedicated_server_id'''/ipAddresses/'''ip_address/monitoring=&lt;br /&gt;
Get Monitoring host information&lt;br /&gt;
&lt;br /&gt;
== Result ==&lt;br /&gt;
=== JSON ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
   &amp;quot;links&amp;quot;: [{&lt;br /&gt;
      &amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/&amp;quot;,&lt;br /&gt;
      &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }],&lt;br /&gt;
   &amp;quot;notificationGroups&amp;quot;: [{&lt;br /&gt;
      &amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/notificationGroups/186&amp;quot;,&lt;br /&gt;
      &amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
   }],&lt;br /&gt;
   &amp;quot;process&amp;quot;: [{&lt;br /&gt;
      &amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/process&amp;quot;,&lt;br /&gt;
      &amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
   }],&lt;br /&gt;
   &amp;quot;ping&amp;quot;: [{&lt;br /&gt;
      &amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/ping&amp;quot;,&lt;br /&gt;
      &amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
   }],&lt;br /&gt;
   &amp;quot;checks&amp;quot;: [{&lt;br /&gt;
      &amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/checks&amp;quot;,&lt;br /&gt;
      &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
   }],&lt;br /&gt;
   &amp;quot;port&amp;quot;: [{&lt;br /&gt;
      &amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/port&amp;quot;,&lt;br /&gt;
      &amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
   }],&lt;br /&gt;
   &amp;quot;memory&amp;quot;: [{&lt;br /&gt;
      &amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/memory&amp;quot;,&lt;br /&gt;
      &amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
   }],&lt;br /&gt;
   &amp;quot;disk&amp;quot;: [{&lt;br /&gt;
      &amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/disk&amp;quot;,&lt;br /&gt;
      &amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
   }],&lt;br /&gt;
   &amp;quot;cpu&amp;quot;: [{&lt;br /&gt;
      &amp;quot;href&amp;quot;: &amp;quot;http://{server-name}/accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring/cpu&amp;quot;,&lt;br /&gt;
      &amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;&lt;br /&gt;
   }]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource.&lt;br /&gt;
&lt;br /&gt;
; notificationGroups - ''list''&lt;br /&gt;
: Link to [[Contactgroup|Notification Groups]] defined for this monitoring&lt;br /&gt;
&lt;br /&gt;
; process - ''list''&lt;br /&gt;
: Link to [[Monitoring/Process|Process]] check for this monitoring&lt;br /&gt;
&lt;br /&gt;
; ping - ''list''&lt;br /&gt;
: Link to [[Monitoring/Ping|Ping]] check for this monitoring&lt;br /&gt;
&lt;br /&gt;
; checks - ''list''&lt;br /&gt;
: Link to [[Monitoring/Checks|Checks]] list for this monitoring&lt;br /&gt;
&lt;br /&gt;
; port - ''list''&lt;br /&gt;
: Link to [[Monitoring/Port|Port]] check for this monitoring&lt;br /&gt;
&lt;br /&gt;
; memory - ''list''&lt;br /&gt;
: Link to [[Monitoring/Memory|Memory]] check for this monitoring&lt;br /&gt;
&lt;br /&gt;
; disk - ''list''&lt;br /&gt;
: Link to [[Monitoring/Disk|Disk]] check for this monitoring&lt;br /&gt;
&lt;br /&gt;
; cpu - ''list''&lt;br /&gt;
: Link to [[Monitoring/CPU|CPU]] check for this monitoring&lt;br /&gt;
&lt;br /&gt;
== Response Codes ==&lt;br /&gt;
; Success&lt;br /&gt;
: ''OK (200)''&lt;br /&gt;
&lt;br /&gt;
; Failure&lt;br /&gt;
: ''Unauthorized (401)'' : This server could not verify that you are authorized to access the document you requested.  Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.&lt;br /&gt;
: ''No Permission (403)''&lt;br /&gt;
: ''Not Found (404)'' : The resource requested is not found. Returned when either of account_id, dedicated_server_id or ip_address parameters do not exist.&lt;br /&gt;
&lt;br /&gt;
== Examples(errors) ==&lt;br /&gt;
'''GET''' /accounts/&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_account_id&amp;lt;/span&amp;gt;/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring&lt;br /&gt;
&lt;br /&gt;
''- Response:''&lt;br /&gt;
:''Not Found (404)'': &lt;br /&gt;
 {&amp;quot;itemNotFound&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;/accounts/fake_account_id/dedicatedServers/dedicated_server_id_123/ipAddresses/11.22.33.44/monitoring&amp;quot;, &amp;quot;code&amp;quot;: 404, &amp;quot;details&amp;quot;: &amp;quot;&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
'''GET''' /accounts/account_id_123/dedicatedServers/&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;fake_dedicated_server_id&amp;lt;/span&amp;gt;/ipAddresses/11.22.33.44/monitoring&lt;br /&gt;
&lt;br /&gt;
''- Response:''&lt;br /&gt;
:''Not Found (404)'': &lt;br /&gt;
 {&amp;quot;itemNotFound&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;/accounts/account_id_123/dedicatedServers/fake_dedicated_server_id/ipAddresses/11.22.33.44/monitoring&amp;quot;, &amp;quot;code&amp;quot;: 404, &amp;quot;details&amp;quot;: &amp;quot;&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
'''GET''' /accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;99.99.99.99&amp;lt;/span&amp;gt;/monitoring&lt;br /&gt;
&lt;br /&gt;
''- Response:''&lt;br /&gt;
:''Not Found (404)'': &lt;br /&gt;
 {&amp;quot;itemNotFound&amp;quot;: {&amp;quot;message&amp;quot;: &amp;quot;/accounts/account_id_123/dedicatedServers/dedicated_server_id_123/ipAddresses/99.99.99.99/monitoring&amp;quot;, &amp;quot;code&amp;quot;: 404, &amp;quot;details&amp;quot;: &amp;quot;&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Dedicated Server Monitoring API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php/Accounts-accountId-products-productId-services-serviceId-action:GET</id>
		<title>Accounts-accountId-products-productId-services-serviceId-action:GET</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Accounts-accountId-products-productId-services-serviceId-action:GET"/>
				<updated>2015-05-08T12:00:12Z</updated>
		
		<summary type="html">&lt;p&gt;Mitko.georgiev: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= POST /accounts/''{accountId}''/products/''{productId}''/services/''{serviceId}''/action =&lt;br /&gt;
Upgrades/downgrades existing service.&lt;br /&gt;
__TOC__&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;POST  /accounts/''{accountId}''/products/''{productId}''/services/''{serviceId}''/action&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; accountId - ''string''&lt;br /&gt;
: The Id of the account.&lt;br /&gt;
&lt;br /&gt;
; productId - ''string''&lt;br /&gt;
: The Id of the product.&lt;br /&gt;
&lt;br /&gt;
; serviceId - ''string''&lt;br /&gt;
: The Id of the service.&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
{{Authorization}}&lt;br /&gt;
&lt;br /&gt;
=== Request Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;action&amp;quot;: &amp;quot;change&amp;quot;,&lt;br /&gt;
  &amp;quot;actionData&amp;quot;: {&lt;br /&gt;
    &amp;quot;targetServiceSpecification&amp;quot;: &amp;quot;&amp;lt;/nowiki&amp;gt;{{APIBaseURL}}&amp;lt;nowiki&amp;gt;/serviceSpecifications/{serviceSpecificationId}&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; action - ''string''&lt;br /&gt;
: The type of the requested action. Currently supported actions:&lt;br /&gt;
:: '''cost''' - show the available fees for PTC change&lt;br /&gt;
:: '''validate''' - validate if the service specification change is allowed&lt;br /&gt;
:: '''change''' - change the service specification (upgrade/downgrade).&lt;br /&gt;
&lt;br /&gt;
; actionData - ''dictionary''&lt;br /&gt;
: Contains action-specific data.&lt;br /&gt;
:: '''validate''' action:&lt;br /&gt;
::: targetServiceSpecification - the URI of the new service specification.&lt;br /&gt;
:: '''change''' action:&lt;br /&gt;
::: targetServiceSpecification - the URI of the new service specification.&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
; Response for getting the fees&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;links&amp;quot;: [{&lt;br /&gt;
		&amp;quot;href&amp;quot;: &amp;quot;http://api.hostway.com/accounts/{accountId}/products/{productId}/services/{serviceId}/action/&amp;quot;,&lt;br /&gt;
		&amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
	}],&lt;br /&gt;
	&amp;quot;oneTimeFee&amp;quot;: {&lt;br /&gt;
		&amp;quot;currency&amp;quot;: &amp;quot;USD&amp;quot;,&lt;br /&gt;
		&amp;quot;amount&amp;quot;: &amp;quot;9.95&amp;quot;&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;taxes&amp;quot;: {&lt;br /&gt;
		&amp;quot;amount&amp;quot;: &amp;quot;0&amp;quot;&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;total&amp;quot;: {&lt;br /&gt;
		&amp;quot;currency&amp;quot;: &amp;quot;USD&amp;quot;,&lt;br /&gt;
		&amp;quot;amount&amp;quot;: &amp;quot;19.90&amp;quot;&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;subTotal&amp;quot;: {&lt;br /&gt;
		&amp;quot;currency&amp;quot;: &amp;quot;USD&amp;quot;,&lt;br /&gt;
		&amp;quot;amount&amp;quot;: &amp;quot;19.90&amp;quot;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Response for the validation&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;links&amp;quot;: [{&lt;br /&gt;
		&amp;quot;href&amp;quot;: &amp;quot;http://api.hostway.com/accounts/{accountId}/products/{productId}/services/{serviceId}/action/&amp;quot;,&lt;br /&gt;
		&amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
	}],&lt;br /&gt;
	&amp;quot;allowed&amp;quot;: 1&lt;br /&gt;
}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
; 200 No Content&lt;br /&gt;
: The service update was successfully validated.&lt;br /&gt;
&lt;br /&gt;
; 204 No Content&lt;br /&gt;
: The service update was successfully submitted.&lt;br /&gt;
&lt;br /&gt;
; 400 Bad Request&lt;br /&gt;
: Request body is invalid.&lt;br /&gt;
&lt;br /&gt;
; 401 Unauthorized&lt;br /&gt;
: The authorization credentials were not supplied or are invalid.&lt;br /&gt;
&lt;br /&gt;
; 404 Not Found&lt;br /&gt;
: The account, product Id or service Id not found.&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Account|Account Management API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Account Management API]]&lt;/div&gt;</summary>
		<author><name>Mitko.georgiev</name></author>	</entry>

	</feed>