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",
"https://w3id.org/security/v1",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive",
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
"alsoKnownAs": {
"@id": "as:alsoKnownAs",
"@type": "@id"
},
"movedTo": {
"@id": "as:movedTo",
"@type": "@id"
},
"toot": "http://joinmastodon.org/ns#",
"featured": {
"@id": "toot:featured",
"@type": "@id"
},
"Emoji": "toot:Emoji",
"blurhash": "toot:blurhash",
"votersCount": "toot:votersCount",
"schema": "http://schema.org#",
"PropertyValue": "schema:PropertyValue",
"value": "schema:value",
"ostatus": "http://ostatus.org#",
"conversation": "ostatus:conversation"
}
],
"type": "Note",
"id": "https://microwords.goodevilgenius.org/o/69335a9711bc43498c5a3b9ec5085eb9",
"attributedTo": "https://microwords.goodevilgenius.org",
"content": "<p>I've got a a <a href=\"https://microwords.goodevilgenius.org/t/mastodon\" class=\"mention hashtag\" rel=\"tag\">#<span>Mastodon</span></a> / <a href=\"https://microwords.goodevilgenius.org/t/activitypub\" class=\"mention hashtag\" rel=\"tag\">#<span>ActivityPub</span></a> question.</p>\n<p>I understand how self-verification works in Mastodon.</p>\n<p>But I'm trying to figure out how the federation of it works. In other words, how does instance A know which links are verified for a profile on instance B.</p>\n<p>When I look at the AP profile (<code>curl masto.tld/users/jimmy -H 'Accept: application/activity+json'</code>), I get something like:</p>\n<div class=\"highlight\"><pre><span></span><span class=\"p\">{</span><span class=\"w\"></span>\n<span class=\"nt\">"attachment"</span><span class=\"p\">:</span><span class=\"w\"> </span><span class=\"p\">[</span><span class=\"w\"> </span><span class=\"p\">{</span><span class=\"w\"></span>\n<span class=\"w\"> </span><span class=\"nt\">"name"</span><span class=\"p\">:</span><span class=\"w\"> </span><span class=\"s2\">"Personal Site"</span><span class=\"p\">,</span><span class=\"w\"></span>\n<span class=\"w\"> </span><span class=\"nt\">"type"</span><span class=\"p\">:</span><span class=\"w\"> </span><span class=\"s2\">"PropertyValue"</span><span class=\"p\">,</span><span class=\"w\"></span>\n<span class=\"w\"> </span><span class=\"nt\">"value"</span><span class=\"p\">:</span><span class=\"w\"> </span><span class=\"s2\">"<a href=\\"https://something.tld\\" target=\\"_blank\\" rel=\\"nofollow noopener noreferrer me\\"</span>\n<span class=\"s2\">><span class=\\"invisible\\">https://</span><span class=\\"\\"></span>\n<span class=\"s2\">something.tld</span><span class=\\"invisible\\"></span></a>"</span><span class=\"w\"></span>\n<span class=\"w\"> </span><span class=\"p\">}</span><span class=\"w\"></span>\n<span class=\"w\"> </span><span class=\"p\">]</span><span class=\"w\"></span>\n<span class=\"p\">}</span><span class=\"w\"></span>\n</pre></div>\n\n<p>But I don't see anything anywhere else in the JSON that indicates that that value is verified.</p>\n<p>Is there a separate endpoint to check that?</p>\n<p><a href=\"https://microwords.goodevilgenius.org/t/askfedi\" class=\"mention hashtag\" rel=\"tag\">#<span>AskFedi</span></a> <a href=\"https://microwords.goodevilgenius.org/t/askmasto\" class=\"mention hashtag\" rel=\"tag\">#<span>AskMasto</span></a> <a href=\"https://microwords.goodevilgenius.org/t/askmastodon\" class=\"mention hashtag\" rel=\"tag\">#<span>AskMastodon</span></a></p>\n",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://microwords.goodevilgenius.org/followers"
],
"published": "2023-01-04T14:11:22Z",
"context": "https://microwords.goodevilgenius.org/contexts/f27c057ed12c4e0eaaa89f08c0f14de7",
"conversation": "https://microwords.goodevilgenius.org/contexts/f27c057ed12c4e0eaaa89f08c0f14de7",
"url": "https://microwords.goodevilgenius.org/o/69335a9711bc43498c5a3b9ec5085eb9",
"tag": [
{
"href": "https://microwords.goodevilgenius.org/t/mastodon",
"name": "#mastodon",
"type": "Hashtag"
},
{
"href": "https://microwords.goodevilgenius.org/t/activitypub",
"name": "#activitypub",
"type": "Hashtag"
},
{
"href": "https://microwords.goodevilgenius.org/t/askfedi",
"name": "#askfedi",
"type": "Hashtag"
},
{
"href": "https://microwords.goodevilgenius.org/t/askmasto",
"name": "#askmasto",
"type": "Hashtag"
},
{
"href": "https://microwords.goodevilgenius.org/t/askmastodon",
"name": "#askmastodon",
"type": "Hashtag"
}
],
"summary": null,
"inReplyTo": null,
"sensitive": false,
"attachment": []
}