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://ieji.de/users/mitsunee/statuses/113544729468691353",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2024-11-25T17:17:56Z",
"url": "https://ieji.de/@mitsunee/113544729468691353",
"attributedTo": "https://ieji.de/users/mitsunee",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://ieji.de/users/mitsunee/followers"
],
"sensitive": false,
"atomUri": "https://ieji.de/users/mitsunee/statuses/113544729468691353",
"inReplyToAtomUri": null,
"conversation": "tag:ieji.de,2024-11-25:objectId=139993529:objectType=Conversation",
"content": "<p>does anyone know a better pattern than ternary operator inside a template string literal in JS/TS? Kinda tired of this:</p><p>const foo = `...${condition ? " something" : ""}`</p><p><a href=\"https://ieji.de/tags/typescript\" class=\"mention hashtag\" rel=\"tag\">#<span>typescript</span></a> <a href=\"https://ieji.de/tags/javascript\" class=\"mention hashtag\" rel=\"tag\">#<span>javascript</span></a></p>",
"contentMap": {
"en": "<p>does anyone know a better pattern than ternary operator inside a template string literal in JS/TS? Kinda tired of this:</p><p>const foo = `...${condition ? " something" : ""}`</p><p><a href=\"https://ieji.de/tags/typescript\" class=\"mention hashtag\" rel=\"tag\">#<span>typescript</span></a> <a href=\"https://ieji.de/tags/javascript\" class=\"mention hashtag\" rel=\"tag\">#<span>javascript</span></a></p>"
},
"updated": "2024-11-25T17:31:52Z",
"attachment": [],
"tag": [
{
"type": "Hashtag",
"href": "https://ieji.de/tags/typescript",
"name": "#typescript"
},
{
"type": "Hashtag",
"href": "https://ieji.de/tags/javascript",
"name": "#javascript"
}
],
"replies": {
"id": "https://ieji.de/users/mitsunee/statuses/113544729468691353/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://ieji.de/users/mitsunee/statuses/113544729468691353/replies?only_other_accounts=true&page=true",
"partOf": "https://ieji.de/users/mitsunee/statuses/113544729468691353/replies",
"items": []
}
}
}