docs/templates/pages/proto/userdata.html

29 lines
957 B
HTML
Raw Normal View History

2021-12-28 20:54:12 +00:00
{% extends "base.html" %}
2021-12-29 01:41:21 +00:00
{% block title %}userdata{% endblock %}
2021-12-28 20:54:12 +00:00
{% block body %}
<h1><code>userdata</code></h1>
<h2 id="read"><code>userdata.read</code></h2>
<h3>Request:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<call ...>
<userdata method="read" card*="" model*="" label="" />
</call>{% endhighlight %}</pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<response>
<userdata status="??status" time="">
<b[] __type="" />
</userdata>
</response>{% endhighlight %}</pre>
2021-12-28 20:54:12 +00:00
<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>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<call ...>
<userdata method="write" card="" time="" model*="" label*="" >
<b[] __type="str" />
</userdata>
</call>{% endhighlight %}</pre>
2021-12-28 20:54:12 +00:00
<h3>Response:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<response>
<userdata status="??status" />
</response>{% endhighlight %}</pre>
2021-12-28 20:54:12 +00:00
{% endblock %}