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://ruby.social/users/ingemar/statuses/113272289051777457",
"type": "Note",
"summary": null,
"inReplyTo": "https://ruby.social/users/kaspth/statuses/111178893038065931",
"published": "2024-10-08T14:32:45Z",
"url": "https://ruby.social/@ingemar/113272289051777457",
"attributedTo": "https://ruby.social/users/ingemar",
"to": [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc": [
"https://ruby.social/users/ingemar/followers",
"https://ruby.social/users/kaspth"
],
"sensitive": false,
"atomUri": "https://ruby.social/users/ingemar/statuses/113272289051777457",
"inReplyToAtomUri": "https://ruby.social/users/kaspth/statuses/111178893038065931",
"conversation": "tag:ruby.social,2023-10-04:objectId=30945863:objectType=Conversation",
"content": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://ruby.social/@kaspth\" class=\"u-url mention\">@<span>kaspth</span></a></span> Nice! We have something similar but I never bothered to give it such a nice API. </p><p>Btw, you don't need to `<a href=\"https://ruby.social/tags/dup\" class=\"mention hashtag\" rel=\"tag\">#<span>dup</span></a>` the method name string*., do you? `Symbol#to_s` always give you a new string, whereas `Symbol#name` gives you symbol's string representation, IIRC</p><p>*) <a href=\"https://github.com/kaspth/active_job-performs/blob/65c046c1efa35683fd1ef5eaae4faf0df2cd3a1d/lib/active_job/performs.rb#L37\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/kaspth/active_job-p</span><span class=\"invisible\">erforms/blob/65c046c1efa35683fd1ef5eaae4faf0df2cd3a1d/lib/active_job/performs.rb#L37</span></a></p>",
"contentMap": {
"en": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://ruby.social/@kaspth\" class=\"u-url mention\">@<span>kaspth</span></a></span> Nice! We have something similar but I never bothered to give it such a nice API. </p><p>Btw, you don't need to `<a href=\"https://ruby.social/tags/dup\" class=\"mention hashtag\" rel=\"tag\">#<span>dup</span></a>` the method name string*., do you? `Symbol#to_s` always give you a new string, whereas `Symbol#name` gives you symbol's string representation, IIRC</p><p>*) <a href=\"https://github.com/kaspth/active_job-performs/blob/65c046c1efa35683fd1ef5eaae4faf0df2cd3a1d/lib/active_job/performs.rb#L37\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" translate=\"no\"><span class=\"invisible\">https://</span><span class=\"ellipsis\">github.com/kaspth/active_job-p</span><span class=\"invisible\">erforms/blob/65c046c1efa35683fd1ef5eaae4faf0df2cd3a1d/lib/active_job/performs.rb#L37</span></a></p>"
},
"attachment": [],
"tag": [
{
"type": "Mention",
"href": "https://ruby.social/users/kaspth",
"name": "@kaspth"
},
{
"type": "Hashtag",
"href": "https://ruby.social/tags/dup",
"name": "#dup"
}
],
"replies": {
"id": "https://ruby.social/users/ingemar/statuses/113272289051777457/replies",
"type": "Collection",
"first": {
"type": "CollectionPage",
"next": "https://ruby.social/users/ingemar/statuses/113272289051777457/replies?only_other_accounts=true&page=true",
"partOf": "https://ruby.social/users/ingemar/statuses/113272289051777457/replies",
"items": []
}
},
"likes": {
"id": "https://ruby.social/users/ingemar/statuses/113272289051777457/likes",
"type": "Collection",
"totalItems": 1
},
"shares": {
"id": "https://ruby.social/users/ingemar/statuses/113272289051777457/shares",
"type": "Collection",
"totalItems": 0
}
}