Interpret `\n` as newline for MFM
[akkoma] / test / fixtures / mastodon-post-activity-nsfw.json
1 {
2 "@context": [
3 "https://www.w3.org/ns/activitystreams",
4 "https://w3id.org/security/v1",
5 {
6 "Emoji": "toot:Emoji",
7 "Hashtag": "as:Hashtag",
8 "atomUri": "ostatus:atomUri",
9 "conversation": "ostatus:conversation",
10 "inReplyToAtomUri": "ostatus:inReplyToAtomUri",
11 "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
12 "movedTo": "as:movedTo",
13 "ostatus": "http://ostatus.org#",
14 "toot": "http://joinmastodon.org/ns#"
15 }
16 ],
17 "actor": "http://mastodon.example.org/users/admin",
18 "cc": [
19 "http://mastodon.example.org/users/admin/followers",
20 "http://localtesting.pleroma.lol/users/lain"
21 ],
22 "id": "http://mastodon.example.org/users/admin/statuses/99512778738411822/activity",
23 "nickname": "lain",
24 "object": {
25 "atomUri": "http://mastodon.example.org/users/admin/statuses/99512778738411822",
26 "attachment": [],
27 "attributedTo": "http://mastodon.example.org/users/admin",
28 "cc": [
29 "http://mastodon.example.org/users/admin/followers",
30 "http://localtesting.pleroma.lol/users/lain"
31 ],
32 "content": "<p><span class=\"h-card\"><a href=\"http://localtesting.pleroma.lol/users/lain\" class=\"u-url mention\">@<span>lain</span></a></span> #moo</p>",
33 "conversation": "tag:mastodon.example.org,2018-02-12:objectId=20:objectType=Conversation",
34 "id": "http://mastodon.example.org/users/admin/statuses/99512778738411822",
35 "inReplyTo": null,
36 "inReplyToAtomUri": null,
37 "published": "2018-02-12T14:08:20Z",
38 "summary": "cw",
39 "tag": [
40 {
41 "href": "http://localtesting.pleroma.lol/users/lain",
42 "name": "@lain@localtesting.pleroma.lol",
43 "type": "Mention"
44 },
45 {
46 "href": "http://mastodon.example.org/tags/nsfw",
47 "name": "#NSFW",
48 "type": "Hashtag"
49 }
50 ],
51 "to": [
52 "https://www.w3.org/ns/activitystreams#Public"
53 ],
54 "type": "Note",
55 "url": "http://mastodon.example.org/@admin/99512778738411822"
56 },
57 "published": "2018-02-12T14:08:20Z",
58 "signature": {
59 "created": "2018-02-12T14:08:20Z",
60 "creator": "http://mastodon.example.org/users/admin#main-key",
61 "signatureValue": "rnNfcopkc6+Ju73P806popcfwrK9wGYHaJVG1/ZvrlEbWVDzaHjkXqj9Q3/xju5l8CSn9tvSgCCtPFqZsFQwn/pFIFUcw7ZWB2xi4bDm3NZ3S4XQ8JRaaX7og5hFxAhWkGhJhAkfxVnOg2hG+w2d/7d7vRVSC1vo5ip4erUaA/PkWusZvPIpxnRWoXaxJsFmVx0gJgjpJkYDyjaXUlp+jmaoseeZ4EPQUWqHLKJ59PRG0mg8j2xAjYH9nQaN14qMRmTGPxY8gfv/CUFcatA+8VJU9KEsJkDAwLVvglydNTLGrxpAJU78a2eaht0foV43XUIZGe3DKiJPgE+UOKGCJw==",
62 "type": "RsaSignature2017"
63 },
64 "to": [
65 "https://www.w3.org/ns/activitystreams#Public"
66 ],
67 "type": "Create"
68 }