Add language support on /api/v1/statuses
[akkoma] / test / fixtures / mastodon-post-activity-contentmap.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 "sensitive": "as:sensitive",
15 "toot": "http://joinmastodon.org/ns#"
16 }
17 ],
18 "actor": "http://mastodon.example.org/users/admin",
19 "cc": [
20 "http://mastodon.example.org/users/admin/followers",
21 "http://localtesting.pleroma.lol/users/lain"
22 ],
23 "id": "http://mastodon.example.org/users/admin/statuses/99512778738411822/activity",
24 "nickname": "lain",
25 "object": {
26 "atomUri": "http://mastodon.example.org/users/admin/statuses/99512778738411822",
27 "attachment": [],
28 "attributedTo": "http://mastodon.example.org/users/admin",
29 "cc": [
30 "http://mastodon.example.org/users/admin/followers",
31 "http://localtesting.pleroma.lol/users/lain"
32 ],
33 "contentMap": {
34 "en": "<p><span class=\"h-card\"><a href=\"http://localtesting.pleroma.lol/users/lain\" class=\"u-url mention\">@<span>lain</span></a></span></p>"
35 },
36 "conversation": "tag:mastodon.example.org,2018-02-12:objectId=20:objectType=Conversation",
37 "id": "http://mastodon.example.org/users/admin/statuses/99512778738411822",
38 "inReplyTo": null,
39 "inReplyToAtomUri": null,
40 "published": "2018-02-12T14:08:20Z",
41 "sensitive": true,
42 "summary": "cw",
43 "tag": [
44 {
45 "href": "http://localtesting.pleroma.lol/users/lain",
46 "name": "@lain@localtesting.pleroma.lol",
47 "type": "Mention"
48 }
49 ],
50 "to": [
51 "https://www.w3.org/ns/activitystreams#Public"
52 ],
53 "type": "Note",
54 "url": "http://mastodon.example.org/@admin/99512778738411822"
55 },
56 "published": "2018-02-12T14:08:20Z",
57 "signature": {
58 "created": "2018-02-12T14:08:20Z",
59 "creator": "http://mastodon.example.org/users/admin#main-key",
60 "signatureValue": "rnNfcopkc6+Ju73P806popcfwrK9wGYHaJVG1/ZvrlEbWVDzaHjkXqj9Q3/xju5l8CSn9tvSgCCtPFqZsFQwn/pFIFUcw7ZWB2xi4bDm3NZ3S4XQ8JRaaX7og5hFxAhWkGhJhAkfxVnOg2hG+w2d/7d7vRVSC1vo5ip4erUaA/PkWusZvPIpxnRWoXaxJsFmVx0gJgjpJkYDyjaXUlp+jmaoseeZ4EPQUWqHLKJ59PRG0mg8j2xAjYH9nQaN14qMRmTGPxY8gfv/CUFcatA+8VJU9KEsJkDAwLVvglydNTLGrxpAJU78a2eaht0foV43XUIZGe3DKiJPgE+UOKGCJw==",
61 "type": "RsaSignature2017"
62 },
63 "to": [
64 "https://www.w3.org/ns/activitystreams#Public"
65 ],
66 "type": "Create"
67 }