diff --git a/Website/templates/documentation.html b/Website/templates/documentation.html index 29df8c7..3af2f42 100644 --- a/Website/templates/documentation.html +++ b/Website/templates/documentation.html @@ -1,47 +1,47 @@ - - - - Documentation - - - - - -
-

index page | user and tag list

-

https://hannover.ccc.de/gitlab/anton/matekasse

-
-

Documentation

- -

 

-
-

API:

-

http://matekasse.server.c3h/api/tag_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}

-

- If change = None or NaN the change will be -1 -

-

- Response: - {"mode":"error" "error":"{error}"} or - {"mode":"balance", "username":"{username}", "balance":"{balance}"} -

-

-

Error Codes:

-

170: Tag already exists

-

054: Tag does not exists

-

757: Usere already exists

-

043: User does not exists

-

352: Timeout

-

095: Input is not a Number

-

418: I'm a teapot

-
- - + + + + Documentation + + + + + +
+

index page | user and tag list

+

https://hannover.ccc.de/gitlab/anton/matekasse

+
+

Documentation

+ +

 

+
+

API:

+

http://matekasse.server.c3h/api/tag_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}

+

+ If change = None or NaN the change will be -1 +

+

+ Response: + {"mode":"error" "error":"{error}"} or + {"mode":"balance", "username":"{username}", "balance":"{balance}"} +

+

+

Error Codes:

+

170: Tag already in use

+

054: Tag does not exists

+

757: User already exists

+

043: User does not exists

+

352: Timeout

+

095: Input is not a Number

+

418: I'm a teapot

+
+ + \ No newline at end of file