mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2024-12-13 23:11:03 +01:00
70 lines
2.5 KiB
HTML
70 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>e-Amusement API</title>
|
|
|
|
<link rel="stylesheet" href="../styles.css">
|
|
</head>
|
|
|
|
<body>
|
|
<table>
|
|
<tr>
|
|
<td><a href="..">Contents</a></td>
|
|
<td><a href="../transport.html">Transport layer</a></td>
|
|
<td><a href="../packet.html">Packet format</a></td>
|
|
<td><a href="../protocol.html">Application Protocol</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h1><code>services</code></h1>
|
|
<h2 id="get"><code>services.get</code></h2>
|
|
<h3>Request:</h3>
|
|
<pre><code><call <i>...</i>>
|
|
<services method="get" model*="" >
|
|
<info>
|
|
<AVS2 __type="str"><i>AVS2 version</i></AVS2>
|
|
</info>
|
|
</services>
|
|
</call></code></pre>
|
|
<h3>Response:</h3>
|
|
<pre><code><response>
|
|
<services expire="" method="get" mode="" status="<i>status</i>">
|
|
<item[] name="<i>service</i>" url="<i>url</i>" />
|
|
</services>
|
|
</response></code></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>
|
|
</body> |