Skip to content

Commit 9f76f49

Browse files
committed
Attempt to add Disqus to a page
1 parent a51f174 commit 9f76f49

File tree

1 file changed

+45
-44
lines changed

1 file changed

+45
-44
lines changed

doc/source/oneportal/api_usage_and_methods.rst

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -39,56 +39,56 @@ The ‘getbalance’ action will return your client ID and account balance, the
3939
The ‘history’ action will return a list of invoices. Each invoice includes the date of invoice, due date, short description, status, and list of payments pertaining to each invoice. A paid invoice will have an invoices->invoice->status of completed.
4040
::
4141

42-
<invoices>
43-
<invoice id="1XXX1">
44-
<type>Debit</type>
45-
<created>2008-12-17 15:04:44</created>
46-
<unix_created>1229547884</unix_created>
47-
<duedate>0000-00-00</duedate>
48-
<unix_duedate>0</unix_duedate>
49-
<forserver>LSN-D0000</forserver>
50-
<description>New Server Order</description>
51-
<amount>136.74</amount>
52-
<status>completed</status>
53-
<payments>
54-
<payment id="1XXXX2">
55-
<method>PayPal</method>
56-
<txnid>9SA0000000000000X</txnid>
57-
<amount>136.74</amount>
58-
</payment>
59-
</payments>
60-
</invoice>
42+
<invoices>
43+
<invoice id="1XXX1">
44+
<type>Debit</type>
45+
<created>2008-12-17 15:04:44</created>
46+
<unix_created>1229547884</unix_created>
47+
<duedate>0000-00-00</duedate>
48+
<unix_duedate>0</unix_duedate>
49+
<forserver>LSN-D0000</forserver>
50+
<description>New Server Order</description>
51+
<amount>136.74</amount>
52+
<status>completed</status>
53+
<payments>
54+
<payment id="1XXXX2">
55+
<method>PayPal</method>
56+
<txnid>9SA0000000000000X</txnid>
57+
<amount>136.74</amount>
58+
</payment>
59+
</payments>
60+
</invoice>
6161
</invoices>
6262

6363
**Servers**
6464

6565
The ‘list’ action will return the list of servers available in the control panel. The list includes each server’s ID, display name, public/private ips, power/port status, and bandwidth usage.
6666
::
6767

68-
<servers>
69-
<server id="LSN-D0000">
70-
<displayname>ServerName</displayname>
71-
<publicip>74.63.000.000</publicip>
72-
<privateip>10.2.000.000</privateip>
73-
<powerstatus>on</powerstatus>
74-
<bandwidth>
75-
<actual>
76-
<percentage>9.62</percentage>
77-
<bytes>192479575610</bytes>
78-
<friendly>192.5GB</friendly>
79-
<allocated>2000GB</allocated>
80-
</actual>
81-
<predicted>
82-
<percentage>70.87</percentage>
83-
<bytes>1417495092920</bytes>
84-
<friendly>1.4TB</friendly>
85-
</predicted>
86-
</bandwidth>
87-
<portstatus>
88-
<public>on</public>
89-
<private>on</private>
90-
</portstatus>
91-
</server>
68+
<servers>
69+
<server id="LSN-D0000">
70+
<displayname>ServerName</displayname>
71+
<publicip>74.63.000.000</publicip>
72+
<privateip>10.2.000.000</privateip>
73+
<powerstatus>on</powerstatus>
74+
<bandwidth>
75+
<actual>
76+
<percentage>9.62</percentage>
77+
<bytes>192479575610</bytes>
78+
<friendly>192.5GB</friendly>
79+
<allocated>2000GB</allocated>
80+
</actual>
81+
<predicted>
82+
<percentage>70.87</percentage>
83+
<bytes>1417495092920</bytes>
84+
<friendly>1.4TB</friendly>
85+
</predicted>
86+
</bandwidth>
87+
<portstatus>
88+
<public>on</public>
89+
<private>on</private>
90+
</portstatus>
91+
</server>
9292
</servers>
9393

9494
**Code Samples**
@@ -104,7 +104,7 @@ The following example requires the simplexml_load_file function which is include
104104
"exampleapikeynumber1",
105105
"exampleapikeynumber2"
106106
)
107-
107+
108108
foreach ($apiKeyList as $apiKey) {
109109
$apiData = "https://one.limestonenetworks.com/webservices/clientapi.php?key=".$apiKey."&mod=servers&action=list"
110110

@@ -122,3 +122,4 @@ The following example requires the simplexml_load_file function which is include
122122

123123
unset($apiKey);
124124

125+
.. disqus::

0 commit comments

Comments
 (0)