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://fosstodon.org/users/robinm/statuses/113414209687450048/replies",
"type": "Collection",
"first": {
"id": "https://fosstodon.org/users/robinm/statuses/113414209687450048/replies?page=true",
"type": "CollectionPage",
"next": "https://fosstodon.org/users/robinm/statuses/113414209687450048/replies?only_other_accounts=true&page=true",
"partOf": "https://fosstodon.org/users/robinm/statuses/113414209687450048/replies",
"items": [
{
"id": "https://fosstodon.org/users/robinm/statuses/113414210173948126",
"type": "Note",
"summary": null,
"inReplyTo": "https://fosstodon.org/users/robinm/statuses/113414209687450048",
"published": "2024-11-02T16:05:09Z",
"url": "https://fosstodon.org/@robinm/113414210173948126",
"attributedTo": "https://fosstodon.org/users/robinm",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://fosstodon.org/users/robinm/followers",
"https://fosstodon.org/users/rmanos"
],
"sensitive": false,
"atomUri": "https://fosstodon.org/users/robinm/statuses/113414210173948126",
"inReplyToAtomUri": "https://fosstodon.org/users/robinm/statuses/113414209687450048",
"conversation": "tag:fosstodon.org,2024-11-02:objectId=256787109:objectType=Conversation",
"content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://fosstodon.org/@rmanos\" class=\"u-url mention\">@<span>rmanos</span></a></span> The randomness was removed just to make it easy to show that it works. It’s not an exercice about knowing how to call rand() in your language.</p><p>Being able to print the stack trace has nothing to do with the challenge. Or that’s no longer error handling that we are talking about but error logging. Two close but unrealated topics.</p>",
"contentMap": {
"en": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://fosstodon.org/@rmanos\" class=\"u-url mention\">@<span>rmanos</span></a></span> The randomness was removed just to make it easy to show that it works. It’s not an exercice about knowing how to call rand() in your language.</p><p>Being able to print the stack trace has nothing to do with the challenge. Or that’s no longer error handling that we are talking about but error logging. Two close but unrealated topics.</p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://fosstodon.org/users/rmanos",
"name": "@rmanos"
}
],
"replies": {
"id": "https://fosstodon.org/users/robinm/statuses/113414210173948126/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://fosstodon.org/users/robinm/statuses/113414210173948126/replies?min_id=113414220801310651&page=true",
"partOf": "https://fosstodon.org/users/robinm/statuses/113414210173948126/replies",
"items": [
"https://fosstodon.org/users/robinm/statuses/113414220801310651"
]
}
},
"likes": {
"id": "https://fosstodon.org/users/robinm/statuses/113414210173948126/likes",
"type": "Collection",
"totalItems": 0
},
"shares": {
"id": "https://fosstodon.org/users/robinm/statuses/113414210173948126/shares",
"type": "Collection",
"totalItems": 0
}
}
]
}
}