summaryrefslogtreecommitdiff
path: root/test/fixtures/prismo-url-map.json
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-11-01 11:27:22 +0100
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2018-11-01 11:30:50 +0100
commitc5f26f3ce2ef84a424a59498cc2d5e4ca9e1b525 (patch)
tree5b0bac1f0a0b3d3b2af7179c97cb45eb6d83d638 /test/fixtures/prismo-url-map.json
parentf20f575e298b7d98f6c025e552564e8e73e7bd49 (diff)
downloadpleroma-c5f26f3ce2ef84a424a59498cc2d5e4ca9e1b525.tar.gz
pleroma-c5f26f3ce2ef84a424a59498cc2d5e4ca9e1b525.zip
Test that prismo url-map transforms into a string
Diffstat (limited to 'test/fixtures/prismo-url-map.json')
-rw-r--r--test/fixtures/prismo-url-map.json52
1 files changed, 52 insertions, 0 deletions
diff --git a/test/fixtures/prismo-url-map.json b/test/fixtures/prismo-url-map.json
new file mode 100644
index 000000000..9088d01af
--- /dev/null
+++ b/test/fixtures/prismo-url-map.json
@@ -0,0 +1,52 @@
+{
+ "id": "https://prismo.news/posts/83",
+ "type": "Article",
+ "name": "Introducing: Federated follows!",
+ "published": "2018-11-01T07:10:05Z",
+ "content": "We are more than thrilled to announce that Prismo now supports federated follows! It means you ca...",
+ "url": {
+ "type": "Link",
+ "mimeType": "text/html",
+ "href": "https://prismo.news/posts/83"
+ },
+ "votes": 12,
+ "attributedTo": [
+ {
+ "type": "Person",
+ "id": "https://prismo.news/@mxb"
+ }
+ ],
+ "to": [
+ "https://www.w3.org/ns/activitystreams#Public"
+ ],
+ "tags": [
+ {
+ "type": "Hashtag",
+ "href": "https://prismo.news/tags/prismo",
+ "name": "#prismo"
+ },
+ {
+ "type": "Hashtag",
+ "href": "https://prismo.news/tags/prismodev",
+ "name": "#prismodev"
+ },
+ {
+ "type": "Hashtag",
+ "href": "https://prismo.news/tags/meta",
+ "name": "#meta"
+ }
+ ],
+ "@context": [
+ "https://www.w3.org/ns/activitystreams",
+ "https://w3id.org/security/v1",
+ {
+ "Hashtag": "as:Hashtag"
+ },
+ {
+ "votes": {
+ "@id": "as:votes",
+ "@type": "@id"
+ }
+ }
+ ]
+}