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://fosstodon.org/users/michitux/statuses/102617537765769064",
"type": "Note",
"summary": null,
"inReplyTo": "https://social.alternativebit.fr/objects/2e6e3518-7bbd-4a45-99dd-f6e98e523c86",
"published": "2019-08-14T21:49:23Z",
"url": "https://fosstodon.org/@michitux/102617537765769064",
"attributedTo": "https://fosstodon.org/users/michitux",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://fosstodon.org/users/michitux/followers",
"https://social.alternativebit.fr/users/Ninjatrappeur"
],
"sensitive": false,
"atomUri": "https://fosstodon.org/users/michitux/statuses/102617537765769064",
"inReplyToAtomUri": "https://social.alternativebit.fr/objects/2e6e3518-7bbd-4a45-99dd-f6e98e523c86",
"conversation": "https://social.alternativebit.fr/contexts/c019b413-fd6e-482f-97f0-17a26a250e35",
"content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://social.alternativebit.fr/users/Ninjatrappeur\" class=\"u-url mention\">@<span>Ninjatrappeur</span></a></span> First draft of a <a href=\"https://fosstodon.org/tags/DokuWiki\" class=\"mention hashtag\" rel=\"tag\">#<span>DokuWiki</span></a> cli plugin to extract all external links: <a href=\"https://github.com/michitux/dokuwiki-plugin-linkextractor\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/michitux/dokuwiki-p</span><span class=\"invisible\">lugin-linkextractor</span></a></p><p> Install into lib/plugins/linkextractor and run as</p><p>bin/plugin.php linkextractor</p><p>Output should be suitable for piping into archivebox, but I haven't tested this yet. It will be slow if you have a lot of pages. With some more code I could use DokuWiki's index to store external links, then extracting them would be much faster. However, as a daily cron job this might be good enough already.</p>",
"contentMap": {
"en": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://social.alternativebit.fr/users/Ninjatrappeur\" class=\"u-url mention\">@<span>Ninjatrappeur</span></a></span> First draft of a <a href=\"https://fosstodon.org/tags/DokuWiki\" class=\"mention hashtag\" rel=\"tag\">#<span>DokuWiki</span></a> cli plugin to extract all external links: <a href=\"https://github.com/michitux/dokuwiki-plugin-linkextractor\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/michitux/dokuwiki-p</span><span class=\"invisible\">lugin-linkextractor</span></a></p><p> Install into lib/plugins/linkextractor and run as</p><p>bin/plugin.php linkextractor</p><p>Output should be suitable for piping into archivebox, but I haven't tested this yet. It will be slow if you have a lot of pages. With some more code I could use DokuWiki's index to store external links, then extracting them would be much faster. However, as a daily cron job this might be good enough already.</p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://social.alternativebit.fr/users/Ninjatrappeur",
"name": "@Ninjatrappeur@social.alternativebit.fr"
},
{
"type": "Hashtag",
"href": "https://fosstodon.org/tags/dokuwiki",
"name": "#dokuwiki"
}
],
"replies": {
"id": "https://fosstodon.org/users/michitux/statuses/102617537765769064/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://fosstodon.org/users/michitux/statuses/102617537765769064/replies?only_other_accounts=true&page=true",
"partOf": "https://fosstodon.org/users/michitux/statuses/102617537765769064/replies",
"items": []
}
},
"likes": {
"id": "https://fosstodon.org/users/michitux/statuses/102617537765769064/likes",
"type": "Collection",
"totalItems": 1
},
"shares": {
"id": "https://fosstodon.org/users/michitux/statuses/102617537765769064/shares",
"type": "Collection",
"totalItems": 0
}
}