summary refs log tree commit diff
path: root/COMMANDS.md
diff options
context:
space:
mode:
authormeltland <[email protected]>2025-03-09 21:53:46 -0400
committermeltland <[email protected]>2025-03-09 21:53:46 -0400
commit0f93b0be310d3b60fa18f9d97fac5e8afebff6a6 (patch)
tree0d0999e4343119e0505bf19d027b4578f68a0f08 /COMMANDS.md
parent5d72b3d54d336aa485dbf925855f1a6aaaa40f85 (diff)
posting and some others
Diffstat (limited to 'COMMANDS.md')
-rw-r--r--COMMANDS.md42
1 files changed, 36 insertions, 6 deletions
diff --git a/COMMANDS.md b/COMMANDS.md
index 8479ac0..273e400 100644
--- a/COMMANDS.md
+++ b/COMMANDS.md
@@ -4,19 +4,49 @@
 Register an account.
 
 ### Required fields
-- `username`: 1-20 characters, a-z0-9-_
-- `password`: 1-255 characters
-- `invite_code`: 16 characters
+- string `username`: 1-20 characters, a-z0-9-_
+- string `password`: 1-255 characters
+- string `invite_code`: 16 characters
 
 ## `login_pswd`
 Log in using a password.
 
 ### Required fields
-- `username`: 1-20 characters
-- `password`: 1-255 characters
+- string `username`: 1-20 characters
+- string `password`: 1-255 characters
 
 ## `login_token`
 Log in using a token.
 
 ### Required fields
-- `token`: 32-127 characters
\ No newline at end of file
+- string `token`: 32-127 characters
+
+## `get_user`
+Get a user's profile.
+*Authentication required.*
+
+### Required fields
+- string `username`: 1-20 characters
+
+## `set_property`
+Set a property of your account, such as your display name or bio.
+*Authentication required.*
+
+### Required fields
+- string `property`: 1-63 characters
+  - Should be a valid property, such as `display_name`, `bio`, `avatar`, or `lastfm`.
+- string `value`: 0-2047 characters
+
+## `get_inbox`
+Get the inbox.
+*Authentication required.*
+*No required fields.*
+
+## `post`
+Create a post.
+*Authentication required.*
+
+### Required fields
+- string `content`: 0-3000 characters
+- list `replies`: 0-3 items
+- list `attachments`: 0-3 items
\ No newline at end of file