api in schoen
This commit is contained in:
parent
a66b883995
commit
caef475e72
1 changed files with 5 additions and 3 deletions
|
@ -13,16 +13,18 @@
|
||||||
<h1 class="header"> <u>Documentation</u> </h1>
|
<h1 class="header"> <u>Documentation</u> </h1>
|
||||||
<p>http://matekasse.server.c3h/api/tag_id?={tag_id}</p>
|
<p>http://matekasse.server.c3h/api/tag_id?={tag_id}</p>
|
||||||
<p>Response:
|
<p>Response:
|
||||||
{"mode":"error" "error":"{error}"}
|
{"mode":"error" "error":"{error}"} or
|
||||||
{"mode":"message","username":"{username}","message":"{message}"}
|
{"mode":"message","username":"{username}","message":"{message}"} or
|
||||||
{"mode":"balance", "username":"{username}", "balance":"{balance}"}
|
{"mode":"balance", "username":"{username}", "balance":"{balance}"}
|
||||||
</p>
|
</p>
|
||||||
<br></br>
|
<br></br>
|
||||||
<p>http://matekasse.server.c3h/api/change?id={user_id}?change={change}</p>
|
<p>http://matekasse.server.c3h/api/change?id={user_id}?change={change}</p>
|
||||||
<p>
|
<p>
|
||||||
If change = None the change will be 1
|
If change = None the change will be 1
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
Response:
|
Response:
|
||||||
{"mode":"error" "error":"{error}"}
|
{"mode":"error" "error":"{error}"} or
|
||||||
{"mode":"balance", "username":"{username}", "balance":"{balance}"}
|
{"mode":"balance", "username":"{username}", "balance":"{balance}"}
|
||||||
</p>
|
</p>
|
||||||
<p> </p>
|
<p> </p>
|
||||||
|
|
Loading…
Reference in a new issue