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.social/users/OfShad0ws/statuses/110141832675615790/replies",
"type": "Collection",
"first": {
"id": "https://mastodon.social/users/OfShad0ws/statuses/110141832675615790/replies?page=true",
"type": "CollectionPage",
"next": "https://mastodon.social/users/OfShad0ws/statuses/110141832675615790/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.social/users/OfShad0ws/statuses/110141832675615790/replies",
"items": [
{
"id": "https://mastodon.social/users/OfShad0ws/statuses/110141873541462406",
"type": "Note",
"summary": null,
"inReplyTo": "https://mastodon.social/users/OfShad0ws/statuses/110141832675615790",
"published": "2023-04-04T18:06:55Z",
"url": "https://mastodon.social/@OfShad0ws/110141873541462406",
"attributedTo": "https://mastodon.social/users/OfShad0ws",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.social/users/OfShad0ws/followers"
],
"sensitive": false,
"atomUri": "https://mastodon.social/users/OfShad0ws/statuses/110141873541462406",
"inReplyToAtomUri": "https://mastodon.social/users/OfShad0ws/statuses/110141832675615790",
"conversation": "tag:mastodon.social,2023-04-04:objectId=426963528:objectType=Conversation",
"content": "<p>1. Осторожнее с проверками значений "не равно" (!=, not in, not between)<br />NULL не пройдёт ни одну из этих проверок, такие записи будут отфильтрованы.<br />Если их необходимо сохранить, используйте coalesce(t1.a,'X') != 'Y'</p><p>2. Всегда выполняйте регресс-тестирование на значительном объёме данных, а не на нескольких кейсах.<br />Используйте full join или except (в обе стороны)</p><p><a href=\"https://mastodon.social/tags/SQLtips\" class=\"mention hashtag\" rel=\"tag\">#<span>SQLtips</span></a></p>",
"contentMap": {
"ru": "<p>1. Осторожнее с проверками значений "не равно" (!=, not in, not between)<br />NULL не пройдёт ни одну из этих проверок, такие записи будут отфильтрованы.<br />Если их необходимо сохранить, используйте coalesce(t1.a,'X') != 'Y'</p><p>2. Всегда выполняйте регресс-тестирование на значительном объёме данных, а не на нескольких кейсах.<br />Используйте full join или except (в обе стороны)</p><p><a href=\"https://mastodon.social/tags/SQLtips\" class=\"mention hashtag\" rel=\"tag\">#<span>SQLtips</span></a></p>"
},
"attachment": [],
"tag": [
{
"type": "Hashtag",
"href": "https://mastodon.social/tags/sqltips",
"name": "#sqltips"
}
],
"replies": {
"id": "https://mastodon.social/users/OfShad0ws/statuses/110141873541462406/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.social/users/OfShad0ws/statuses/110141873541462406/replies?min_id=110141912889205781&page=true",
"partOf": "https://mastodon.social/users/OfShad0ws/statuses/110141873541462406/replies",
"items": [
"https://mastodon.social/users/OfShad0ws/statuses/110141912889205781"
]
}
},
"likes": {
"id": "https://mastodon.social/users/OfShad0ws/statuses/110141873541462406/likes",
"type": "Collection",
"totalItems": 1
},
"shares": {
"id": "https://mastodon.social/users/OfShad0ws/statuses/110141873541462406/shares",
"type": "Collection",
"totalItems": 0
}
}
]
}
}