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;"><pre>http://mydomain.tld/THT_DIR/xml-api/listaccts/auth_hash</pre></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 '==Usage== ==Parameters== * None ==Output== <pre> <listaccts> <acct> <id>1</id> <userid>stuff</userid> <email>email@gmail.com</email> …'</p>
<p><b>New page</b></p><div>==Usage==<br />
==Parameters==<br />
* None<br />
==Output==<br />
<pre><br />
<listaccts><br />
<acct><br />
<id>1</id><br />
<userid>stuff</userid><br />
<email>email@gmail.com</email><br />
<signup>Date</signup><br />
<ip>192.168.1.2</ip><br />
<domain>somewhereovertherainbow.com</domain><br />
<pid>1</pid><br />
<status>Suspended</status><br />
<additional></additional><br />
</acct><br />
</listaccts><br />
</pre><br />
==Example==<br />
<pre><br />
<?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->acct[0]->domain[0];<br />
?><br />
</pre><br />
===Example Output===<br />
<blockquote>somewhereovertherainbow.com</blockquote></div>
Simmaster