diff --git a/templates/documentation.html b/templates/documentation.html index d80a895..e3e026a 100644 --- a/templates/documentation.html +++ b/templates/documentation.html @@ -13,16 +13,18 @@
http://matekasse.server.c3h/api/tag_id?={tag_id}
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}"}
http://matekasse.server.c3h/api/change?id={user_id}?change={change}
If change = None the change will be 1 +
+Response: - {"mode":"error" "error":"{error}"} + {"mode":"error" "error":"{error}"} or {"mode":"balance", "username":"{username}", "balance":"{balance}"}