mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 12:51:18 +00:00
Nutomic
149a4e0de8
* Remove CommentInReplyToMigration * Remove compat for RemovePostCommentOrCommunity * Remove PublicUrlMigration * Change type of pm to ChatMessage from Pleroma, make pm.to array * Use person.summary instead of person.content for pleroma compat * Also change group.content to summary * Rewrite apub object test json to serve as nice examples * Also add test case for parsing pleroma private message
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"@context": [
|
|
"https://www.w3.org/ns/activitystreams",
|
|
{
|
|
"comments_enabled": {
|
|
"id": "pt:commentsEnabled",
|
|
"type": "sc:Boolean"
|
|
},
|
|
"matrixUserId": {
|
|
"id": "as:alsoKnownAs",
|
|
"type": "sc:Text"
|
|
},
|
|
"moderators": "as:moderators",
|
|
"pt": "https://join-lemmy.org#",
|
|
"sc": "http://schema.org#",
|
|
"sensitive": "as:sensitive",
|
|
"stickied": "as:stickied"
|
|
},
|
|
"https://w3id.org/security/v1"
|
|
],
|
|
"id": "https://enterprise.lemmy.ml/post/55143",
|
|
"type": "Page",
|
|
"attributedTo": "https://enterprise.lemmy.ml/u/picard",
|
|
"to": [
|
|
"https://enterprise.lemmy.ml/c/tenforward",
|
|
"https://www.w3.org/ns/activitystreams#Public"
|
|
],
|
|
"name": "Post title",
|
|
"content": "<p>This is a post in the /c/tenforward community</p>\n",
|
|
"mediaType": "text/html",
|
|
"source": {
|
|
"content": "This is a post in the /c/tenforward community",
|
|
"mediaType": "text/markdown"
|
|
},
|
|
"sensitive": false,
|
|
"commentsEnabled": true,
|
|
"stickied": true,
|
|
"published": "2021-02-26T12:35:34.292626+00:00"
|
|
}
|