{"action":"created","comment":{"url":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls/comments/49043127","id":49043127,"diff_hunk":"@@ -0,0 +1,8 @@\n+'use strict'\n+\n+module.exports = {\n+\n+  helloWorld (request, reply) {\n+    reply('Hello Trails.js !')","path":"archetype/api/controllers/ViewController.js","position":6,"original_position":6,"commit_id":"53af9307dd5a5a1bf32e027362160aca649781ce","original_commit_id":"53af9307dd5a5a1bf32e027362160aca649781ce","user":{"login":"tjwebb","id":1009114,"avatar_url":"https://avatars.githubusercontent.com/u/1009114?v=3","gravatar_id":"","url":"https://api.github.com/users/tjwebb","html_url":"https://github.com/tjwebb","followers_url":"https://api.github.com/users/tjwebb/followers","following_url":"https://api.github.com/users/tjwebb/following{/other_user}","gists_url":"https://api.github.com/users/tjwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/tjwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjwebb/subscriptions","organizations_url":"https://api.github.com/users/tjwebb/orgs","repos_url":"https://api.github.com/users/tjwebb/repos","events_url":"https://api.github.com/users/tjwebb/events{/privacy}","received_events_url":"https://api.github.com/users/tjwebb/received_events","type":"User","site_admin":false},"body":"I think unless a view is being rendered, we always want to reply in JSON format.","created_at":"2016-01-07T05:26:24Z","updated_at":"2016-01-07T05:26:24Z","html_url":"https://github.com/trailsjs/trailpack-hapi/pull/7#discussion_r49043127","pull_request_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls/comments/49043127"},"html":{"href":"https://github.com/trailsjs/trailpack-hapi/pull/7#discussion_r49043127"},"pull_request":{"href":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls/7","id":54562408,"html_url":"https://github.com/trailsjs/trailpack-hapi/pull/7","diff_url":"https://github.com/trailsjs/trailpack-hapi/pull/7.diff","patch_url":"https://github.com/trailsjs/trailpack-hapi/pull/7.patch","issue_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/issues/7","number":7,"state":"open","locked":false,"title":"Archetype","user":{"login":"konstantinzolotarev","id":286431,"avatar_url":"https://avatars.githubusercontent.com/u/286431?v=3","gravatar_id":"","url":"https://api.github.com/users/konstantinzolotarev","html_url":"https://github.com/konstantinzolotarev","followers_url":"https://api.github.com/users/konstantinzolotarev/followers","following_url":"https://api.github.com/users/konstantinzolotarev/following{/other_user}","gists_url":"https://api.github.com/users/konstantinzolotarev/gists{/gist_id}","starred_url":"https://api.github.com/users/konstantinzolotarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konstantinzolotarev/subscriptions","organizations_url":"https://api.github.com/users/konstantinzolotarev/orgs","repos_url":"https://api.github.com/users/konstantinzolotarev/repos","events_url":"https://api.github.com/users/konstantinzolotarev/events{/privacy}","received_events_url":"https://api.github.com/users/konstantinzolotarev/received_events","type":"User","site_admin":false},"body":"Moved hapi archetype from `trailsjs/trails` to `trailpack-hapi` think it better place to have them.","created_at":"2015-12-24T18:16:36Z","updated_at":"2016-01-07T05:26:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9d5a17bc0556d50a1018b33a3ecae2d88596bd7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls/7/commits","review_comments_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls/7/comments","review_comment_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/issues/7/comments","statuses_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/statuses/53af9307dd5a5a1bf32e027362160aca649781ce","head":{"label":"konstantinzolotarev:archetype","ref":"archetype","sha":"53af9307dd5a5a1bf32e027362160aca649781ce","user":{"login":"konstantinzolotarev","id":286431,"avatar_url":"https://avatars.githubusercontent.com/u/286431?v=3","gravatar_id":"","url":"https://api.github.com/users/konstantinzolotarev","html_url":"https://github.com/konstantinzolotarev","followers_url":"https://api.github.com/users/konstantinzolotarev/followers","following_url":"https://api.github.com/users/konstantinzolotarev/following{/other_user}","gists_url":"https://api.github.com/users/konstantinzolotarev/gists{/gist_id}","starred_url":"https://api.github.com/users/konstantinzolotarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konstantinzolotarev/subscriptions","organizations_url":"https://api.github.com/users/konstantinzolotarev/orgs","repos_url":"https://api.github.com/users/konstantinzolotarev/repos","events_url":"https://api.github.com/users/konstantinzolotarev/events{/privacy}","received_events_url":"https://api.github.com/users/konstantinzolotarev/received_events","type":"User","site_admin":false},"repo":{"id":48456059,"name":"trailpack-hapi","full_name":"konstantinzolotarev/trailpack-hapi","owner":{"login":"konstantinzolotarev","id":286431,"avatar_url":"https://avatars.githubusercontent.com/u/286431?v=3","gravatar_id":"","url":"https://api.github.com/users/konstantinzolotarev","html_url":"https://github.com/konstantinzolotarev","followers_url":"https://api.github.com/users/konstantinzolotarev/followers","following_url":"https://api.github.com/users/konstantinzolotarev/following{/other_user}","gists_url":"https://api.github.com/users/konstantinzolotarev/gists{/gist_id}","starred_url":"https://api.github.com/users/konstantinzolotarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konstantinzolotarev/subscriptions","organizations_url":"https://api.github.com/users/konstantinzolotarev/orgs","repos_url":"https://api.github.com/users/konstantinzolotarev/repos","events_url":"https://api.github.com/users/konstantinzolotarev/events{/privacy}","received_events_url":"https://api.github.com/users/konstantinzolotarev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/konstantinzolotarev/trailpack-hapi","description":":package: Hapi.js Trailpack","fork":true,"url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi","forks_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/forks","keys_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/teams","hooks_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/hooks","issue_events_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/issues/events{/number}","events_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/events","assignees_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/assignees{/user}","branches_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/branches{/branch}","tags_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/tags","blobs_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/statuses/{sha}","languages_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/languages","stargazers_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/stargazers","contributors_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/contributors","subscribers_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/subscribers","subscription_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/subscription","commits_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/contents/{+path}","compare_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/merges","archive_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/downloads","issues_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/issues{/number}","pulls_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/pulls{/number}","milestones_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/milestones{/number}","notifications_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/labels{/name}","releases_url":"https://api.github.com/repos/konstantinzolotarev/trailpack-hapi/releases{/id}","created_at":"2015-12-22T22:01:08Z","updated_at":"2015-12-22T22:01:09Z","pushed_at":"2016-01-06T20:58:37Z","git_url":"git://github.com/konstantinzolotarev/trailpack-hapi.git","ssh_url":"git@github.com:konstantinzolotarev/trailpack-hapi.git","clone_url":"https://github.com/konstantinzolotarev/trailpack-hapi.git","svn_url":"https://github.com/konstantinzolotarev/trailpack-hapi","homepage":null,"size":38,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"trailsjs:master","ref":"master","sha":"440e4fbf73086113d60effa13fe13a8131b66fc9","user":{"login":"trailsjs","id":15969634,"avatar_url":"https://avatars.githubusercontent.com/u/15969634?v=3","gravatar_id":"","url":"https://api.github.com/users/trailsjs","html_url":"https://github.com/trailsjs","followers_url":"https://api.github.com/users/trailsjs/followers","following_url":"https://api.github.com/users/trailsjs/following{/other_user}","gists_url":"https://api.github.com/users/trailsjs/gists{/gist_id}","starred_url":"https://api.github.com/users/trailsjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trailsjs/subscriptions","organizations_url":"https://api.github.com/users/trailsjs/orgs","repos_url":"https://api.github.com/users/trailsjs/repos","events_url":"https://api.github.com/users/trailsjs/events{/privacy}","received_events_url":"https://api.github.com/users/trailsjs/received_events","type":"Organization","site_admin":false},"repo":{"id":46914697,"name":"trailpack-hapi","full_name":"trailsjs/trailpack-hapi","owner":{"login":"trailsjs","id":15969634,"avatar_url":"https://avatars.githubusercontent.com/u/15969634?v=3","gravatar_id":"","url":"https://api.github.com/users/trailsjs","html_url":"https://github.com/trailsjs","followers_url":"https://api.github.com/users/trailsjs/followers","following_url":"https://api.github.com/users/trailsjs/following{/other_user}","gists_url":"https://api.github.com/users/trailsjs/gists{/gist_id}","starred_url":"https://api.github.com/users/trailsjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trailsjs/subscriptions","organizations_url":"https://api.github.com/users/trailsjs/orgs","repos_url":"https://api.github.com/users/trailsjs/repos","events_url":"https://api.github.com/users/trailsjs/events{/privacy}","received_events_url":"https://api.github.com/users/trailsjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/trailsjs/trailpack-hapi","description":":package: Hapi.js Trailpack","fork":false,"url":"https://api.github.com/repos/trailsjs/trailpack-hapi","forks_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/forks","keys_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/teams","hooks_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/hooks","issue_events_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/issues/events{/number}","events_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/events","assignees_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/assignees{/user}","branches_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/branches{/branch}","tags_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/tags","blobs_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/statuses/{sha}","languages_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/languages","stargazers_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/stargazers","contributors_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/contributors","subscribers_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/subscribers","subscription_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/subscription","commits_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/contents/{+path}","compare_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/merges","archive_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/downloads","issues_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/issues{/number}","pulls_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls{/number}","milestones_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/milestones{/number}","notifications_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/labels{/name}","releases_url":"https://api.github.com/repos/trailsjs/trailpack-hapi/releases{/id}","created_at":"2015-11-26T08:47:54Z","updated_at":"2015-12-28T13:40:41Z","pushed_at":"2016-01-07T05:25:24Z","git_url":"git://github.com/trailsjs/trailpack-hapi.git","ssh_url":"git@github.com:trailsjs/trailpack-hapi.git","clone_url":"https://github.com/trailsjs/trailpack-hapi.git","svn_url":"https://github.com/trailsjs/trailpack-hapi","homepage":null,"size":43,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls/7"},"html":{"href":"https://github.com/trailsjs/trailpack-hapi/pull/7"},"issue":{"href":"https://api.github.com/repos/trailsjs/trailpack-hapi/issues/7"},"comments":{"href":"https://api.github.com/repos/trailsjs/trailpack-hapi/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/trailsjs/trailpack-hapi/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/trailsjs/trailpack-hapi/statuses/53af9307dd5a5a1bf32e027362160aca649781ce"}}}}