http://dropzonewiki.singlehop.com/api.php?action=feedcontributions&user=Jmillies&feedformat=atomINAP Dropzone API - User contributions [en]2024-03-29T05:19:30ZUser contributionsMediaWiki 1.18.1http://dropzonewiki.singlehop.com/index.php?title=ServiceService2013-12-19T22:07:19Z<p>Jmillies: /* Service Commands */</p>
<hr />
<div>This Service module allows you to view which services a server posses and also purchase them. Beyond this it also allows you to see which Servers we have, if they are in stock and also get a one time URL that allows you to go to an order form in an already signed in state. There is also a licensing component to this API that allows the purchasing of cPanel licenses.<br />
<br />
==Service Commands==<br />
*[[Service License]]: Lists all available licenses that can be purchased for your [[SingleHop]] servers.<br />
**[[Service License List]]: List license on a server or type of license per IP<br />
**[[Service License Purchase]]: Purchase license for an IP by Type<br />
**[[Service License Delete]]: Delete license for an IP by Type<br />
*[[Service List]]: .<br />
*[[Service Purchase]]: .<br />
*[[Service Servers]]: .</div>Jmillieshttp://dropzonewiki.singlehop.com/index.php?title=Service_License_DeleteService License Delete2013-12-19T22:03:25Z<p>Jmillies: Created page with "The service license command can be used to list all the available licenses that can be purchased from SingleHop for use on any server within..."</p>
<hr />
<div>The [[Service|service]] license command can be used to list all the available licenses that can be purchased from [[glossary#SingleHop|SingleHop]] for use on any server within the [[glossary#SingleHop|SingleHop]] network.<br />
==Path==<br />
*/service/license/delete<br />
<br />
==Method==<br />
*[[glossary#POST|POST]]<br />
<br />
==Required Data Parameters==<br />
*{type: cpanel, cpanelvps, cpanelvzzo}<br />
*{data = $ipaddress}<br />
<br />
==Optional Data Parameters==<br />
*{serverid}<br />
<br />
==Returned Data==<br />
<pre><br />
stdClass Object(<br />
[success] => TRUE/FALSE<br />
)<br />
</pre></div>Jmillieshttp://dropzonewiki.singlehop.com/index.php?title=Service_License_PurchaseService License Purchase2013-12-19T22:02:37Z<p>Jmillies: Created page with "The service license command can be used to list all the available licenses that can be purchased from SingleHop for use on any server within..."</p>
<hr />
<div>The [[Service|service]] license command can be used to list all the available licenses that can be purchased from [[glossary#SingleHop|SingleHop]] for use on any server within the [[glossary#SingleHop|SingleHop]] network.<br />
==Path==<br />
*/service/license/purchase<br />
<br />
==Method==<br />
*[[glossary#POST|POST]]<br />
<br />
==Required Data Parameters==<br />
*{type: cpanel, cpanelvps, cpanelvzzo}<br />
*{data = $ipaddress}<br />
<br />
==Optional Data Parameters==<br />
*{serverid}<br />
<br />
==Returned Data==<br />
<pre><br />
stdClass Object(<br />
[success] => TRUE/FALSE<br />
)<br />
</pre></div>Jmillieshttp://dropzonewiki.singlehop.com/index.php?title=Service_License_ListService License List2013-12-19T21:59:59Z<p>Jmillies: Created page with "The service license command can be used to list all the available licenses that can be purchased from SingleHop for use on any server within..."</p>
<hr />
<div>The [[Service|service]] license command can be used to list all the available licenses that can be purchased from [[glossary#SingleHop|SingleHop]] for use on any server within the [[glossary#SingleHop|SingleHop]] network.<br />
==Path==<br />
*/service/license/list/{$serverid} or {$ipaddress}<br />
<br />
==Method==<br />
*[[glossary#GET|GET]]<br />
<br />
==Required Data Parameters==<br />
*{$serverid} or {$ipaddress}<br />
<br />
==Optional Data Parameters==<br />
*None<br />
<br />
==Returned Data==<br />
<pre><br />
stdClass Object(<br />
[success] => TRUE/FALSE<br />
[data] => List details of all licenses on a server, or details about the specific ip address<br />
)<br />
</pre></div>Jmillieshttp://dropzonewiki.singlehop.com/index.php?title=Service_ListService List2013-12-19T21:56:38Z<p>Jmillies: /* Path */</p>
<hr />
<div>Returns a list of available services for server. Also shows you weather the service is already active or not.<br />
==Path==<br />
*/service/list/{$serverid}<br />
<br />
==Method==<br />
*[[glossary#GET|GET]]<br />
<br />
==Required Data Parameters==<br />
*{$serverid}: The server ID that is returned when using the [[Server List|list]] command.<br />
<br />
==Optional Data Parameters==<br />
*None<br />
<br />
==Returned Data==<br />
<pre><br />
stdClass Object(<br />
[success] => TRUE/FALSE<br />
[data] => stdClass Object(<br />
[services] => stdClass Object(<br />
[*SERVICEID*] => stdClass Object(<br />
[type] => They type of service.<br />
[serviceid] => The internal ID of the service.<br />
[active] => Is the service active on you (TRUE,FASLE).<br />
[available] => Is the service available (TRUE,FASLE).<br />
[automatable] => Can the service be activated automatically (TRUE,FASLE).<br />
[name] => Name of the service.<br />
[price] => Monthly cost of the service.<br />
[code] => Internal service code.<br />
[description] => The description of the service.<br />
)<br />
)<br />
[servicestree] => stdClass Object(<br />
[admin] => An array of IDs containing admin services that can be used with data->services->IDHERE.<br />
[backup] => An array of IDs containing backup services that can be used with data->services->IDHERE.<br />
[security] => An array of IDs containing security services that can be used with data->services->IDHERE.<br />
[mail] => An array of IDs containing mail services that can be used with data->services->IDHERE.<br />
[network] => An array of IDs containing network services that can be used with data->services->IDHERE.<br />
[ip] => An array of IDs containing IP services that can be used with data->services->IDHERE.<br />
)<br />
)<br />
)<br />
</pre></div>Jmillieshttp://dropzonewiki.singlehop.com/index.php?title=Service_ListService List2013-12-19T21:56:23Z<p>Jmillies: /* Path */</p>
<hr />
<div>Returns a list of available services for server. Also shows you weather the service is already active or not.<br />
==Path==<br />
*/service/list/{$serverid} or {$ipaddress}<br />
<br />
==Method==<br />
*[[glossary#GET|GET]]<br />
<br />
==Required Data Parameters==<br />
*{$serverid}: The server ID that is returned when using the [[Server List|list]] command.<br />
<br />
==Optional Data Parameters==<br />
*None<br />
<br />
==Returned Data==<br />
<pre><br />
stdClass Object(<br />
[success] => TRUE/FALSE<br />
[data] => stdClass Object(<br />
[services] => stdClass Object(<br />
[*SERVICEID*] => stdClass Object(<br />
[type] => They type of service.<br />
[serviceid] => The internal ID of the service.<br />
[active] => Is the service active on you (TRUE,FASLE).<br />
[available] => Is the service available (TRUE,FASLE).<br />
[automatable] => Can the service be activated automatically (TRUE,FASLE).<br />
[name] => Name of the service.<br />
[price] => Monthly cost of the service.<br />
[code] => Internal service code.<br />
[description] => The description of the service.<br />
)<br />
)<br />
[servicestree] => stdClass Object(<br />
[admin] => An array of IDs containing admin services that can be used with data->services->IDHERE.<br />
[backup] => An array of IDs containing backup services that can be used with data->services->IDHERE.<br />
[security] => An array of IDs containing security services that can be used with data->services->IDHERE.<br />
[mail] => An array of IDs containing mail services that can be used with data->services->IDHERE.<br />
[network] => An array of IDs containing network services that can be used with data->services->IDHERE.<br />
[ip] => An array of IDs containing IP services that can be used with data->services->IDHERE.<br />
)<br />
)<br />
)<br />
</pre></div>Jmillies