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://fosstodon.org/users/njha/statuses/101514338218579538/activity",
"type": "Create",
"actor": "https://fosstodon.org/users/njha",
"published": "2019-02-01T01:51:13Z",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://fosstodon.org/users/njha/followers"
],
"object": {
"id": "https://fosstodon.org/users/njha/statuses/101514338218579538",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2019-02-01T01:51:13Z",
"url": "https://fosstodon.org/@njha/101514338218579538",
"attributedTo": "https://fosstodon.org/users/njha",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://fosstodon.org/users/njha/followers"
],
"sensitive": false,
"atomUri": "https://fosstodon.org/users/njha/statuses/101514338218579538",
"inReplyToAtomUri": null,
"conversation": "tag:fosstodon.org,2019-02-01:objectId=5571479:objectType=Conversation",
"content": "<p># Delete your last 40 toots.</p><p>from mastodon import Mastodon<br />m = Mastodon(access_token = 'GET_FROM_SETTINGS', api_base_url = '<a href=\"https://fosstodon.org\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"\">fosstodon.org</span><span class=\"invisible\"></span></a>')<br />l = m.account_statuses("GET_FROM_YOUR_PROFILE_URL", limit=40)<br />for x in l:<br />\tm.status_delete(x.id)</p>",
"contentMap": {
"en": "<p># Delete your last 40 toots.</p><p>from mastodon import Mastodon<br />m = Mastodon(access_token = 'GET_FROM_SETTINGS', api_base_url = '<a href=\"https://fosstodon.org\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"\">fosstodon.org</span><span class=\"invisible\"></span></a>')<br />l = m.account_statuses("GET_FROM_YOUR_PROFILE_URL", limit=40)<br />for x in l:<br />\tm.status_delete(x.id)</p>"
},
"attachment": [],
"tag": [],
"replies": {
"id": "https://fosstodon.org/users/njha/statuses/101514338218579538/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://fosstodon.org/users/njha/statuses/101514338218579538/replies?min_id=101514349434859708&page=true",
"partOf": "https://fosstodon.org/users/njha/statuses/101514338218579538/replies",
"items": [
"https://fosstodon.org/users/njha/statuses/101514349434859708"
]
}
},
"likes": {
"id": "https://fosstodon.org/users/njha/statuses/101514338218579538/likes",
"type": "Collection",
"totalItems": 0
},
"shares": {
"id": "https://fosstodon.org/users/njha/statuses/101514338218579538/shares",
"type": "Collection",
"totalItems": 0
}
}
}