Amon to FediverseEnglish • edit-25 hours agoBy the way, you can have Markdown in Lemmy post titlesmessage-square48arrow-up1122arrow-down14file-text
arrow-up1118arrow-down1message-squareBy the way, you can have Markdown in Lemmy post titlesAmon to FediverseEnglish • edit-25 hours agomessage-square48file-text
minus-square@[email protected]linkfedilinkEnglish1•1 day agoDo you know a way to see the ActivityPub JSON for fediverse objects?
minus-squareBentiGorlichlinkfedilink7•1 day agoyou can use https://browser.pub I like it very much for that use case :)
minus-squareAndrewlinkfedilinkEnglish5•1 day 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" }
Thanks, will try that out