A small tool to view real-world ActivityPub objects as JSON! Enter a URL
or username from Mastodon or a similar service below, and we'll send a
request with
the right
Accept
header
to the server to view the underlying object.
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"ostatus": "http://ostatus.org#",
"atomUri": "ostatus:atomUri",
"inReplyToAtomUri": "ostatus:inReplyToAtomUri",
"conversation": "ostatus:conversation",
"sensitive": "as:sensitive",
"toot": "http://joinmastodon.org/ns#",
"votersCount": "toot:votersCount"
}
],
"id": "https://mastodon.macstories.net/users/alex/statuses/109525073730616078",
"type": "Note",
"summary": null,
"inReplyTo": "https://mstdn.ca/users/kent/statuses/109524992238633690",
"published": "2022-12-16T19:46:37Z",
"url": "https://mastodon.macstories.net/@alex/109525073730616078",
"attributedTo": "https://mastodon.macstories.net/users/alex",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.macstories.net/users/alex/followers",
"https://mstdn.ca/users/kent",
"https://mastodon.macstories.net/users/viticci",
"https://mastodon.macstories.net/users/macstories"
],
"sensitive": false,
"atomUri": "https://mastodon.macstories.net/users/alex/statuses/109525073730616078",
"inReplyToAtomUri": "https://mstdn.ca/users/kent/statuses/109524992238633690",
"conversation": "tag:macstories.net,2022-12-16:objectId=2873:objectType=Conversation",
"content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://mstdn.ca/@kent\" class=\"u-url mention\">@<span>kent</span></a></span> <span class=\"h-card\" translate=\"no\"><a href=\"https://mastodon.macstories.net/@viticci\" class=\"u-url mention\">@<span>viticci</span></a></span> <span class=\"h-card\" translate=\"no\"><a href=\"https://mastodon.macstories.net/@macstories\" class=\"u-url mention\">@<span>macstories</span></a></span> It's a few steps, but not too hard overall. First you have to set a couple Mastodon config variables:</p><p>LOCAL_DOMAIN: Your base domain (e.g. macstories.net)</p><p>WEB_DOMAIN: The domain where you're hosting the Mastodon website (e.g. mastodon.macstories.net)</p><p>Then you have to redirect the path `/.well-known/webfinger` at your base domain to the same path at your subdomain.</p><p>More details in the Mastodon docs: <a href=\"https://docs.joinmastodon.org/admin/config/#web_domain\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">docs.joinmastodon.org/admin/co</span><span class=\"invisible\">nfig/#web_domain</span></a></p>",
"contentMap": {
"en": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://mstdn.ca/@kent\" class=\"u-url mention\">@<span>kent</span></a></span> <span class=\"h-card\" translate=\"no\"><a href=\"https://mastodon.macstories.net/@viticci\" class=\"u-url mention\">@<span>viticci</span></a></span> <span class=\"h-card\" translate=\"no\"><a href=\"https://mastodon.macstories.net/@macstories\" class=\"u-url mention\">@<span>macstories</span></a></span> It's a few steps, but not too hard overall. First you have to set a couple Mastodon config variables:</p><p>LOCAL_DOMAIN: Your base domain (e.g. macstories.net)</p><p>WEB_DOMAIN: The domain where you're hosting the Mastodon website (e.g. mastodon.macstories.net)</p><p>Then you have to redirect the path `/.well-known/webfinger` at your base domain to the same path at your subdomain.</p><p>More details in the Mastodon docs: <a href=\"https://docs.joinmastodon.org/admin/config/#web_domain\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">docs.joinmastodon.org/admin/co</span><span class=\"invisible\">nfig/#web_domain</span></a></p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://mstdn.ca/users/kent",
"name": "@kent@mstdn.ca"
},
{
"type": "Mention",
"href": "https://mastodon.macstories.net/users/viticci",
"name": "@viticci"
},
{
"type": "Mention",
"href": "https://mastodon.macstories.net/users/macstories",
"name": "@macstories"
}
],
"replies": {
"id": "https://mastodon.macstories.net/users/alex/statuses/109525073730616078/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.macstories.net/users/alex/statuses/109525073730616078/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.macstories.net/users/alex/statuses/109525073730616078/replies",
"items": []
}
},
"likes": {
"id": "https://mastodon.macstories.net/users/alex/statuses/109525073730616078/likes",
"type": "Collection",
"totalItems": 4
},
"shares": {
"id": "https://mastodon.macstories.net/users/alex/statuses/109525073730616078/shares",
"type": "Collection",
"totalItems": 0
}
}