summary refs log tree commit diff
path: root/COMMANDS.md
diff options
context:
space:
mode:
authormeltland <[email protected]>2025-03-22 15:57:13 -0400
committermeltland <[email protected]>2025-03-22 15:57:13 -0400
commita006c75df9ddbdf69a3c3ba70a29a1bf78ad826b (patch)
tree61bec00b531e8d980e80a59fe14e8df7f9b6948e /COMMANDS.md
parente0b3db233b1412b14393c2f3c76ace83aa954889 (diff)
delete/edit
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