Warning: putenv() has been disabled for security reasons in /www/wwwroot/wiki.thehostingtool.com/includes/Setup.php on line 148
https://wiki.thehostingtool.com/index.php?title=API:listaccts&feed=atom&action=history API:listaccts - Revision history 2024-03-28T19:19:29Z Revision history for this page on the wiki MediaWiki 1.34.2 https://wiki.thehostingtool.com/index.php?title=API:listaccts&diff=175&oldid=prev Kevin M: Added the ApiNotReady template. 2010-03-30T03:33:20Z <p>Added the ApiNotReady template.</p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 03:33, 30 March 2010</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{Template:ApiNotReady}}</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Usage==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Usage==</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This API function will list all the accounts in the THT database. The function name is ''listaccts'' and does not have any parameters. The URL would look something like this:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>This API function will list all the accounts in the THT database. The function name is ''listaccts'' and does not have any parameters. The URL would look something like this:</div></td></tr> </table> Kevin M https://wiki.thehostingtool.com/index.php?title=API:listaccts&diff=119&oldid=prev Simmaster: /* Usage */ 2010-02-14T18:11:21Z <p><span dir="auto"><span class="autocomment">Usage</span></span></p> <table class="diff diff-contentalign-left" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td> <td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 18:11, 14 February 2010</td> </tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td> <td colspan="2" class="diff-lineno">Line 1:</td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Usage==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Usage==</div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">This API function will list all the accounts in the THT database. The function name is ''listaccts'' and does not have any parameters. The URL would look something like this:</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">&lt;pre&gt;http://mydomain.tld/THT_DIR/xml-api/listaccts/auth_hash&lt;/pre&gt;</ins></div></td></tr> <tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Parameters==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Parameters==</div></td></tr> <tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* None</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* None</div></td></tr> </table> Simmaster https://wiki.thehostingtool.com/index.php?title=API:listaccts&diff=118&oldid=prev Simmaster: Created page with '==Usage== ==Parameters== * None ==Output== <pre> <listaccts> <acct> <id>1</id> <userid>stuff</userid> <email>email@gmail.com</email> …' 2010-02-14T18:09:18Z <p>Created page with &#039;==Usage== ==Parameters== * None ==Output== &lt;pre&gt; &lt;listaccts&gt; &lt;acct&gt; &lt;id&gt;1&lt;/id&gt; &lt;userid&gt;stuff&lt;/userid&gt; &lt;email&gt;email@gmail.com&lt;/email&gt; …&#039;</p> <p><b>New page</b></p><div>==Usage==<br /> ==Parameters==<br /> * None<br /> ==Output==<br /> &lt;pre&gt;<br /> &lt;listaccts&gt;<br /> &lt;acct&gt;<br /> &lt;id&gt;1&lt;/id&gt;<br /> &lt;userid&gt;stuff&lt;/userid&gt;<br /> &lt;email&gt;email@gmail.com&lt;/email&gt;<br /> &lt;signup&gt;Date&lt;/signup&gt;<br /> &lt;ip&gt;192.168.1.2&lt;/ip&gt;<br /> &lt;domain&gt;somewhereovertherainbow.com&lt;/domain&gt;<br /> &lt;pid&gt;1&lt;/pid&gt;<br /> &lt;status&gt;Suspended&lt;/status&gt;<br /> &lt;additional&gt;&lt;/additional&gt;<br /> &lt;/acct&gt;<br /> &lt;/listaccts&gt;<br /> &lt;/pre&gt;<br /> ==Example==<br /> &lt;pre&gt;<br /> &lt;?php<br /> $ch = curl_init();<br /> curl_setopt($ch, CURLOPT_URL, 'http://mydomain.tld/THT_DIR/xml-api/listaccts/auth_hash');<br /> $val = curl_exec($ch);<br /> curl_close($ch);<br /> $xml = new SimpleXMLElement($val);<br /> unset($val);<br /> echo $xml-&gt;acct[0]-&gt;domain[0];<br /> ?&gt;<br /> &lt;/pre&gt;<br /> ===Example Output===<br /> &lt;blockquote&gt;somewhereovertherainbow.com&lt;/blockquote&gt;</div> Simmaster