1
0
Fork 0
forked from bton/matekasse

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> <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>&nbsp;</p> <p>&nbsp;</p>