{"action":"closed","number":1687,"pull_request":{"url":"https://api.github.com/repos/serverless/serverless/pulls/1687","id":79050749,"html_url":"https://github.com/serverless/serverless/pull/1687","diff_url":"https://github.com/serverless/serverless/pull/1687.diff","patch_url":"https://github.com/serverless/serverless/pull/1687.patch","issue_url":"https://api.github.com/repos/serverless/serverless/issues/1687","number":1687,"state":"closed","locked":false,"title":"adding principalId to request template","user":{"login":"jexact","id":9034258,"avatar_url":"https://avatars.githubusercontent.com/u/9034258?v=3","gravatar_id":"","url":"https://api.github.com/users/jexact","html_url":"https://github.com/jexact","followers_url":"https://api.github.com/users/jexact/followers","following_url":"https://api.github.com/users/jexact/following{/other_user}","gists_url":"https://api.github.com/users/jexact/gists{/gist_id}","starred_url":"https://api.github.com/users/jexact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jexact/subscriptions","organizations_url":"https://api.github.com/users/jexact/orgs","repos_url":"https://api.github.com/users/jexact/repos","events_url":"https://api.github.com/users/jexact/events{/privacy}","received_events_url":"https://api.github.com/users/jexact/received_events","type":"User","site_admin":false},"body":"##### Status:\r\n\r\nReady\r\n\r\n##### Description:\r\n\r\nAdds the principal identifier to the default request template. Custom authorizers are returning a response that includes the principal identifier, which is usually needed in the backend ([Output from an Amazon API Gateway Custom Authorizer](http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html#api-gateway-custom-authorizer-output)).","created_at":"2016-07-27T15:58:51Z","updated_at":"2016-07-28T12:59:44Z","closed_at":"2016-07-28T12:59:44Z","merged_at":"2016-07-28T12:59:44Z","merge_commit_sha":"0b9117b8eb4f1b943abe8d49f2ac4c9b2b811bf8","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/serverless/serverless/pulls/1687/commits","review_comments_url":"https://api.github.com/repos/serverless/serverless/pulls/1687/comments","review_comment_url":"https://api.github.com/repos/serverless/serverless/pulls/comments{/number}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/1687/comments","statuses_url":"https://api.github.com/repos/serverless/serverless/statuses/670e2106395d8c445fdd0798e447b06ad30a49fa","head":{"label":"quodio:authorizer-principal","ref":"authorizer-principal","sha":"670e2106395d8c445fdd0798e447b06ad30a49fa","user":{"login":"quodio","id":19536674,"avatar_url":"https://avatars.githubusercontent.com/u/19536674?v=3","gravatar_id":"","url":"https://api.github.com/users/quodio","html_url":"https://github.com/quodio","followers_url":"https://api.github.com/users/quodio/followers","following_url":"https://api.github.com/users/quodio/following{/other_user}","gists_url":"https://api.github.com/users/quodio/gists{/gist_id}","starred_url":"https://api.github.com/users/quodio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quodio/subscriptions","organizations_url":"https://api.github.com/users/quodio/orgs","repos_url":"https://api.github.com/users/quodio/repos","events_url":"https://api.github.com/users/quodio/events{/privacy}","received_events_url":"https://api.github.com/users/quodio/received_events","type":"Organization","site_admin":false},"repo":{"id":60690314,"name":"serverless","full_name":"quodio/serverless","owner":{"login":"quodio","id":19536674,"avatar_url":"https://avatars.githubusercontent.com/u/19536674?v=3","gravatar_id":"","url":"https://api.github.com/users/quodio","html_url":"https://github.com/quodio","followers_url":"https://api.github.com/users/quodio/followers","following_url":"https://api.github.com/users/quodio/following{/other_user}","gists_url":"https://api.github.com/users/quodio/gists{/gist_id}","starred_url":"https://api.github.com/users/quodio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quodio/subscriptions","organizations_url":"https://api.github.com/users/quodio/orgs","repos_url":"https://api.github.com/users/quodio/repos","events_url":"https://api.github.com/users/quodio/events{/privacy}","received_events_url":"https://api.github.com/users/quodio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/quodio/serverless","description":"Serverless Framework – Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more! – ","fork":true,"url":"https://api.github.com/repos/quodio/serverless","forks_url":"https://api.github.com/repos/quodio/serverless/forks","keys_url":"https://api.github.com/repos/quodio/serverless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quodio/serverless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quodio/serverless/teams","hooks_url":"https://api.github.com/repos/quodio/serverless/hooks","issue_events_url":"https://api.github.com/repos/quodio/serverless/issues/events{/number}","events_url":"https://api.github.com/repos/quodio/serverless/events","assignees_url":"https://api.github.com/repos/quodio/serverless/assignees{/user}","branches_url":"https://api.github.com/repos/quodio/serverless/branches{/branch}","tags_url":"https://api.github.com/repos/quodio/serverless/tags","blobs_url":"https://api.github.com/repos/quodio/serverless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quodio/serverless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quodio/serverless/git/refs{/sha}","trees_url":"https://api.github.com/repos/quodio/serverless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quodio/serverless/statuses/{sha}","languages_url":"https://api.github.com/repos/quodio/serverless/languages","stargazers_url":"https://api.github.com/repos/quodio/serverless/stargazers","contributors_url":"https://api.github.com/repos/quodio/serverless/contributors","subscribers_url":"https://api.github.com/repos/quodio/serverless/subscribers","subscription_url":"https://api.github.com/repos/quodio/serverless/subscription","commits_url":"https://api.github.com/repos/quodio/serverless/commits{/sha}","git_commits_url":"https://api.github.com/repos/quodio/serverless/git/commits{/sha}","comments_url":"https://api.github.com/repos/quodio/serverless/comments{/number}","issue_comment_url":"https://api.github.com/repos/quodio/serverless/issues/comments{/number}","contents_url":"https://api.github.com/repos/quodio/serverless/contents/{+path}","compare_url":"https://api.github.com/repos/quodio/serverless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quodio/serverless/merges","archive_url":"https://api.github.com/repos/quodio/serverless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quodio/serverless/downloads","issues_url":"https://api.github.com/repos/quodio/serverless/issues{/number}","pulls_url":"https://api.github.com/repos/quodio/serverless/pulls{/number}","milestones_url":"https://api.github.com/repos/quodio/serverless/milestones{/number}","notifications_url":"https://api.github.com/repos/quodio/serverless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quodio/serverless/labels{/name}","releases_url":"https://api.github.com/repos/quodio/serverless/releases{/id}","deployments_url":"https://api.github.com/repos/quodio/serverless/deployments","created_at":"2016-06-08T10:37:26Z","updated_at":"2016-06-08T12:52:06Z","pushed_at":"2016-07-27T18:02:14Z","git_url":"git://github.com/quodio/serverless.git","ssh_url":"git@github.com:quodio/serverless.git","clone_url":"https://github.com/quodio/serverless.git","svn_url":"https://github.com/quodio/serverless","homepage":"http://www.serverless.com","size":70548,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"serverless:v1.0","ref":"v1.0","sha":"b32eb23c6c043fd037cd16e35ce616dc3d7ff7aa","user":{"login":"serverless","id":13742415,"avatar_url":"https://avatars.githubusercontent.com/u/13742415?v=3","gravatar_id":"","url":"https://api.github.com/users/serverless","html_url":"https://github.com/serverless","followers_url":"https://api.github.com/users/serverless/followers","following_url":"https://api.github.com/users/serverless/following{/other_user}","gists_url":"https://api.github.com/users/serverless/gists{/gist_id}","starred_url":"https://api.github.com/users/serverless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serverless/subscriptions","organizations_url":"https://api.github.com/users/serverless/orgs","repos_url":"https://api.github.com/users/serverless/repos","events_url":"https://api.github.com/users/serverless/events{/privacy}","received_events_url":"https://api.github.com/users/serverless/received_events","type":"Organization","site_admin":false},"repo":{"id":34302698,"name":"serverless","full_name":"serverless/serverless","owner":{"login":"serverless","id":13742415,"avatar_url":"https://avatars.githubusercontent.com/u/13742415?v=3","gravatar_id":"","url":"https://api.github.com/users/serverless","html_url":"https://github.com/serverless","followers_url":"https://api.github.com/users/serverless/followers","following_url":"https://api.github.com/users/serverless/following{/other_user}","gists_url":"https://api.github.com/users/serverless/gists{/gist_id}","starred_url":"https://api.github.com/users/serverless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serverless/subscriptions","organizations_url":"https://api.github.com/users/serverless/orgs","repos_url":"https://api.github.com/users/serverless/repos","events_url":"https://api.github.com/users/serverless/events{/privacy}","received_events_url":"https://api.github.com/users/serverless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/serverless/serverless","description":"Serverless Framework – Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more! – ","fork":false,"url":"https://api.github.com/repos/serverless/serverless","forks_url":"https://api.github.com/repos/serverless/serverless/forks","keys_url":"https://api.github.com/repos/serverless/serverless/keys{/key_id}","collaborators_url":"https://api.github.com/repos/serverless/serverless/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/serverless/serverless/teams","hooks_url":"https://api.github.com/repos/serverless/serverless/hooks","issue_events_url":"https://api.github.com/repos/serverless/serverless/issues/events{/number}","events_url":"https://api.github.com/repos/serverless/serverless/events","assignees_url":"https://api.github.com/repos/serverless/serverless/assignees{/user}","branches_url":"https://api.github.com/repos/serverless/serverless/branches{/branch}","tags_url":"https://api.github.com/repos/serverless/serverless/tags","blobs_url":"https://api.github.com/repos/serverless/serverless/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/serverless/serverless/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/serverless/serverless/git/refs{/sha}","trees_url":"https://api.github.com/repos/serverless/serverless/git/trees{/sha}","statuses_url":"https://api.github.com/repos/serverless/serverless/statuses/{sha}","languages_url":"https://api.github.com/repos/serverless/serverless/languages","stargazers_url":"https://api.github.com/repos/serverless/serverless/stargazers","contributors_url":"https://api.github.com/repos/serverless/serverless/contributors","subscribers_url":"https://api.github.com/repos/serverless/serverless/subscribers","subscription_url":"https://api.github.com/repos/serverless/serverless/subscription","commits_url":"https://api.github.com/repos/serverless/serverless/commits{/sha}","git_commits_url":"https://api.github.com/repos/serverless/serverless/git/commits{/sha}","comments_url":"https://api.github.com/repos/serverless/serverless/comments{/number}","issue_comment_url":"https://api.github.com/repos/serverless/serverless/issues/comments{/number}","contents_url":"https://api.github.com/repos/serverless/serverless/contents/{+path}","compare_url":"https://api.github.com/repos/serverless/serverless/compare/{base}...{head}","merges_url":"https://api.github.com/repos/serverless/serverless/merges","archive_url":"https://api.github.com/repos/serverless/serverless/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/serverless/serverless/downloads","issues_url":"https://api.github.com/repos/serverless/serverless/issues{/number}","pulls_url":"https://api.github.com/repos/serverless/serverless/pulls{/number}","milestones_url":"https://api.github.com/repos/serverless/serverless/milestones{/number}","notifications_url":"https://api.github.com/repos/serverless/serverless/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/serverless/serverless/labels{/name}","releases_url":"https://api.github.com/repos/serverless/serverless/releases{/id}","deployments_url":"https://api.github.com/repos/serverless/serverless/deployments","created_at":"2015-04-21T03:48:40Z","updated_at":"2016-07-28T11:57:08Z","pushed_at":"2016-07-28T12:59:44Z","git_url":"git://github.com/serverless/serverless.git","ssh_url":"git@github.com:serverless/serverless.git","clone_url":"https://github.com/serverless/serverless.git","svn_url":"https://github.com/serverless/serverless","homepage":"http://www.serverless.com","size":72615,"stargazers_count":9589,"watchers_count":9589,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":633,"mirror_url":null,"open_issues_count":273,"forks":633,"open_issues":273,"watchers":9589,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/serverless/serverless/pulls/1687"},"html":{"href":"https://github.com/serverless/serverless/pull/1687"},"issue":{"href":"https://api.github.com/repos/serverless/serverless/issues/1687"},"comments":{"href":"https://api.github.com/repos/serverless/serverless/issues/1687/comments"},"review_comments":{"href":"https://api.github.com/repos/serverless/serverless/pulls/1687/comments"},"review_comment":{"href":"https://api.github.com/repos/serverless/serverless/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/serverless/serverless/pulls/1687/commits"},"statuses":{"href":"https://api.github.com/repos/serverless/serverless/statuses/670e2106395d8c445fdd0798e447b06ad30a49fa"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"flomotlik","id":132653,"avatar_url":"https://avatars.githubusercontent.com/u/132653?v=3","gravatar_id":"","url":"https://api.github.com/users/flomotlik","html_url":"https://github.com/flomotlik","followers_url":"https://api.github.com/users/flomotlik/followers","following_url":"https://api.github.com/users/flomotlik/following{/other_user}","gists_url":"https://api.github.com/users/flomotlik/gists{/gist_id}","starred_url":"https://api.github.com/users/flomotlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flomotlik/subscriptions","organizations_url":"https://api.github.com/users/flomotlik/orgs","repos_url":"https://api.github.com/users/flomotlik/repos","events_url":"https://api.github.com/users/flomotlik/events{/privacy}","received_events_url":"https://api.github.com/users/flomotlik/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":10,"deletions":7,"changed_files":3}}
{"actor":{"display_login":"flomotlik"}}