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.green/users/KingmaYpe/statuses/113509153692283002", "type": "Note", "summary": null, "inReplyTo": "https://fosstodon.org/users/bobulous/statuses/113506350725119956", "published": "2024-11-19T10:30:32Z", "url": "https://mastodon.green/@KingmaYpe/113509153692283002", "attributedTo": "https://mastodon.green/users/KingmaYpe", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://mastodon.green/users/KingmaYpe/followers", "https://fosstodon.org/users/bobulous" ], "sensitive": false, "atomUri": "https://mastodon.green/users/KingmaYpe/statuses/113509153692283002", "inReplyToAtomUri": "https://fosstodon.org/users/bobulous/statuses/113506350725119956", "conversation": "tag:fosstodon.org,2024-11-18:objectId=262134412:objectType=Conversation", "content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://fosstodon.org/@bobulous\" class=\"u-url mention\">@<span>bobulous</span></a></span> </p><p>I also ran into this a few times, but never on a performance critical path so I just left the clone() in the entry() key argument.</p><p>AFAICT the only way to avoid a needless clone() in such cases is to use contains_key() and insert(), but then two hash computations may be needed. </p><p>Actually I&#39;d hope that the optimizer can remove the clone() or the 2nd hash computation here.</p>", "contentMap": { "en": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://fosstodon.org/@bobulous\" class=\"u-url mention\">@<span>bobulous</span></a></span> </p><p>I also ran into this a few times, but never on a performance critical path so I just left the clone() in the entry() key argument.</p><p>AFAICT the only way to avoid a needless clone() in such cases is to use contains_key() and insert(), but then two hash computations may be needed. </p><p>Actually I&#39;d hope that the optimizer can remove the clone() or the 2nd hash computation here.</p>" }, "attachment": [], "tag": [ { "type": "Mention", "href": "https://fosstodon.org/users/bobulous", "name": "@bobulous@fosstodon.org" } ], "replies": { "id": "https://mastodon.green/users/KingmaYpe/statuses/113509153692283002/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://mastodon.green/users/KingmaYpe/statuses/113509153692283002/replies?only_other_accounts=true&page=true", "partOf": "https://mastodon.green/users/KingmaYpe/statuses/113509153692283002/replies", "items": [] } }, "likes": { "id": "https://mastodon.green/users/KingmaYpe/statuses/113509153692283002/likes", "type": "Collection", "totalItems": 0 }, "shares": { "id": "https://mastodon.green/users/KingmaYpe/statuses/113509153692283002/shares", "type": "Collection", "totalItems": 0 } }