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"
}
}
],
"id": "https://phpc.social/users/derickr/statuses/108244706056378025",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2022-05-04T16:52:16Z",
"url": "https://phpc.social/@derickr/108244706056378025",
"attributedTo": "https://phpc.social/users/derickr",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://phpc.social/users/derickr/followers"
],
"sensitive": false,
"atomUri": "https://phpc.social/users/derickr/statuses/108244706056378025",
"inReplyToAtomUri": null,
"conversation": "tag:phpc.social,2022-05-04:objectId=2072921:objectType=Conversation",
"content": "<p>Looks at this! The next Xdebug release (3.2) will have an extra "return from function" debugging step, in which you can inspect the return value.</p><p>It even works with fluent APIs!</p><p>But it does need some support in IDEs, as they need to enable the feature.</p><p>I'll be working with Jetbrains and Damjan Cvetko to get this into PhpStorm and the PHP Debug Adapter for Visual Studio Code.</p>",
"contentMap": {
"en": "<p>Looks at this! The next Xdebug release (3.2) will have an extra "return from function" debugging step, in which you can inspect the return value.</p><p>It even works with fluent APIs!</p><p>But it does need some support in IDEs, as they need to enable the feature.</p><p>I'll be working with Jetbrains and Damjan Cvetko to get this into PhpStorm and the PHP Debug Adapter for Visual Studio Code.</p>"
},
"attachment": [
{
"type": "Document",
"mediaType": "video/mp4",
"url": "https://media.phpc.social/media_attachments/files/108/244/703/310/633/486/original/f22791a36284b0fc.mp4",
"name": "GIF showing step debugging with return values.",
"blurhash": "U4R{=F9FIA-;1QV[%2%M.9WEkCbYMcbcR*R%",
"focalPoint": [
0,
0
],
"width": 1080,
"height": 720
}
],
"tag": [],
"replies": {
"id": "https://phpc.social/users/derickr/statuses/108244706056378025/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://phpc.social/users/derickr/statuses/108244706056378025/replies?only_other_accounts=true&page=true",
"partOf": "https://phpc.social/users/derickr/statuses/108244706056378025/replies",
"items": []
}
},
"likes": {
"id": "https://phpc.social/users/derickr/statuses/108244706056378025/likes",
"type": "Collection",
"totalItems": 16
},
"shares": {
"id": "https://phpc.social/users/derickr/statuses/108244706056378025/shares",
"type": "Collection",
"totalItems": 7
}
}