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",
"blurhash": "toot:blurhash",
"focalPoint": {
"@container": "@list",
"@id": "toot:focalPoint"
}
}
],
"id": "https://mastodon.social/users/b0rk/statuses/109263761373865001",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2022-10-31T16:11:26Z",
"url": "https://mastodon.social/@b0rk/109263761373865001",
"attributedTo": "https://mastodon.social/users/b0rk",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.social/users/b0rk/followers"
],
"sensitive": false,
"atomUri": "https://mastodon.social/users/b0rk/statuses/109263761373865001",
"inReplyToAtomUri": null,
"conversation": "tag:mastodon.social,2022-10-31:objectId=323982545:objectType=Conversation",
"content": "<p>debugging strategy: jump into a REPL</p>",
"contentMap": {
"en": "<p>debugging strategy: jump into a REPL</p>"
},
"attachment": [
{
"type": "Document",
"mediaType": "image/jpeg",
"url": "https://files.mastodon.social/media_attachments/files/109/263/761/336/174/710/original/ff886291bf8fbf75.jpeg",
"name": "title: jump into a REPL\n\nIn dynamic languages (like Python / Ruby / JS), you can jump into an interactive console at any point in your code. Here's how to do it in a frontend Javascript program:\n\n1. edit your code\n\ncode:\n```\nmy_var = call_some_function()\ndebugger;\n```\n\n2. refresh the page\n3. play around in the developer tools console! you can call any function you want / try out fixes!\n\nHow to do it in other languages:\n\nRuby: `binding.pry`\nPython: `import pdb; pdb.set_trace()`\n",
"blurhash": "U4R{#?M{?v~qi{?bM{WBIAofE1t7-p%MtQxu",
"width": 1199,
"height": 918
}
],
"tag": [],
"replies": {
"id": "https://mastodon.social/users/b0rk/statuses/109263761373865001/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.social/users/b0rk/statuses/109263761373865001/replies?min_id=109263761416296607&page=true",
"partOf": "https://mastodon.social/users/b0rk/statuses/109263761373865001/replies",
"items": [
"https://mastodon.social/users/b0rk/statuses/109263761416296607"
]
}
},
"likes": {
"id": "https://mastodon.social/users/b0rk/statuses/109263761373865001/likes",
"type": "Collection",
"totalItems": 66
},
"shares": {
"id": "https://mastodon.social/users/b0rk/statuses/109263761373865001/shares",
"type": "Collection",
"totalItems": 26
}
}