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.mauve.moe/users/mauve/statuses/111926822827079732",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2024-02-13T23:42:59Z",
"url": "https://mastodon.mauve.moe/@mauve/111926822827079732",
"attributedTo": "https://mastodon.mauve.moe/users/mauve",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.mauve.moe/users/mauve/followers",
"https://staticpub.mauve.moe/about.jsonld"
],
"sensitive": false,
"atomUri": "https://mastodon.mauve.moe/users/mauve/statuses/111926822827079732",
"inReplyToAtomUri": null,
"conversation": "tag:mastodon.mauve.moe,2024-02-13:objectId=686341:objectType=Conversation",
"content": "<p>Hey fedifolks! I was hoping to get some bikeshedding feedback on a new <a href=\"https://mastodon.mauve.moe/tags/FEP\" class=\"mention hashtag\" rel=\"tag\">#<span>FEP</span></a> we're working on at <a href=\"https://mastodon.mauve.moe/tags/DistributedPress\" class=\"mention hashtag\" rel=\"tag\">#<span>DistributedPress</span></a>.</p><p>tl;dr we want <a href=\"https://mastodon.mauve.moe/tags/ActivityPub\" class=\"mention hashtag\" rel=\"tag\">#<span>ActivityPub</span></a> objects to link to <a href=\"https://mastodon.mauve.moe/tags/P2P\" class=\"mention hashtag\" rel=\"tag\">#<span>P2P</span></a> URLs for alternate ways to load them. Right now I'm debating between putting them in `alsoKnownAs` or into the `url` field. e.g. `"alsoKnownAs": ["<a href=\"ipns://staticpub.mauve.moe\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><span class=\"invisible\"></span><span class=\"\">ipns://staticpub.mauve.moe</span><span class=\"invisible\"></span></a>"]` for <span class=\"h-card\"><a href=\"https://staticpub.mauve.moe/about.jsonld\" class=\"u-url mention\">@<span>mauve@staticpub.mauve.moe</span></a></span> </p><p>I worry that field is already in use and that it could cause trouble. Would a new field name be better? Maybe `alternateURL`?</p>",
"contentMap": {
"en": "<p>Hey fedifolks! I was hoping to get some bikeshedding feedback on a new <a href=\"https://mastodon.mauve.moe/tags/FEP\" class=\"mention hashtag\" rel=\"tag\">#<span>FEP</span></a> we're working on at <a href=\"https://mastodon.mauve.moe/tags/DistributedPress\" class=\"mention hashtag\" rel=\"tag\">#<span>DistributedPress</span></a>.</p><p>tl;dr we want <a href=\"https://mastodon.mauve.moe/tags/ActivityPub\" class=\"mention hashtag\" rel=\"tag\">#<span>ActivityPub</span></a> objects to link to <a href=\"https://mastodon.mauve.moe/tags/P2P\" class=\"mention hashtag\" rel=\"tag\">#<span>P2P</span></a> URLs for alternate ways to load them. Right now I'm debating between putting them in `alsoKnownAs` or into the `url` field. e.g. `"alsoKnownAs": ["<a href=\"ipns://staticpub.mauve.moe\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><span class=\"invisible\"></span><span class=\"\">ipns://staticpub.mauve.moe</span><span class=\"invisible\"></span></a>"]` for <span class=\"h-card\"><a href=\"https://staticpub.mauve.moe/about.jsonld\" class=\"u-url mention\">@<span>mauve@staticpub.mauve.moe</span></a></span> </p><p>I worry that field is already in use and that it could cause trouble. Would a new field name be better? Maybe `alternateURL`?</p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://staticpub.mauve.moe/about.jsonld",
"name": "@mauve@staticpub.mauve.moe"
},
{
"type": "Hashtag",
"href": "https://mastodon.mauve.moe/tags/fep",
"name": "#fep"
},
{
"type": "Hashtag",
"href": "https://mastodon.mauve.moe/tags/DistributedPress",
"name": "#DistributedPress"
},
{
"type": "Hashtag",
"href": "https://mastodon.mauve.moe/tags/activitypub",
"name": "#activitypub"
},
{
"type": "Hashtag",
"href": "https://mastodon.mauve.moe/tags/p2p",
"name": "#p2p"
}
],
"replies": {
"id": "https://mastodon.mauve.moe/users/mauve/statuses/111926822827079732/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.mauve.moe/users/mauve/statuses/111926822827079732/replies?min_id=111927374531322819&page=true",
"partOf": "https://mastodon.mauve.moe/users/mauve/statuses/111926822827079732/replies",
"items": [
"https://mastodon.mauve.moe/users/mauve/statuses/111927374531322819"
]
}
}
}