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/finestructure/statuses/109828915545391395/replies",
"type": "Collection",
"first": {
"id": "https://mastodon.social/users/finestructure/statuses/109828915545391395/replies?page=true",
"type": "CollectionPage",
"next": "https://mastodon.social/users/finestructure/statuses/109828915545391395/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.social/users/finestructure/statuses/109828915545391395/replies",
"items": [
{
"id": "https://mastodon.social/users/finestructure/statuses/109828927667184348",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.social/users/finestructure/statuses/109828915545391395",
"published": "2023-02-08T11:40:40Z",
"url": "https://mastodon.social/@finestructure/109828927667184348",
"attributedTo": "https://mastodon.social/users/finestructure",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.social/users/finestructure/followers"
],
"sensitive": false,
"atomUri": "https://mastodon.social/users/finestructure/statuses/109828927667184348",
"inReplyToAtomUri": "https://mastodon.social/users/finestructure/statuses/109828915545391395",
"conversation": "tag:mastodon.social,2023-02-08:objectId=393848451:objectType=Conversation",
"content": "<p>Another huge win is not having to deal with setting up Matplotlib and Jupyter. It’s been a while since I’ve done any charting and I was dreading having to wade into Python package installation, virtual env management, and building C extensions.</p><p>Python is great for doing quick things when it’s all set up. But boy is it not quick when you need to assemble your env first…</p>",
"contentMap": {
"en": "<p>Another huge win is not having to deal with setting up Matplotlib and Jupyter. It’s been a while since I’ve done any charting and I was dreading having to wade into Python package installation, virtual env management, and building C extensions.</p><p>Python is great for doing quick things when it’s all set up. But boy is it not quick when you need to assemble your env first…</p>"
},
"attachment": [],
"tag": [],
"replies": {
"id": "https://mastodon.social/users/finestructure/statuses/109828927667184348/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.social/users/finestructure/statuses/109828927667184348/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.social/users/finestructure/statuses/109828927667184348/replies",
"items": []
}
},
"likes": {
"id": "https://mastodon.social/users/finestructure/statuses/109828927667184348/likes",
"type": "Collection",
"totalItems": 7
},
"shares": {
"id": "https://mastodon.social/users/finestructure/statuses/109828927667184348/shares",
"type": "Collection",
"totalItems": 0
}
},
{
"id": "https://mastodon.social/users/finestructure/statuses/109830771449209772",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.social/users/finestructure/statuses/109828915545391395",
"published": "2023-02-08T19:29:34Z",
"url": "https://mastodon.social/@finestructure/109830771449209772",
"attributedTo": "https://mastodon.social/users/finestructure",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.social/users/finestructure/followers"
],
"sensitive": false,
"atomUri": "https://mastodon.social/users/finestructure/statuses/109830771449209772",
"inReplyToAtomUri": "https://mastodon.social/users/finestructure/statuses/109828915545391395",
"conversation": "tag:mastodon.social,2023-02-08:objectId=393848451:objectType=Conversation",
"content": "<p>Since people asked, I’ve posted the self-contained example as a gist on Github and added a button to export the page as a PDF. Works wonderfully, even from within a simple playground 🎉</p><p>NB: the PDF is not rasterised - you can select the text and zoom in without any loss of fidelity.</p><p><a href=\"https://mastodon.social/tags/Swift\" class=\"mention hashtag\" rel=\"tag\">#<span>Swift</span></a> <a href=\"https://mastodon.social/tags/SwiftLang\" class=\"mention hashtag\" rel=\"tag\">#<span>SwiftLang</span></a> <a href=\"https://mastodon.social/tags/SwiftUI\" class=\"mention hashtag\" rel=\"tag\">#<span>SwiftUI</span></a> <a href=\"https://mastodon.social/tags/SwiftCharts\" class=\"mention hashtag\" rel=\"tag\">#<span>SwiftCharts</span></a> </p><p><a href=\"https://gist.github.com/finestructure/45881a35819b5ebf850c437c54f43b8c\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">gist.github.com/finestructure/</span><span class=\"invisible\">45881a35819b5ebf850c437c54f43b8c</span></a></p>",
"contentMap": {
"en": "<p>Since people asked, I’ve posted the self-contained example as a gist on Github and added a button to export the page as a PDF. Works wonderfully, even from within a simple playground 🎉</p><p>NB: the PDF is not rasterised - you can select the text and zoom in without any loss of fidelity.</p><p><a href=\"https://mastodon.social/tags/Swift\" class=\"mention hashtag\" rel=\"tag\">#<span>Swift</span></a> <a href=\"https://mastodon.social/tags/SwiftLang\" class=\"mention hashtag\" rel=\"tag\">#<span>SwiftLang</span></a> <a href=\"https://mastodon.social/tags/SwiftUI\" class=\"mention hashtag\" rel=\"tag\">#<span>SwiftUI</span></a> <a href=\"https://mastodon.social/tags/SwiftCharts\" class=\"mention hashtag\" rel=\"tag\">#<span>SwiftCharts</span></a> </p><p><a href=\"https://gist.github.com/finestructure/45881a35819b5ebf850c437c54f43b8c\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">gist.github.com/finestructure/</span><span class=\"invisible\">45881a35819b5ebf850c437c54f43b8c</span></a></p>"
},
"updated": "2023-02-08T19:46:12Z",
"attachment": [
{
"type": "Document",
"mediaType": "image/png",
"url": "https://files.mastodon.social/media_attachments/files/109/830/771/415/611/404/original/ae21b5a755365167.png",
"name": "Exported PDF document showing the same content of two histograms as the SwiftUI view presented upthread. Not only can you easily create charts with SwiftUI and Swift Charts in a Playground but you can also save them as PDFs.",
"blurhash": "UnO|X~ax8{a{RljboMju01fQxujuWFjuj@fQ",
"width": 1393,
"height": 1489
},
{
"type": "Document",
"mediaType": "image/png",
"url": "https://files.mastodon.social/media_attachments/files/109/830/836/826/177/894/original/025595bd947ab648.png",
"name": "A Swift Playground window showing the code to generate a page with two histograms laid out vertically, complete with titles and chart headers. The charts are the MB size and file count distribution for documentation archives hosted on the Swift Package Index. Below the charts is a button to export them to PDF.",
"blurhash": "U66RD+NFaSxuxgsqn$j;RHoeoGjFs]oNn}j;",
"width": 1646,
"height": 1260
}
],
"tag": [
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/swift",
"name": "#swift"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/swiftlang",
"name": "#swiftlang"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/swiftui",
"name": "#swiftui"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/swiftcharts",
"name": "#swiftcharts"
}
],
"replies": {
"id": "https://mastodon.social/users/finestructure/statuses/109830771449209772/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.social/users/finestructure/statuses/109830771449209772/replies?min_id=109830812734744098&page=true",
"partOf": "https://mastodon.social/users/finestructure/statuses/109830771449209772/replies",
"items": [
"https://mastodon.social/users/finestructure/statuses/109830812734744098"
]
}
},
"likes": {
"id": "https://mastodon.social/users/finestructure/statuses/109830771449209772/likes",
"type": "Collection",
"totalItems": 25
},
"shares": {
"id": "https://mastodon.social/users/finestructure/statuses/109830771449209772/shares",
"type": "Collection",
"totalItems": 5
}
}
]
}
}