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://ruby.social/users/nick_evans/statuses/109354052923780606",
"type": "Note",
"summary": null,
"inReplyTo": "https://ruby.social/users/nick_evans/statuses/109354046712729005",
"published": "2022-11-16T14:53:46Z",
"url": "https://ruby.social/@nick_evans/109354052923780606",
"attributedTo": "https://ruby.social/users/nick_evans",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://ruby.social/users/nick_evans/followers",
"https://ruby.social/users/postmodern"
],
"sensitive": false,
"atomUri": "https://ruby.social/users/nick_evans/statuses/109354052923780606",
"inReplyToAtomUri": "https://ruby.social/users/nick_evans/statuses/109354046712729005",
"conversation": "tag:ruby.social,2022-11-16:objectId=10670400:objectType=Conversation",
"content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://ruby.social/@postmodern\" class=\"u-url mention\">@<span>postmodern</span></a></span> <br />Between stdlib and popular gems, I see many different implementations of buffered io transforms: IO (twice for encoding) and StringIO of course. But also: OpenSSL::Buffering, Net::BufferedIO (in 'net/protocol'), socket/init.c literally has a comment "copied from io.c", IRB::Locale & IRB::InputMethod, Zlib, Excon::Socket, Dalli::Socket, Net::SSH::Buffer, pg's C ext codec, rubyzip's zip/ioextras/abstract_{input,output}_stream, async's Wrapper and async-io's IO::Generic, etc...</p>",
"contentMap": {
"en": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://ruby.social/@postmodern\" class=\"u-url mention\">@<span>postmodern</span></a></span> <br />Between stdlib and popular gems, I see many different implementations of buffered io transforms: IO (twice for encoding) and StringIO of course. But also: OpenSSL::Buffering, Net::BufferedIO (in 'net/protocol'), socket/init.c literally has a comment "copied from io.c", IRB::Locale & IRB::InputMethod, Zlib, Excon::Socket, Dalli::Socket, Net::SSH::Buffer, pg's C ext codec, rubyzip's zip/ioextras/abstract_{input,output}_stream, async's Wrapper and async-io's IO::Generic, etc...</p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://ruby.social/users/postmodern",
"name": "@postmodern"
}
],
"replies": {
"id": "https://ruby.social/users/nick_evans/statuses/109354052923780606/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://ruby.social/users/nick_evans/statuses/109354052923780606/replies?only_other_accounts=true&page=true",
"partOf": "https://ruby.social/users/nick_evans/statuses/109354052923780606/replies",
"items": []
}
},
"likes": {
"id": "https://ruby.social/users/nick_evans/statuses/109354052923780606/likes",
"type": "Collection",
"totalItems": 1
},
"shares": {
"id": "https://ruby.social/users/nick_evans/statuses/109354052923780606/shares",
"type": "Collection",
"totalItems": 0
}
}