docs/templates/pages/proto/userdata.html
2022-04-11 19:27:15 +01:00

29 lines
959 B
HTML

{% extends "konami.html" %}
{% block title %}userdata{% endblock %}
{% block body %}
<h1><code>userdata</code></h1>
<h2 id="read"><code>userdata.read</code></h2>
<h3>Request:</h3>
<pre>{% highlight "cxml" %}<call ...>
<userdata method="read" card*="" model*="" label="" />
</call>{% endhighlight %}</pre>
<h3>Response:</h3>
<pre>{% highlight "cxml" %}<response>
<userdata status="??status" time="">
<b[] __type="" />
</userdata>
</response>{% endhighlight %}</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>{% highlight "cxml" %}<call ...>
<userdata method="write" card="" time="" model*="" label*="" >
<b[] __type="str" />
</userdata>
</call>{% endhighlight %}</pre>
<h3>Response:</h3>
<pre>{% highlight "cxml" %}<response>
<userdata status="??status" />
</response>{% endhighlight %}</pre>
{% endblock %}