4 The following endpoints are additionally present into our actors.
6 - `oauthRegistrationEndpoint`
11 Inspired by <https://www.w3.org/wiki/SocialCG/ActivityPub/MediaUpload>
13 Content-Type: multipart/form-data
16 - (required) `file`: The file being uploaded
17 - (optionnal) `description`: A plain-text description of the media, for accessibility purposes.
19 Response: HTTP 201 Created with the object into the body, no `Location` header provided as it doesn't have an `id`
21 The object given in the reponse should then be inserted into an Object's `attachment` field.
25 ChatMessages are the messages sent in 1-on-1 chats. They are similar to
26 `Note`s, but the addresing is done by having a single AP actor in the `to`
27 field. Addressing multiple actors is not allowed. These messages are always
28 private, there is no public version of them. They are created with a `Create`
35 "actor": "http://2hu.gensokyo/users/raymoo",
36 "id": "http://2hu.gensokyo/objects/1",
38 "attributedTo": "http://2hu.gensokyo/users/raymoo",
39 "content": "You expected a cute girl? Too bad.",
40 "id": "http://2hu.gensokyo/objects/2",
41 "published": "2020-02-12T14:08:20Z",
43 "http://2hu.gensokyo/users/marisa"
47 "published": "2018-02-12T14:08:20Z",
49 "http://2hu.gensokyo/users/marisa"
55 This setup does not prevent multi-user chats, but these will have to go through
56 a `Group`, which will be the recipient of the messages and then `Announce` them
57 to the users in the `Group`.