docs/templates/pages/proto/system.html

106 lines
3.4 KiB
HTML

{% extends "base.html" %}
{% block body %}
<h1><code>system</code></h1>
<h2 id="getmaster"><code>system.getmaster</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
&lt;system method="getmaster"&gt;
&lt;data&gt;
&lt;gamekind __type="str" /&gt;
&lt;datatype __type="str" /&gt;
&lt;datakey __type="str" /&gt;
&lt;/data&gt;
&lt;/system&gt;
&lt;/call&gt;</code></pre>
<h3>Response:</h3>
<pre><code>&lt;response&gt;
&lt;system status="<i>status</i>"&gt;
&lt;result __type="s32" /&gt;
&lt;strdata1 __type="str" /&gt;
&lt;strdata2 __type="str" /&gt;
&lt;updatedate __type="u64" /&gt;
&lt;/system&gt;
&lt;/response&gt;</code></pre>
<h2 id="getlocationiplist"><code>system.getlocationiplist</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
&lt;system method="getlocationiplist"&gt;
&lt;data&gt;
&lt;locationid __type="str" /&gt;
&lt;lineid __type="str" /&gt;
&lt;/data&gt;
&lt;/system&gt;
&lt;/call&gt;</code></pre>
<h3>Response:</h3>
<pre><code>&lt;response&gt;
&lt;system status="<i>status</i>"&gt;
&lt;result __type="s32" /&gt;
&lt;iplist&gt;
&lt;record_num __type="s32" /&gt;
&lt;record[]&gt;
&lt;localconn __type="str" /&gt;
&lt;/record[]&gt;
&lt;/iplist&gt;
&lt;/system&gt;
&lt;/response&gt;</code></pre>
<h2 id="xrpcproxy"><code>system.xrpcproxy</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
&lt;system method="xrpcproxy"&gt;
&lt;info&gt;
&lt;version __type="s32" /&gt;
&lt;/info&gt;
&lt;data&gt;
&lt;hostid __type="s64" /&gt;
&lt;locationid __type="str" /&gt;
&lt;lineid __type="str" /&gt;
&lt;/data&gt;
&lt;/system&gt;
&lt;/call&gt;</code></pre>
<h3>Response:</h3>
<pre><code>&lt;response&gt;
&lt;system status="<i>status</i>"&gt;
&lt;result __type="s32" /&gt;
&lt;pwrtime __type="s32" /&gt;
&lt;matchlist&gt;
&lt;record_num __type="u32" /&gt;
&lt;record[]&gt;
&lt;pcbid __type="str" /&gt;
&lt;statusflg __type="str" /&gt;
&lt;matchgrp __type="s32" /&gt;
&lt;hostid __type="s64" /&gt;
&lt;jointime __type="u64" /&gt;
&lt;connip_g __type="str" /&gt;
&lt;connport_g __type="s32" /&gt;
&lt;connip_l __type="str" /&gt;
&lt;connport_l __type="s32" /&gt;
&lt;/record[]&gt;
&lt;/matchlist&gt;
&lt;/system&gt;
&lt;/response&gt;</code></pre>
<h2 id="convcardnumber"><code>system.convcardnumber</code></h2>
<h3>Request:</h3>
<pre><code>&lt;call <i>...</i>&gt;
&lt;system method="convcardnumber"&gt;
&lt;info&gt;
&lt;version __type="s32" /&gt;
&lt;/info&gt;
&lt;data&gt;
&lt;card_id __type="str" /&gt;
&lt;card_type __type="s32" /&gt;
&lt;/data&gt;
&lt;/system&gt;
&lt;/call&gt;</code></pre>
<h3>Response:</h3>
<pre><code>&lt;response&gt;
&lt;system status="<i>status</i>"&gt;
&lt;result __type="s32" /&gt;
&lt;data&gt;
&lt;card_number __type="str" /&gt;
&lt;/data&gt;
&lt;/system&gt;
&lt;/response&gt;</code></pre>
{% endblock %}