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/111227653022312045",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.social/users/finestructure/statuses/109830812734744098",
"published": "2023-10-13T12:14:55Z",
"url": "https://mastodon.social/@finestructure/111227653022312045",
"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/111227653022312045",
"inReplyToAtomUri": "https://mastodon.social/users/finestructure/statuses/109830812734744098",
"conversation": "tag:mastodon.social,2023-02-08:objectId=393848451:objectType=Conversation",
"content": "<p>I've had more opportunities recently to create plots with <a href=\"https://mastodon.social/tags/SwiftUI\" class=\"mention hashtag\" rel=\"tag\">#<span>SwiftUI</span></a> / Swift Charts / <a href=\"https://mastodon.social/tags/Swift\" class=\"mention hashtag\" rel=\"tag\">#<span>Swift</span></a> playgrounds and the process absolutely holds up in replacing <a href=\"https://mastodon.social/tags/python\" class=\"mention hashtag\" rel=\"tag\">#<span>python</span></a> / <a href=\"https://mastodon.social/tags/matplotlib\" class=\"mention hashtag\" rel=\"tag\">#<span>matplotlib</span></a> / <a href=\"https://mastodon.social/tags/jupyter\" class=\"mention hashtag\" rel=\"tag\">#<span>jupyter</span></a>.</p><p>The dataset was larger this time, ~100k records, each containing a handful of data points, exported from a Postgres DB as JSON.</p><p>Massaging the data in a typesafe way is an absolute blessing – it's so easy to plot the wrong thing in python as you drill through three dicts.</p><p>Really happy with the results!</p>",
"contentMap": {
"en": "<p>I've had more opportunities recently to create plots with <a href=\"https://mastodon.social/tags/SwiftUI\" class=\"mention hashtag\" rel=\"tag\">#<span>SwiftUI</span></a> / Swift Charts / <a href=\"https://mastodon.social/tags/Swift\" class=\"mention hashtag\" rel=\"tag\">#<span>Swift</span></a> playgrounds and the process absolutely holds up in replacing <a href=\"https://mastodon.social/tags/python\" class=\"mention hashtag\" rel=\"tag\">#<span>python</span></a> / <a href=\"https://mastodon.social/tags/matplotlib\" class=\"mention hashtag\" rel=\"tag\">#<span>matplotlib</span></a> / <a href=\"https://mastodon.social/tags/jupyter\" class=\"mention hashtag\" rel=\"tag\">#<span>jupyter</span></a>.</p><p>The dataset was larger this time, ~100k records, each containing a handful of data points, exported from a Postgres DB as JSON.</p><p>Massaging the data in a typesafe way is an absolute blessing – it's so easy to plot the wrong thing in python as you drill through three dicts.</p><p>Really happy with the results!</p>"
},
"attachment": [
{
"type": "Document",
"mediaType": "image/png",
"url": "https://files.mastodon.social/media_attachments/files/111/227/652/760/632/561/original/894715d9c25636cd.png",
"name": "Sample graphs created with SwiftUI and Swift Charts in a Swift playground. They’re all histograms of the same underlying data set of 100k records, showing various distributions with blue bars on white background, with SwiftUI providing the chart title and and same basic layout.",
"blurhash": "U6Ss8B~SE5Ir^#4?%JRl%1xYfQt5kC%0WExW",
"width": 2100,
"height": 1584
}
],
"tag": [
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/swiftui",
"name": "#swiftui"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/swift",
"name": "#swift"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/python",
"name": "#python"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/matplotlib",
"name": "#matplotlib"
},
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/jupyter",
"name": "#jupyter"
}
],
"replies": {
"id": "https://mastodon.social/users/finestructure/statuses/111227653022312045/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.social/users/finestructure/statuses/111227653022312045/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.social/users/finestructure/statuses/111227653022312045/replies",
"items": []
}
},
"likes": {
"id": "https://mastodon.social/users/finestructure/statuses/111227653022312045/likes",
"type": "Collection",
"totalItems": 16
},
"shares": {
"id": "https://mastodon.social/users/finestructure/statuses/111227653022312045/shares",
"type": "Collection",
"totalItems": 5
}
}