diff options
author | lain <lain@soykaf.club> | 2018-02-17 20:13:12 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-02-17 20:13:12 +0100 |
commit | e1b12a778211378534fa176bbc4456c3a100b23f (patch) | |
tree | 15943903162308076f21175b927bdd893e2f1c26 /test/fixtures/mastodon-like.json | |
parent | 1f98de20793b60fa16a10f4bb21dc017a96ae122 (diff) | |
download | pleroma-e1b12a778211378534fa176bbc4456c3a100b23f.tar.gz pleroma-e1b12a778211378534fa176bbc4456c3a100b23f.zip |
ActivityPub: Handle incoming likes.
Diffstat (limited to 'test/fixtures/mastodon-like.json')
-rw-r--r-- | test/fixtures/mastodon-like.json | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/fixtures/mastodon-like.json b/test/fixtures/mastodon-like.json new file mode 100644 index 000000000..39fb44c4a --- /dev/null +++ b/test/fixtures/mastodon-like.json @@ -0,0 +1,29 @@ +{ + "type": "Like", + "signature": { + "type": "RsaSignature2017", + "signatureValue": "fdxMfQSMwbC6wP6sh6neS/vM5879K67yQkHTbiT5Npr5wAac0y6+o3Ij+41tN3rL6wfuGTosSBTHOtta6R4GCOOhCaCSLMZKypnp1VltCzLDoyrZELnYQIC8gpUXVmIycZbREk22qWUe/w7DAFaKK4UscBlHDzeDVcA0K3Se5Sluqi9/Zh+ldAnEzj/rSEPDjrtvf5wGNf3fHxbKSRKFt90JvKK6hS+vxKUhlRFDf6/SMETw+EhwJSNW4d10yMUakqUWsFv4Acq5LW7l+HpYMvlYY1FZhNde1+uonnCyuQDyvzkff8zwtEJmAXC4RivO/VVLa17SmqheJZfI8oluVg==", + "creator": "http://mastodon.example.org/users/admin#main-key", + "created": "2018-02-17T18:57:49Z" + }, + "object": "http://localtesting.pleroma.lol/objects/eb92579d-3417-42a8-8652-2492c2d4f454", + "nickname": "lain", + "id": "http://mastodon.example.org/users/admin#likes/2", + "actor": "http://mastodon.example.org/users/admin", + "@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" + } + ] +}
\ No newline at end of file |