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"
},
"Hashtag": "as:Hashtag"
}
],
"id": "https://mastodon.social/users/anatudor/statuses/112438663343874370/replies",
"type": "Collection",
"first": {
"id": "https://mastodon.social/users/anatudor/statuses/112438663343874370/replies?page=true",
"type": "CollectionPage",
"next": "https://mastodon.social/users/anatudor/statuses/112438663343874370/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.social/users/anatudor/statuses/112438663343874370/replies",
"items": [
{
"id": "https://mastodon.social/users/anatudor/statuses/112438774660196368",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.social/users/anatudor/statuses/112438663343874370",
"published": "2024-05-14T09:39:04Z",
"url": "https://mastodon.social/@anatudor/112438774660196368",
"attributedTo": "https://mastodon.social/users/anatudor",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.social/users/anatudor/followers"
],
"sensitive": false,
"atomUri": "https://mastodon.social/users/anatudor/statuses/112438774660196368",
"inReplyToAtomUri": "https://mastodon.social/users/anatudor/statuses/112438663343874370",
"conversation": "tag:mastodon.social,2024-05-13:objectId=706695871:objectType=Conversation",
"content": "<p>Top layer has all 3 RGB channels 0 in this case ⇒ black inner shadow.</p><p>We paint it orangey using feColorMatrix as detailed here <a href=\"https://mastodon.social/@anatudor/112157559510002242\" target=\"_blank\" rel=\"nofollow noopener\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">mastodon.social/@anatudor/1121</span><span class=\"invisible\">57559510002242</span></a></p><p>Finally, we put it on top of SourceGraphic (bottom layer in2 input). This is done with the default (normal) mode for feBlend.</p><p><a href=\"https://mastodon.social/tags/svg\" class=\"mention hashtag\" rel=\"tag\">#<span>svg</span></a> <a href=\"https://mastodon.social/tags/filter\" class=\"mention hashtag\" rel=\"tag\">#<span>filter</span></a> <a href=\"https://mastodon.social/tags/svgFilter\" class=\"mention hashtag\" rel=\"tag\">#<span>svgFilter</span></a> <a href=\"https://mastodon.social/tags/blending\" class=\"mention hashtag\" rel=\"tag\">#<span>blending</span></a> <a href=\"https://mastodon.social/tags/compositing\" class=\"mention hashtag\" rel=\"tag\">#<span>compositing</span></a> <a href=\"https://mastodon.social/tags/blendMode\" class=\"mention hashtag\" rel=\"tag\">#<span>blendMode</span></a> <a href=\"https://mastodon.social/tags/alpha\" class=\"mention hashtag\" rel=\"tag\">#<span>alpha</span></a> <a href=\"https://mastodon.social/tags/inset\" class=\"mention hashtag\" rel=\"tag\">#<span>inset</span></a> <a href=\"https://mastodon.social/tags/shadow\" class=\"mention hashtag\" rel=\"tag\">#<span>shadow</span></a> <a href=\"https://mastodon.social/tags/css\" class=\"mention hashtag\" rel=\"tag\">#<span>css</span></a> <a href=\"https://mastodon.social/tags/code\" class=\"mention hashtag\" rel=\"tag\">#<span>code</span></a> <a href=\"https://mastodon.social/tags/coding\" class=\"mention hashtag\" rel=\"tag\">#<span>coding</span></a> <a href=\"https://mastodon.social/tags/web\" class=\"mention hashtag\" rel=\"tag\">#<span>web</span></a> <a href=\"https://mastodon.social/tags/dev\" class=\"mention hashtag\" rel=\"tag\">#<span>dev</span></a> <a href=\"https://mastodon.social/tags/webDev\" class=\"mention hashtag\" rel=\"tag\">#<span>webDev</span></a> <a href=\"https://mastodon.social/tags/frontend\" class=\"mention hashtag\" rel=\"tag\">#<span>frontend</span></a> <a href=\"https://mastodon.social/tags/webDevelopment\" class=\"mention hashtag\" rel=\"tag\">#<span>webDevelopment</span></a></p>",
"contentMap": {
"en": "<p>Top layer has all 3 RGB channels 0 in this case ⇒ black inner shadow.</p><p>We paint it orangey using feColorMatrix as detailed here <a href=\"https://mastodon.social/@anatudor/112157559510002242\" target=\"_blank\" rel=\"nofollow noopener\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">mastodon.social/@anatudor/1121</span><span class=\"invisible\">57559510002242</span></a></p><p>Finally, we put it on top of SourceGraphic (bottom layer in2 input). This is done with the default (normal) mode for feBlend.</p><p><a href=\"https://mastodon.social/tags/svg\" class=\"mention hashtag\" rel=\"tag\">#<span>svg</span></a> <a href=\"https://mastodon.social/tags/filter\" class=\"mention hashtag\" rel=\"tag\">#<span>filter</span></a> <a href=\"https://mastodon.social/tags/svgFilter\" class=\"mention hashtag\" rel=\"tag\">#<span>svgFilter</span></a> <a href=\"https://mastodon.social/tags/blending\" class=\"mention hashtag\" rel=\"tag\">#<span>blending</span></a> <a href=\"https://mastodon.social/tags/compositing\" class=\"mention hashtag\" rel=\"tag\">#<span>compositing</span></a> <a href=\"https://mastodon.social/tags/blendMode\" class=\"mention hashtag\" rel=\"tag\">#<span>blendMode</span></a> <a href=\"https://mastodon.social/tags/alpha\" class=\"mention hashtag\" rel=\"tag\">#<span>alpha</span></a> <a href=\"https://mastodon.social/tags/inset\" class=\"mention hashtag\" rel=\"tag\">#<span>inset</span></a> <a href=\"https://mastodon.social/tags/shadow\" class=\"mention hashtag\" rel=\"tag\">#<span>shadow</span></a> <a href=\"https://mastodon.social/tags/css\" class=\"mention hashtag\" rel=\"tag\">#<span>css</span></a> <a href=\"https://mastodon.social/tags/code\" class=\"mention hashtag\" rel=\"tag\">#<span>code</span></a> <a href=\"https://mastodon.social/tags/coding\" class=\"mention hashtag\" rel=\"tag\">#<span>coding</span></a> <a href=\"https://mastodon.social/tags/web\" class=\"mention hashtag\" rel=\"tag\">#<span>web</span></a> <a href=\"https://mastodon.social/tags/dev\" class=\"mention hashtag\" rel=\"tag\">#<span>dev</span></a> <a href=\"https://mastodon.social/tags/webDev\" class=\"mention hashtag\" rel=\"tag\">#<span>webDev</span></a> <a href=\"https://mastodon.social/tags/frontend\" class=\"mention hashtag\" rel=\"tag\">#<span>frontend</span></a> <a href=\"https://mastodon.social/tags/webDevelopment\" class=\"mention hashtag\" rel=\"tag\">#<span>webDevelopment</span></a></p>"
},
"attachment": [
{
"type": "Document",
"mediaType": "image/png",
"url": "https://files.mastodon.social/media_attachments/files/112/438/756/048/546/086/original/4ac72aafdcd1ab36.png",
"name": "Screenshot of the interactive paint with a certain RGB value demo, with the feColorMatrix primitive using the values from an input[type=color] (which are also displayed in the hex. RGB and percentage RGB formats), a button to copy the SVG filter to clipboard, a visual test area and options to select what the filter gets applied on (text + emojis or a CSS gradient or a .png with transparency or a fully opaque .jpg).",
"blurhash": "UfE{Ll^+NGNGR*R*ofs:0K9Zs.s:WCa#j[j?",
"focalPoint": [
0,
0
],
"width": 579,
"height": 772
},
{
"type": "Document",
"mediaType": "image/png",
"url": "https://files.mastodon.social/media_attachments/files/112/438/757/077/815/386/original/66e95f83ef0cd41f.png",
"name": "Screenshot of the filter and its result up to the point where the black inset shadow is painted orange using feColorMatrix.",
"blurhash": "U59Gq3Omx^rs-q%NkBWA~EIVbYxuO?xtRjM|",
"focalPoint": [
0,
0
],
"width": 1216,
"height": 509
},
{
"type": "Document",
"mediaType": "image/png",
"url": "https://files.mastodon.social/media_attachments/files/112/438/757/925/342/859/original/a0f8150d54854e50.png",
"name": "Final step: the orangey inset shadow is placed on top of the initial image.",
"blurhash": "UOEfB101af-;My%MofM{aitQWBjuX9s:j[WC",
"focalPoint": [
0,
0
],
"width": 1225,
"height": 514
}
],
"tag": [
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/svg",
"name": "#svg"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/filter",
"name": "#filter"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/SVGFilter",
"name": "#SVGFilter"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/blending",
"name": "#blending"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/compositing",
"name": "#compositing"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/blendmode",
"name": "#blendmode"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/alpha",
"name": "#alpha"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/inset",
"name": "#inset"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/shadow",
"name": "#shadow"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/css",
"name": "#css"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/code",
"name": "#code"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/coding",
"name": "#coding"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/web",
"name": "#web"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/dev",
"name": "#dev"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/webdev",
"name": "#webdev"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/frontend",
"name": "#frontend"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/webdevelopment",
"name": "#webdevelopment"
}
],
"replies": {
"id": "https://mastodon.social/users/anatudor/statuses/112438774660196368/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.social/users/anatudor/statuses/112438774660196368/replies?min_id=112438848603111150&page=true",
"partOf": "https://mastodon.social/users/anatudor/statuses/112438774660196368/replies",
"items": [
"https://mastodon.social/users/anatudor/statuses/112438848603111150"
]
}
},
"likes": {
"id": "https://mastodon.social/users/anatudor/statuses/112438774660196368/likes",
"type": "Collection",
"totalItems": 1
},
"shares": {
"id": "https://mastodon.social/users/anatudor/statuses/112438774660196368/shares",
"type": "Collection",
"totalItems": 0
}
}
]
}
}