Merge branch 'feature/activitypub' into 'develop'
[akkoma] / test / fixtures / mastodon-update.json
1 {
2 "type": "Update",
3 "object": {
4 "url": "http://mastodon.example.org/@gargron",
5 "type": "Person",
6 "summary": "<p>Some bio</p>",
7 "publicKey": {
8 "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0gs3VnQf6am3R+CeBV4H\nlfI1HZTNRIBHgvFszRZkCERbRgEWMu+P+I6/7GJC5H5jhVQ60z4MmXcyHOGmYMK/\n5XyuHQz7V2Ssu1AxLfRN5Biq1ayb0+DT/E7QxNXDJPqSTnstZ6C7zKH/uAETqg3l\nBonjCQWyds+IYbQYxf5Sp3yhvQ80lMwHML3DaNCMlXWLoOnrOX5/yK5+dedesg2\n/HIvGk+HEt36vm6hoH7bwPuEkgA++ACqwjXRe5Mta7i3eilHxFaF8XIrJFARV0t\nqOu4GID/jG6oA+swIWndGrtR2QRJIt9QIBFfK3HG5M0koZbY1eTqwNFRHFL3xaD\nUQIDAQAB\n-----END PUBLIC KEY-----\n",
9 "owner": "http://mastodon.example.org/users/gargron",
10 "id": "http://mastodon.example.org/users/gargron#main-key"
11 },
12 "preferredUsername": "gargron",
13 "outbox": "http://mastodon.example.org/users/gargron/outbox",
14 "name": "gargle",
15 "manuallyApprovesFollowers": false,
16 "inbox": "http://mastodon.example.org/users/gargron/inbox",
17 "id": "http://mastodon.example.org/users/gargron",
18 "following": "http://mastodon.example.org/users/gargron/following",
19 "followers": "http://mastodon.example.org/users/gargron/followers",
20 "endpoints": {
21 "sharedInbox": "http://mastodon.example.org/inbox"
22 },
23 "icon":{"type":"Image","mediaType":"image/jpeg","url":"https://cd.niu.moe/accounts/avatars/000/033/323/original/fd7f8ae0b3ffedc9.jpeg"},"image":{"type":"Image","mediaType":"image/png","url":"https://cd.niu.moe/accounts/headers/000/033/323/original/850b3448fa5fd477.png"}
24 },
25 "id": "http://mastodon.example.org/users/gargron#updates/1519563538",
26 "actor": "http://mastodon.example.org/users/gargron",
27 "@context": [
28 "https://www.w3.org/ns/activitystreams",
29 "https://w3id.org/security/v1",
30 {
31 "toot": "http://joinmastodon.org/ns#",
32 "sensitive": "as:sensitive",
33 "ostatus": "http://ostatus.org#",
34 "movedTo": "as:movedTo",
35 "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
36 "inReplyToAtomUri": "ostatus:inReplyToAtomUri",
37 "conversation": "ostatus:conversation",
38 "atomUri": "ostatus:atomUri",
39 "Hashtag": "as:Hashtag",
40 "Emoji": "toot:Emoji"
41 }
42 ]
43 }