{"action":"opened","number":15,"pull_request":{"url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/15","id":149920097,"html_url":"https://github.com/stephenplusplus/gcp-metadata/pull/15","diff_url":"https://github.com/stephenplusplus/gcp-metadata/pull/15.diff","patch_url":"https://github.com/stephenplusplus/gcp-metadata/pull/15.patch","issue_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues/15","number":15,"state":"open","locked":false,"title":"fix: add code field for callback error type","user":{"login":"kjin","id":2365820,"avatar_url":"https://avatars3.githubusercontent.com/u/2365820?v=4","gravatar_id":"","url":"https://api.github.com/users/kjin","html_url":"https://github.com/kjin","followers_url":"https://api.github.com/users/kjin/followers","following_url":"https://api.github.com/users/kjin/following{/other_user}","gists_url":"https://api.github.com/users/kjin/gists{/gist_id}","starred_url":"https://api.github.com/users/kjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjin/subscriptions","organizations_url":"https://api.github.com/users/kjin/orgs","repos_url":"https://api.github.com/users/kjin/repos","events_url":"https://api.github.com/users/kjin/events{/privacy}","received_events_url":"https://api.github.com/users/kjin/received_events","type":"User","site_admin":false},"body":"The error object being returned has a `code` field as well. This PR adds that","created_at":"2017-10-31T22:08:43Z","updated_at":"2017-10-31T22:08:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/15/commits","review_comments_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/15/comments","review_comment_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues/15/comments","statuses_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/statuses/abdaa04b14ddcf64cd101f2d3f2e7d2cbeb86fc8","head":{"label":"kjin:err-code","ref":"err-code","sha":"abdaa04b14ddcf64cd101f2d3f2e7d2cbeb86fc8","user":{"login":"kjin","id":2365820,"avatar_url":"https://avatars3.githubusercontent.com/u/2365820?v=4","gravatar_id":"","url":"https://api.github.com/users/kjin","html_url":"https://github.com/kjin","followers_url":"https://api.github.com/users/kjin/followers","following_url":"https://api.github.com/users/kjin/following{/other_user}","gists_url":"https://api.github.com/users/kjin/gists{/gist_id}","starred_url":"https://api.github.com/users/kjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjin/subscriptions","organizations_url":"https://api.github.com/users/kjin/orgs","repos_url":"https://api.github.com/users/kjin/repos","events_url":"https://api.github.com/users/kjin/events{/privacy}","received_events_url":"https://api.github.com/users/kjin/received_events","type":"User","site_admin":false},"repo":{"id":76680553,"name":"gcp-metadata","full_name":"kjin/gcp-metadata","owner":{"login":"kjin","id":2365820,"avatar_url":"https://avatars3.githubusercontent.com/u/2365820?v=4","gravatar_id":"","url":"https://api.github.com/users/kjin","html_url":"https://github.com/kjin","followers_url":"https://api.github.com/users/kjin/followers","following_url":"https://api.github.com/users/kjin/following{/other_user}","gists_url":"https://api.github.com/users/kjin/gists{/gist_id}","starred_url":"https://api.github.com/users/kjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjin/subscriptions","organizations_url":"https://api.github.com/users/kjin/orgs","repos_url":"https://api.github.com/users/kjin/repos","events_url":"https://api.github.com/users/kjin/events{/privacy}","received_events_url":"https://api.github.com/users/kjin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kjin/gcp-metadata","description":"Get the metadata from a Google Cloud Platform environment","fork":true,"url":"https://api.github.com/repos/kjin/gcp-metadata","forks_url":"https://api.github.com/repos/kjin/gcp-metadata/forks","keys_url":"https://api.github.com/repos/kjin/gcp-metadata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kjin/gcp-metadata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kjin/gcp-metadata/teams","hooks_url":"https://api.github.com/repos/kjin/gcp-metadata/hooks","issue_events_url":"https://api.github.com/repos/kjin/gcp-metadata/issues/events{/number}","events_url":"https://api.github.com/repos/kjin/gcp-metadata/events","assignees_url":"https://api.github.com/repos/kjin/gcp-metadata/assignees{/user}","branches_url":"https://api.github.com/repos/kjin/gcp-metadata/branches{/branch}","tags_url":"https://api.github.com/repos/kjin/gcp-metadata/tags","blobs_url":"https://api.github.com/repos/kjin/gcp-metadata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kjin/gcp-metadata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kjin/gcp-metadata/git/refs{/sha}","trees_url":"https://api.github.com/repos/kjin/gcp-metadata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kjin/gcp-metadata/statuses/{sha}","languages_url":"https://api.github.com/repos/kjin/gcp-metadata/languages","stargazers_url":"https://api.github.com/repos/kjin/gcp-metadata/stargazers","contributors_url":"https://api.github.com/repos/kjin/gcp-metadata/contributors","subscribers_url":"https://api.github.com/repos/kjin/gcp-metadata/subscribers","subscription_url":"https://api.github.com/repos/kjin/gcp-metadata/subscription","commits_url":"https://api.github.com/repos/kjin/gcp-metadata/commits{/sha}","git_commits_url":"https://api.github.com/repos/kjin/gcp-metadata/git/commits{/sha}","comments_url":"https://api.github.com/repos/kjin/gcp-metadata/comments{/number}","issue_comment_url":"https://api.github.com/repos/kjin/gcp-metadata/issues/comments{/number}","contents_url":"https://api.github.com/repos/kjin/gcp-metadata/contents/{+path}","compare_url":"https://api.github.com/repos/kjin/gcp-metadata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kjin/gcp-metadata/merges","archive_url":"https://api.github.com/repos/kjin/gcp-metadata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kjin/gcp-metadata/downloads","issues_url":"https://api.github.com/repos/kjin/gcp-metadata/issues{/number}","pulls_url":"https://api.github.com/repos/kjin/gcp-metadata/pulls{/number}","milestones_url":"https://api.github.com/repos/kjin/gcp-metadata/milestones{/number}","notifications_url":"https://api.github.com/repos/kjin/gcp-metadata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kjin/gcp-metadata/labels{/name}","releases_url":"https://api.github.com/repos/kjin/gcp-metadata/releases{/id}","deployments_url":"https://api.github.com/repos/kjin/gcp-metadata/deployments","created_at":"2016-12-16T19:39:34Z","updated_at":"2016-12-16T19:39:35Z","pushed_at":"2017-10-31T21:55:19Z","git_url":"git://github.com/kjin/gcp-metadata.git","ssh_url":"git@github.com:kjin/gcp-metadata.git","clone_url":"https://github.com/kjin/gcp-metadata.git","svn_url":"https://github.com/kjin/gcp-metadata","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"stephenplusplus:master","ref":"master","sha":"3964c62874dccc88611196a5f48d2117b31758ea","user":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars0.githubusercontent.com/u/723048?v=4","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"repo":{"id":76677713,"name":"gcp-metadata","full_name":"stephenplusplus/gcp-metadata","owner":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars0.githubusercontent.com/u/723048?v=4","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stephenplusplus/gcp-metadata","description":"Get the metadata from a Google Cloud Platform environment","fork":false,"url":"https://api.github.com/repos/stephenplusplus/gcp-metadata","forks_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/forks","keys_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/teams","hooks_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/hooks","issue_events_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues/events{/number}","events_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/events","assignees_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/assignees{/user}","branches_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/branches{/branch}","tags_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/tags","blobs_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/git/refs{/sha}","trees_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/statuses/{sha}","languages_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/languages","stargazers_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/stargazers","contributors_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/contributors","subscribers_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/subscribers","subscription_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/subscription","commits_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/commits{/sha}","git_commits_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/git/commits{/sha}","comments_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/comments{/number}","issue_comment_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues/comments{/number}","contents_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/contents/{+path}","compare_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/merges","archive_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/downloads","issues_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues{/number}","pulls_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls{/number}","milestones_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/milestones{/number}","notifications_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/labels{/name}","releases_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/releases{/id}","deployments_url":"https://api.github.com/repos/stephenplusplus/gcp-metadata/deployments","created_at":"2016-12-16T18:53:26Z","updated_at":"2017-10-23T18:22:50Z","pushed_at":"2017-10-31T16:41:11Z","git_url":"git://github.com/stephenplusplus/gcp-metadata.git","ssh_url":"git@github.com:stephenplusplus/gcp-metadata.git","clone_url":"https://github.com/stephenplusplus/gcp-metadata.git","svn_url":"https://github.com/stephenplusplus/gcp-metadata","homepage":null,"size":21,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/15"},"html":{"href":"https://github.com/stephenplusplus/gcp-metadata/pull/15"},"issue":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues/15"},"comments":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/stephenplusplus/gcp-metadata/statuses/abdaa04b14ddcf64cd101f2d3f2e7d2cbeb86fc8"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":3,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"kjin"}}