{"action":"created","comment":{"url":"https://api.github.com/repos/google/clasp/pulls/comments/198333926","pull_request_review_id":132247591,"id":198333926,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODMzMzkyNg==","diff_hunk":"@@ -47,6 +48,9 @@ export const drive = google.drive({\n   version: 'v3',\n   auth: oauth2Client,\n }) as Drive;\n+export const discovery = google.discovery({","path":"src/auth.ts","position":12,"original_position":12,"commit_id":"f4afbece0ddf52847de8e11c3491301d2d4c09f7","original_commit_id":"f4afbece0ddf52847de8e11c3491301d2d4c09f7","user":{"login":"campionfellin","id":11984923,"node_id":"MDQ6VXNlcjExOTg0OTIz","avatar_url":"https://avatars3.githubusercontent.com/u/11984923?v=4","gravatar_id":"","url":"https://api.github.com/users/campionfellin","html_url":"https://github.com/campionfellin","followers_url":"https://api.github.com/users/campionfellin/followers","following_url":"https://api.github.com/users/campionfellin/following{/other_user}","gists_url":"https://api.github.com/users/campionfellin/gists{/gist_id}","starred_url":"https://api.github.com/users/campionfellin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campionfellin/subscriptions","organizations_url":"https://api.github.com/users/campionfellin/orgs","repos_url":"https://api.github.com/users/campionfellin/repos","events_url":"https://api.github.com/users/campionfellin/events{/privacy}","received_events_url":"https://api.github.com/users/campionfellin/received_events","type":"User","site_admin":false},"body":"@grant not sure if this should be in the `auth` file, as you don't need to authenticate to use it. However, it made sense at the time to put it there.","created_at":"2018-06-27T00:13:48Z","updated_at":"2018-06-27T00:13:48Z","html_url":"https://github.com/google/clasp/pull/228#discussion_r198333926","pull_request_url":"https://api.github.com/repos/google/clasp/pulls/228","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/google/clasp/pulls/comments/198333926"},"html":{"href":"https://github.com/google/clasp/pull/228#discussion_r198333926"},"pull_request":{"href":"https://api.github.com/repos/google/clasp/pulls/228"}}},"pull_request":{"url":"https://api.github.com/repos/google/clasp/pulls/228","id":196524611,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NTI0NjEx","html_url":"https://github.com/google/clasp/pull/228","diff_url":"https://github.com/google/clasp/pull/228.diff","patch_url":"https://github.com/google/clasp/pull/228.patch","issue_url":"https://api.github.com/repos/google/clasp/issues/228","number":228,"state":"open","locked":false,"title":"WIP clasp apis <subcommand>","user":{"login":"campionfellin","id":11984923,"node_id":"MDQ6VXNlcjExOTg0OTIz","avatar_url":"https://avatars3.githubusercontent.com/u/11984923?v=4","gravatar_id":"","url":"https://api.github.com/users/campionfellin","html_url":"https://github.com/campionfellin","followers_url":"https://api.github.com/users/campionfellin/followers","following_url":"https://api.github.com/users/campionfellin/following{/other_user}","gists_url":"https://api.github.com/users/campionfellin/gists{/gist_id}","starred_url":"https://api.github.com/users/campionfellin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campionfellin/subscriptions","organizations_url":"https://api.github.com/users/campionfellin/orgs","repos_url":"https://api.github.com/users/campionfellin/repos","events_url":"https://api.github.com/users/campionfellin/events{/privacy}","received_events_url":"https://api.github.com/users/campionfellin/received_events","type":"User","site_admin":false},"body":"Starts work on `clasp apis <subcommand>` with `clasp apis list`.\r\n\r\nNote, we should find a definitive list of APIs that users can enable before merging this PR. I found this: https://developers.google.com/identity/protocols/googlescopes\r\n\r\nbut that is too many to list for the user. Any ideas?\r\n\r\nAlso adds tests.\r\n\r\nSigned-off-by: campionfellin <campionfellin@gmail.com>\r\n\r\nWorks on  #217 \r\n\r\n- [x] `npm run test` succeeds.\r\n- [x] `npm run lint` succeeds.\r\n- [ ] Appropriate changes to README are included in PR. (no changes until it is done)\r\n","created_at":"2018-06-21T17:32:21Z","updated_at":"2018-06-27T00:13:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3f5bc5cc83750c1c6899b0256c1d5e820ae98d7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":808053223,"node_id":"MDU6TGFiZWw4MDgwNTMyMjM=","url":"https://api.github.com/repos/google/clasp/labels/cla:%20yes","name":"cla: yes","color":"c2e0c6","default":false},{"id":934581955,"node_id":"MDU6TGFiZWw5MzQ1ODE5NTU=","url":"https://api.github.com/repos/google/clasp/labels/do%20not%20merge","name":"do not merge","color":"af2447","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/google/clasp/pulls/228/commits","review_comments_url":"https://api.github.com/repos/google/clasp/pulls/228/comments","review_comment_url":"https://api.github.com/repos/google/clasp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/clasp/issues/228/comments","statuses_url":"https://api.github.com/repos/google/clasp/statuses/f4afbece0ddf52847de8e11c3491301d2d4c09f7","head":{"label":"campionfellin:apis","ref":"apis","sha":"f4afbece0ddf52847de8e11c3491301d2d4c09f7","user":{"login":"campionfellin","id":11984923,"node_id":"MDQ6VXNlcjExOTg0OTIz","avatar_url":"https://avatars3.githubusercontent.com/u/11984923?v=4","gravatar_id":"","url":"https://api.github.com/users/campionfellin","html_url":"https://github.com/campionfellin","followers_url":"https://api.github.com/users/campionfellin/followers","following_url":"https://api.github.com/users/campionfellin/following{/other_user}","gists_url":"https://api.github.com/users/campionfellin/gists{/gist_id}","starred_url":"https://api.github.com/users/campionfellin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campionfellin/subscriptions","organizations_url":"https://api.github.com/users/campionfellin/orgs","repos_url":"https://api.github.com/users/campionfellin/repos","events_url":"https://api.github.com/users/campionfellin/events{/privacy}","received_events_url":"https://api.github.com/users/campionfellin/received_events","type":"User","site_admin":false},"repo":{"id":131511385,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE1MTEzODU=","name":"clasp","full_name":"campionfellin/clasp","owner":{"login":"campionfellin","id":11984923,"node_id":"MDQ6VXNlcjExOTg0OTIz","avatar_url":"https://avatars3.githubusercontent.com/u/11984923?v=4","gravatar_id":"","url":"https://api.github.com/users/campionfellin","html_url":"https://github.com/campionfellin","followers_url":"https://api.github.com/users/campionfellin/followers","following_url":"https://api.github.com/users/campionfellin/following{/other_user}","gists_url":"https://api.github.com/users/campionfellin/gists{/gist_id}","starred_url":"https://api.github.com/users/campionfellin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campionfellin/subscriptions","organizations_url":"https://api.github.com/users/campionfellin/orgs","repos_url":"https://api.github.com/users/campionfellin/repos","events_url":"https://api.github.com/users/campionfellin/events{/privacy}","received_events_url":"https://api.github.com/users/campionfellin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/campionfellin/clasp","description":"🔗 Develop Apps Script projects locally.","fork":true,"url":"https://api.github.com/repos/campionfellin/clasp","forks_url":"https://api.github.com/repos/campionfellin/clasp/forks","keys_url":"https://api.github.com/repos/campionfellin/clasp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/campionfellin/clasp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/campionfellin/clasp/teams","hooks_url":"https://api.github.com/repos/campionfellin/clasp/hooks","issue_events_url":"https://api.github.com/repos/campionfellin/clasp/issues/events{/number}","events_url":"https://api.github.com/repos/campionfellin/clasp/events","assignees_url":"https://api.github.com/repos/campionfellin/clasp/assignees{/user}","branches_url":"https://api.github.com/repos/campionfellin/clasp/branches{/branch}","tags_url":"https://api.github.com/repos/campionfellin/clasp/tags","blobs_url":"https://api.github.com/repos/campionfellin/clasp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/campionfellin/clasp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/campionfellin/clasp/git/refs{/sha}","trees_url":"https://api.github.com/repos/campionfellin/clasp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/campionfellin/clasp/statuses/{sha}","languages_url":"https://api.github.com/repos/campionfellin/clasp/languages","stargazers_url":"https://api.github.com/repos/campionfellin/clasp/stargazers","contributors_url":"https://api.github.com/repos/campionfellin/clasp/contributors","subscribers_url":"https://api.github.com/repos/campionfellin/clasp/subscribers","subscription_url":"https://api.github.com/repos/campionfellin/clasp/subscription","commits_url":"https://api.github.com/repos/campionfellin/clasp/commits{/sha}","git_commits_url":"https://api.github.com/repos/campionfellin/clasp/git/commits{/sha}","comments_url":"https://api.github.com/repos/campionfellin/clasp/comments{/number}","issue_comment_url":"https://api.github.com/repos/campionfellin/clasp/issues/comments{/number}","contents_url":"https://api.github.com/repos/campionfellin/clasp/contents/{+path}","compare_url":"https://api.github.com/repos/campionfellin/clasp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/campionfellin/clasp/merges","archive_url":"https://api.github.com/repos/campionfellin/clasp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/campionfellin/clasp/downloads","issues_url":"https://api.github.com/repos/campionfellin/clasp/issues{/number}","pulls_url":"https://api.github.com/repos/campionfellin/clasp/pulls{/number}","milestones_url":"https://api.github.com/repos/campionfellin/clasp/milestones{/number}","notifications_url":"https://api.github.com/repos/campionfellin/clasp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/campionfellin/clasp/labels{/name}","releases_url":"https://api.github.com/repos/campionfellin/clasp/releases{/id}","deployments_url":"https://api.github.com/repos/campionfellin/clasp/deployments","created_at":"2018-04-29T16:39:19Z","updated_at":"2018-06-26T04:30:44Z","pushed_at":"2018-06-27T00:11:55Z","git_url":"git://github.com/campionfellin/clasp.git","ssh_url":"git@github.com:campionfellin/clasp.git","clone_url":"https://github.com/campionfellin/clasp.git","svn_url":"https://github.com/campionfellin/clasp","homepage":"developers.google.com/apps-script/guides/clasp","size":501,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"4a0c5119f78979c292eb47ca5b2a7d706455db1e","user":{"login":"google","id":1342004,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":113111403,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMxMTE0MDM=","name":"clasp","full_name":"google/clasp","owner":{"login":"google","id":1342004,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/clasp","description":"🔗 Develop Apps Script projects locally.","fork":false,"url":"https://api.github.com/repos/google/clasp","forks_url":"https://api.github.com/repos/google/clasp/forks","keys_url":"https://api.github.com/repos/google/clasp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/clasp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/clasp/teams","hooks_url":"https://api.github.com/repos/google/clasp/hooks","issue_events_url":"https://api.github.com/repos/google/clasp/issues/events{/number}","events_url":"https://api.github.com/repos/google/clasp/events","assignees_url":"https://api.github.com/repos/google/clasp/assignees{/user}","branches_url":"https://api.github.com/repos/google/clasp/branches{/branch}","tags_url":"https://api.github.com/repos/google/clasp/tags","blobs_url":"https://api.github.com/repos/google/clasp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/clasp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/clasp/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/clasp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/clasp/statuses/{sha}","languages_url":"https://api.github.com/repos/google/clasp/languages","stargazers_url":"https://api.github.com/repos/google/clasp/stargazers","contributors_url":"https://api.github.com/repos/google/clasp/contributors","subscribers_url":"https://api.github.com/repos/google/clasp/subscribers","subscription_url":"https://api.github.com/repos/google/clasp/subscription","commits_url":"https://api.github.com/repos/google/clasp/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/clasp/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/clasp/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/clasp/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/clasp/contents/{+path}","compare_url":"https://api.github.com/repos/google/clasp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/clasp/merges","archive_url":"https://api.github.com/repos/google/clasp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/clasp/downloads","issues_url":"https://api.github.com/repos/google/clasp/issues{/number}","pulls_url":"https://api.github.com/repos/google/clasp/pulls{/number}","milestones_url":"https://api.github.com/repos/google/clasp/milestones{/number}","notifications_url":"https://api.github.com/repos/google/clasp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/clasp/labels{/name}","releases_url":"https://api.github.com/repos/google/clasp/releases{/id}","deployments_url":"https://api.github.com/repos/google/clasp/deployments","created_at":"2017-12-05T00:34:56Z","updated_at":"2018-06-26T22:44:27Z","pushed_at":"2018-06-27T00:11:56Z","git_url":"git://github.com/google/clasp.git","ssh_url":"git@github.com:google/clasp.git","clone_url":"https://github.com/google/clasp.git","svn_url":"https://github.com/google/clasp","homepage":"developers.google.com/apps-script/guides/clasp","size":475,"stargazers_count":500,"watchers_count":500,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":59,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":59,"open_issues":33,"watchers":500,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/clasp/pulls/228"},"html":{"href":"https://github.com/google/clasp/pull/228"},"issue":{"href":"https://api.github.com/repos/google/clasp/issues/228"},"comments":{"href":"https://api.github.com/repos/google/clasp/issues/228/comments"},"review_comments":{"href":"https://api.github.com/repos/google/clasp/pulls/228/comments"},"review_comment":{"href":"https://api.github.com/repos/google/clasp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/clasp/pulls/228/commits"},"statuses":{"href":"https://api.github.com/repos/google/clasp/statuses/f4afbece0ddf52847de8e11c3491301d2d4c09f7"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"campionfellin"}}