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://mastodon.social/users/mcc/statuses/113495303941090707",
"type": "Note",
"summary": null,
"inReplyTo": null,
"published": "2024-11-16T23:48:22Z",
"url": "https://mastodon.social/@mcc/113495303941090707",
"attributedTo": "https://mastodon.social/users/mcc",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://mastodon.social/users/mcc/followers"
],
"sensitive": false,
"atomUri": "https://mastodon.social/users/mcc/statuses/113495303941090707",
"inReplyToAtomUri": null,
"conversation": "tag:mastodon.social,2024-11-16:objectId=849965350:objectType=Conversation",
"content": "<p>I'm in Rust.</p><p>I have a variable which is meant to be shared between 2 threads. I know the "Rust Way" to do this is to put it in a Arc<RwLock<data>>.</p><p>However, here's the thing:<br />- Only one thread ever writes at a time;<br />- The data is something which can be written atomically, such as a double.</p><p>Is there something like a … "WriteLock"? Something like C++'s std::atomic. Ensures only one writer holding the lock, but readers holding the lock does not lockout writers unless the data within is nonatomic</p>",
"contentMap": {
"en": "<p>I'm in Rust.</p><p>I have a variable which is meant to be shared between 2 threads. I know the "Rust Way" to do this is to put it in a Arc<RwLock<data>>.</p><p>However, here's the thing:<br />- Only one thread ever writes at a time;<br />- The data is something which can be written atomically, such as a double.</p><p>Is there something like a … "WriteLock"? Something like C++'s std::atomic. Ensures only one writer holding the lock, but readers holding the lock does not lockout writers unless the data within is nonatomic</p>"
},
"attachment": [],
"tag": [],
"replies": {
"id": "https://mastodon.social/users/mcc/statuses/113495303941090707/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://mastodon.social/users/mcc/statuses/113495303941090707/replies?min_id=113495309169627445&page=true",
"partOf": "https://mastodon.social/users/mcc/statuses/113495303941090707/replies",
"items": [
"https://mastodon.social/users/mcc/statuses/113495309169627445"
]
}
},
"likes": {
"id": "https://mastodon.social/users/mcc/statuses/113495303941090707/likes",
"type": "Collection",
"totalItems": 9
},
"shares": {
"id": "https://mastodon.social/users/mcc/statuses/113495303941090707/shares",
"type": "Collection",
"totalItems": 3
}
}