{"action":"created","comment":{"url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/comments/86424873","pull_request_review_id":7085779,"id":86424873,"diff_hunk":"@@ -0,0 +1,18 @@\n+// Download the Node helper library from twilio.com/docs/node/install\n+// These are your accountSid and authToken from https://www.twilio.com/console\n+const accountSid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';\n+const authToken = 'your_auth_token';\n+\n+const MonitorClient = require('twilio').MonitorClient;\n+const client = new MonitorClient(accountSid, authToken);\n+\n+client.alerts('NO5a7a84730f529f0a76b3e30c01315d1a').delete(function(err, data) {","path":"monitor/alerts/instance-delete-example/instance-delete-example.3.x.js","position":9,"original_position":9,"commit_id":"c28c52794b565a1d16337807ba212c3bc971b4d4","original_commit_id":"c28c52794b565a1d16337807ba212c3bc971b4d4","user":{"login":"joliveros","id":5973528,"avatar_url":"https://avatars.githubusercontent.com/u/5973528?v=3","gravatar_id":"","url":"https://api.github.com/users/joliveros","html_url":"https://github.com/joliveros","followers_url":"https://api.github.com/users/joliveros/followers","following_url":"https://api.github.com/users/joliveros/following{/other_user}","gists_url":"https://api.github.com/users/joliveros/gists{/gist_id}","starred_url":"https://api.github.com/users/joliveros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joliveros/subscriptions","organizations_url":"https://api.github.com/users/joliveros/orgs","repos_url":"https://api.github.com/users/joliveros/repos","events_url":"https://api.github.com/users/joliveros/events{/privacy}","received_events_url":"https://api.github.com/users/joliveros/received_events","type":"User","site_admin":false},"body":"this is the api you want to be using here: https://github.com/twilio/twilio-node/blob/next-gen/spec/integration/rest/monitor/v1/alert.spec.js#L80","created_at":"2016-11-03T19:31:28Z","updated_at":"2016-11-03T19:31:28Z","html_url":"https://github.com/TwilioDevEd/api-snippets/pull/194#discussion_r86424873","pull_request_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/194","_links":{"self":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/comments/86424873"},"html":{"href":"https://github.com/TwilioDevEd/api-snippets/pull/194#discussion_r86424873"},"pull_request":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/194"}}},"pull_request":{"url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/194","id":92216015,"html_url":"https://github.com/TwilioDevEd/api-snippets/pull/194","diff_url":"https://github.com/TwilioDevEd/api-snippets/pull/194.diff","patch_url":"https://github.com/TwilioDevEd/api-snippets/pull/194.patch","issue_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/194","number":194,"state":"open","locked":false,"title":"Next gen node snippets extras","user":{"login":"juancarlospaco","id":1189414,"avatar_url":"https://avatars.githubusercontent.com/u/1189414?v=3","gravatar_id":"","url":"https://api.github.com/users/juancarlospaco","html_url":"https://github.com/juancarlospaco","followers_url":"https://api.github.com/users/juancarlospaco/followers","following_url":"https://api.github.com/users/juancarlospaco/following{/other_user}","gists_url":"https://api.github.com/users/juancarlospaco/gists{/gist_id}","starred_url":"https://api.github.com/users/juancarlospaco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juancarlospaco/subscriptions","organizations_url":"https://api.github.com/users/juancarlospaco/orgs","repos_url":"https://api.github.com/users/juancarlospaco/repos","events_url":"https://api.github.com/users/juancarlospaco/events{/privacy}","received_events_url":"https://api.github.com/users/juancarlospaco/received_events","type":"User","site_admin":false},"body":"- [x] client\r\n- [x] guides\r\n- [x] insights\r\n- [x] ip-messaging\r\n- [x] lookups\r\n- [x] monitor\r\n- [x] notifications\r\n- [ ] pricing -- under test on Travis\r\n- [ ] security -- under test on Travis\r\n- [x] stun-turn\r\n- [x] sync\r\n- [x] video\r\n- [x] voice\r\n- [x] wireless\r\n\r\nI need to check if I am missing any script/folder... (WIP) Any comments welcome.","created_at":"2016-11-03T18:43:08Z","updated_at":"2016-11-03T19:31:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cce3fc9ed06a276ae1cc3b27f75c88d7778481d3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/194/commits","review_comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/194/comments","review_comment_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/194/comments","statuses_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/statuses/c28c52794b565a1d16337807ba212c3bc971b4d4","head":{"label":"TwilioDevEd:next-gen-node-snippets-extras","ref":"next-gen-node-snippets-extras","sha":"c28c52794b565a1d16337807ba212c3bc971b4d4","user":{"login":"TwilioDevEd","id":8114879,"avatar_url":"https://avatars.githubusercontent.com/u/8114879?v=3","gravatar_id":"","url":"https://api.github.com/users/TwilioDevEd","html_url":"https://github.com/TwilioDevEd","followers_url":"https://api.github.com/users/TwilioDevEd/followers","following_url":"https://api.github.com/users/TwilioDevEd/following{/other_user}","gists_url":"https://api.github.com/users/TwilioDevEd/gists{/gist_id}","starred_url":"https://api.github.com/users/TwilioDevEd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwilioDevEd/subscriptions","organizations_url":"https://api.github.com/users/TwilioDevEd/orgs","repos_url":"https://api.github.com/users/TwilioDevEd/repos","events_url":"https://api.github.com/users/TwilioDevEd/events{/privacy}","received_events_url":"https://api.github.com/users/TwilioDevEd/received_events","type":"Organization","site_admin":false},"repo":{"id":49965712,"name":"api-snippets","full_name":"TwilioDevEd/api-snippets","owner":{"login":"TwilioDevEd","id":8114879,"avatar_url":"https://avatars.githubusercontent.com/u/8114879?v=3","gravatar_id":"","url":"https://api.github.com/users/TwilioDevEd","html_url":"https://github.com/TwilioDevEd","followers_url":"https://api.github.com/users/TwilioDevEd/followers","following_url":"https://api.github.com/users/TwilioDevEd/following{/other_user}","gists_url":"https://api.github.com/users/TwilioDevEd/gists{/gist_id}","starred_url":"https://api.github.com/users/TwilioDevEd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwilioDevEd/subscriptions","organizations_url":"https://api.github.com/users/TwilioDevEd/orgs","repos_url":"https://api.github.com/users/TwilioDevEd/repos","events_url":"https://api.github.com/users/TwilioDevEd/events{/privacy}","received_events_url":"https://api.github.com/users/TwilioDevEd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TwilioDevEd/api-snippets","description":"Code snippets for the Twilio API Documentation","fork":false,"url":"https://api.github.com/repos/TwilioDevEd/api-snippets","forks_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/forks","keys_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/teams","hooks_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/hooks","issue_events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/events{/number}","events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/events","assignees_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/assignees{/user}","branches_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/branches{/branch}","tags_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/tags","blobs_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/refs{/sha}","trees_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/statuses/{sha}","languages_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/languages","stargazers_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/stargazers","contributors_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/contributors","subscribers_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/subscribers","subscription_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/subscription","commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/commits{/sha}","git_commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/commits{/sha}","comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/comments{/number}","issue_comment_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/comments{/number}","contents_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/contents/{+path}","compare_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/merges","archive_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/downloads","issues_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues{/number}","pulls_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls{/number}","milestones_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/milestones{/number}","notifications_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/labels{/name}","releases_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/releases{/id}","deployments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/deployments","created_at":"2016-01-19T16:21:44Z","updated_at":"2016-10-24T14:09:54Z","pushed_at":"2016-11-03T19:25:46Z","git_url":"git://github.com/TwilioDevEd/api-snippets.git","ssh_url":"git@github.com:TwilioDevEd/api-snippets.git","clone_url":"https://github.com/TwilioDevEd/api-snippets.git","svn_url":"https://github.com/TwilioDevEd/api-snippets","homepage":null,"size":17441,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":10,"forks":23,"open_issues":10,"watchers":9,"default_branch":"master"}},"base":{"label":"TwilioDevEd:master","ref":"master","sha":"f1f16611512a5d5aabe445bc63a4148549630e0f","user":{"login":"TwilioDevEd","id":8114879,"avatar_url":"https://avatars.githubusercontent.com/u/8114879?v=3","gravatar_id":"","url":"https://api.github.com/users/TwilioDevEd","html_url":"https://github.com/TwilioDevEd","followers_url":"https://api.github.com/users/TwilioDevEd/followers","following_url":"https://api.github.com/users/TwilioDevEd/following{/other_user}","gists_url":"https://api.github.com/users/TwilioDevEd/gists{/gist_id}","starred_url":"https://api.github.com/users/TwilioDevEd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwilioDevEd/subscriptions","organizations_url":"https://api.github.com/users/TwilioDevEd/orgs","repos_url":"https://api.github.com/users/TwilioDevEd/repos","events_url":"https://api.github.com/users/TwilioDevEd/events{/privacy}","received_events_url":"https://api.github.com/users/TwilioDevEd/received_events","type":"Organization","site_admin":false},"repo":{"id":49965712,"name":"api-snippets","full_name":"TwilioDevEd/api-snippets","owner":{"login":"TwilioDevEd","id":8114879,"avatar_url":"https://avatars.githubusercontent.com/u/8114879?v=3","gravatar_id":"","url":"https://api.github.com/users/TwilioDevEd","html_url":"https://github.com/TwilioDevEd","followers_url":"https://api.github.com/users/TwilioDevEd/followers","following_url":"https://api.github.com/users/TwilioDevEd/following{/other_user}","gists_url":"https://api.github.com/users/TwilioDevEd/gists{/gist_id}","starred_url":"https://api.github.com/users/TwilioDevEd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TwilioDevEd/subscriptions","organizations_url":"https://api.github.com/users/TwilioDevEd/orgs","repos_url":"https://api.github.com/users/TwilioDevEd/repos","events_url":"https://api.github.com/users/TwilioDevEd/events{/privacy}","received_events_url":"https://api.github.com/users/TwilioDevEd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TwilioDevEd/api-snippets","description":"Code snippets for the Twilio API Documentation","fork":false,"url":"https://api.github.com/repos/TwilioDevEd/api-snippets","forks_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/forks","keys_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/teams","hooks_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/hooks","issue_events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/events{/number}","events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/events","assignees_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/assignees{/user}","branches_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/branches{/branch}","tags_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/tags","blobs_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/refs{/sha}","trees_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/statuses/{sha}","languages_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/languages","stargazers_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/stargazers","contributors_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/contributors","subscribers_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/subscribers","subscription_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/subscription","commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/commits{/sha}","git_commits_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/git/commits{/sha}","comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/comments{/number}","issue_comment_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/comments{/number}","contents_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/contents/{+path}","compare_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/merges","archive_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/downloads","issues_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues{/number}","pulls_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls{/number}","milestones_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/milestones{/number}","notifications_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/labels{/name}","releases_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/releases{/id}","deployments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/deployments","created_at":"2016-01-19T16:21:44Z","updated_at":"2016-10-24T14:09:54Z","pushed_at":"2016-11-03T19:25:46Z","git_url":"git://github.com/TwilioDevEd/api-snippets.git","ssh_url":"git@github.com:TwilioDevEd/api-snippets.git","clone_url":"https://github.com/TwilioDevEd/api-snippets.git","svn_url":"https://github.com/TwilioDevEd/api-snippets","homepage":null,"size":17441,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":10,"forks":23,"open_issues":10,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/194"},"html":{"href":"https://github.com/TwilioDevEd/api-snippets/pull/194"},"issue":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/194"},"comments":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/TwilioDevEd/api-snippets/statuses/c28c52794b565a1d16337807ba212c3bc971b4d4"}}}}
{"actor":{"display_login":"joliveros"}}