{"action":"created","comment":{"url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls/comments/337561839","pull_request_review_id":305265813,"id":337561839,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMzNzU2MTgzOQ==","diff_hunk":"@@ -0,0 +1,61 @@\n+({  \n+    initComponent: function(component, event, helper) {","path":"src/Lightning Experience/events-in-salesforce/PCSalesforceEventsExampleController.js","position":2,"original_position":2,"commit_id":"25a5e368edd32c67e1d12a903dde9299bc4bb461","original_commit_id":"25a5e368edd32c67e1d12a903dde9299bc4bb461","user":{"login":"kristenoliphant","id":13526244,"node_id":"MDQ6VXNlcjEzNTI2MjQ0","avatar_url":"https://avatars0.githubusercontent.com/u/13526244?v=4","gravatar_id":"","url":"https://api.github.com/users/kristenoliphant","html_url":"https://github.com/kristenoliphant","followers_url":"https://api.github.com/users/kristenoliphant/followers","following_url":"https://api.github.com/users/kristenoliphant/following{/other_user}","gists_url":"https://api.github.com/users/kristenoliphant/gists{/gist_id}","starred_url":"https://api.github.com/users/kristenoliphant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristenoliphant/subscriptions","organizations_url":"https://api.github.com/users/kristenoliphant/orgs","repos_url":"https://api.github.com/users/kristenoliphant/repos","events_url":"https://api.github.com/users/kristenoliphant/events{/privacy}","received_events_url":"https://api.github.com/users/kristenoliphant/received_events","type":"User","site_admin":false},"body":"After refreshing myself with the code I guess there's not an example of subscribing to the events but more so just outputting the different events in a UI.","created_at":"2019-10-22T14:44:27Z","updated_at":"2019-10-22T14:44:27Z","html_url":"https://github.com/MyPureCloud/purecloud-for-salesforce-examples/pull/1#discussion_r337561839","pull_request_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls/comments/337561839"},"html":{"href":"https://github.com/MyPureCloud/purecloud-for-salesforce-examples/pull/1#discussion_r337561839"},"pull_request":{"href":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls/1"}},"in_reply_to_id":337558842},"pull_request":{"url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls/1","id":329883028,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI5ODgzMDI4","html_url":"https://github.com/MyPureCloud/purecloud-for-salesforce-examples/pull/1","diff_url":"https://github.com/MyPureCloud/purecloud-for-salesforce-examples/pull/1.diff","patch_url":"https://github.com/MyPureCloud/purecloud-for-salesforce-examples/pull/1.patch","issue_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/issues/1","number":1,"state":"open","locked":false,"title":"Event examples","user":{"login":"mbowergenesys","id":52497311,"node_id":"MDQ6VXNlcjUyNDk3MzEx","avatar_url":"https://avatars1.githubusercontent.com/u/52497311?v=4","gravatar_id":"","url":"https://api.github.com/users/mbowergenesys","html_url":"https://github.com/mbowergenesys","followers_url":"https://api.github.com/users/mbowergenesys/followers","following_url":"https://api.github.com/users/mbowergenesys/following{/other_user}","gists_url":"https://api.github.com/users/mbowergenesys/gists{/gist_id}","starred_url":"https://api.github.com/users/mbowergenesys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbowergenesys/subscriptions","organizations_url":"https://api.github.com/users/mbowergenesys/orgs","repos_url":"https://api.github.com/users/mbowergenesys/repos","events_url":"https://api.github.com/users/mbowergenesys/events{/privacy}","received_events_url":"https://api.github.com/users/mbowergenesys/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-10-18T19:00:20Z","updated_at":"2019-10-22T14:44:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69c37f8000bfed12fb642e1224de29db60967d15","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls/1/commits","review_comments_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls/1/comments","review_comment_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/issues/1/comments","statuses_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/statuses/25a5e368edd32c67e1d12a903dde9299bc4bb461","head":{"label":"MyPureCloud:event-examples","ref":"event-examples","sha":"25a5e368edd32c67e1d12a903dde9299bc4bb461","user":{"login":"MyPureCloud","id":8524313,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1MjQzMTM=","avatar_url":"https://avatars2.githubusercontent.com/u/8524313?v=4","gravatar_id":"","url":"https://api.github.com/users/MyPureCloud","html_url":"https://github.com/MyPureCloud","followers_url":"https://api.github.com/users/MyPureCloud/followers","following_url":"https://api.github.com/users/MyPureCloud/following{/other_user}","gists_url":"https://api.github.com/users/MyPureCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/MyPureCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyPureCloud/subscriptions","organizations_url":"https://api.github.com/users/MyPureCloud/orgs","repos_url":"https://api.github.com/users/MyPureCloud/repos","events_url":"https://api.github.com/users/MyPureCloud/events{/privacy}","received_events_url":"https://api.github.com/users/MyPureCloud/received_events","type":"Organization","site_admin":false},"repo":{"id":215611892,"node_id":"MDEwOlJlcG9zaXRvcnkyMTU2MTE4OTI=","name":"purecloud-for-salesforce-examples","full_name":"MyPureCloud/purecloud-for-salesforce-examples","private":false,"owner":{"login":"MyPureCloud","id":8524313,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1MjQzMTM=","avatar_url":"https://avatars2.githubusercontent.com/u/8524313?v=4","gravatar_id":"","url":"https://api.github.com/users/MyPureCloud","html_url":"https://github.com/MyPureCloud","followers_url":"https://api.github.com/users/MyPureCloud/followers","following_url":"https://api.github.com/users/MyPureCloud/following{/other_user}","gists_url":"https://api.github.com/users/MyPureCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/MyPureCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyPureCloud/subscriptions","organizations_url":"https://api.github.com/users/MyPureCloud/orgs","repos_url":"https://api.github.com/users/MyPureCloud/repos","events_url":"https://api.github.com/users/MyPureCloud/events{/privacy}","received_events_url":"https://api.github.com/users/MyPureCloud/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MyPureCloud/purecloud-for-salesforce-examples","description":"A central repo to store various code examples for the PureCloud for Salesforce integration","fork":false,"url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples","forks_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/forks","keys_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/teams","hooks_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/hooks","issue_events_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/issues/events{/number}","events_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/events","assignees_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/assignees{/user}","branches_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/branches{/branch}","tags_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/tags","blobs_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/languages","stargazers_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/stargazers","contributors_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/contributors","subscribers_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/subscribers","subscription_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/subscription","commits_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/contents/{+path}","compare_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/merges","archive_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/downloads","issues_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/issues{/number}","pulls_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/labels{/name}","releases_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/releases{/id}","deployments_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/deployments","created_at":"2019-10-16T18:00:53Z","updated_at":"2019-10-16T18:00:56Z","pushed_at":"2019-10-18T19:00:21Z","git_url":"git://github.com/MyPureCloud/purecloud-for-salesforce-examples.git","ssh_url":"git@github.com:MyPureCloud/purecloud-for-salesforce-examples.git","clone_url":"https://github.com/MyPureCloud/purecloud-for-salesforce-examples.git","svn_url":"https://github.com/MyPureCloud/purecloud-for-salesforce-examples","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"MyPureCloud:master","ref":"master","sha":"72b738032c2a9b60fa16f49af53591303caa1f5d","user":{"login":"MyPureCloud","id":8524313,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1MjQzMTM=","avatar_url":"https://avatars2.githubusercontent.com/u/8524313?v=4","gravatar_id":"","url":"https://api.github.com/users/MyPureCloud","html_url":"https://github.com/MyPureCloud","followers_url":"https://api.github.com/users/MyPureCloud/followers","following_url":"https://api.github.com/users/MyPureCloud/following{/other_user}","gists_url":"https://api.github.com/users/MyPureCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/MyPureCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyPureCloud/subscriptions","organizations_url":"https://api.github.com/users/MyPureCloud/orgs","repos_url":"https://api.github.com/users/MyPureCloud/repos","events_url":"https://api.github.com/users/MyPureCloud/events{/privacy}","received_events_url":"https://api.github.com/users/MyPureCloud/received_events","type":"Organization","site_admin":false},"repo":{"id":215611892,"node_id":"MDEwOlJlcG9zaXRvcnkyMTU2MTE4OTI=","name":"purecloud-for-salesforce-examples","full_name":"MyPureCloud/purecloud-for-salesforce-examples","private":false,"owner":{"login":"MyPureCloud","id":8524313,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg1MjQzMTM=","avatar_url":"https://avatars2.githubusercontent.com/u/8524313?v=4","gravatar_id":"","url":"https://api.github.com/users/MyPureCloud","html_url":"https://github.com/MyPureCloud","followers_url":"https://api.github.com/users/MyPureCloud/followers","following_url":"https://api.github.com/users/MyPureCloud/following{/other_user}","gists_url":"https://api.github.com/users/MyPureCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/MyPureCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyPureCloud/subscriptions","organizations_url":"https://api.github.com/users/MyPureCloud/orgs","repos_url":"https://api.github.com/users/MyPureCloud/repos","events_url":"https://api.github.com/users/MyPureCloud/events{/privacy}","received_events_url":"https://api.github.com/users/MyPureCloud/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MyPureCloud/purecloud-for-salesforce-examples","description":"A central repo to store various code examples for the PureCloud for Salesforce integration","fork":false,"url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples","forks_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/forks","keys_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/teams","hooks_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/hooks","issue_events_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/issues/events{/number}","events_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/events","assignees_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/assignees{/user}","branches_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/branches{/branch}","tags_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/tags","blobs_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/languages","stargazers_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/stargazers","contributors_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/contributors","subscribers_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/subscribers","subscription_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/subscription","commits_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/contents/{+path}","compare_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/merges","archive_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/downloads","issues_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/issues{/number}","pulls_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/labels{/name}","releases_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/releases{/id}","deployments_url":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/deployments","created_at":"2019-10-16T18:00:53Z","updated_at":"2019-10-16T18:00:56Z","pushed_at":"2019-10-18T19:00:21Z","git_url":"git://github.com/MyPureCloud/purecloud-for-salesforce-examples.git","ssh_url":"git@github.com:MyPureCloud/purecloud-for-salesforce-examples.git","clone_url":"https://github.com/MyPureCloud/purecloud-for-salesforce-examples.git","svn_url":"https://github.com/MyPureCloud/purecloud-for-salesforce-examples","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls/1"},"html":{"href":"https://github.com/MyPureCloud/purecloud-for-salesforce-examples/pull/1"},"issue":{"href":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/issues/1"},"comments":{"href":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/MyPureCloud/purecloud-for-salesforce-examples/statuses/25a5e368edd32c67e1d12a903dde9299bc4bb461"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"kristenoliphant"}}