ActivityPub Viewer

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.

Open in browser →
{ "@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.social/users/nateberkopec/statuses/113306134551618383/activity", "type": "Create", "actor": "https://mastodon.social/users/nateberkopec", "published": "2024-10-14T14:00:06Z", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://mastodon.social/users/nateberkopec/followers", "https://mastodon.social/users/users" ], "object": { "id": "https://mastodon.social/users/nateberkopec/statuses/113306134551618383", "type": "Note", "summary": null, "inReplyTo": null, "published": "2024-10-14T14:00:06Z", "url": "https://mastodon.social/@nateberkopec/113306134551618383", "attributedTo": "https://mastodon.social/users/nateberkopec", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://mastodon.social/users/nateberkopec/followers", "https://mastodon.social/users/users" ], "sensitive": false, "atomUri": "https://mastodon.social/users/nateberkopec/statuses/113306134551618383", "inReplyToAtomUri": null, "conversation": "tag:mastodon.social,2024-10-14:objectId=822238721:objectType=Conversation", "content": "<p>Common cache use mistake in Rails views:<br />&lt;% @users.each do |user| %&gt;<br />&lt;% cache user do %&gt; </p><p>... results in @users.size number of cache calls.</p><p>&lt;%= render partial: &#39;user&#39;, collection: <span class=\"h-card\" translate=\"no\"><a href=\"https://mastodon.social/@users\" class=\"u-url mention\">@<span>users</span></a></span>, cached: true %&gt; </p><p>...results in 1 cache call, via multi-fetch.</p>", "contentMap": { "en": "<p>Common cache use mistake in Rails views:<br />&lt;% @users.each do |user| %&gt;<br />&lt;% cache user do %&gt; </p><p>... results in @users.size number of cache calls.</p><p>&lt;%= render partial: &#39;user&#39;, collection: <span class=\"h-card\" translate=\"no\"><a href=\"https://mastodon.social/@users\" class=\"u-url mention\">@<span>users</span></a></span>, cached: true %&gt; </p><p>...results in 1 cache call, via multi-fetch.</p>" }, "attachment": [], "tag": [ { "type": "Mention", "href": "https://mastodon.social/users/users", "name": "@users" } ], "replies": { "id": "https://mastodon.social/users/nateberkopec/statuses/113306134551618383/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://mastodon.social/users/nateberkopec/statuses/113306134551618383/replies?only_other_accounts=true&page=true", "partOf": "https://mastodon.social/users/nateberkopec/statuses/113306134551618383/replies", "items": [] } }, "likes": { "id": "https://mastodon.social/users/nateberkopec/statuses/113306134551618383/likes", "type": "Collection", "totalItems": 18 }, "shares": { "id": "https://mastodon.social/users/nateberkopec/statuses/113306134551618383/shares", "type": "Collection", "totalItems": 6 } } }