summaryrefslogtreecommitdiff
path: root/test/fixtures/mastodon-announce-private.json
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-10-02 13:18:51 +0200
committerThibaut Girka <thib@sitedethib.com>2019-10-05 13:56:40 +0200
commit977e711e22dd5171cbff241c7e763de8d34eef26 (patch)
treeb77478a44fd2712ac25edda4a1993089bb94e4a3 /test/fixtures/mastodon-announce-private.json
parent433f2c0f6854d2838819e08f0fb0a9e8cf058021 (diff)
downloadpleroma-977e711e22dd5171cbff241c7e763de8d34eef26.tar.gz
pleroma-977e711e22dd5171cbff241c7e763de8d34eef26.zip
Import object from self-Announce whenever possible
Diffstat (limited to 'test/fixtures/mastodon-announce-private.json')
-rw-r--r--test/fixtures/mastodon-announce-private.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/fixtures/mastodon-announce-private.json b/test/fixtures/mastodon-announce-private.json
new file mode 100644
index 000000000..9b868b13d
--- /dev/null
+++ b/test/fixtures/mastodon-announce-private.json
@@ -0,0 +1,35 @@
+{
+ "type": "Announce",
+ "to": [
+ "http://mastodon.example.org/users/admin/followers"
+ ],
+ "published": "2018-02-17T19:39:15Z",
+ "object": {
+ "type": "Note",
+ "id": "http://mastodon.example.org/@admin/99541947525187368",
+ "attributedTo": "http://mastodon.example.org/users/admin",
+ "content": "this is a private toot",
+ "to": [
+ "http://mastodon.example.org/users/admin/followers"
+ ]
+ },
+ "id": "http://mastodon.example.org/users/admin/statuses/99542391527669785/activity",
+ "atomUri": "http://mastodon.example.org/users/admin/statuses/99542391527669785/activity",
+ "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"
+ }
+ ]
+}