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",
"blurhash": "toot:blurhash",
"focalPoint": {
"@container": "@list",
"@id": "toot:focalPoint"
}
}
],
"id": "https://mastodon.social/users/zep/statuses/111159465782612511/replies?page=true",
"type": "CollectionPage",
"next": "https://mastodon.social/users/zep/statuses/111159465782612511/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.social/users/zep/statuses/111159465782612511/replies",
"items": [
{
"id": "https://mastodon.social/users/zep/statuses/111159476566510217",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.social/users/zep/statuses/111159465782612511",
"published": "2023-10-01T11:16:45Z",
"url": "https://mastodon.social/@zep/111159476566510217",
"attributedTo": "https://mastodon.social/users/zep",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.social/users/zep/followers"
],
"sensitive": false,
"atomUri": "https://mastodon.social/users/zep/statuses/111159476566510217",
"inReplyToAtomUri": "https://mastodon.social/users/zep/statuses/111159465782612511",
"conversation": "tag:mastodon.social,2023-10-01:objectId=547605967:objectType=Conversation",
"content": "<p>1. Start with a flat plane. Loop through a grid of points (x,z) infront of the camera and calculate an elevation for each one (y)</p><p>2. Perspective projection: draw each point at x/z, y/z (z means "distance from camera")</p><p>3. Alter y according to sin(x) and also use that for the colour of line segments joining the dots.</p><p>You're in business.</p><p>gif: <a href=\"https://www.lexaloffle.com/media/1/lvm_0.gif\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://www.</span><span class=\"ellipsis\">lexaloffle.com/media/1/lvm_0.g</span><span class=\"invisible\">if</span></a><br />[...]</p>",
"contentMap": {
"en": "<p>1. Start with a flat plane. Loop through a grid of points (x,z) infront of the camera and calculate an elevation for each one (y)</p><p>2. Perspective projection: draw each point at x/z, y/z (z means "distance from camera")</p><p>3. Alter y according to sin(x) and also use that for the colour of line segments joining the dots.</p><p>You're in business.</p><p>gif: <a href=\"https://www.lexaloffle.com/media/1/lvm_0.gif\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://www.</span><span class=\"ellipsis\">lexaloffle.com/media/1/lvm_0.g</span><span class=\"invisible\">if</span></a><br />[...]</p>"
},
"attachment": [
{
"type": "Document",
"mediaType": "video/mp4",
"url": "https://files.mastodon.social/media_attachments/files/111/159/471/656/726/974/original/edf02a674be86e34.mp4",
"name": "Visualisation of generating a flat grid, and then elevating each point according to sin(x)",
"blurhash": "UC7Kk}ofRjj[4.ays:ayD*ayj[ay~pofWBj[",
"focalPoint": [
0,
0
],
"width": 384,
"height": 384
}
],
"tag": [],
"replies": {
"id": "https://mastodon.social/users/zep/statuses/111159476566510217/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.social/users/zep/statuses/111159476566510217/replies?min_id=111159481560511864&page=true",
"partOf": "https://mastodon.social/users/zep/statuses/111159476566510217/replies",
"items": [
"https://mastodon.social/users/zep/statuses/111159481560511864"
]
}
},
"likes": {
"id": "https://mastodon.social/users/zep/statuses/111159476566510217/likes",
"type": "Collection",
"totalItems": 18
},
"shares": {
"id": "https://mastodon.social/users/zep/statuses/111159476566510217/shares",
"type": "Collection",
"totalItems": 8
}
}
]
}