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/113414209687450048/activity",
"type": "Create",
"actor": "https://fosstodon.org/users/robinm",
"published": "2024-11-02T16:05:02Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://fosstodon.org/users/robinm/followers",
"https://fosstodon.org/users/rmanos"
],
"object": {
"id": "https://fosstodon.org/users/robinm/statuses/113414209687450048",
"type": "Note",
"summary": null,
"inReplyTo": "https://fosstodon.org/users/robinm/statuses/113414196217434215",
"published": "2024-11-02T16:05:02Z",
"url": "https://fosstodon.org/@robinm/113414209687450048",
"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/113414209687450048",
"inReplyToAtomUri": "https://fosstodon.org/users/robinm/statuses/113414196217434215",
"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> It was not explicit that the main methode create has to create the message of the errors. I would argue that this is actually an anti pattern, but it’s relatively trivial to create the error message in main rather than in error themselves. Furthermore, creating the error message in main will remove the need for the ErrInternal.</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> It was not explicit that the main methode create has to create the message of the errors. I would argue that this is actually an anti pattern, but it’s relatively trivial to create the error message in main rather than in error themselves. Furthermore, creating the error message in main will remove the need for the ErrInternal.</p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://fosstodon.org/users/rmanos",
"name": "@rmanos"
}
],
"replies": {
"id": "https://fosstodon.org/users/robinm/statuses/113414209687450048/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://fosstodon.org/users/robinm/statuses/113414209687450048/replies?min_id=113414210173948126&page=true",
"partOf": "https://fosstodon.org/users/robinm/statuses/113414209687450048/replies",
"items": [
"https://fosstodon.org/users/robinm/statuses/113414210173948126"
]
}
},
"likes": {
"id": "https://fosstodon.org/users/robinm/statuses/113414209687450048/likes",
"type": "Collection",
"totalItems": 0
},
"shares": {
"id": "https://fosstodon.org/users/robinm/statuses/113414209687450048/shares",
"type": "Collection",
"totalItems": 0
}
}
}