{"action":"created","issue":{"url":"https://api.github.com/repos/rithms/riot-api-java/issues/28","labels_url":"https://api.github.com/repos/rithms/riot-api-java/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/rithms/riot-api-java/issues/28/comments","events_url":"https://api.github.com/repos/rithms/riot-api-java/issues/28/events","html_url":"https://github.com/rithms/riot-api-java/pull/28","id":97717388,"number":28,"title":"Region's Platform IDs","user":{"login":"Haakjvork","id":10723818,"avatar_url":"https://avatars.githubusercontent.com/u/10723818?v=3","gravatar_id":"","url":"https://api.github.com/users/Haakjvork","html_url":"https://github.com/Haakjvork","followers_url":"https://api.github.com/users/Haakjvork/followers","following_url":"https://api.github.com/users/Haakjvork/following{/other_user}","gists_url":"https://api.github.com/users/Haakjvork/gists{/gist_id}","starred_url":"https://api.github.com/users/Haakjvork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haakjvork/subscriptions","organizations_url":"https://api.github.com/users/Haakjvork/orgs","repos_url":"https://api.github.com/users/Haakjvork/repos","events_url":"https://api.github.com/users/Haakjvork/events{/privacy}","received_events_url":"https://api.github.com/users/Haakjvork/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-28T14:16:35Z","updated_at":"2015-07-28T15:34:56Z","closed_at":"2015-07-28T14:20:14Z","pull_request":{"url":"https://api.github.com/repos/rithms/riot-api-java/pulls/28","html_url":"https://github.com/rithms/riot-api-java/pull/28","diff_url":"https://github.com/rithms/riot-api-java/pull/28.diff","patch_url":"https://github.com/rithms/riot-api-java/pull/28.patch"},"body":"As specified in\r\nhttps://developer.riotgames.com/docs/regional-endpoints\r\n\r\n(Also autoformatted the code)"},"comment":{"url":"https://api.github.com/repos/rithms/riot-api-java/issues/comments/125656047","html_url":"https://github.com/rithms/riot-api-java/pull/28#issuecomment-125656047","issue_url":"https://api.github.com/repos/rithms/riot-api-java/issues/28","id":125656047,"user":{"login":"Haakjvork","id":10723818,"avatar_url":"https://avatars.githubusercontent.com/u/10723818?v=3","gravatar_id":"","url":"https://api.github.com/users/Haakjvork","html_url":"https://github.com/Haakjvork","followers_url":"https://api.github.com/users/Haakjvork/followers","following_url":"https://api.github.com/users/Haakjvork/following{/other_user}","gists_url":"https://api.github.com/users/Haakjvork/gists{/gist_id}","starred_url":"https://api.github.com/users/Haakjvork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haakjvork/subscriptions","organizations_url":"https://api.github.com/users/Haakjvork/orgs","repos_url":"https://api.github.com/users/Haakjvork/repos","events_url":"https://api.github.com/users/Haakjvork/events{/privacy}","received_events_url":"https://api.github.com/users/Haakjvork/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T15:34:56Z","updated_at":"2015-07-28T15:34:56Z","body":"As a parameter; but I actually wanted to add PlatformID to the Region enum because of the new Match List method where the returned MatchReference includes matches' PlatformID and not the Region. This is a bit confusing, because I store matches per Region. I've ended up using \"Region.getName().equals(PlatformId.getName() )\" to check if the match retrieved is from the desired Region (because Match List may retrieve matches from ANY region if the summoner has transferred its account).\r\n\r\nAnyway, are we sure that Region <-> PlatformId is, and will be, a 1-to-1 relationship? "}}