logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/

mastodon-create-with-attachment.json (2663B)


  1. {
  2. "type": "Create",
  3. "to": [
  4. "https://www.w3.org/ns/activitystreams#Public"
  5. ],
  6. "signature": {
  7. "type": "RsaSignature2017",
  8. "signatureValue": "KnaBoP7C4XYgzTFbM+CpGlx4p59ahWvNNo4reRGDlb/DmxL3OF1/WugNl0xHCOA3aoIX2rrkHniw+z4Yb+wOBf9ZOxgM+IHTKj69AEcm/4NxGXxStRv603JZNyboY371w8g/mIKmLLtL6dgUI3n2Laam2rYh//8aelEWQ240TxiJi/WcKuOT2DNInWOpfArgxJ4MA11n4tb4xX65RkxInTCFa1kaJG8L+A+EoXtIhTa4rCQDv/BH3a8x7vOJxHfEosEnkk/yVEqG+ccgoTvc+5/kK+TKk3S3GuXch0ro9RKqxfPAHkyg8eetRhNhKWZ/rgPNfcF6bGJKFA0i8TzjHw==",
  9. "creator": "http://mastodon.example.org/users/admin#main-key",
  10. "created": "2018-02-17T17:14:26Z"
  11. },
  12. "published": "2018-02-17T17:14:26Z",
  13. "object": {
  14. "url": "http://mastodon.example.org/@admin/99541822081679796",
  15. "type": "Note",
  16. "to": [
  17. "https://www.w3.org/ns/activitystreams#Public"
  18. ],
  19. "tag": [],
  20. "summary": null,
  21. "sensitive": false,
  22. "published": "2018-02-17T17:14:26Z",
  23. "inReplyToAtomUri": null,
  24. "inReplyTo": null,
  25. "id": "http://mastodon.example.org/users/admin/statuses/99541822081679796",
  26. "conversation": "tag:mastodon.example.org,2018-02-17:objectId=10:objectType=Conversation",
  27. "content": "<p><a href=\"http://mastodon.example.org/media/hw4nrZmV5DPbW2z_hao\" rel=\"nofollow noopener\" target=\"_blank\"><span class=\"invisible\">http://</span><span class=\"ellipsis\">mastodon.example.org/media/hw4</span><span class=\"invisible\">nrZmV5DPbW2z_hao</span></a></p>",
  28. "cc": [
  29. "http://mastodon.example.org/users/admin/followers"
  30. ],
  31. "attributedTo": "http://mastodon.example.org/users/admin",
  32. "attachment": [
  33. {
  34. "url": "http://mastodon.example.org/system/media_attachments/files/000/000/002/original/334ce029e7bfb920.jpg",
  35. "type": "Document",
  36. "name": null,
  37. "mediaType": "image/jpeg"
  38. }
  39. ],
  40. "atomUri": "http://mastodon.example.org/users/admin/statuses/99541822081679796"
  41. },
  42. "id": "http://mastodon.example.org/users/admin/statuses/99541822081679796/activity",
  43. "cc": [
  44. "http://mastodon.example.org/users/admin/followers"
  45. ],
  46. "actor": "http://mastodon.example.org/users/admin",
  47. "@context": [
  48. "https://www.w3.org/ns/activitystreams",
  49. "https://w3id.org/security/v1",
  50. {
  51. "toot": "http://joinmastodon.org/ns#",
  52. "sensitive": "as:sensitive",
  53. "ostatus": "http://ostatus.org#",
  54. "movedTo": "as:movedTo",
  55. "manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
  56. "inReplyToAtomUri": "ostatus:inReplyToAtomUri",
  57. "conversation": "ostatus:conversation",
  58. "atomUri": "ostatus:atomUri",
  59. "Hashtag": "as:Hashtag",
  60. "Emoji": "toot:Emoji"
  61. }
  62. ]
  63. }