51 lines
1.8 KiB
HTML
51 lines
1.8 KiB
HTML
{% extends "base.html" %}
|
|
{% block title %}services{% endblock %}
|
|
{% block body %}
|
|
<h1><code>services</code></h1>
|
|
<h2 id="get"><code>services.get</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre>{% highlight "cxml" %}<call ...>
|
|
<services method="get" model*="" >
|
|
<info>
|
|
<AVS2 __type="str"><i>AVS2 version</i></AVS2>
|
|
</info>
|
|
</services>
|
|
</call>{% endhighlight %}</pre>
|
|
<h3>Response:</h3>
|
|
<pre>{% highlight "cxml" %}<response>
|
|
<services expire="" method="get" mode="" status="??status">
|
|
<item[] name="??service" url="??url" />
|
|
</services>
|
|
</response>{% endhighlight %}</pre>
|
|
<p>Known services are:</p>
|
|
<ul>
|
|
<li><code>ntp</code></li>
|
|
<li><code>keepalive</code></li>
|
|
<li><code>cardmng</code></li>
|
|
<li><code>facility</code></li>
|
|
<li><code>message</code></li>
|
|
<li><code>numbering</code></li>
|
|
<li><code>package</code></li>
|
|
<li><code>pcbevent</code></li>
|
|
<li><code>pcbtracker</code></li>
|
|
<li><code>pkglist</code></li>
|
|
<li><code>posevent</code></li>
|
|
<li><code>userdata</code></li>
|
|
<li><code>userid</code></li>
|
|
<li><code>eacoin</code></li>
|
|
<li><code>local</code></li>
|
|
<li><code>local2</code></li>
|
|
<li><code>lobby</code></li>
|
|
<li><code>lobby2</code></li>
|
|
<li><code>dlstatus</code></li>
|
|
<li><code>netlog</code></li>
|
|
<li><code>sidmgr</code></li>
|
|
<li><code>globby</code></li>
|
|
</ul>
|
|
<p>Most of these will usually just return the URL to the eAmuse server (or your fake one ;D). <code>ntp</code> is a
|
|
notable exception, unless you're planning on reimplementing NTP. <code>keepalive</code> will likely alsop be a
|
|
custom URL with query parameters pre-baked.</p>
|
|
<p><code>mode</code> is one of <code>operation</code>, <code>debug</code>, <code>test</code>, or
|
|
<code>factory</code>.
|
|
</p>
|
|
{% endblock %} |