forked from potsda.mn/mobilizon
c1e6612405
Introduce MobilizonWeb.API namespace Signed-off-by: Thomas Citharel <tcit@tcit.fr> Format Signed-off-by: Thomas Citharel <tcit@tcit.fr> WIP Signed-off-by: Thomas Citharel <tcit@tcit.fr> remove unneeded code Signed-off-by: Thomas Citharel <tcit@tcit.fr> Fix tests Signed-off-by: Thomas Citharel <tcit@tcit.fr> Fix warnings Signed-off-by: Thomas Citharel <tcit@tcit.fr>
66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|