{"action":"created","comment":{"url":"https://api.github.com/repos/project-alfox/backend/pulls/comments/230600658","pull_request_review_id":171374422,"id":230600658,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDYwMDY1OA==","diff_hunk":"@@ -0,0 +1,50 @@\n+package com.ace.alfox.api;\n+\n+import com.ace.alfox.game.models.Player;\n+import com.ace.alfox.lib.data.Database;\n+import javax.servlet.http.HttpServletRequest;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.http.ResponseEntity;\n+import org.springframework.web.bind.annotation.GetMapping;\n+import org.springframework.web.bind.annotation.RequestParam;\n+import org.springframework.web.bind.annotation.RestController;\n+\n+@RestController\n+public class MapApi {\n+\n+  @Autowired private Database playerDatabase;\n+\n+  @GetMapping(\"/api/getMap\")","path":"src/main/java/com/ace/alfox/api/MapApi.java","position":17,"original_position":17,"commit_id":"fab67874c8831c5f5a2cc75ca1f71045dab636ad","original_commit_id":"fab67874c8831c5f5a2cc75ca1f71045dab636ad","user":{"login":"xori","id":1091220,"node_id":"MDQ6VXNlcjEwOTEyMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/1091220?v=4","gravatar_id":"","url":"https://api.github.com/users/xori","html_url":"https://github.com/xori","followers_url":"https://api.github.com/users/xori/followers","following_url":"https://api.github.com/users/xori/following{/other_user}","gists_url":"https://api.github.com/users/xori/gists{/gist_id}","starred_url":"https://api.github.com/users/xori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xori/subscriptions","organizations_url":"https://api.github.com/users/xori/orgs","repos_url":"https://api.github.com/users/xori/repos","events_url":"https://api.github.com/users/xori/events{/privacy}","received_events_url":"https://api.github.com/users/xori/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n  @GetMapping(\"/api/map\")\r\n```\r\nnit: probably don't need to repeat the verb used for fetching.","created_at":"2018-11-04T18:55:34Z","updated_at":"2018-11-04T18:57:56Z","html_url":"https://github.com/project-alfox/backend/pull/14#discussion_r230600658","pull_request_url":"https://api.github.com/repos/project-alfox/backend/pulls/14","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/project-alfox/backend/pulls/comments/230600658"},"html":{"href":"https://github.com/project-alfox/backend/pull/14#discussion_r230600658"},"pull_request":{"href":"https://api.github.com/repos/project-alfox/backend/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/project-alfox/backend/pulls/14","id":228193676,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MTkzNjc2","html_url":"https://github.com/project-alfox/backend/pull/14","diff_url":"https://github.com/project-alfox/backend/pull/14.diff","patch_url":"https://github.com/project-alfox/backend/pull/14.patch","issue_url":"https://api.github.com/repos/project-alfox/backend/issues/14","number":14,"state":"open","locked":false,"title":"Adds the ability to fetch map data.","user":{"login":"coltin","id":577097,"node_id":"MDQ6VXNlcjU3NzA5Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/577097?v=4","gravatar_id":"","url":"https://api.github.com/users/coltin","html_url":"https://github.com/coltin","followers_url":"https://api.github.com/users/coltin/followers","following_url":"https://api.github.com/users/coltin/following{/other_user}","gists_url":"https://api.github.com/users/coltin/gists{/gist_id}","starred_url":"https://api.github.com/users/coltin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coltin/subscriptions","organizations_url":"https://api.github.com/users/coltin/orgs","repos_url":"https://api.github.com/users/coltin/repos","events_url":"https://api.github.com/users/coltin/events{/privacy}","received_events_url":"https://api.github.com/users/coltin/received_events","type":"User","site_admin":false},"body":"Currently hardcoded maps.","created_at":"2018-11-04T18:25:09Z","updated_at":"2018-11-04T18:57:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af4fa8ecdf32bfab1bd901137b87fad8640c4fef","assignee":null,"assignees":[],"requested_reviewers":[{"login":"AdamCav","id":9560687,"node_id":"MDQ6VXNlcjk1NjA2ODc=","avatar_url":"https://avatars3.githubusercontent.com/u/9560687?v=4","gravatar_id":"","url":"https://api.github.com/users/AdamCav","html_url":"https://github.com/AdamCav","followers_url":"https://api.github.com/users/AdamCav/followers","following_url":"https://api.github.com/users/AdamCav/following{/other_user}","gists_url":"https://api.github.com/users/AdamCav/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamCav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamCav/subscriptions","organizations_url":"https://api.github.com/users/AdamCav/orgs","repos_url":"https://api.github.com/users/AdamCav/repos","events_url":"https://api.github.com/users/AdamCav/events{/privacy}","received_events_url":"https://api.github.com/users/AdamCav/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/project-alfox/backend/pulls/14/commits","review_comments_url":"https://api.github.com/repos/project-alfox/backend/pulls/14/comments","review_comment_url":"https://api.github.com/repos/project-alfox/backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/project-alfox/backend/issues/14/comments","statuses_url":"https://api.github.com/repos/project-alfox/backend/statuses/fab67874c8831c5f5a2cc75ca1f71045dab636ad","head":{"label":"project-alfox:coltin/mapsssssss","ref":"coltin/mapsssssss","sha":"fab67874c8831c5f5a2cc75ca1f71045dab636ad","user":{"login":"project-alfox","id":39864985,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODY0OTg1","avatar_url":"https://avatars3.githubusercontent.com/u/39864985?v=4","gravatar_id":"","url":"https://api.github.com/users/project-alfox","html_url":"https://github.com/project-alfox","followers_url":"https://api.github.com/users/project-alfox/followers","following_url":"https://api.github.com/users/project-alfox/following{/other_user}","gists_url":"https://api.github.com/users/project-alfox/gists{/gist_id}","starred_url":"https://api.github.com/users/project-alfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/project-alfox/subscriptions","organizations_url":"https://api.github.com/users/project-alfox/orgs","repos_url":"https://api.github.com/users/project-alfox/repos","events_url":"https://api.github.com/users/project-alfox/events{/privacy}","received_events_url":"https://api.github.com/users/project-alfox/received_events","type":"Organization","site_admin":false},"repo":{"id":135939386,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU5MzkzODY=","name":"backend","full_name":"project-alfox/backend","private":false,"owner":{"login":"project-alfox","id":39864985,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODY0OTg1","avatar_url":"https://avatars3.githubusercontent.com/u/39864985?v=4","gravatar_id":"","url":"https://api.github.com/users/project-alfox","html_url":"https://github.com/project-alfox","followers_url":"https://api.github.com/users/project-alfox/followers","following_url":"https://api.github.com/users/project-alfox/following{/other_user}","gists_url":"https://api.github.com/users/project-alfox/gists{/gist_id}","starred_url":"https://api.github.com/users/project-alfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/project-alfox/subscriptions","organizations_url":"https://api.github.com/users/project-alfox/orgs","repos_url":"https://api.github.com/users/project-alfox/repos","events_url":"https://api.github.com/users/project-alfox/events{/privacy}","received_events_url":"https://api.github.com/users/project-alfox/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/project-alfox/backend","description":"The Java 10 Spring backend","fork":false,"url":"https://api.github.com/repos/project-alfox/backend","forks_url":"https://api.github.com/repos/project-alfox/backend/forks","keys_url":"https://api.github.com/repos/project-alfox/backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/project-alfox/backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/project-alfox/backend/teams","hooks_url":"https://api.github.com/repos/project-alfox/backend/hooks","issue_events_url":"https://api.github.com/repos/project-alfox/backend/issues/events{/number}","events_url":"https://api.github.com/repos/project-alfox/backend/events","assignees_url":"https://api.github.com/repos/project-alfox/backend/assignees{/user}","branches_url":"https://api.github.com/repos/project-alfox/backend/branches{/branch}","tags_url":"https://api.github.com/repos/project-alfox/backend/tags","blobs_url":"https://api.github.com/repos/project-alfox/backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/project-alfox/backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/project-alfox/backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/project-alfox/backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/project-alfox/backend/statuses/{sha}","languages_url":"https://api.github.com/repos/project-alfox/backend/languages","stargazers_url":"https://api.github.com/repos/project-alfox/backend/stargazers","contributors_url":"https://api.github.com/repos/project-alfox/backend/contributors","subscribers_url":"https://api.github.com/repos/project-alfox/backend/subscribers","subscription_url":"https://api.github.com/repos/project-alfox/backend/subscription","commits_url":"https://api.github.com/repos/project-alfox/backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/project-alfox/backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/project-alfox/backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/project-alfox/backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/project-alfox/backend/contents/{+path}","compare_url":"https://api.github.com/repos/project-alfox/backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/project-alfox/backend/merges","archive_url":"https://api.github.com/repos/project-alfox/backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/project-alfox/backend/downloads","issues_url":"https://api.github.com/repos/project-alfox/backend/issues{/number}","pulls_url":"https://api.github.com/repos/project-alfox/backend/pulls{/number}","milestones_url":"https://api.github.com/repos/project-alfox/backend/milestones{/number}","notifications_url":"https://api.github.com/repos/project-alfox/backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/project-alfox/backend/labels{/name}","releases_url":"https://api.github.com/repos/project-alfox/backend/releases{/id}","deployments_url":"https://api.github.com/repos/project-alfox/backend/deployments","created_at":"2018-06-03T20:46:53Z","updated_at":"2018-10-11T14:05:33Z","pushed_at":"2018-11-04T18:25:10Z","git_url":"git://github.com/project-alfox/backend.git","ssh_url":"git@github.com:project-alfox/backend.git","clone_url":"https://github.com/project-alfox/backend.git","svn_url":"https://github.com/project-alfox/backend","homepage":null,"size":105,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"project-alfox:master","ref":"master","sha":"6ebd7789205a38dd9aa68ea1d0c29f1b880fe0e0","user":{"login":"project-alfox","id":39864985,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODY0OTg1","avatar_url":"https://avatars3.githubusercontent.com/u/39864985?v=4","gravatar_id":"","url":"https://api.github.com/users/project-alfox","html_url":"https://github.com/project-alfox","followers_url":"https://api.github.com/users/project-alfox/followers","following_url":"https://api.github.com/users/project-alfox/following{/other_user}","gists_url":"https://api.github.com/users/project-alfox/gists{/gist_id}","starred_url":"https://api.github.com/users/project-alfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/project-alfox/subscriptions","organizations_url":"https://api.github.com/users/project-alfox/orgs","repos_url":"https://api.github.com/users/project-alfox/repos","events_url":"https://api.github.com/users/project-alfox/events{/privacy}","received_events_url":"https://api.github.com/users/project-alfox/received_events","type":"Organization","site_admin":false},"repo":{"id":135939386,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU5MzkzODY=","name":"backend","full_name":"project-alfox/backend","private":false,"owner":{"login":"project-alfox","id":39864985,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODY0OTg1","avatar_url":"https://avatars3.githubusercontent.com/u/39864985?v=4","gravatar_id":"","url":"https://api.github.com/users/project-alfox","html_url":"https://github.com/project-alfox","followers_url":"https://api.github.com/users/project-alfox/followers","following_url":"https://api.github.com/users/project-alfox/following{/other_user}","gists_url":"https://api.github.com/users/project-alfox/gists{/gist_id}","starred_url":"https://api.github.com/users/project-alfox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/project-alfox/subscriptions","organizations_url":"https://api.github.com/users/project-alfox/orgs","repos_url":"https://api.github.com/users/project-alfox/repos","events_url":"https://api.github.com/users/project-alfox/events{/privacy}","received_events_url":"https://api.github.com/users/project-alfox/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/project-alfox/backend","description":"The Java 10 Spring backend","fork":false,"url":"https://api.github.com/repos/project-alfox/backend","forks_url":"https://api.github.com/repos/project-alfox/backend/forks","keys_url":"https://api.github.com/repos/project-alfox/backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/project-alfox/backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/project-alfox/backend/teams","hooks_url":"https://api.github.com/repos/project-alfox/backend/hooks","issue_events_url":"https://api.github.com/repos/project-alfox/backend/issues/events{/number}","events_url":"https://api.github.com/repos/project-alfox/backend/events","assignees_url":"https://api.github.com/repos/project-alfox/backend/assignees{/user}","branches_url":"https://api.github.com/repos/project-alfox/backend/branches{/branch}","tags_url":"https://api.github.com/repos/project-alfox/backend/tags","blobs_url":"https://api.github.com/repos/project-alfox/backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/project-alfox/backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/project-alfox/backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/project-alfox/backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/project-alfox/backend/statuses/{sha}","languages_url":"https://api.github.com/repos/project-alfox/backend/languages","stargazers_url":"https://api.github.com/repos/project-alfox/backend/stargazers","contributors_url":"https://api.github.com/repos/project-alfox/backend/contributors","subscribers_url":"https://api.github.com/repos/project-alfox/backend/subscribers","subscription_url":"https://api.github.com/repos/project-alfox/backend/subscription","commits_url":"https://api.github.com/repos/project-alfox/backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/project-alfox/backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/project-alfox/backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/project-alfox/backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/project-alfox/backend/contents/{+path}","compare_url":"https://api.github.com/repos/project-alfox/backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/project-alfox/backend/merges","archive_url":"https://api.github.com/repos/project-alfox/backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/project-alfox/backend/downloads","issues_url":"https://api.github.com/repos/project-alfox/backend/issues{/number}","pulls_url":"https://api.github.com/repos/project-alfox/backend/pulls{/number}","milestones_url":"https://api.github.com/repos/project-alfox/backend/milestones{/number}","notifications_url":"https://api.github.com/repos/project-alfox/backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/project-alfox/backend/labels{/name}","releases_url":"https://api.github.com/repos/project-alfox/backend/releases{/id}","deployments_url":"https://api.github.com/repos/project-alfox/backend/deployments","created_at":"2018-06-03T20:46:53Z","updated_at":"2018-10-11T14:05:33Z","pushed_at":"2018-11-04T18:25:10Z","git_url":"git://github.com/project-alfox/backend.git","ssh_url":"git@github.com:project-alfox/backend.git","clone_url":"https://github.com/project-alfox/backend.git","svn_url":"https://github.com/project-alfox/backend","homepage":null,"size":105,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/project-alfox/backend/pulls/14"},"html":{"href":"https://github.com/project-alfox/backend/pull/14"},"issue":{"href":"https://api.github.com/repos/project-alfox/backend/issues/14"},"comments":{"href":"https://api.github.com/repos/project-alfox/backend/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/project-alfox/backend/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/project-alfox/backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/project-alfox/backend/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/project-alfox/backend/statuses/fab67874c8831c5f5a2cc75ca1f71045dab636ad"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"xori"}}