{"@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