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/ufuk/statuses/112580156189926193",
"type": "Note",
"summary": null,
"inReplyTo": "https://ruby.social/users/postmodern/statuses/112580011832304236",
"published": "2024-06-08T08:54:15Z",
"url": "https://ruby.social/@ufuk/112580156189926193",
"attributedTo": "https://ruby.social/users/ufuk",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://ruby.social/users/ufuk/followers",
"https://ruby.social/users/postmodern"
],
"sensitive": false,
"atomUri": "https://ruby.social/users/ufuk/statuses/112580156189926193",
"inReplyToAtomUri": "https://ruby.social/users/postmodern/statuses/112580011832304236",
"conversation": "tag:ruby.social,2024-06-08:objectId=47206672: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> the problem is that 0xC2 is not a valid UTF+8 character, let alone an ASCII character as you say, so when you append that, you have a broken UTF-8 string and Ruby starts treating it as binary (which is basically what ASCII-8BIT means).</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> the problem is that 0xC2 is not a valid UTF+8 character, let alone an ASCII character as you say, so when you append that, you have a broken UTF-8 string and Ruby starts treating it as binary (which is basically what ASCII-8BIT means).</p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://ruby.social/users/postmodern",
"name": "@postmodern"
}
],
"replies": {
"id": "https://ruby.social/users/ufuk/statuses/112580156189926193/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://ruby.social/users/ufuk/statuses/112580156189926193/replies?only_other_accounts=true&page=true",
"partOf": "https://ruby.social/users/ufuk/statuses/112580156189926193/replies",
"items": []
}
},
"likes": {
"id": "https://ruby.social/users/ufuk/statuses/112580156189926193/likes",
"type": "Collection",
"totalItems": 1
},
"shares": {
"id": "https://ruby.social/users/ufuk/statuses/112580156189926193/shares",
"type": "Collection",
"totalItems": 0
}
}