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://mastodon.ml/users/vftdan/statuses/108194399089467983/replies",
"type": "Collection",
"first": {
"id": "https://mastodon.ml/users/vftdan/statuses/108194399089467983/replies?page=true",
"type": "CollectionPage",
"next": "https://mastodon.ml/users/vftdan/statuses/108194399089467983/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.ml/users/vftdan/statuses/108194399089467983/replies",
"items": [
{
"id": "https://mastodon.ml/users/vftdan/statuses/108194427082326209",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.ml/users/vftdan/statuses/108194399089467983",
"published": "2022-04-25T19:45:40Z",
"url": "https://mastodon.ml/@vftdan/108194427082326209",
"attributedTo": "https://mastodon.ml/users/vftdan",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.ml/users/vftdan/followers",
"https://ms.neko.bar/users/8jpwld96lo",
"https://fw.neko.bar/federation/actors/heavywizardy"
],
"sensitive": false,
"atomUri": "https://mastodon.ml/users/vftdan/statuses/108194427082326209",
"inReplyToAtomUri": "https://mastodon.ml/users/vftdan/statuses/108194399089467983",
"conversation": "tag:mastodon.ml,2022-04-25:objectId=9134881:objectType=Conversation",
"content": "<p>cc <span class=\"h-card\" translate=\"no\"><a href=\"https://ms.neko.bar/@heavywizardy\" class=\"u-url mention\">@<span>heavywizardy@ms.neko.bar</span></a></span> <span class=\"h-card\" translate=\"no\"><a href=\"https://fw.neko.bar/@heavywizardy\" class=\"u-url mention\">@<span>heavywizardy@fw.neko.bar</span></a></span></p>",
"contentMap": {
"en": "<p>cc <span class=\"h-card\" translate=\"no\"><a href=\"https://ms.neko.bar/@heavywizardy\" class=\"u-url mention\">@<span>heavywizardy@ms.neko.bar</span></a></span> <span class=\"h-card\" translate=\"no\"><a href=\"https://fw.neko.bar/@heavywizardy\" class=\"u-url mention\">@<span>heavywizardy@fw.neko.bar</span></a></span></p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://ms.neko.bar/users/8jpwld96lo",
"name": "@heavywizardy@ms.neko.bar"
},
{
"type": "Mention",
"href": "https://fw.neko.bar/federation/actors/heavywizardy",
"name": "@heavywizardy@fw.neko.bar"
}
],
"replies": {
"id": "https://mastodon.ml/users/vftdan/statuses/108194427082326209/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.ml/users/vftdan/statuses/108194427082326209/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.ml/users/vftdan/statuses/108194427082326209/replies",
"items": []
}
}
},
{
"id": "https://mastodon.ml/users/vftdan/statuses/108194647716204525",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.ml/users/vftdan/statuses/108194399089467983",
"published": "2022-04-25T20:41:47Z",
"url": "https://mastodon.ml/@vftdan/108194647716204525",
"attributedTo": "https://mastodon.ml/users/vftdan",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.ml/users/vftdan/followers"
],
"sensitive": false,
"atomUri": "https://mastodon.ml/users/vftdan/statuses/108194647716204525",
"inReplyToAtomUri": "https://mastodon.ml/users/vftdan/statuses/108194399089467983",
"conversation": "tag:mastodon.ml,2022-04-25:objectId=9134881:objectType=Conversation",
"content": "<p>It happens here: <a href=\"https://github.com/Vftdan/webNBT/blob/6474bdfe1ffa6b34feb06d078a56b3241ad01d1c/nbt-utils/nbt_utils.cpp#L418\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/Vftdan/webNBT/blob/</span><span class=\"invisible\">6474bdfe1ffa6b34feb06d078a56b3241ad01d1c/nbt-utils/nbt_utils.cpp#L418</span></a></p>",
"contentMap": {
"en": "<p>It happens here: <a href=\"https://github.com/Vftdan/webNBT/blob/6474bdfe1ffa6b34feb06d078a56b3241ad01d1c/nbt-utils/nbt_utils.cpp#L418\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/Vftdan/webNBT/blob/</span><span class=\"invisible\">6474bdfe1ffa6b34feb06d078a56b3241ad01d1c/nbt-utils/nbt_utils.cpp#L418</span></a></p>"
},
"attachment": [],
"tag": [],
"replies": {
"id": "https://mastodon.ml/users/vftdan/statuses/108194647716204525/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.ml/users/vftdan/statuses/108194647716204525/replies?min_id=108203118521717416&page=true",
"partOf": "https://mastodon.ml/users/vftdan/statuses/108194647716204525/replies",
"items": [
"https://mastodon.ml/users/vftdan/statuses/108203118521717416"
]
}
}
},
{
"id": "https://mastodon.ml/users/vftdan/statuses/108216107449819920",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.ml/users/vftdan/statuses/108194399089467983",
"published": "2022-04-29T15:39:16Z",
"url": "https://mastodon.ml/@vftdan/108216107449819920",
"attributedTo": "https://mastodon.ml/users/vftdan",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.ml/users/vftdan/followers"
],
"sensitive": false,
"atomUri": "https://mastodon.ml/users/vftdan/statuses/108216107449819920",
"inReplyToAtomUri": "https://mastodon.ml/users/vftdan/statuses/108194399089467983",
"conversation": "tag:mastodon.ml,2022-04-25:objectId=9134881:objectType=Conversation",
"content": "<p><a href=\"https://mastodon.ml/tags/cpp\" class=\"mention hashtag\" rel=\"tag\">#<span>cpp</span></a></p><p>Another question:</p><p>How do I print float number into stream, so that:</p><p> * all non-zero digits must be printed (except those, that do not change in-memory representation of that number)<br /> * at least 1 digit before & after decimal point (even zero) must be printed<br /> * scientific notation is never used<br /> * all zeros not required by the second condition must not be printed</p><p>Examples:<br />```<br />0.0<br />1.0<br />1.1<br />30000.123<br />1000000000.0<br />```</p>",
"contentMap": {
"en": "<p><a href=\"https://mastodon.ml/tags/cpp\" class=\"mention hashtag\" rel=\"tag\">#<span>cpp</span></a></p><p>Another question:</p><p>How do I print float number into stream, so that:</p><p> * all non-zero digits must be printed (except those, that do not change in-memory representation of that number)<br /> * at least 1 digit before & after decimal point (even zero) must be printed<br /> * scientific notation is never used<br /> * all zeros not required by the second condition must not be printed</p><p>Examples:<br />```<br />0.0<br />1.0<br />1.1<br />30000.123<br />1000000000.0<br />```</p>"
},
"attachment": [],
"tag": [
{
"type": "Hashtag",
"href": "https://mastodon.ml/tags/cpp",
"name": "#cpp"
}
],
"replies": {
"id": "https://mastodon.ml/users/vftdan/statuses/108216107449819920/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.ml/users/vftdan/statuses/108216107449819920/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.ml/users/vftdan/statuses/108216107449819920/replies",
"items": []
}
}
}
]
}
}