summary refs log tree commit diff
path: root/COMMANDS.md
diff options
context:
space:
mode:
Diffstat (limited to 'COMMANDS.md')
-rw-r--r--COMMANDS.md19
1 files changed, 17 insertions, 2 deletions
diff --git a/COMMANDS.md b/COMMANDS.md
index ffd6c26..fd9d783 100644
--- a/COMMANDS.md
+++ b/COMMANDS.md
@@ -7,7 +7,7 @@
 Register an account.
 
 ### Required fields
-- string `username`: 1-20 characters, a-z0-9-_
+- string `username`: 1-20 characters, a-z0-9-_.
 - string `password`: 1-255 characters
 - string `invite_code`: 16 characters
 
@@ -59,4 +59,19 @@ Create a post.
 ### Required fields
 - string `content`: 0-3000 characters
 - list `replies`: 0-3 items
-- list `attachments`: 0-3 items
\ No newline at end of file
+- list `attachments`: 0-3 items
+
+## `delete_post`
+Delete a post by ID.
+*Authentication required.*
+
+### Required fields
+- string `id`: 8-127 characters
+
+## `edit_post`
+Edit a post by ID.
+*Authentication required.*
+
+### Required fields
+- string `id`: 8-127 characters
+- string `content`: 0-3000 characters
\ No newline at end of file