Amon@lemmy.world to Fediverse@lemmy.worldEnglish · edit-220 hours agoBy the way, you can have Markdown in Lemmy post titlesmessage-squaremessage-square47fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1message-squareBy the way, you can have Markdown in Lemmy post titlesAmon@lemmy.world to Fediverse@lemmy.worldEnglish · edit-220 hours agomessage-square47fedilinkfile-text
minus-squareschnurrito@discuss.tchncs.delinkfedilinkEnglisharrow-up0·2 days agoDo you know a way to see the ActivityPub JSON for fediverse objects?
minus-squareBentiGorlich@gehirneimer.delinkfedilinkarrow-up0·2 days agoyou can use https://browser.pub I like it very much for that use case :)
minus-squareAndrew@piefed.sociallinkfedilinkEnglisharrow-up0·2 days agoYes - it’s easy to do from a command line. For this post, it would be: curl --header 'accept: application/activity+json' --location https://lemmy.world/post/24241974 | jq . it looks like { “@context”: [ “https://join-lemmy.org/context.json”, “https://www.w3.org/ns/activitystreams” ], “type”: “Page”, “id”: “https://lemmy.world/post/24241974”, “attributedTo”: “https://lemmy.world/u/amon”, “to”: [ “https://lemmy.world/c/fediverse”, “https://www.w3.org/ns/activitystreams#Public” ], “name”: “By the way, you can have Markdown in Lemmy post titles”, “cc”: [], “mediaType”: “text/html”, “attachment”: [], “commentsEnabled”: true, “sensitive”: false, “published”: “2025-01-13T20:48:50.824942Z”, “language”: { “identifier”: “en”, “name”: “English” }, “audience”: “https://lemmy.world/c/fediverse” }
Do you know a way to see the ActivityPub JSON for fediverse objects?
you can use https://browser.pub I like it very much for that use case :)
Yes - it’s easy to do from a command line. For this post, it would be:
curl --header 'accept: application/activity+json' --location https://lemmy.world/post/24241974 | jq .
it looks like
{
“@context”: [
“https://join-lemmy.org/context.json”,
“https://www.w3.org/ns/activitystreams”
],
“type”: “Page”,
“id”: “https://lemmy.world/post/24241974”,
“attributedTo”: “https://lemmy.world/u/amon”,
“to”: [
“https://lemmy.world/c/fediverse”,
“https://www.w3.org/ns/activitystreams#Public”
],
“name”: “By the way, you can have
Markdown
in Lemmy post titles”,“cc”: [],
“mediaType”: “text/html”,
“attachment”: [],
“commentsEnabled”: true,
“sensitive”: false,
“published”: “2025-01-13T20:48:50.824942Z”,
“language”: {
“identifier”: “en”,
“name”: “English”
},
“audience”: “https://lemmy.world/c/fediverse”
}