{"action":"created","comment":{"url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls/comments/107184557","pull_request_review_id":28140926,"id":107184557,"diff_hunk":"@@ -54,148 +52,98 @@\n         }\n         $d_text[] = $val;\n }\n-\n if ($d_text) {\n   $_POST['d_text'] = implode(' ',$d_text);\n }\n \n-// only process form once\n-if ($ini) {\n-\t$client_id= $ini['ARCGIS_CLIENT_ID'];\n-\t$client_secret = $ini['ARCGIS_CLIENT_SECRET'];\n-\n-\t$server = $ini['SERVER_SHORTNAME'];\n-\n-        $incoming_dir = $data_dir . \"/incoming\";\n-\n-\t$eventid = eventid();\n-\t$windowtype = param('windowtype');\n-\t$form_version = param('form_version', '1.1');\n-\t$language = param('language', 'en');\n-\n-\t// Do we need to do a geocode?\n-\t$mapAddress = param('ciim_mapAddress', 'null');\n-\tif ($mapAddress != 'null') {\n-\t\ttry {\n-\t\t\t// Client ID/Secret from response.ini\n-\t\t\t$tokenResult = json_decode(file_get_contents(\n-\t\t\t\t\t'https://www.arcgis.com/sharing/rest/oauth2/token/' .\n-\t\t\t\t\t'?grant_type=client_credentials&expiration=15' .\n-\t\t\t\t\t'&client_id=' . $client_id .\n-\t\t\t\t\t'&client_secret=' . $client_secret\n-\t\t\t\t), true);\n-\n-\t\t\t$token = $tokenResult['access_token'];\n-\n-\t\t\t$geocodeResult = json_decode(file_get_contents(\n-\t\t\t\t\t'https://geocode.arcgis.com/arcgis/rest/services/World/' .\n-\t\t\t\t\t'GeocodeServer/find?f=json&forStorage=true' .\n-\t\t\t\t\t'&token=' . $token .\n-\t\t\t\t\t'&text=' . urlencode($mapAddress)\n-\t\t\t\t), true);\n-\n-\t\t\t$geocodeLocation = $geocodeResult['locations'][0];\n-\n-\t\t\tif ($geocodeLocation) {\n-\t\t\t\t$geocodeLat = $geocodeLocation['feature']['geometry']['y'];\n-\t\t\t\t$geocodeLon = $geocodeLocation['feature']['geometry']['x'];\n-\n-\t\t\t\t//$_POST['ciim_clientMapLat'] = $_POST['ciim_mapLat'];\n-\t\t\t\t//$_POST['ciim_clientMapLon'] = $_POST['ciim_mapLon'];\n-\t\t\t\t$_POST['ciim_mapLat'] = $geocodeLat;\n-\t\t\t\t$_POST['ciim_mapLon'] = $geocodeLon;\n-\t\t\t}\n-\t\t} catch (Exception $ex) {\n-\t\t\t// Oh well, we tried...\n-\t\t}\n-\t}\n+// Main loop\n \n+$server = $ini['SERVER_SHORTNAME'];\n+$backends = explode(',',$ini['BACKEND_SERVERS']);\n \n-// Write to file\n-\t$time = time();\n-\t$count = getmypid();\n-\n-\t// Build $post from $_POST rather than php://input because we may have\n-\t// modified $_POST with a saveable geocode result\n-\t$post = array();\n-\n-    if ($_POST) {\n-        foreach ($_POST as $k=>$v) {\n-\t\t\tif (is_array($v)) {\n-\t\t\t\t$post[] = \"$k=\" . implode(' ',$v);\n-\t\t\t} else {\n-\t\t\t\t$post[] = \"$k=$v\";\n-\t\t\t}\n-\t\t}\n-\t\t$post = str_replace(' ', '+', implode('&', $post));\n+$eventid = eventid();\n+$windowtype = param('windowtype');\n+$form_version = param('form_version', '1.1');\n+$language = param('language', 'en');\n \n-\t\t$raw = 'timestamp=' . $time . '&' . $post;\n-\t\t$filename = 'entry.' . $server . '.' . $eventid . '.' . $time . '.' . $count;\n-\t\t$tmp = $incoming_dir . '/tmp.' . $filename;\n-\t\t$filename = $incoming_dir . '/' . $filename;\n-\n-\t\tfile_put_contents($tmp, $raw);\n-\t\tcopy($tmp, $log_dir . '/latest_entry.post');\n-\t\trename($tmp, $filename);\n+// Do we need to do a geocode?\n+$mapAddress = param('ciim_mapAddress', 'null');\n+if ($mapAddress != 'null') {\n+\tinclude_once('inc/geocode.php');\n+\ttry {\n+\t\tgeocode($ini);\n+\t} catch (Exception $ex) {\n+\t\t// Oh well, we tried...\n \t}\n+}\n \n-    \n-// Compute intensity using this response\n-\tif (1) {\n-\t\t$cdi = _rom(compute_intensity());\n-\t}\n+// Write to file\n \n+$time = time();\n+$count = getmypid();\n \n-// Get language translations\n-\t$translate_file = 'inc/labels.' . $language . '.inc.php';\n-\tif (!file_exists($translate_file)) {\n-\t\t$translate_file = 'inc/labels.en.inc.php';\n-\t}\n-\tinclude_once($translate_file);\n+// Build $post from $_POST rather than php://input because we may have\n+// modified $_POST d_text\n+$post = array();\n \n+if (is_array($_POST)) {\n+\tforeach ($_POST as $k=>$v) {\n+\t\tif (is_array($v)) {\n+\t\t\t$post[] = \"$k=\" . implode(' ',$v);\n+\t\t} else {\n+\t\t\t$post[] = \"$k=$v\";\n+\t\t}\n+\t}\n+}\n \n-// include template\n-\n-\t$TITLE = $T['TITLE'];\n-\t$ENCODING = 'utf-8';\n-\tif ($form_version >= 1.2 || $windowtype == 'enabled') {\n-\t\t$TEMPLATE = \"minimal\";\n-\t} else {\n-\t\t$TEMPLATE = \"default\";\n+$post = str_replace(' ', '+', implode('&', $post));\n+$raw = 'timestamp=' . $time . '&' . $post;\n+file_put_contents($log_dir . '/latest_entry.post',$raw);\n+\n+if ($savefile) {\n+\t$basename = implode('.',array('entry','server',$eventid,$time,$count));\n+\t$out_template = $data_dir . \"/incoming.SERVER\";\n+\tforeach ($backends as $backend) {\n+\t\t$dest = str_replace('SERVER',$backend,$out_template);","path":"src/htdocs/response.php","position":195,"original_position":195,"commit_id":"eaa3cf30da69edf89874ec9d6e726dadba750984","original_commit_id":"eaa3cf30da69edf89874ec9d6e726dadba750984","user":{"login":"emartinez-usgs","id":1726751,"avatar_url":"https://avatars1.githubusercontent.com/u/1726751?v=3","gravatar_id":"","url":"https://api.github.com/users/emartinez-usgs","html_url":"https://github.com/emartinez-usgs","followers_url":"https://api.github.com/users/emartinez-usgs/followers","following_url":"https://api.github.com/users/emartinez-usgs/following{/other_user}","gists_url":"https://api.github.com/users/emartinez-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/emartinez-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emartinez-usgs/subscriptions","organizations_url":"https://api.github.com/users/emartinez-usgs/orgs","repos_url":"https://api.github.com/users/emartinez-usgs/repos","events_url":"https://api.github.com/users/emartinez-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/emartinez-usgs/received_events","type":"User","site_admin":false},"body":"These `implode` and `str_replace` should probably just be a single `sprintf`. Seems simpler and is also faster.","created_at":"2017-03-21T15:20:08Z","updated_at":"2017-03-21T15:20:08Z","html_url":"https://github.com/usgs/earthquake-dyfi-response/pull/5#discussion_r107184557","pull_request_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls/comments/107184557"},"html":{"href":"https://github.com/usgs/earthquake-dyfi-response/pull/5#discussion_r107184557"},"pull_request":{"href":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls/5","id":109567984,"html_url":"https://github.com/usgs/earthquake-dyfi-response/pull/5","diff_url":"https://github.com/usgs/earthquake-dyfi-response/pull/5.diff","patch_url":"https://github.com/usgs/earthquake-dyfi-response/pull/5.patch","issue_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/issues/5","number":5,"state":"open","locked":false,"title":"Appframework","user":{"login":"vinceq-usgs","id":16106146,"avatar_url":"https://avatars0.githubusercontent.com/u/16106146?v=3","gravatar_id":"","url":"https://api.github.com/users/vinceq-usgs","html_url":"https://github.com/vinceq-usgs","followers_url":"https://api.github.com/users/vinceq-usgs/followers","following_url":"https://api.github.com/users/vinceq-usgs/following{/other_user}","gists_url":"https://api.github.com/users/vinceq-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/vinceq-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinceq-usgs/subscriptions","organizations_url":"https://api.github.com/users/vinceq-usgs/orgs","repos_url":"https://api.github.com/users/vinceq-usgs/repos","events_url":"https://api.github.com/users/vinceq-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/vinceq-usgs/received_events","type":"User","site_admin":false},"body":"Simplify replicate script. It is now single use and called directly from the response.php script. Crontab functionality is now removed.","created_at":"2017-03-07T20:50:23Z","updated_at":"2017-03-21T15:20:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ad48aeef70ffdf0b0f92a424cd186792098d7bd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls/5/commits","review_comments_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls/5/comments","review_comment_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls/comments{/number}","comments_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/issues/5/comments","statuses_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/statuses/eaa3cf30da69edf89874ec9d6e726dadba750984","head":{"label":"vinceq-usgs:appframework","ref":"appframework","sha":"eaa3cf30da69edf89874ec9d6e726dadba750984","user":{"login":"vinceq-usgs","id":16106146,"avatar_url":"https://avatars0.githubusercontent.com/u/16106146?v=3","gravatar_id":"","url":"https://api.github.com/users/vinceq-usgs","html_url":"https://github.com/vinceq-usgs","followers_url":"https://api.github.com/users/vinceq-usgs/followers","following_url":"https://api.github.com/users/vinceq-usgs/following{/other_user}","gists_url":"https://api.github.com/users/vinceq-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/vinceq-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinceq-usgs/subscriptions","organizations_url":"https://api.github.com/users/vinceq-usgs/orgs","repos_url":"https://api.github.com/users/vinceq-usgs/repos","events_url":"https://api.github.com/users/vinceq-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/vinceq-usgs/received_events","type":"User","site_admin":false},"repo":{"id":80793049,"name":"earthquake-dyfi-response","full_name":"vinceq-usgs/earthquake-dyfi-response","owner":{"login":"vinceq-usgs","id":16106146,"avatar_url":"https://avatars0.githubusercontent.com/u/16106146?v=3","gravatar_id":"","url":"https://api.github.com/users/vinceq-usgs","html_url":"https://github.com/vinceq-usgs","followers_url":"https://api.github.com/users/vinceq-usgs/followers","following_url":"https://api.github.com/users/vinceq-usgs/following{/other_user}","gists_url":"https://api.github.com/users/vinceq-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/vinceq-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinceq-usgs/subscriptions","organizations_url":"https://api.github.com/users/vinceq-usgs/orgs","repos_url":"https://api.github.com/users/vinceq-usgs/repos","events_url":"https://api.github.com/users/vinceq-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/vinceq-usgs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vinceq-usgs/earthquake-dyfi-response","description":null,"fork":true,"url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response","forks_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/forks","keys_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/teams","hooks_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/hooks","issue_events_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/issues/events{/number}","events_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/events","assignees_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/assignees{/user}","branches_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/branches{/branch}","tags_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/tags","blobs_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/git/refs{/sha}","trees_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/statuses/{sha}","languages_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/languages","stargazers_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/stargazers","contributors_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/contributors","subscribers_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/subscribers","subscription_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/subscription","commits_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/commits{/sha}","git_commits_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/git/commits{/sha}","comments_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/comments{/number}","issue_comment_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/issues/comments{/number}","contents_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/contents/{+path}","compare_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/merges","archive_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/downloads","issues_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/issues{/number}","pulls_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/pulls{/number}","milestones_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/milestones{/number}","notifications_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/labels{/name}","releases_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/releases{/id}","deployments_url":"https://api.github.com/repos/vinceq-usgs/earthquake-dyfi-response/deployments","created_at":"2017-02-03T03:18:10Z","updated_at":"2017-03-17T00:54:13Z","pushed_at":"2017-03-20T15:51:49Z","git_url":"git://github.com/vinceq-usgs/earthquake-dyfi-response.git","ssh_url":"git@github.com:vinceq-usgs/earthquake-dyfi-response.git","clone_url":"https://github.com/vinceq-usgs/earthquake-dyfi-response.git","svn_url":"https://github.com/vinceq-usgs/earthquake-dyfi-response","homepage":null,"size":57,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"usgs:master","ref":"master","sha":"efc11c0a5c8ad4f9cc619ff2bbddfd1f2c5ece00","user":{"login":"usgs","id":1091434,"avatar_url":"https://avatars0.githubusercontent.com/u/1091434?v=3","gravatar_id":"","url":"https://api.github.com/users/usgs","html_url":"https://github.com/usgs","followers_url":"https://api.github.com/users/usgs/followers","following_url":"https://api.github.com/users/usgs/following{/other_user}","gists_url":"https://api.github.com/users/usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usgs/subscriptions","organizations_url":"https://api.github.com/users/usgs/orgs","repos_url":"https://api.github.com/users/usgs/repos","events_url":"https://api.github.com/users/usgs/events{/privacy}","received_events_url":"https://api.github.com/users/usgs/received_events","type":"Organization","site_admin":false},"repo":{"id":80572709,"name":"earthquake-dyfi-response","full_name":"usgs/earthquake-dyfi-response","owner":{"login":"usgs","id":1091434,"avatar_url":"https://avatars0.githubusercontent.com/u/1091434?v=3","gravatar_id":"","url":"https://api.github.com/users/usgs","html_url":"https://github.com/usgs","followers_url":"https://api.github.com/users/usgs/followers","following_url":"https://api.github.com/users/usgs/following{/other_user}","gists_url":"https://api.github.com/users/usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usgs/subscriptions","organizations_url":"https://api.github.com/users/usgs/orgs","repos_url":"https://api.github.com/users/usgs/repos","events_url":"https://api.github.com/users/usgs/events{/privacy}","received_events_url":"https://api.github.com/users/usgs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/usgs/earthquake-dyfi-response","description":null,"fork":false,"url":"https://api.github.com/repos/usgs/earthquake-dyfi-response","forks_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/forks","keys_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/keys{/key_id}","collaborators_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/teams","hooks_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/hooks","issue_events_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/issues/events{/number}","events_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/events","assignees_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/assignees{/user}","branches_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/branches{/branch}","tags_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/tags","blobs_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/git/refs{/sha}","trees_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/git/trees{/sha}","statuses_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/statuses/{sha}","languages_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/languages","stargazers_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/stargazers","contributors_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/contributors","subscribers_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/subscribers","subscription_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/subscription","commits_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/commits{/sha}","git_commits_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/git/commits{/sha}","comments_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/comments{/number}","issue_comment_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/issues/comments{/number}","contents_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/contents/{+path}","compare_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/compare/{base}...{head}","merges_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/merges","archive_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/downloads","issues_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/issues{/number}","pulls_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls{/number}","milestones_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/milestones{/number}","notifications_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/labels{/name}","releases_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/releases{/id}","deployments_url":"https://api.github.com/repos/usgs/earthquake-dyfi-response/deployments","created_at":"2017-01-31T23:24:33Z","updated_at":"2017-02-03T03:16:12Z","pushed_at":"2017-03-20T15:29:15Z","git_url":"git://github.com/usgs/earthquake-dyfi-response.git","ssh_url":"git@github.com:usgs/earthquake-dyfi-response.git","clone_url":"https://github.com/usgs/earthquake-dyfi-response.git","svn_url":"https://github.com/usgs/earthquake-dyfi-response","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls/5"},"html":{"href":"https://github.com/usgs/earthquake-dyfi-response/pull/5"},"issue":{"href":"https://api.github.com/repos/usgs/earthquake-dyfi-response/issues/5"},"comments":{"href":"https://api.github.com/repos/usgs/earthquake-dyfi-response/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/usgs/earthquake-dyfi-response/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/usgs/earthquake-dyfi-response/statuses/eaa3cf30da69edf89874ec9d6e726dadba750984"}}}}
{"actor":{"display_login":"emartinez-usgs"}}