summaryrefslogtreecommitdiff
path: root/test/fixtures/mastodon-follow-activity.json
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-02-17 14:55:44 +0100
committerlain <lain@soykaf.club>2018-02-17 14:55:44 +0100
commite7b73359e352ed585613feeb61a48df3dd6d2cb3 (patch)
treefda0eabb7ad7c41b7f13ecaff62ea85f5dc0c7ed /test/fixtures/mastodon-follow-activity.json
parent5682e48a253e40791b0b723f8cebf605c9cf7b63 (diff)
downloadpleroma-e7b73359e352ed585613feeb61a48df3dd6d2cb3.tar.gz
pleroma-e7b73359e352ed585613feeb61a48df3dd6d2cb3.zip
ActivityPub: Partly handle incoming follows.
Diffstat (limited to 'test/fixtures/mastodon-follow-activity.json')
-rw-r--r--test/fixtures/mastodon-follow-activity.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/fixtures/mastodon-follow-activity.json b/test/fixtures/mastodon-follow-activity.json
new file mode 100644
index 000000000..7a6de6996
--- /dev/null
+++ b/test/fixtures/mastodon-follow-activity.json
@@ -0,0 +1,29 @@
+{
+ "type": "Follow",
+ "signature": {
+ "type": "RsaSignature2017",
+ "signatureValue": "Kn1/UkAQGJVaXBfWLAHcnwHg8YMAUqlEaBuYLazAG+pz5hqivsyrBmPV186Xzr+B4ZLExA9+SnOoNx/GOz4hBm0kAmukNSILAsUd84tcJ2yT9zc1RKtembK4WiwOw7li0+maeDN0HaB6t+6eTqsCWmtiZpprhXD8V1GGT8yG7X24fQ9oFGn+ng7lasbcCC0988Y1eGqNe7KryxcPuQz57YkDapvtONzk8gyLTkZMV4De93MyRHq6GVjQVIgtiYabQAxrX6Q8C+4P/jQoqdWJHEe+MY5JKyNaT/hMPt2Md1ok9fZQBGHlErk22/zy8bSN19GdG09HmIysBUHRYpBLig==",
+ "creator": "http://mastodon.example.org/users/admin#main-key",
+ "created": "2018-02-17T13:29:31Z"
+ },
+ "object": "http://localtesting.pleroma.lol/users/lain",
+ "nickname": "lain",
+ "id": "http://mastodon.example.org/users/admin#follows/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