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://mastodon.social/users/lucyli/statuses/107155251798405115",
"type": "Note",
"summary": "python基础问题1",
"inReplyTo": "https://mastodon.social/users/lucyli/statuses/103118089021148481",
"published": "2021-10-24T07:09:44Z",
"url": "https://mastodon.social/@lucyli/107155251798405115",
"attributedTo": "https://mastodon.social/users/lucyli",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.social/users/lucyli/followers"
],
"sensitive": true,
"atomUri": "https://mastodon.social/users/lucyli/statuses/107155251798405115",
"inReplyToAtomUri": "https://mastodon.social/users/lucyli/statuses/103118089021148481",
"conversation": "tag:mastodon.social,2019-11-11:objectId=134917270:objectType=Conversation",
"content": "<p>str_slice = [str[i:i+1] for i in range(0, len(str), 1)] #<br />这句该怎么理解?<br />一开始我写<br />str_slice = str.split("") # ValueError: empty separator<br />报错,搜了下找到解决办法<br />但是为啥这么写.....咋起作用的?<br />(不知道为啥我怕我忘得快</p>",
"contentMap": {
"zh-CN": "<p>str_slice = [str[i:i+1] for i in range(0, len(str), 1)] #<br />这句该怎么理解?<br />一开始我写<br />str_slice = str.split("") # ValueError: empty separator<br />报错,搜了下找到解决办法<br />但是为啥这么写.....咋起作用的?<br />(不知道为啥我怕我忘得快</p>"
},
"attachment": [
{
"type": "Document",
"mediaType": "image/png",
"url": "https://files.mastodon.social/media_attachments/files/107/155/250/673/297/715/original/0b325956d61e2759.png",
"name": null,
"blurhash": "U3SPU;01.9-:cuNdwas:?wX7WARkxuogt7t6",
"width": 866,
"height": 744
}
],
"tag": [],
"replies": {
"id": "https://mastodon.social/users/lucyli/statuses/107155251798405115/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.social/users/lucyli/statuses/107155251798405115/replies?only_other_accounts=true&page=true",
"partOf": "https://mastodon.social/users/lucyli/statuses/107155251798405115/replies",
"items": []
}
},
"likes": {
"id": "https://mastodon.social/users/lucyli/statuses/107155251798405115/likes",
"type": "Collection",
"totalItems": 0
},
"shares": {
"id": "https://mastodon.social/users/lucyli/statuses/107155251798405115/shares",
"type": "Collection",
"totalItems": 0
}
}