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",
"Hashtag": "as:Hashtag"
}
],
"id": "https://mastodon.ar.al/users/aral/statuses/109976755565279858",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2023-03-06T14:15:14Z",
"url": "https://mastodon.ar.al/@aral/109976755565279858",
"attributedTo": "https://mastodon.ar.al/users/aral",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.ar.al/users/aral/followers"
],
"sensitive": false,
"atomUri": "https://mastodon.ar.al/users/aral/statuses/109976755565279858",
"inReplyToAtomUri": null,
"conversation": "tag:mastodon.ar.al,2023-03-06:objectId=17239046:objectType=Conversation",
"content": "<p>Minimum¹ valid HTML file, did you say? Here you go:</p><p><!doctype html><html lang><title>🤓</title></p><p>(Tested with <a href=\"https://validator.w3.org/nu/#textarea\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"\">validator.w3.org/nu/#textarea</span><span class=\"invisible\"></span></a>)</p><p>I mean, needless to say, don’t do this. Just because you can doesn’t mean you should :)</p><p>¹ Minimum number of characters (not bytes) without errors or warnings, that is. If you don’t care about warnings, you can remove <html>. If you want the minimum number of bytes, replace the emoji with a dot or something ;)</p><p><a href=\"https://mastodon.ar.al/tags/html\" class=\"mention hashtag\" rel=\"tag\">#<span>html</span></a> <a href=\"https://mastodon.ar.al/tags/forgiving\" class=\"mention hashtag\" rel=\"tag\">#<span>forgiving</span></a> <a href=\"https://mastodon.ar.al/tags/parser\" class=\"mention hashtag\" rel=\"tag\">#<span>parser</span></a> <a href=\"https://mastodon.ar.al/tags/validation\" class=\"mention hashtag\" rel=\"tag\">#<span>validation</span></a> <a href=\"https://mastodon.ar.al/tags/web\" class=\"mention hashtag\" rel=\"tag\">#<span>web</span></a> <a href=\"https://mastodon.ar.al/tags/dev\" class=\"mention hashtag\" rel=\"tag\">#<span>dev</span></a></p>",
"contentMap": {
"en": "<p>Minimum¹ valid HTML file, did you say? Here you go:</p><p><!doctype html><html lang><title>🤓</title></p><p>(Tested with <a href=\"https://validator.w3.org/nu/#textarea\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"\">validator.w3.org/nu/#textarea</span><span class=\"invisible\"></span></a>)</p><p>I mean, needless to say, don’t do this. Just because you can doesn’t mean you should :)</p><p>¹ Minimum number of characters (not bytes) without errors or warnings, that is. If you don’t care about warnings, you can remove <html>. If you want the minimum number of bytes, replace the emoji with a dot or something ;)</p><p><a href=\"https://mastodon.ar.al/tags/html\" class=\"mention hashtag\" rel=\"tag\">#<span>html</span></a> <a href=\"https://mastodon.ar.al/tags/forgiving\" class=\"mention hashtag\" rel=\"tag\">#<span>forgiving</span></a> <a href=\"https://mastodon.ar.al/tags/parser\" class=\"mention hashtag\" rel=\"tag\">#<span>parser</span></a> <a href=\"https://mastodon.ar.al/tags/validation\" class=\"mention hashtag\" rel=\"tag\">#<span>validation</span></a> <a href=\"https://mastodon.ar.al/tags/web\" class=\"mention hashtag\" rel=\"tag\">#<span>web</span></a> <a href=\"https://mastodon.ar.al/tags/dev\" class=\"mention hashtag\" rel=\"tag\">#<span>dev</span></a></p>"
},
"updated": "2023-03-06T14:38:07Z",
"attachment": [],
"tag": [
{
"type": "Hashtag",
"href": "https://mastodon.ar.al/tags/html",
"name": "#html"
},
{
"type": "Hashtag",
"href": "https://mastodon.ar.al/tags/forgiving",
"name": "#forgiving"
},
{
"type": "Hashtag",
"href": "https://mastodon.ar.al/tags/parser",
"name": "#parser"
},
{
"type": "Hashtag",
"href": "https://mastodon.ar.al/tags/validation",
"name": "#validation"
},
{
"type": "Hashtag",
"href": "https://mastodon.ar.al/tags/web",
"name": "#web"
},
{
"type": "Hashtag",
"href": "https://mastodon.ar.al/tags/dev",
"name": "#dev"
}
],
"replies": {
"id": "https://mastodon.ar.al/users/aral/statuses/109976755565279858/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.ar.al/users/aral/statuses/109976755565279858/replies?min_id=109976800310948812&page=true",
"partOf": "https://mastodon.ar.al/users/aral/statuses/109976755565279858/replies",
"items": [
"https://mastodon.ar.al/users/aral/statuses/109976800310948812"
]
}
},
"likes": {
"id": "https://mastodon.ar.al/users/aral/statuses/109976755565279858/likes",
"type": "Collection",
"totalItems": 25
},
"shares": {
"id": "https://mastodon.ar.al/users/aral/statuses/109976755565279858/shares",
"type": "Collection",
"totalItems": 4
}
}