docs/templates/pages/proto/package.html

62 lines
1.7 KiB
HTML
Raw Normal View History

2022-04-11 18:27:15 +00:00
{% extends "konami.html" %}
2021-12-29 01:41:21 +00:00
{% block title %}package{% endblock %}
2021-12-28 20:54:12 +00:00
{% block body %}
<h1><code>package</code></h1>
<h2 id="list"><code>package.list</code></h2>
<h3>Request:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<call ...>
<package method="list" pkgtype="??pkgtype" model*="" />
</call>{% endhighlight %}</pre>
2021-12-28 20:54:12 +00:00
<p><code>all</code> is the only currently observed value for <code>pkgtype</code></p>
<h3>Response:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<response>
<package status="??status">
2022-01-22 14:15:53 +00:00
<item[] url="" name="" desc="" size="" pkgtype="" sumtype="" sum="" from="" till="" />
2021-12-28 22:29:33 +00:00
</package>
</response>{% endhighlight %}</pre>
2021-12-28 20:54:12 +00:00
<p>A list of all packages available for download.</p>
2022-01-22 14:15:53 +00:00
<table>
<tr>
<td><code>url</code></td>
<td> </td>
</tr>
<tr>
<td><code>desc</code></td>
<td> </td>
</tr>
<tr>
<td><code>size</code></td>
<td>Size of the resource at <code>url</code> in bytes</td>
</tr>
<tr>
<td><code>pkgtype</code></td>
<td> </td>
</tr>
<tr>
<td><code>sumtype</code></td>
<td>Only allowable value is <code>md5</code>.</td>
</tr>
<tr>
<td><code>sum</code></td>
<td>The <code>sumtype</code> digest of the file at <code>url</code>.</td>
</tr>
<tr>
<td><code>from</code></td>
<td> </td>
</tr>
<tr>
<td><code>till</code></td>
<td> </td>
</tr>
</table>
2021-12-28 20:54:12 +00:00
<h2 id="intend"><code>package.intend</code></h2>
<h3>Request:</h3>
2021-12-28 22:29:33 +00:00
<pre>{% highlight "cxml" %}<call ...>
<package method="intend" url="" model*="" />
</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>
<package status="??status" />
</response>{% endhighlight %}</pre>
2021-12-28 20:54:12 +00:00
{% endblock %}