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/110266428865152564/replies",
"type": "Collection",
"first": {
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266428865152564/replies?page=true",
"type": "CollectionPage",
"next": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266428865152564/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266428865152564/replies",
"items": [
{
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266440598044425",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266428865152564",
"published": "2023-04-26T18:05:57Z",
"url": "https://mastodon.gamedev.place/@gfxstrand/110266440598044425",
"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/110266440598044425",
"inReplyToAtomUri": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266428865152564",
"conversation": "tag:mastodon.gamedev.place,2023-04-26:objectId=36074109:objectType=Conversation",
"content": "<p>I added a SrcType enum and some code to my proc macro which turns sources into slices to also produce a bit of per-op metadata with the source type. In the opcode definition, it looks something like this:</p><p>#[derive(SrcsAsSlice, DstsAsSlice)]<br />pub struct OpFMnMx {<br /> pub dst: Dst,</p><p> #[src_type(F32)]<br /> pub srcs: [Src; 2],</p><p> #[src_type(Pred)]<br /> pub min: Src,<br />}</p><p>The newly added src_type() attributes say that the two input sources are floats and min is a predicate.</p>",
"contentMap": {
"en": "<p>I added a SrcType enum and some code to my proc macro which turns sources into slices to also produce a bit of per-op metadata with the source type. In the opcode definition, it looks something like this:</p><p>#[derive(SrcsAsSlice, DstsAsSlice)]<br />pub struct OpFMnMx {<br /> pub dst: Dst,</p><p> #[src_type(F32)]<br /> pub srcs: [Src; 2],</p><p> #[src_type(Pred)]<br /> pub min: Src,<br />}</p><p>The newly added src_type() attributes say that the two input sources are floats and min is a predicate.</p>"
},
"attachment": [],
"tag": [],
"replies": {
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266440598044425/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266440598044425/replies?min_id=110266467278761423&page=true",
"partOf": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266440598044425/replies",
"items": [
"https://mastodon.gamedev.place/users/gfxstrand/statuses/110266467278761423"
]
}
},
"likes": {
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266440598044425/likes",
"type": "Collection",
"totalItems": 4
},
"shares": {
"id": "https://mastodon.gamedev.place/users/gfxstrand/statuses/110266440598044425/shares",
"type": "Collection",
"totalItems": 1
}
}
]
}
}