Skip to content

Instantly share code, notes, and snippets.

@Darker
Created February 14, 2015 01:42
Show Gist options
  • Save Darker/02d51981caa6f14cd825 to your computer and use it in GitHub Desktop.
Save Darker/02d51981caa6f14cd825 to your computer and use it in GitHub Desktop.
Post AJAX information format on boards for league of legends
{
"id":"0000",
"message":"TEXT",
"badWordReplacements":null,
"user":{
"id":"USER_ID",
"name":"SUMMONER_NAME",
"lolSummonerLevel":"LEVEL (0-30)",
"lolProfileIcon":"PROFILE_ICON_ID",
"realm":"NA/EUNE/EUW/OCE",
"isModerator":false,
"isRioter":false,
"applicationsCanModerate":null,
"profile":null,
"stats":null,
"applicationSubscriptionChecksum":null,
"modifiedAt":"2015-02-13T18:21:16.131+0000",
"banEndsAt":null,
"createdAt":"2013-09-18T01:13:53.653+0000"
},
"parentCommentId":null,
"replies":{
"comments":[
//Array of entries similar to the one you're just viewing
],
"moreCount":0,
"numLoaded":0,
"lastCommentId":null,
"sortType":null
},
"createdAt":"UTC date time",
"modifiedAt":"2015-02-14T01:36:37.681+0000",
"upVotes":0,
"downVotes":0,
"numChildren":0,
"score":0.0,
//This is probably indicating how many posts are ABOVE this one
"levelsDeep":0,
"deleted":false,
"deletedAt":"",
"userVote":"down" or "up" or null,
"parentAuthorRead":true,
"attachments":[
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment