Skip to content

Instantly share code, notes, and snippets.

@HongPong
Last active December 11, 2017 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HongPong/a9596d3390822ceb6f970eb6f12f96f0 to your computer and use it in GitHub Desktop.
Save HongPong/a9596d3390822ceb6f970eb6f12f96f0 to your computer and use it in GitHub Desktop.
getting https://mastodon.social/web/accounts/36238 in postman with: [{"key":"Accept","value":"application/activity+json","description":"","enabled":true}] should be also available at https://mastodon.social/users/HongPong/ which is preferred
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
{
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
"sensitive": "as:sensitive",
"movedTo": "as:movedTo",
"Hashtag": "as:Hashtag",
"ostatus": "http://ostatus.org#",
"atomUri": "ostatus:atomUri",
"inReplyToAtomUri": "ostatus:inReplyToAtomUri",
"conversation": "ostatus:conversation",
"toot": "http://joinmastodon.org/ns#",
"Emoji": "toot:Emoji"
}
],
"id": "https://mastodon.social/users/HongPong",
"type": "Person",
"following": "https://mastodon.social/users/HongPong/following",
"followers": "https://mastodon.social/users/HongPong/followers",
"inbox": "https://mastodon.social/users/HongPong/inbox",
"outbox": "https://mastodon.social/users/HongPong/outbox",
"preferredUsername": "HongPong",
"name": "HongPong",
"summary": "<p>Developer + Journalist in Boston<br /><a href=\"https://mastodon.social/tags/indieweb\" class=\"mention hashtag\" rel=\"tag\">#<span>indieweb</span></a> <a href=\"https://mastodon.social/tags/php\" class=\"mention hashtag\" rel=\"tag\">#<span>php</span></a> <a href=\"https://mastodon.social/tags/drupal\" class=\"mention hashtag\" rel=\"tag\">#<span>drupal</span></a> tw: <a href=\"https://twitter.com/hongpong\" rel=\"nofollow noopener\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">twitter.com/hongpong</span><span class=\"invisible\"></span></a></p>",
"url": "https://mastodon.social/@HongPong",
"manuallyApprovesFollowers": false,
"publicKey": {
"id": "https://mastodon.social/users/HongPong#main-key",
"owner": "https://mastodon.social/users/HongPong",
"publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsfROK58XG51JjFm+5Nxq\nCrqvUCf2pd26zHXxREuRftGlt2sBca0bN0r2od8rn7WtYu5K9/g8ioOQhdhpDWhT\nuX4gthrWAmX+nRrCD409aeBzB/VC70/QBPEhFc6juQopjqX+zKe8Ss4YEpVVNQLF\nQwzDwuoPXuwD5UHprYsfojuE1bURQQHYvollFdoALIHrqi0/sG/0kvJ/l/W4wZEK\nXhtj0DKh4ZIJLcxPDURMZcIXvCgYKmXt+FrudjTK5K3pcP3L13Mugjn5WCUsTFN1\nmtraglZgOHyZ4N6fX7ebYS9FsF/R/V0t/R8TJ1TBAjj5Xw8afg3z8Uq6k/CyyuAf\nuwIDAQAB\n-----END PUBLIC KEY-----\n"
},
"endpoints": {
"sharedInbox": "https://mastodon.social/inbox"
},
"icon": {
"type": "Image",
"mediaType": "image/png",
"url": "https://files.mastodon.social/accounts/avatars/000/036/238/original/3aaf71b927d8b928.png"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment