{"action":"created","comment":{"url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls/comments/57280790","id":57280790,"diff_hunk":"@@ -1,32 +1,19 @@\n {\n-  \"name\": \"app\",\n+  \"name\": \"main\",\n   \"runtime\": \"nodejs\",\n   \"description\": \"Serverless Lambda function for project: serverless-sandbox\",\n   \"customName\": false,\n   \"customRole\": false,\n-  \"handler\": \"handler.handler\",\n+  \"handler\": \"main/handler.handler\",","path":"app/main/s-function.json","position":9,"original_position":9,"commit_id":"193999671d15e80e449207e30235296a7bd11553","original_commit_id":"193999671d15e80e449207e30235296a7bd11553","user":{"login":"namikingsoft","id":3187220,"avatar_url":"https://avatars.githubusercontent.com/u/3187220?v=3","gravatar_id":"","url":"https://api.github.com/users/namikingsoft","html_url":"https://github.com/namikingsoft","followers_url":"https://api.github.com/users/namikingsoft/followers","following_url":"https://api.github.com/users/namikingsoft/following{/other_user}","gists_url":"https://api.github.com/users/namikingsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/namikingsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namikingsoft/subscriptions","organizations_url":"https://api.github.com/users/namikingsoft/orgs","repos_url":"https://api.github.com/users/namikingsoft/repos","events_url":"https://api.github.com/users/namikingsoft/events{/privacy}","received_events_url":"https://api.github.com/users/namikingsoft/received_events","type":"User","site_admin":false},"body":"こういう風に変更することで、functionディレクトリだけではなく、\r\n一つ上のディレクトリからまるごとデプロイされる仕様みたい。\r\n(共有ライブラリやリソースなどをアップロードできるようになる)","created_at":"2016-03-24T07:09:08Z","updated_at":"2016-03-24T07:09:08Z","html_url":"https://github.com/namikingsoft/serverless-sandbox/pull/4#discussion_r57280790","pull_request_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls/comments/57280790"},"html":{"href":"https://github.com/namikingsoft/serverless-sandbox/pull/4#discussion_r57280790"},"pull_request":{"href":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls/4","id":63994133,"html_url":"https://github.com/namikingsoft/serverless-sandbox/pull/4","diff_url":"https://github.com/namikingsoft/serverless-sandbox/pull/4.diff","patch_url":"https://github.com/namikingsoft/serverless-sandbox/pull/4.patch","issue_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/issues/4","number":4,"state":"open","locked":false,"title":"サンプルプロジェクトを真似たディレクトリ構成に変更","user":{"login":"namikingsoft","id":3187220,"avatar_url":"https://avatars.githubusercontent.com/u/3187220?v=3","gravatar_id":"","url":"https://api.github.com/users/namikingsoft","html_url":"https://github.com/namikingsoft","followers_url":"https://api.github.com/users/namikingsoft/followers","following_url":"https://api.github.com/users/namikingsoft/following{/other_user}","gists_url":"https://api.github.com/users/namikingsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/namikingsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namikingsoft/subscriptions","organizations_url":"https://api.github.com/users/namikingsoft/orgs","repos_url":"https://api.github.com/users/namikingsoft/repos","events_url":"https://api.github.com/users/namikingsoft/events{/privacy}","received_events_url":"https://api.github.com/users/namikingsoft/received_events","type":"User","site_admin":false},"body":"https://github.com/serverless/serverless/tree/2b44964e28654f358b17770e0b8b5a353a948466/tests/test-prj","created_at":"2016-03-24T06:15:10Z","updated_at":"2016-03-24T07:09:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f264f521317fc29c3d1184ee03d4680acb4d7cd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls/4/commits","review_comments_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls/4/comments","review_comment_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/issues/4/comments","statuses_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/statuses/193999671d15e80e449207e30235296a7bd11553","head":{"label":"namikingsoft:chore/build/change-directory-structuire","ref":"chore/build/change-directory-structuire","sha":"193999671d15e80e449207e30235296a7bd11553","user":{"login":"namikingsoft","id":3187220,"avatar_url":"https://avatars.githubusercontent.com/u/3187220?v=3","gravatar_id":"","url":"https://api.github.com/users/namikingsoft","html_url":"https://github.com/namikingsoft","followers_url":"https://api.github.com/users/namikingsoft/followers","following_url":"https://api.github.com/users/namikingsoft/following{/other_user}","gists_url":"https://api.github.com/users/namikingsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/namikingsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namikingsoft/subscriptions","organizations_url":"https://api.github.com/users/namikingsoft/orgs","repos_url":"https://api.github.com/users/namikingsoft/repos","events_url":"https://api.github.com/users/namikingsoft/events{/privacy}","received_events_url":"https://api.github.com/users/namikingsoft/received_events","type":"User","site_admin":false},"repo":{"id":54482148,"name":"serverless-sandbox","full_name":"namikingsoft/serverless-sandbox","owner":{"login":"namikingsoft","id":3187220,"avatar_url":"https://avatars.githubusercontent.com/u/3187220?v=3","gravatar_id":"","url":"https://api.github.com/users/namikingsoft","html_url":"https://github.com/namikingsoft","followers_url":"https://api.github.com/users/namikingsoft/followers","following_url":"https://api.github.com/users/namikingsoft/following{/other_user}","gists_url":"https://api.github.com/users/namikingsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/namikingsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namikingsoft/subscriptions","organizations_url":"https://api.github.com/users/namikingsoft/orgs","repos_url":"https://api.github.com/users/namikingsoft/repos","events_url":"https://api.github.com/users/namikingsoft/events{/privacy}","received_events_url":"https://api.github.com/users/namikingsoft/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/namikingsoft/serverless-sandbox","description":"","fork":false,"url":"https://api.github.com/repos/namikingsoft/serverless-sandbox","forks_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/forks","keys_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/teams","hooks_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/hooks","issue_events_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/events","assignees_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/tags","blobs_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/languages","stargazers_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/stargazers","contributors_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/contributors","subscribers_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/subscribers","subscription_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/subscription","commits_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/merges","archive_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/downloads","issues_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/labels{/name}","releases_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/deployments","created_at":"2016-03-22T14:33:55Z","updated_at":"2016-03-24T04:06:26Z","pushed_at":"2016-03-24T07:03:46Z","git_url":"git://github.com/namikingsoft/serverless-sandbox.git","ssh_url":"git@github.com:namikingsoft/serverless-sandbox.git","clone_url":"https://github.com/namikingsoft/serverless-sandbox.git","svn_url":"https://github.com/namikingsoft/serverless-sandbox","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"master"}},"base":{"label":"namikingsoft:master","ref":"master","sha":"46b9e118f7b14be56ead4a942a16354ab31e7c3f","user":{"login":"namikingsoft","id":3187220,"avatar_url":"https://avatars.githubusercontent.com/u/3187220?v=3","gravatar_id":"","url":"https://api.github.com/users/namikingsoft","html_url":"https://github.com/namikingsoft","followers_url":"https://api.github.com/users/namikingsoft/followers","following_url":"https://api.github.com/users/namikingsoft/following{/other_user}","gists_url":"https://api.github.com/users/namikingsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/namikingsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namikingsoft/subscriptions","organizations_url":"https://api.github.com/users/namikingsoft/orgs","repos_url":"https://api.github.com/users/namikingsoft/repos","events_url":"https://api.github.com/users/namikingsoft/events{/privacy}","received_events_url":"https://api.github.com/users/namikingsoft/received_events","type":"User","site_admin":false},"repo":{"id":54482148,"name":"serverless-sandbox","full_name":"namikingsoft/serverless-sandbox","owner":{"login":"namikingsoft","id":3187220,"avatar_url":"https://avatars.githubusercontent.com/u/3187220?v=3","gravatar_id":"","url":"https://api.github.com/users/namikingsoft","html_url":"https://github.com/namikingsoft","followers_url":"https://api.github.com/users/namikingsoft/followers","following_url":"https://api.github.com/users/namikingsoft/following{/other_user}","gists_url":"https://api.github.com/users/namikingsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/namikingsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namikingsoft/subscriptions","organizations_url":"https://api.github.com/users/namikingsoft/orgs","repos_url":"https://api.github.com/users/namikingsoft/repos","events_url":"https://api.github.com/users/namikingsoft/events{/privacy}","received_events_url":"https://api.github.com/users/namikingsoft/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/namikingsoft/serverless-sandbox","description":"","fork":false,"url":"https://api.github.com/repos/namikingsoft/serverless-sandbox","forks_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/forks","keys_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/teams","hooks_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/hooks","issue_events_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/events","assignees_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/tags","blobs_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/languages","stargazers_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/stargazers","contributors_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/contributors","subscribers_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/subscribers","subscription_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/subscription","commits_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/merges","archive_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/downloads","issues_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/labels{/name}","releases_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/namikingsoft/serverless-sandbox/deployments","created_at":"2016-03-22T14:33:55Z","updated_at":"2016-03-24T04:06:26Z","pushed_at":"2016-03-24T07:03:46Z","git_url":"git://github.com/namikingsoft/serverless-sandbox.git","ssh_url":"git@github.com:namikingsoft/serverless-sandbox.git","clone_url":"https://github.com/namikingsoft/serverless-sandbox.git","svn_url":"https://github.com/namikingsoft/serverless-sandbox","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls/4"},"html":{"href":"https://github.com/namikingsoft/serverless-sandbox/pull/4"},"issue":{"href":"https://api.github.com/repos/namikingsoft/serverless-sandbox/issues/4"},"comments":{"href":"https://api.github.com/repos/namikingsoft/serverless-sandbox/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/namikingsoft/serverless-sandbox/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/namikingsoft/serverless-sandbox/statuses/193999671d15e80e449207e30235296a7bd11553"}}}}