{"action":"created","comment":{"url":"https://api.github.com/repos/aghinz2015/foram-api/pulls/comments/47568354","id":47568354,"diff_hunk":"@@ -1,7 +1,8 @@\n module V1\n   class DeathCoordinatesController < ApplicationController\n     def index\n-      render json: death_coordinates(Foram.for_user(current_user))\n+      render json: death_coordinates(Foram.for_user(current_user,","path":"app/controllers/v1/death_coordinates_controller.rb","position":5,"original_position":5,"commit_id":"907a38a9bb46dfa7c400e78f80fb278dbb086f0e","original_commit_id":"907a38a9bb46dfa7c400e78f80fb278dbb086f0e","user":{"login":"MaciejGawel","id":8216581,"avatar_url":"https://avatars.githubusercontent.com/u/8216581?v=3","gravatar_id":"","url":"https://api.github.com/users/MaciejGawel","html_url":"https://github.com/MaciejGawel","followers_url":"https://api.github.com/users/MaciejGawel/followers","following_url":"https://api.github.com/users/MaciejGawel/following{/other_user}","gists_url":"https://api.github.com/users/MaciejGawel/gists{/gist_id}","starred_url":"https://api.github.com/users/MaciejGawel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaciejGawel/subscriptions","organizations_url":"https://api.github.com/users/MaciejGawel/orgs","repos_url":"https://api.github.com/users/MaciejGawel/repos","events_url":"https://api.github.com/users/MaciejGawel/events{/privacy}","received_events_url":"https://api.github.com/users/MaciejGawel/received_events","type":"User","site_admin":false},"body":"ok\r\n","created_at":"2015-12-14T22:25:52Z","updated_at":"2015-12-14T22:25:52Z","html_url":"https://github.com/aghinz2015/foram-api/pull/21#discussion_r47568354","pull_request_url":"https://api.github.com/repos/aghinz2015/foram-api/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/aghinz2015/foram-api/pulls/comments/47568354"},"html":{"href":"https://github.com/aghinz2015/foram-api/pull/21#discussion_r47568354"},"pull_request":{"href":"https://api.github.com/repos/aghinz2015/foram-api/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/aghinz2015/foram-api/pulls/21","id":53621928,"html_url":"https://github.com/aghinz2015/foram-api/pull/21","diff_url":"https://github.com/aghinz2015/foram-api/pull/21.diff","patch_url":"https://github.com/aghinz2015/foram-api/pull/21.patch","issue_url":"https://api.github.com/repos/aghinz2015/foram-api/issues/21","number":21,"state":"open","locked":false,"title":"Add simulation_start param to endpoints","user":{"login":"MaciejGawel","id":8216581,"avatar_url":"https://avatars.githubusercontent.com/u/8216581?v=3","gravatar_id":"","url":"https://api.github.com/users/MaciejGawel","html_url":"https://github.com/MaciejGawel","followers_url":"https://api.github.com/users/MaciejGawel/followers","following_url":"https://api.github.com/users/MaciejGawel/following{/other_user}","gists_url":"https://api.github.com/users/MaciejGawel/gists{/gist_id}","starred_url":"https://api.github.com/users/MaciejGawel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaciejGawel/subscriptions","organizations_url":"https://api.github.com/users/MaciejGawel/orgs","repos_url":"https://api.github.com/users/MaciejGawel/repos","events_url":"https://api.github.com/users/MaciejGawel/events{/privacy}","received_events_url":"https://api.github.com/users/MaciejGawel/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-14T21:08:39Z","updated_at":"2015-12-14T22:25:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad6ed162462c7b009d5f6faa3611e371c0b3d753","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aghinz2015/foram-api/pulls/21/commits","review_comments_url":"https://api.github.com/repos/aghinz2015/foram-api/pulls/21/comments","review_comment_url":"https://api.github.com/repos/aghinz2015/foram-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aghinz2015/foram-api/issues/21/comments","statuses_url":"https://api.github.com/repos/aghinz2015/foram-api/statuses/907a38a9bb46dfa7c400e78f80fb278dbb086f0e","head":{"label":"aghinz2015:FORAM-193-simulation-chooser","ref":"FORAM-193-simulation-chooser","sha":"907a38a9bb46dfa7c400e78f80fb278dbb086f0e","user":{"login":"aghinz2015","id":13819061,"avatar_url":"https://avatars.githubusercontent.com/u/13819061?v=3","gravatar_id":"","url":"https://api.github.com/users/aghinz2015","html_url":"https://github.com/aghinz2015","followers_url":"https://api.github.com/users/aghinz2015/followers","following_url":"https://api.github.com/users/aghinz2015/following{/other_user}","gists_url":"https://api.github.com/users/aghinz2015/gists{/gist_id}","starred_url":"https://api.github.com/users/aghinz2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghinz2015/subscriptions","organizations_url":"https://api.github.com/users/aghinz2015/orgs","repos_url":"https://api.github.com/users/aghinz2015/repos","events_url":"https://api.github.com/users/aghinz2015/events{/privacy}","received_events_url":"https://api.github.com/users/aghinz2015/received_events","type":"Organization","site_admin":false},"repo":{"id":40816283,"name":"foram-api","full_name":"aghinz2015/foram-api","owner":{"login":"aghinz2015","id":13819061,"avatar_url":"https://avatars.githubusercontent.com/u/13819061?v=3","gravatar_id":"","url":"https://api.github.com/users/aghinz2015","html_url":"https://github.com/aghinz2015","followers_url":"https://api.github.com/users/aghinz2015/followers","following_url":"https://api.github.com/users/aghinz2015/following{/other_user}","gists_url":"https://api.github.com/users/aghinz2015/gists{/gist_id}","starred_url":"https://api.github.com/users/aghinz2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghinz2015/subscriptions","organizations_url":"https://api.github.com/users/aghinz2015/orgs","repos_url":"https://api.github.com/users/aghinz2015/repos","events_url":"https://api.github.com/users/aghinz2015/events{/privacy}","received_events_url":"https://api.github.com/users/aghinz2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aghinz2015/foram-api","description":"Foram API","fork":false,"url":"https://api.github.com/repos/aghinz2015/foram-api","forks_url":"https://api.github.com/repos/aghinz2015/foram-api/forks","keys_url":"https://api.github.com/repos/aghinz2015/foram-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aghinz2015/foram-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aghinz2015/foram-api/teams","hooks_url":"https://api.github.com/repos/aghinz2015/foram-api/hooks","issue_events_url":"https://api.github.com/repos/aghinz2015/foram-api/issues/events{/number}","events_url":"https://api.github.com/repos/aghinz2015/foram-api/events","assignees_url":"https://api.github.com/repos/aghinz2015/foram-api/assignees{/user}","branches_url":"https://api.github.com/repos/aghinz2015/foram-api/branches{/branch}","tags_url":"https://api.github.com/repos/aghinz2015/foram-api/tags","blobs_url":"https://api.github.com/repos/aghinz2015/foram-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aghinz2015/foram-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aghinz2015/foram-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/aghinz2015/foram-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aghinz2015/foram-api/statuses/{sha}","languages_url":"https://api.github.com/repos/aghinz2015/foram-api/languages","stargazers_url":"https://api.github.com/repos/aghinz2015/foram-api/stargazers","contributors_url":"https://api.github.com/repos/aghinz2015/foram-api/contributors","subscribers_url":"https://api.github.com/repos/aghinz2015/foram-api/subscribers","subscription_url":"https://api.github.com/repos/aghinz2015/foram-api/subscription","commits_url":"https://api.github.com/repos/aghinz2015/foram-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/aghinz2015/foram-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/aghinz2015/foram-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/aghinz2015/foram-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/aghinz2015/foram-api/contents/{+path}","compare_url":"https://api.github.com/repos/aghinz2015/foram-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aghinz2015/foram-api/merges","archive_url":"https://api.github.com/repos/aghinz2015/foram-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aghinz2015/foram-api/downloads","issues_url":"https://api.github.com/repos/aghinz2015/foram-api/issues{/number}","pulls_url":"https://api.github.com/repos/aghinz2015/foram-api/pulls{/number}","milestones_url":"https://api.github.com/repos/aghinz2015/foram-api/milestones{/number}","notifications_url":"https://api.github.com/repos/aghinz2015/foram-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aghinz2015/foram-api/labels{/name}","releases_url":"https://api.github.com/repos/aghinz2015/foram-api/releases{/id}","created_at":"2015-08-16T12:33:03Z","updated_at":"2015-08-16T12:47:13Z","pushed_at":"2015-12-14T22:22:29Z","git_url":"git://github.com/aghinz2015/foram-api.git","ssh_url":"git@github.com:aghinz2015/foram-api.git","clone_url":"https://github.com/aghinz2015/foram-api.git","svn_url":"https://github.com/aghinz2015/foram-api","homepage":null,"size":151,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"base":{"label":"aghinz2015:development","ref":"development","sha":"b519626a2856e658316b56ee955f33313ea9b790","user":{"login":"aghinz2015","id":13819061,"avatar_url":"https://avatars.githubusercontent.com/u/13819061?v=3","gravatar_id":"","url":"https://api.github.com/users/aghinz2015","html_url":"https://github.com/aghinz2015","followers_url":"https://api.github.com/users/aghinz2015/followers","following_url":"https://api.github.com/users/aghinz2015/following{/other_user}","gists_url":"https://api.github.com/users/aghinz2015/gists{/gist_id}","starred_url":"https://api.github.com/users/aghinz2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghinz2015/subscriptions","organizations_url":"https://api.github.com/users/aghinz2015/orgs","repos_url":"https://api.github.com/users/aghinz2015/repos","events_url":"https://api.github.com/users/aghinz2015/events{/privacy}","received_events_url":"https://api.github.com/users/aghinz2015/received_events","type":"Organization","site_admin":false},"repo":{"id":40816283,"name":"foram-api","full_name":"aghinz2015/foram-api","owner":{"login":"aghinz2015","id":13819061,"avatar_url":"https://avatars.githubusercontent.com/u/13819061?v=3","gravatar_id":"","url":"https://api.github.com/users/aghinz2015","html_url":"https://github.com/aghinz2015","followers_url":"https://api.github.com/users/aghinz2015/followers","following_url":"https://api.github.com/users/aghinz2015/following{/other_user}","gists_url":"https://api.github.com/users/aghinz2015/gists{/gist_id}","starred_url":"https://api.github.com/users/aghinz2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghinz2015/subscriptions","organizations_url":"https://api.github.com/users/aghinz2015/orgs","repos_url":"https://api.github.com/users/aghinz2015/repos","events_url":"https://api.github.com/users/aghinz2015/events{/privacy}","received_events_url":"https://api.github.com/users/aghinz2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aghinz2015/foram-api","description":"Foram API","fork":false,"url":"https://api.github.com/repos/aghinz2015/foram-api","forks_url":"https://api.github.com/repos/aghinz2015/foram-api/forks","keys_url":"https://api.github.com/repos/aghinz2015/foram-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aghinz2015/foram-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aghinz2015/foram-api/teams","hooks_url":"https://api.github.com/repos/aghinz2015/foram-api/hooks","issue_events_url":"https://api.github.com/repos/aghinz2015/foram-api/issues/events{/number}","events_url":"https://api.github.com/repos/aghinz2015/foram-api/events","assignees_url":"https://api.github.com/repos/aghinz2015/foram-api/assignees{/user}","branches_url":"https://api.github.com/repos/aghinz2015/foram-api/branches{/branch}","tags_url":"https://api.github.com/repos/aghinz2015/foram-api/tags","blobs_url":"https://api.github.com/repos/aghinz2015/foram-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aghinz2015/foram-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aghinz2015/foram-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/aghinz2015/foram-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aghinz2015/foram-api/statuses/{sha}","languages_url":"https://api.github.com/repos/aghinz2015/foram-api/languages","stargazers_url":"https://api.github.com/repos/aghinz2015/foram-api/stargazers","contributors_url":"https://api.github.com/repos/aghinz2015/foram-api/contributors","subscribers_url":"https://api.github.com/repos/aghinz2015/foram-api/subscribers","subscription_url":"https://api.github.com/repos/aghinz2015/foram-api/subscription","commits_url":"https://api.github.com/repos/aghinz2015/foram-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/aghinz2015/foram-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/aghinz2015/foram-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/aghinz2015/foram-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/aghinz2015/foram-api/contents/{+path}","compare_url":"https://api.github.com/repos/aghinz2015/foram-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aghinz2015/foram-api/merges","archive_url":"https://api.github.com/repos/aghinz2015/foram-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aghinz2015/foram-api/downloads","issues_url":"https://api.github.com/repos/aghinz2015/foram-api/issues{/number}","pulls_url":"https://api.github.com/repos/aghinz2015/foram-api/pulls{/number}","milestones_url":"https://api.github.com/repos/aghinz2015/foram-api/milestones{/number}","notifications_url":"https://api.github.com/repos/aghinz2015/foram-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aghinz2015/foram-api/labels{/name}","releases_url":"https://api.github.com/repos/aghinz2015/foram-api/releases{/id}","created_at":"2015-08-16T12:33:03Z","updated_at":"2015-08-16T12:47:13Z","pushed_at":"2015-12-14T22:22:29Z","git_url":"git://github.com/aghinz2015/foram-api.git","ssh_url":"git@github.com:aghinz2015/foram-api.git","clone_url":"https://github.com/aghinz2015/foram-api.git","svn_url":"https://github.com/aghinz2015/foram-api","homepage":null,"size":151,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/aghinz2015/foram-api/pulls/21"},"html":{"href":"https://github.com/aghinz2015/foram-api/pull/21"},"issue":{"href":"https://api.github.com/repos/aghinz2015/foram-api/issues/21"},"comments":{"href":"https://api.github.com/repos/aghinz2015/foram-api/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/aghinz2015/foram-api/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/aghinz2015/foram-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aghinz2015/foram-api/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/aghinz2015/foram-api/statuses/907a38a9bb46dfa7c400e78f80fb278dbb086f0e"}}}}