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.social/users/kelseyhightower/statuses/109423158171097675/activity",
"type": "Create",
"actor": "https://mastodon.social/users/kelseyhightower",
"published": "2022-11-28T19:48:09Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.social/users/kelseyhightower/followers"
],
"object": {
"id": "https://mastodon.social/users/kelseyhightower/statuses/109423158171097675",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2022-11-28T19:48:09Z",
"url": "https://mastodon.social/@kelseyhightower/109423158171097675",
"attributedTo": "https://mastodon.social/users/kelseyhightower",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.social/users/kelseyhightower/followers"
],
"sensitive": false,
"atomUri": "https://mastodon.social/users/kelseyhightower/statuses/109423158171097675",
"inReplyToAtomUri": null,
"conversation": "tag:mastodon.social,2022-11-28:objectId=344966378:objectType=Conversation",
"content": "<p>Today I find myself wrestling with the fact that some pieces of code are better off with integration tests because they are OS specific and require running commands to set up things like network interfaces. I just can't bring myself to doing that using unit tests. Here is the code in question: <a href=\"https://github.com/kelseyhightower/run/blob/master/network.go\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/kelseyhightower/run</span><span class=\"invisible\">/blob/master/network.go</span></a></p>",
"contentMap": {
"en": "<p>Today I find myself wrestling with the fact that some pieces of code are better off with integration tests because they are OS specific and require running commands to set up things like network interfaces. I just can't bring myself to doing that using unit tests. Here is the code in question: <a href=\"https://github.com/kelseyhightower/run/blob/master/network.go\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/kelseyhightower/run</span><span class=\"invisible\">/blob/master/network.go</span></a></p>"
},
"attachment": [],
"tag": [],
"replies": {
"id": "https://mastodon.social/users/kelseyhightower/statuses/109423158171097675/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.social/users/kelseyhightower/statuses/109423158171097675/replies?min_id=109423191464099942&page=true",
"partOf": "https://mastodon.social/users/kelseyhightower/statuses/109423158171097675/replies",
"items": [
"https://mastodon.social/users/kelseyhightower/statuses/109423191464099942"
]
}
},
"likes": {
"id": "https://mastodon.social/users/kelseyhightower/statuses/109423158171097675/likes",
"type": "Collection",
"totalItems": 34
},
"shares": {
"id": "https://mastodon.social/users/kelseyhightower/statuses/109423158171097675/shares",
"type": "Collection",
"totalItems": 4
}
}
}