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://twit.social/users/linuxlizard/statuses/109586704000273832/replies",
"type": "Collection",
"first": {
"id": "https://twit.social/users/linuxlizard/statuses/109586704000273832/replies?page=true",
"type": "CollectionPage",
"next": "https://twit.social/users/linuxlizard/statuses/109586704000273832/replies?only_other_accounts=true&page=true",
"partOf": "https://twit.social/users/linuxlizard/statuses/109586704000273832/replies",
"items": [
{
"id": "https://twit.social/users/linuxlizard/statuses/109586745043394658",
"type": "Note",
"summary": null,
"inReplyTo": "https://twit.social/users/linuxlizard/statuses/109586704000273832",
"published": "2022-12-27T17:10:26Z",
"url": "https://twit.social/@linuxlizard/109586745043394658",
"attributedTo": "https://twit.social/users/linuxlizard",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://twit.social/users/linuxlizard/followers"
],
"sensitive": false,
"atomUri": "https://twit.social/users/linuxlizard/statuses/109586745043394658",
"inReplyToAtomUri": "https://twit.social/users/linuxlizard/statuses/109586704000273832",
"conversation": "tag:twit.social,2022-12-27:objectId=8882337:objectType=Conversation",
"content": "<p>Real world example:</p><p># maybe debug, maybe not<br />CFLAGS=$(DEBUG)<br />include massive-vendor-makefile</p><p>Assuming vendor makefile is doing The Right Thing and appending to CFLAGS:<br />CFLAGS+=-Wall -flag1 -flag2</p><p>I can change DEBUG after the include.<br />DEBUG:=-g</p><p>Only when I actually reference CFLAGS, the $(DEBUG) is expanded.</p><p>$(info CFLAGS=$(CFLAGS))<br />CFLAGS=-g -Wall -flag1 -flag2</p>",
"contentMap": {
"en": "<p>Real world example:</p><p># maybe debug, maybe not<br />CFLAGS=$(DEBUG)<br />include massive-vendor-makefile</p><p>Assuming vendor makefile is doing The Right Thing and appending to CFLAGS:<br />CFLAGS+=-Wall -flag1 -flag2</p><p>I can change DEBUG after the include.<br />DEBUG:=-g</p><p>Only when I actually reference CFLAGS, the $(DEBUG) is expanded.</p><p>$(info CFLAGS=$(CFLAGS))<br />CFLAGS=-g -Wall -flag1 -flag2</p>"
},
"updated": "2022-12-27T17:10:41Z",
"attachment": [],
"tag": [],
"replies": {
"id": "https://twit.social/users/linuxlizard/statuses/109586745043394658/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://twit.social/users/linuxlizard/statuses/109586745043394658/replies?min_id=109586748536455288&page=true",
"partOf": "https://twit.social/users/linuxlizard/statuses/109586745043394658/replies",
"items": [
"https://twit.social/users/linuxlizard/statuses/109586748536455288"
]
}
},
"likes": {
"id": "https://twit.social/users/linuxlizard/statuses/109586745043394658/likes",
"type": "Collection",
"totalItems": 0
},
"shares": {
"id": "https://twit.social/users/linuxlizard/statuses/109586745043394658/shares",
"type": "Collection",
"totalItems": 0
}
}
]
}
}