summaryrefslogtreecommitdiff
path: root/test/fixtures/mastodon-accept-activity.json
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-02-17 16:08:55 +0100
committerlain <lain@soykaf.club>2018-02-17 16:08:55 +0100
commit7b26443a7656163a1ecca6196b745e3393b606f1 (patch)
tree5d5f637c7db3103e8ae63e8aaf71470f618b4a20 /test/fixtures/mastodon-accept-activity.json
parente7b73359e352ed585613feeb61a48df3dd6d2cb3 (diff)
downloadpleroma-7b26443a7656163a1ecca6196b745e3393b606f1.tar.gz
pleroma-7b26443a7656163a1ecca6196b745e3393b606f1.zip
ActivityPub: Send out Accept after Follow.
Diffstat (limited to 'test/fixtures/mastodon-accept-activity.json')
-rw-r--r--test/fixtures/mastodon-accept-activity.json34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/fixtures/mastodon-accept-activity.json b/test/fixtures/mastodon-accept-activity.json
new file mode 100644
index 000000000..b661ed6da
--- /dev/null
+++ b/test/fixtures/mastodon-accept-activity.json
@@ -0,0 +1,34 @@
+{
+ "type": "Accept",
+ "signature": {
+ "type": "RsaSignature2017",
+ "signatureValue": "rBzK4Kqhd4g7HDS8WE5oRbWQb2R+HF/6awbUuMWhgru/xCODT0SJWSri0qWqEO4fPcpoUyz2d25cw6o+iy9wiozQb3hQNnu69AR+H5Mytc06+g10KCHexbGhbAEAw/7IzmeXELHUbaqeduaDIbdt1zw4RkwLXdqgQcGXTJ6ND1wM3WMHXQCK1m0flasIXFoBxpliPAGiElV8s0+Ltuh562GvflG3kB3WO+j+NaR0ZfG5G9N88xMj9UQlCKit5gpAE5p6syUsCU2WGBHywTumv73i3OVTIFfq+P9AdMsRuzw1r7zoKEsthW4aOzLQDi01ZjvdBz8zH6JnjDU7SMN/Ig==",
+ "creator": "http://mastodon.example.org/users/admin#main-key",
+ "created": "2018-02-17T14:36:41Z"
+ },
+ "object": {
+ "type": "Follow",
+ "object": "http://mastodon.example.org/users/admin",
+ "id": "http://localtesting.pleroma.lol/users/lain#follows/4",
+ "actor": "http://localtesting.pleroma.lol/users/lain"
+ },
+ "nickname": "lain",
+ "id": "http://mastodon.example.org/users/admin#accepts/follows/4",
+ "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