HTTP signatures respect allowlist federation
[akkoma] / test / fixtures / mastodon-post-activity.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 "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></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 "replies": {
39 "id": "http://mastodon.example.org/users/admin/statuses/99512778738411822/replies",
40 "type": "Collection",
41 "first": {
42 "type": "CollectionPage",
43 "next": "http://mastodon.example.org/users/admin/statuses/99512778738411822/replies?min_id=99512778738411824&page=true",
44 "partOf": "http://mastodon.example.org/users/admin/statuses/99512778738411822/replies",
45 "items": [
46 "http://mastodon.example.org/users/admin/statuses/99512778738411823",
47 "http://mastodon.example.org/users/admin/statuses/99512778738411824"
48 ]
49 }
50 },
51 "sensitive": true,
52 "summary": "cw",
53 "tag": [
54 {
55 "href": "http://localtesting.pleroma.lol/users/lain",
56 "name": "@lain@localtesting.pleroma.lol",
57 "type": "Mention"
58 }
59 ],
60 "to": [
61 "https://www.w3.org/ns/activitystreams#Public"
62 ],
63 "type": "Note",
64 "url": "http://mastodon.example.org/@admin/99512778738411822"
65 },
66 "published": "2018-02-12T14:08:20Z",
67 "signature": {
68 "created": "2018-02-12T14:08:20Z",
69 "creator": "http://mastodon.example.org/users/admin#main-key",
70 "signatureValue": "rnNfcopkc6+Ju73P806popcfwrK9wGYHaJVG1/ZvrlEbWVDzaHjkXqj9Q3/xju5l8CSn9tvSgCCtPFqZsFQwn/pFIFUcw7ZWB2xi4bDm3NZ3S4XQ8JRaaX7og5hFxAhWkGhJhAkfxVnOg2hG+w2d/7d7vRVSC1vo5ip4erUaA/PkWusZvPIpxnRWoXaxJsFmVx0gJgjpJkYDyjaXUlp+jmaoseeZ4EPQUWqHLKJ59PRG0mg8j2xAjYH9nQaN14qMRmTGPxY8gfv/CUFcatA+8VJU9KEsJkDAwLVvglydNTLGrxpAJU78a2eaht0foV43XUIZGe3DKiJPgE+UOKGCJw==",
71 "type": "RsaSignature2017"
72 },
73 "to": [
74 "https://www.w3.org/ns/activitystreams#Public"
75 ],
76 "type": "Create"
77 }