diff --git a/Website/templates/documentation.html b/Website/templates/documentation.html index 3af2f42..17f04e1 100644 --- a/Website/templates/documentation.html +++ b/Website/templates/documentation.html @@ -16,14 +16,16 @@
http://matekasse.server.c3h/api/tag_id?={tag_id}
+http://matekasse.server.c3h/api/tag_id
+Post method "id"= tag id
Response: {"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}
+http://matekasse.server.c3h/api/change
+Post method "id" = user id, "change"=change
If change = None or NaN the change will be -1