Amon to FediverseEnglish • edit-21 month agoBy the way, you can have Markdown in Lemmy post titlesmessage-square63arrow-up1155arrow-down15file-text
arrow-up1150arrow-down1message-squareBy the way, you can have Markdown in Lemmy post titlesAmon to FediverseEnglish • edit-21 month agomessage-square63file-text
minus-square@[email protected]linkfedilinkEnglish1•1 month agoDo you know a way to see the ActivityPub JSON for fediverse objects?
minus-squareBentiGorlichlinkfedilink7•1 month agoyou can use https://browser.pub I like it very much for that use case :)
minus-squareAndrewlinkfedilinkEnglish5•1 month 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