{"action":"created","comment":{"url":"https://api.github.com/repos/lpil/elixre/pulls/comments/58295746","id":58295746,"diff_hunk":"@@ -2,4 +2,11 @@ defmodule Elixre do\n   @moduledoc \"\"\"\n   Back end for Elixre.\n   \"\"\"\n+  use Plug.Router\n+  plug :match\n+  plug :dispatch\n+","path":"lib/elixre.ex","position":7,"original_position":7,"commit_id":"e8f43b4d38439aac339faea5205a6e199e804fa6","original_commit_id":"e8f43b4d38439aac339faea5205a6e199e804fa6","user":{"login":"lpil","id":6134406,"avatar_url":"https://avatars.githubusercontent.com/u/6134406?v=3","gravatar_id":"","url":"https://api.github.com/users/lpil","html_url":"https://github.com/lpil","followers_url":"https://api.github.com/users/lpil/followers","following_url":"https://api.github.com/users/lpil/following{/other_user}","gists_url":"https://api.github.com/users/lpil/gists{/gist_id}","starred_url":"https://api.github.com/users/lpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpil/subscriptions","organizations_url":"https://api.github.com/users/lpil/orgs","repos_url":"https://api.github.com/users/lpil/repos","events_url":"https://api.github.com/users/lpil/events{/privacy}","received_events_url":"https://api.github.com/users/lpil/received_events","type":"User","site_admin":false},"body":"Can we add a Plug to log incoming requests to the console?","created_at":"2016-04-02T16:25:32Z","updated_at":"2016-04-02T16:25:32Z","html_url":"https://github.com/lpil/elixre/pull/29#discussion_r58295746","pull_request_url":"https://api.github.com/repos/lpil/elixre/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/lpil/elixre/pulls/comments/58295746"},"html":{"href":"https://github.com/lpil/elixre/pull/29#discussion_r58295746"},"pull_request":{"href":"https://api.github.com/repos/lpil/elixre/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/lpil/elixre/pulls/29","id":65042357,"html_url":"https://github.com/lpil/elixre/pull/29","diff_url":"https://github.com/lpil/elixre/pull/29.diff","patch_url":"https://github.com/lpil/elixre/pull/29.patch","issue_url":"https://api.github.com/repos/lpil/elixre/issues/29","number":29,"state":"open","locked":false,"title":"Add router to backend","user":{"login":"scripttease","id":16262154,"avatar_url":"https://avatars.githubusercontent.com/u/16262154?v=3","gravatar_id":"","url":"https://api.github.com/users/scripttease","html_url":"https://github.com/scripttease","followers_url":"https://api.github.com/users/scripttease/followers","following_url":"https://api.github.com/users/scripttease/following{/other_user}","gists_url":"https://api.github.com/users/scripttease/gists{/gist_id}","starred_url":"https://api.github.com/users/scripttease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scripttease/subscriptions","organizations_url":"https://api.github.com/users/scripttease/orgs","repos_url":"https://api.github.com/users/scripttease/repos","events_url":"https://api.github.com/users/scripttease/events{/privacy}","received_events_url":"https://api.github.com/users/scripttease/received_events","type":"User","site_admin":false},"body":":balloon: :mouse: :green_heart: ","created_at":"2016-04-02T16:24:38Z","updated_at":"2016-04-02T16:25:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c1211dfcdcbcad62cecad7e819a0ed6263c307c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lpil/elixre/pulls/29/commits","review_comments_url":"https://api.github.com/repos/lpil/elixre/pulls/29/comments","review_comment_url":"https://api.github.com/repos/lpil/elixre/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lpil/elixre/issues/29/comments","statuses_url":"https://api.github.com/repos/lpil/elixre/statuses/e8f43b4d38439aac339faea5205a6e199e804fa6","head":{"label":"scripttease:v2/router","ref":"v2/router","sha":"e8f43b4d38439aac339faea5205a6e199e804fa6","user":{"login":"scripttease","id":16262154,"avatar_url":"https://avatars.githubusercontent.com/u/16262154?v=3","gravatar_id":"","url":"https://api.github.com/users/scripttease","html_url":"https://github.com/scripttease","followers_url":"https://api.github.com/users/scripttease/followers","following_url":"https://api.github.com/users/scripttease/following{/other_user}","gists_url":"https://api.github.com/users/scripttease/gists{/gist_id}","starred_url":"https://api.github.com/users/scripttease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scripttease/subscriptions","organizations_url":"https://api.github.com/users/scripttease/orgs","repos_url":"https://api.github.com/users/scripttease/repos","events_url":"https://api.github.com/users/scripttease/events{/privacy}","received_events_url":"https://api.github.com/users/scripttease/received_events","type":"User","site_admin":false},"repo":{"id":54641415,"name":"elixre","full_name":"scripttease/elixre","owner":{"login":"scripttease","id":16262154,"avatar_url":"https://avatars.githubusercontent.com/u/16262154?v=3","gravatar_id":"","url":"https://api.github.com/users/scripttease","html_url":"https://github.com/scripttease","followers_url":"https://api.github.com/users/scripttease/followers","following_url":"https://api.github.com/users/scripttease/following{/other_user}","gists_url":"https://api.github.com/users/scripttease/gists{/gist_id}","starred_url":"https://api.github.com/users/scripttease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scripttease/subscriptions","organizations_url":"https://api.github.com/users/scripttease/orgs","repos_url":"https://api.github.com/users/scripttease/repos","events_url":"https://api.github.com/users/scripttease/events{/privacy}","received_events_url":"https://api.github.com/users/scripttease/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scripttease/elixre","description":"An Elixir regular expression editor & tester.","fork":true,"url":"https://api.github.com/repos/scripttease/elixre","forks_url":"https://api.github.com/repos/scripttease/elixre/forks","keys_url":"https://api.github.com/repos/scripttease/elixre/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scripttease/elixre/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scripttease/elixre/teams","hooks_url":"https://api.github.com/repos/scripttease/elixre/hooks","issue_events_url":"https://api.github.com/repos/scripttease/elixre/issues/events{/number}","events_url":"https://api.github.com/repos/scripttease/elixre/events","assignees_url":"https://api.github.com/repos/scripttease/elixre/assignees{/user}","branches_url":"https://api.github.com/repos/scripttease/elixre/branches{/branch}","tags_url":"https://api.github.com/repos/scripttease/elixre/tags","blobs_url":"https://api.github.com/repos/scripttease/elixre/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scripttease/elixre/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scripttease/elixre/git/refs{/sha}","trees_url":"https://api.github.com/repos/scripttease/elixre/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scripttease/elixre/statuses/{sha}","languages_url":"https://api.github.com/repos/scripttease/elixre/languages","stargazers_url":"https://api.github.com/repos/scripttease/elixre/stargazers","contributors_url":"https://api.github.com/repos/scripttease/elixre/contributors","subscribers_url":"https://api.github.com/repos/scripttease/elixre/subscribers","subscription_url":"https://api.github.com/repos/scripttease/elixre/subscription","commits_url":"https://api.github.com/repos/scripttease/elixre/commits{/sha}","git_commits_url":"https://api.github.com/repos/scripttease/elixre/git/commits{/sha}","comments_url":"https://api.github.com/repos/scripttease/elixre/comments{/number}","issue_comment_url":"https://api.github.com/repos/scripttease/elixre/issues/comments{/number}","contents_url":"https://api.github.com/repos/scripttease/elixre/contents/{+path}","compare_url":"https://api.github.com/repos/scripttease/elixre/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scripttease/elixre/merges","archive_url":"https://api.github.com/repos/scripttease/elixre/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scripttease/elixre/downloads","issues_url":"https://api.github.com/repos/scripttease/elixre/issues{/number}","pulls_url":"https://api.github.com/repos/scripttease/elixre/pulls{/number}","milestones_url":"https://api.github.com/repos/scripttease/elixre/milestones{/number}","notifications_url":"https://api.github.com/repos/scripttease/elixre/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scripttease/elixre/labels{/name}","releases_url":"https://api.github.com/repos/scripttease/elixre/releases{/id}","deployments_url":"https://api.github.com/repos/scripttease/elixre/deployments","created_at":"2016-03-24T12:49:23Z","updated_at":"2016-03-24T12:49:24Z","pushed_at":"2016-04-02T16:22:25Z","git_url":"git://github.com/scripttease/elixre.git","ssh_url":"git@github.com:scripttease/elixre.git","clone_url":"https://github.com/scripttease/elixre.git","svn_url":"https://github.com/scripttease/elixre","homepage":"http://www.elixre.uk/","size":376,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":false,"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":"lpil:v2/master","ref":"v2/master","sha":"1ef3a3e4fd053c7d13316ec210d5bc6ae62300c6","user":{"login":"lpil","id":6134406,"avatar_url":"https://avatars.githubusercontent.com/u/6134406?v=3","gravatar_id":"","url":"https://api.github.com/users/lpil","html_url":"https://github.com/lpil","followers_url":"https://api.github.com/users/lpil/followers","following_url":"https://api.github.com/users/lpil/following{/other_user}","gists_url":"https://api.github.com/users/lpil/gists{/gist_id}","starred_url":"https://api.github.com/users/lpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpil/subscriptions","organizations_url":"https://api.github.com/users/lpil/orgs","repos_url":"https://api.github.com/users/lpil/repos","events_url":"https://api.github.com/users/lpil/events{/privacy}","received_events_url":"https://api.github.com/users/lpil/received_events","type":"User","site_admin":false},"repo":{"id":32542092,"name":"elixre","full_name":"lpil/elixre","owner":{"login":"lpil","id":6134406,"avatar_url":"https://avatars.githubusercontent.com/u/6134406?v=3","gravatar_id":"","url":"https://api.github.com/users/lpil","html_url":"https://github.com/lpil","followers_url":"https://api.github.com/users/lpil/followers","following_url":"https://api.github.com/users/lpil/following{/other_user}","gists_url":"https://api.github.com/users/lpil/gists{/gist_id}","starred_url":"https://api.github.com/users/lpil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpil/subscriptions","organizations_url":"https://api.github.com/users/lpil/orgs","repos_url":"https://api.github.com/users/lpil/repos","events_url":"https://api.github.com/users/lpil/events{/privacy}","received_events_url":"https://api.github.com/users/lpil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lpil/elixre","description":"An Elixir regular expression editor & tester.","fork":false,"url":"https://api.github.com/repos/lpil/elixre","forks_url":"https://api.github.com/repos/lpil/elixre/forks","keys_url":"https://api.github.com/repos/lpil/elixre/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lpil/elixre/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lpil/elixre/teams","hooks_url":"https://api.github.com/repos/lpil/elixre/hooks","issue_events_url":"https://api.github.com/repos/lpil/elixre/issues/events{/number}","events_url":"https://api.github.com/repos/lpil/elixre/events","assignees_url":"https://api.github.com/repos/lpil/elixre/assignees{/user}","branches_url":"https://api.github.com/repos/lpil/elixre/branches{/branch}","tags_url":"https://api.github.com/repos/lpil/elixre/tags","blobs_url":"https://api.github.com/repos/lpil/elixre/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lpil/elixre/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lpil/elixre/git/refs{/sha}","trees_url":"https://api.github.com/repos/lpil/elixre/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lpil/elixre/statuses/{sha}","languages_url":"https://api.github.com/repos/lpil/elixre/languages","stargazers_url":"https://api.github.com/repos/lpil/elixre/stargazers","contributors_url":"https://api.github.com/repos/lpil/elixre/contributors","subscribers_url":"https://api.github.com/repos/lpil/elixre/subscribers","subscription_url":"https://api.github.com/repos/lpil/elixre/subscription","commits_url":"https://api.github.com/repos/lpil/elixre/commits{/sha}","git_commits_url":"https://api.github.com/repos/lpil/elixre/git/commits{/sha}","comments_url":"https://api.github.com/repos/lpil/elixre/comments{/number}","issue_comment_url":"https://api.github.com/repos/lpil/elixre/issues/comments{/number}","contents_url":"https://api.github.com/repos/lpil/elixre/contents/{+path}","compare_url":"https://api.github.com/repos/lpil/elixre/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lpil/elixre/merges","archive_url":"https://api.github.com/repos/lpil/elixre/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lpil/elixre/downloads","issues_url":"https://api.github.com/repos/lpil/elixre/issues{/number}","pulls_url":"https://api.github.com/repos/lpil/elixre/pulls{/number}","milestones_url":"https://api.github.com/repos/lpil/elixre/milestones{/number}","notifications_url":"https://api.github.com/repos/lpil/elixre/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lpil/elixre/labels{/name}","releases_url":"https://api.github.com/repos/lpil/elixre/releases{/id}","deployments_url":"https://api.github.com/repos/lpil/elixre/deployments","created_at":"2015-03-19T19:31:39Z","updated_at":"2016-04-02T12:34:55Z","pushed_at":"2016-04-02T16:24:38Z","git_url":"git://github.com/lpil/elixre.git","ssh_url":"git@github.com:lpil/elixre.git","clone_url":"https://github.com/lpil/elixre.git","svn_url":"https://github.com/lpil/elixre","homepage":"http://www.elixre.uk/","size":375,"stargazers_count":33,"watchers_count":33,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":9,"forks":2,"open_issues":9,"watchers":33,"default_branch":"v2/master"}},"_links":{"self":{"href":"https://api.github.com/repos/lpil/elixre/pulls/29"},"html":{"href":"https://github.com/lpil/elixre/pull/29"},"issue":{"href":"https://api.github.com/repos/lpil/elixre/issues/29"},"comments":{"href":"https://api.github.com/repos/lpil/elixre/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/lpil/elixre/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/lpil/elixre/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lpil/elixre/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/lpil/elixre/statuses/e8f43b4d38439aac339faea5205a6e199e804fa6"}}}}