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/kaspth/statuses/113272357173072932",
"type": "Note",
"summary": null,
"inReplyTo": "https://ruby.social/users/ingemar/statuses/113272289051777457",
"published": "2024-10-08T14:50:04Z",
"url": "https://ruby.social/@kaspth/113272357173072932",
"attributedTo": "https://ruby.social/users/kaspth",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://ruby.social/users/kaspth/followers",
"https://ruby.social/users/ingemar"
],
"sensitive": false,
"atomUri": "https://ruby.social/users/kaspth/statuses/113272357173072932",
"inReplyToAtomUri": "https://ruby.social/users/ingemar/statuses/113272289051777457",
"conversation": "tag:ruby.social,2023-10-04:objectId=30945863:objectType=Conversation",
"content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://ruby.social/@ingemar\" class=\"u-url mention\">@<span>ingemar</span></a></span> thanks! I guess it's not super explicit, but it's in case someone preferred passing in a string for the method name, then String#to_s would return self and we'd mutate that. Maybe there's another way around using dup, it's been a while since I've looked at this code 😊</p>",
"contentMap": {
"en": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://ruby.social/@ingemar\" class=\"u-url mention\">@<span>ingemar</span></a></span> thanks! I guess it's not super explicit, but it's in case someone preferred passing in a string for the method name, then String#to_s would return self and we'd mutate that. Maybe there's another way around using dup, it's been a while since I've looked at this code 😊</p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://ruby.social/users/ingemar",
"name": "@ingemar"
}
],
"replies": {
"id": "https://ruby.social/users/kaspth/statuses/113272357173072932/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://ruby.social/users/kaspth/statuses/113272357173072932/replies?only_other_accounts=true&page=true",
"partOf": "https://ruby.social/users/kaspth/statuses/113272357173072932/replies",
"items": []
}
},
"likes": {
"id": "https://ruby.social/users/kaspth/statuses/113272357173072932/likes",
"type": "Collection",
"totalItems": 0
},
"shares": {
"id": "https://ruby.social/users/kaspth/statuses/113272357173072932/shares",
"type": "Collection",
"totalItems": 0
}
}