api in schoen

This commit is contained in:
2000-Trek 2023-07-05 22:42:58 +02:00
parent a66b883995
commit caef475e72

View file

@ -13,16 +13,18 @@
<h1 class="header"> <u>Documentation</u> </h1>
<p>http://matekasse.server.c3h/api/tag_id?={tag_id}</p>
<p>Response:
{"mode":"error" "error":"{error}"}
{"mode":"message","username":"{username}","message":"{message}"}
{"mode":"error" "error":"{error}"} or
{"mode":"message","username":"{username}","message":"{message}"} or
{"mode":"balance", "username":"{username}", "balance":"{balance}"}
</p>
<br></br>
<p>http://matekasse.server.c3h/api/change?id={user_id}?change={change}</p>
<p>
If change = None the change will be 1
</p>
<p>
Response:
{"mode":"error" "error":"{error}"}
{"mode":"error" "error":"{error}"} or
{"mode":"balance", "username":"{username}", "balance":"{balance}"}
</p>
<p>&nbsp;</p>