diff --git a/templates/apidocs.html b/templates/apidocs.html index 40fcacd..28c7118 100644 --- a/templates/apidocs.html +++ b/templates/apidocs.html @@ -40,6 +40,8 @@ Supported file extensions: "png", "apng", "jpg", "jpeg", "gif", "svg", "webp"

POST /api/comment - comment on posts - authentication required
title, being the title of the comment and id, being the ID of the post you want to comment on.

+ POST /api/delete - remove posts - authentication required
+ id, being the id of the post. you must be the owner of the post to delete.

POST /api/login - get authentication key
username, being the username and password, being the password. Returns authentication key.

GET /api/userinfo - authentication required - Returns user info, username, ID, and account creation date.