docs/templates/pages/proto/userdata.html
Bottersnike 3536bb212a Titles
2021-12-29 01:41:21 +00:00

29 lines
957 B
HTML

{% extends "base.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 %}