diff options
author | Lain Soykaf <lain@lain.com> | 2024-05-20 12:30:15 +0400 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2024-05-20 12:30:15 +0400 |
commit | ad26b6d593d83ddb539a5c61ee9f639f7b40531e (patch) | |
tree | 7df211d68414fea73074731b31be9f700cff8883 /docs/development/ap_extensions.md | |
parent | ddb9e90c405369496fdf9e6dfed593eff8d5dc5c (diff) | |
parent | e8cd6662eb2a534e3be16b522bf81b25b194edab (diff) | |
download | pleroma-ad26b6d593d83ddb539a5c61ee9f639f7b40531e.tar.gz pleroma-ad26b6d593d83ddb539a5c61ee9f639f7b40531e.zip |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into bump-elixir
Diffstat (limited to 'docs/development/ap_extensions.md')
-rw-r--r-- | docs/development/ap_extensions.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/development/ap_extensions.md b/docs/development/ap_extensions.md index 3d1caeb3e..75c8a7b54 100644 --- a/docs/development/ap_extensions.md +++ b/docs/development/ap_extensions.md @@ -20,16 +20,16 @@ Content-Type: multipart/form-data Parameters: - (required) `file`: The file being uploaded -- (optionnal) `description`: A plain-text description of the media, for accessibility purposes. +- (optional) `description`: A plain-text description of the media, for accessibility purposes. Response: HTTP 201 Created with the object into the body, no `Location` header provided as it doesn't have an `id` -The object given in the reponse should then be inserted into an Object's `attachment` field. +The object given in the response should then be inserted into an Object's `attachment` field. ## ChatMessages `ChatMessage`s are the messages sent in 1-on-1 chats. They are similar to -`Note`s, but the addresing is done by having a single AP actor in the `to` +`Note`s, but the addressing is done by having a single AP actor in the `to` field. Addressing multiple actors is not allowed. These messages are always private, there is no public version of them. They are created with a `Create` activity. |