mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 16:34:01 +00:00
Nutomic
dfb0938738
* Use SourceCompat everywhere (better compat with other software) * Name field should not be mandatory in Group * also check page.cc field for community id * add gnu social tests * better to use option<sourcecompat> * update gnu social tests, marked vote as "unlisted"
53 lines
No EOL
1.3 KiB
JSON
53 lines
No EOL
1.3 KiB
JSON
{
|
|
"type": "Create",
|
|
"@context": [
|
|
"https://www.w3.org/ns/activitystreams",
|
|
"https://w3id.org/security/v1",
|
|
{
|
|
"gs": "https://www.gnu.org/software/social/ns#"
|
|
},
|
|
{
|
|
"litepub": "http://litepub.social/ns#"
|
|
},
|
|
{
|
|
"chatMessage": "litepub:chatMessage"
|
|
},
|
|
{
|
|
"inConversation": {
|
|
"@id": "gs:inConversation",
|
|
"@type": "@id"
|
|
}
|
|
}
|
|
],
|
|
"id": "https://instance.gnusocial.test/activity/1338",
|
|
"published": "2022-03-17T23:30:26+00:00",
|
|
"actor": "https://instance.gnusocial.test/actor/42",
|
|
"to": [
|
|
"https://www.w3.org/ns/activitystreams#Public"
|
|
],
|
|
"cc": [
|
|
"https://instance.gnusocial.test/actor/21"
|
|
],
|
|
"object": {
|
|
"type": "Page",
|
|
"id": "https://instance.gnusocial.test/object/note/1338",
|
|
"published": "2022-03-17T23:30:26+00:00",
|
|
"attributedTo": "https://instance.gnusocial.test/actor/42",
|
|
"name": "hello, world.",
|
|
"content": "<p>This is an interesting page.</p>",
|
|
"mediaType": "text/html",
|
|
"source": {
|
|
"content": "This is an interesting page.",
|
|
"mediaType": "text/markdown"
|
|
},
|
|
"attachment": [],
|
|
"tag": [],
|
|
"inConversation": "https://instance.gnusocial.test/conversation/1338",
|
|
"to": [
|
|
"https://www.w3.org/ns/activitystreams#Public"
|
|
],
|
|
"cc": [
|
|
"https://instance.gnusocial.test/actor/21"
|
|
]
|
|
}
|
|
} |