summaryrefslogtreecommitdiff
path: root/test/fixtures/prismo-url-map.json
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-11-10 11:06:29 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-11-10 11:11:01 +0000
commit1d9fcbf2ba77030dd82b32b2666ddae59649661b (patch)
treec8f24a6e68750e48305173f51c050378f27d0487 /test/fixtures/prismo-url-map.json
parentc5f26f3ce2ef84a424a59498cc2d5e4ca9e1b525 (diff)
downloadpleroma-1d9fcbf2ba77030dd82b32b2666ddae59649661b.tar.gz
pleroma-1d9fcbf2ba77030dd82b32b2666ddae59649661b.zip
add missing prismo testcase data
Diffstat (limited to 'test/fixtures/prismo-url-map.json')
-rw-r--r--test/fixtures/prismo-url-map.json111
1 files changed, 62 insertions, 49 deletions
diff --git a/test/fixtures/prismo-url-map.json b/test/fixtures/prismo-url-map.json
index 9088d01af..4e2e2fd4a 100644
--- a/test/fixtures/prismo-url-map.json
+++ b/test/fixtures/prismo-url-map.json
@@ -1,52 +1,65 @@
{
- "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"
+ "id": "https://prismo.news/posts/83#Create",
+ "type": "Create",
+ "actor": [
+ {
+ "type": "Person",
+ "id": "https://prismo.news/@mxb"
+ }
+ ],
+ "to": [
+ "https://www.w3.org/ns/activitystreams#Public"
+ ],
+ "object": {
+ "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"
+ }
+ }
+ ]
}
- ],
- "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"
- }
- }
- ]
}