mirror of
https://gitea.tendokyu.moe/eamuse/docs.git
synced 2024-12-13 23:11:03 +01:00
48 lines
1.5 KiB
HTML
48 lines
1.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>userdata</code></h1>
|
||
|
<h2 id="read"><code>userdata.read</code></h2>
|
||
|
<h3>Request:</h3>
|
||
|
<pre><code><call <i>...</i>>
|
||
|
<userdata method="read" card*="" model*="" label="" />
|
||
|
</call></code></pre>
|
||
|
<h3>Response:</h3>
|
||
|
<pre><code><response>
|
||
|
<userdata status="<i>status</i>" time="">
|
||
|
<b[] __type="" />
|
||
|
</userdata>
|
||
|
</response></code></pre>
|
||
|
<p><code>__type</code> here can be either <code>bin</code> or <code>str</code></p>
|
||
|
|
||
|
<h2 id="write"><code>userdata.write</code></h2>
|
||
|
<h3>Request:</h3>
|
||
|
<pre><code><call <i>...</i>>
|
||
|
<userdata method="write" card="" time="" model*="" label*="" >
|
||
|
<b[] __type="str" />
|
||
|
</userdata>
|
||
|
</call></code></pre>
|
||
|
<h3>Response:</h3>
|
||
|
<pre><code><response>
|
||
|
<userdata status="<i>status</i>" />
|
||
|
</response></code></pre>
|
||
|
</body>
|