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"
}
],
"id": "https://fosstodon.org/users/robinm/statuses/113412916842411547",
"type": "Note",
"summary": null,
"inReplyTo": "https://fosstodon.org/users/robinm/statuses/113412892494977521",
"published": "2024-11-02T10:36:15Z",
"url": "https://fosstodon.org/@robinm/113412916842411547",
"attributedTo": "https://fosstodon.org/users/robinm",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://fosstodon.org/users/robinm/followers",
"https://fosstodon.org/users/rmanos"
],
"sensitive": false,
"atomUri": "https://fosstodon.org/users/robinm/statuses/113412916842411547",
"inReplyToAtomUri": "https://fosstodon.org/users/robinm/statuses/113412892494977521",
"conversation": "tag:fosstodon.org,2024-11-02:objectId=256787109:objectType=Conversation",
"content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://fosstodon.org/@rmanos\" class=\"u-url mention\">@<span>rmanos</span></a></span> Since toots are too small, the catch+rethows or error convertion has to be implicit to works.</p><p>I'm not familiar enough with exceptions based languages, but for error based languages it's at least easy to do in Rust or in C++ (when using error value). All you need is a constructor that create a B/C from A implicitely (for C++), `impl Into<B/C> for A` in Rust.</p><p>I assume those are not the only one with at least some kind of implicit convertion.</p>",
"contentMap": {
"en": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://fosstodon.org/@rmanos\" class=\"u-url mention\">@<span>rmanos</span></a></span> Since toots are too small, the catch+rethows or error convertion has to be implicit to works.</p><p>I'm not familiar enough with exceptions based languages, but for error based languages it's at least easy to do in Rust or in C++ (when using error value). All you need is a constructor that create a B/C from A implicitely (for C++), `impl Into<B/C> for A` in Rust.</p><p>I assume those are not the only one with at least some kind of implicit convertion.</p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://fosstodon.org/users/rmanos",
"name": "@rmanos"
}
],
"replies": {
"id": "https://fosstodon.org/users/robinm/statuses/113412916842411547/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://fosstodon.org/users/robinm/statuses/113412916842411547/replies?only_other_accounts=true&page=true",
"partOf": "https://fosstodon.org/users/robinm/statuses/113412916842411547/replies",
"items": []
}
},
"likes": {
"id": "https://fosstodon.org/users/robinm/statuses/113412916842411547/likes",
"type": "Collection",
"totalItems": 0
},
"shares": {
"id": "https://fosstodon.org/users/robinm/statuses/113412916842411547/shares",
"type": "Collection",
"totalItems": 0
}
}