ActivityPub Viewer

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.

Open in browser →
{ "@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" }, "Hashtag": "as:Hashtag" } ], "id": "https://iosdev.space/users/j4ck/statuses/111372849186395720/replies", "type": "Collection", "first": { "id": "https://iosdev.space/users/j4ck/statuses/111372849186395720/replies?page=true", "type": "CollectionPage", "next": "https://iosdev.space/users/j4ck/statuses/111372849186395720/replies?only_other_accounts=true&page=true", "partOf": "https://iosdev.space/users/j4ck/statuses/111372849186395720/replies", "items": [ { "id": "https://iosdev.space/users/j4ck/statuses/111378526280913031", "type": "Note", "summary": null, "inReplyTo": "https://iosdev.space/users/j4ck/statuses/111372849186395720", "published": "2023-11-09T03:43:58Z", "url": "https://iosdev.space/@j4ck/111378526280913031", "attributedTo": "https://iosdev.space/users/j4ck", "to": [ "https://www.w3.org/ns/activitystreams#Public" ], "cc": [ "https://iosdev.space/users/j4ck/followers" ], "sensitive": false, "atomUri": "https://iosdev.space/users/j4ck/statuses/111378526280913031", "inReplyToAtomUri": "https://iosdev.space/users/j4ck/statuses/111372849186395720", "conversation": "tag:iosdev.space,2023-11-08:objectId=4642860:objectType=Conversation", "content": "<p>Little clean-ups and place setting / writing plans for the next improvements:<br />- Fixed that loop lol<br />- Switched from dataTask completion handlers to Combine&#39;s dataTaskPublisher <br />- TIL don&#39;t use `@Model var id` because that field name is already taken<br /> - Hm that&#39;s weird though, the docs say it&#39;s `persistentModelId` but Xcode 15.0.1 gives me `id` in the definition.<br /> - <a href=\"https://developer.apple.com/documentation/swiftdata/persistentmodel/persistentmodelid\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">developer.apple.com/documentat</span><span class=\"invisible\">ion/swiftdata/persistentmodel/persistentmodelid</span></a><br /><a href=\"https://iosdev.space/tags/BuildInPublic\" class=\"mention hashtag\" rel=\"tag\">#<span>BuildInPublic</span></a> <a href=\"https://iosdev.space/tags/iOSDev\" class=\"mention hashtag\" rel=\"tag\">#<span>iOSDev</span></a></p>", "contentMap": { "en": "<p>Little clean-ups and place setting / writing plans for the next improvements:<br />- Fixed that loop lol<br />- Switched from dataTask completion handlers to Combine&#39;s dataTaskPublisher <br />- TIL don&#39;t use `@Model var id` because that field name is already taken<br /> - Hm that&#39;s weird though, the docs say it&#39;s `persistentModelId` but Xcode 15.0.1 gives me `id` in the definition.<br /> - <a href=\"https://developer.apple.com/documentation/swiftdata/persistentmodel/persistentmodelid\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">developer.apple.com/documentat</span><span class=\"invisible\">ion/swiftdata/persistentmodel/persistentmodelid</span></a><br /><a href=\"https://iosdev.space/tags/BuildInPublic\" class=\"mention hashtag\" rel=\"tag\">#<span>BuildInPublic</span></a> <a href=\"https://iosdev.space/tags/iOSDev\" class=\"mention hashtag\" rel=\"tag\">#<span>iOSDev</span></a></p>" }, "updated": "2023-11-09T03:44:28Z", "attachment": [ { "type": "Document", "mediaType": "image/png", "url": "https://cdn.masto.host/iosdevspace/media_attachments/files/111/378/525/987/593/817/original/55da614a5f82fd42.png", "name": "Screenshot of Xcode showing the definition of the SwiftData framework at the PersistentModel structure. PersistentModel conforms to Identifiable and has a field “id” — do not add another ID field on your structures that use @Model.", "blurhash": "U271Zp^,I9iv%3tSxwoLE0tSxvs:9stStRR$", "width": 1176, "height": 572 } ], "tag": [ { "type": "Hashtag", "href": "https://iosdev.space/tags/BuildInPublic", "name": "#BuildInPublic" }, { "type": "Hashtag", "href": "https://iosdev.space/tags/iosdev", "name": "#iosdev" } ], "replies": { "id": "https://iosdev.space/users/j4ck/statuses/111378526280913031/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://iosdev.space/users/j4ck/statuses/111378526280913031/replies?min_id=111384758505475891&page=true", "partOf": "https://iosdev.space/users/j4ck/statuses/111378526280913031/replies", "items": [ "https://iosdev.space/users/j4ck/statuses/111384758505475891" ] } }, "likes": { "id": "https://iosdev.space/users/j4ck/statuses/111378526280913031/likes", "type": "Collection", "totalItems": 1 }, "shares": { "id": "https://iosdev.space/users/j4ck/statuses/111378526280913031/shares", "type": "Collection", "totalItems": 0 } } ] } }