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://discuss.systems/users/ocratato/statuses/113054541882312637/activity",
"type": "Create",
"actor": "https://discuss.systems/users/ocratato",
"published": "2024-08-31T03:36:47Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://discuss.systems/users/ocratato/followers",
"https://discuss.systems/users/xand"
],
"object": {
"id": "https://discuss.systems/users/ocratato/statuses/113054541882312637",
"type": "Note",
"summary": null,
"inReplyTo": "https://discuss.systems/users/xand/statuses/113050713082776202",
"published": "2024-08-31T03:36:47Z",
"url": "https://discuss.systems/@ocratato/113054541882312637",
"attributedTo": "https://discuss.systems/users/ocratato",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://discuss.systems/users/ocratato/followers",
"https://discuss.systems/users/xand"
],
"sensitive": false,
"atomUri": "https://discuss.systems/users/ocratato/statuses/113054541882312637",
"inReplyToAtomUri": "https://discuss.systems/users/xand/statuses/113050713082776202",
"conversation": "tag:discuss.systems,2024-08-29:objectId=24241097:objectType=Conversation",
"content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://discuss.systems/@xand\" class=\"u-url mention\">@<span>xand</span></a></span> I would agree that putting ALL the type definitions into one module would be a mistake.<br />However, types that appear in interfaces might be best defined centrally.<br />The form of that definition depends on the coupling between modules. It could be in the implementation language, an interface defn. language, or something like XML or JSON.</p><p><a href=\"https://discuss.systems/tags/SoftwareArchitecture\" class=\"mention hashtag\" rel=\"tag\">#<span>SoftwareArchitecture</span></a></p>",
"contentMap": {
"en": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://discuss.systems/@xand\" class=\"u-url mention\">@<span>xand</span></a></span> I would agree that putting ALL the type definitions into one module would be a mistake.<br />However, types that appear in interfaces might be best defined centrally.<br />The form of that definition depends on the coupling between modules. It could be in the implementation language, an interface defn. language, or something like XML or JSON.</p><p><a href=\"https://discuss.systems/tags/SoftwareArchitecture\" class=\"mention hashtag\" rel=\"tag\">#<span>SoftwareArchitecture</span></a></p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://discuss.systems/users/xand",
"name": "@xand"
},
{
"type": "Hashtag",
"href": "https://discuss.systems/tags/softwarearchitecture",
"name": "#softwarearchitecture"
}
],
"replies": {
"id": "https://discuss.systems/users/ocratato/statuses/113054541882312637/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://discuss.systems/users/ocratato/statuses/113054541882312637/replies?only_other_accounts=true&page=true",
"partOf": "https://discuss.systems/users/ocratato/statuses/113054541882312637/replies",
"items": []
}
},
"likes": {
"id": "https://discuss.systems/users/ocratato/statuses/113054541882312637/likes",
"type": "Collection",
"totalItems": 0
},
"shares": {
"id": "https://discuss.systems/users/ocratato/statuses/113054541882312637/shares",
"type": "Collection",
"totalItems": 0
}
}
}