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.gamedev.place/users/gfxstrand/statuses/110266440598044425/replies",
"type": "Collection",
"first": {
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266440598044425/replies?page=true",
"type": "CollectionPage",
"next": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266440598044425/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266440598044425/replies",
"items": [
{
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266467278761423",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266440598044425",
"published": "2023-04-26T18:12:44Z",
"url": "https://mastodon.gamedev.place/@gfxstrand/110266467278761423",
"attributedTo": "https://mastodon.gamedev.place/users/gfxstrand",
"to": [
"https://mastodon.gamedev.place/users/gfxstrand/followers"
],
"cc": [
"https://www.w3.org/ns/activitystreams#Public"
],
"sensitive": false,
"atomUri": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266467278761423",
"inReplyToAtomUri": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266440598044425",
"conversation": "tag:mastodon.gamedev.place,2023-04-26:objectId=36074109:objectType=Conversation",
"content": "<p>In my copy propagation pass, I have the following loop:</p><p>let src_types = instr.src_types();<br />for (i, src) in instr.srcs_mut().iter_mut().enumerate() {<br /> self.prop_to_src(src_types[i], src);<br />}</p><p>At some point I could choose to make the above loop more ergonomic by using a zip iterator or something but, for now, it pretty well does what I want and I'm not using types too many places yet so it's probably okay.</p>",
"contentMap": {
"en": "<p>In my copy propagation pass, I have the following loop:</p><p>let src_types = instr.src_types();<br />for (i, src) in instr.srcs_mut().iter_mut().enumerate() {<br /> self.prop_to_src(src_types[i], src);<br />}</p><p>At some point I could choose to make the above loop more ergonomic by using a zip iterator or something but, for now, it pretty well does what I want and I'm not using types too many places yet so it's probably okay.</p>"
},
"attachment": [],
"tag": [],
"replies": {
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266467278761423/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266467278761423/replies?min_id=110266467597997024&page=true",
"partOf": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266467278761423/replies",
"items": [
"https://mastodon.gamedev.place/users/gfxstrand/statuses/110266467597997024"
]
}
},
"likes": {
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266467278761423/likes",
"type": "Collection",
"totalItems": 3
},
"shares": {
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266467278761423/shares",
"type": "Collection",
"totalItems": 0
}
}
]
}
}