major refactoring of the api

This commit is contained in:
didier amyot committed 2015-03-28 20:53:28 -07:00
1 parent d4f7dc57fc
commit f0628e4682
38 files changed
+821 -367

No files matched your search

+17 -2
View File
@@ -1,6 +1,6 @@
<div class="row wab-apispect">
<div class="row">
<div class="columns large-12">
<h2>Api specification</h2>
<h1>Api specification</h1>
</div>
</div>
@@ -15,6 +15,11 @@
</tr>
</thead>
<tbody>
<tr>
<td><wab-api endpoint="/server"></wab-api></td>
<td><wab-method method="get"></wab-method></td>
<td>Get the server specification</td>
</tr>
<tr>
<td><wab-api endpoint="/doormen"></wab-api></td>
<td><wab-method method="get"></wab-method></td>
@@ -40,6 +45,16 @@
<td><wab-method method="delete"></wab-method></td>
<td>Delete the doorman</td>
</tr>
<tr>
<td><wab-api endpoint="/doormen/:id/status"></wab-api></td>
<td><wab-method method="get"></wab-method></td>
<td>Return the state of the doormen as expected by the client</td>
</tr>
<tr>
<td><wab-api endpoint="/doormen/:id/result?data=<base64>"></wab-api></td>
<td><wab-method method="get"></wab-method></td>
<td>Return the state of the doormen as expected by the client</td>
</tr>
</tbody>
</table>