f90089e1bf
Use Upload Media logic from Pleroma Backend changes for picture upload Move AS <-> Model conversion to separate module Front changes Downgrade apollo-client: https://github.com/Akryum/vue-apollo/issues/577 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
53 lines
2.2 KiB
JSON
53 lines
2.2 KiB
JSON
{
|
|
"type": "Update",
|
|
"object": {
|
|
"url": "http://mastodon.example.org/@gargron",
|
|
"type": "Person",
|
|
"summary": "<p>Some bio</p>",
|
|
"publicKey": {
|
|
"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",
|
|
"owner": "http://mastodon.example.org/users/gargron",
|
|
"id": "http://mastodon.example.org/users/gargron#main-key"
|
|
},
|
|
"preferredUsername": "gargron",
|
|
"outbox": "http://mastodon.example.org/users/gargron/outbox",
|
|
"name": "gargle",
|
|
"manuallyApprovesFollowers": false,
|
|
"inbox": "http://mastodon.example.org/users/gargron/inbox",
|
|
"id": "http://mastodon.example.org/users/gargron",
|
|
"following": "http://mastodon.example.org/users/gargron/following",
|
|
"followers": "http://mastodon.example.org/users/gargron/followers",
|
|
"endpoints": {
|
|
"sharedInbox": "http://mastodon.example.org/inbox"
|
|
},
|
|
"icon":{
|
|
"type":"Image",
|
|
"mediaType":"image/png",
|
|
"url":"https://files.mastodon.social/accounts/avatars/000/000/001/original/a285c086605e4182.png"
|
|
},
|
|
"image":{
|
|
"type":"Image",
|
|
"mediaType":"image/png",
|
|
"url":"https://files.mastodon.social/accounts/headers/000/000/001/original/c91b871f294ea63e.png"
|
|
}
|
|
},
|
|
"id": "http://mastodon.example.org/users/gargron#updates/1519563538",
|
|
"actor": "http://mastodon.example.org/users/gargron",
|
|
"@context": [
|
|
"https://www.w3.org/ns/activitystreams",
|
|
"https://w3id.org/security/v1",
|
|
{
|
|
"toot": "http://joinmastodon.org/ns#",
|
|
"sensitive": "as:sensitive",
|
|
"ostatus": "http://ostatus.org#",
|
|
"movedTo": "as:movedTo",
|
|
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
|
"inReplyToAtomUri": "ostatus:inReplyToAtomUri",
|
|
"conversation": "ostatus:conversation",
|
|
"atomUri": "ostatus:atomUri",
|
|
"Hashtag": "as:Hashtag",
|
|
"Emoji": "toot:Emoji"
|
|
}
|
|
]
|
|
}
|