{"action":"opened","number":68,"pull_request":{"url":"https://api.github.com/repos/edx/xblock-sdk/pulls/68","id":47290759,"html_url":"https://github.com/edx/xblock-sdk/pull/68","diff_url":"https://github.com/edx/xblock-sdk/pull/68.diff","patch_url":"https://github.com/edx/xblock-sdk/pull/68.patch","issue_url":"https://api.github.com/repos/edx/xblock-sdk/issues/68","number":68,"state":"open","locked":false,"title":"Adds event logging to the SDK","user":{"login":"pmitros","id":1427775,"avatar_url":"https://avatars.githubusercontent.com/u/1427775?v=3","gravatar_id":"","url":"https://api.github.com/users/pmitros","html_url":"https://github.com/pmitros","followers_url":"https://api.github.com/users/pmitros/followers","following_url":"https://api.github.com/users/pmitros/following{/other_user}","gists_url":"https://api.github.com/users/pmitros/gists{/gist_id}","starred_url":"https://api.github.com/users/pmitros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmitros/subscriptions","organizations_url":"https://api.github.com/users/pmitros/orgs","repos_url":"https://api.github.com/users/pmitros/repos","events_url":"https://api.github.com/users/pmitros/events{/privacy}","received_events_url":"https://api.github.com/users/pmitros/received_events","type":"User","site_admin":false},"body":"This adds eventing to xblock-sdk which mirrors that in edX platform. It also adds a comment giving more context about edX and XBlock eventing, including a link to the edX analytics developer docs. \r\n\r\n@macdiesel Can you review? The file is almost identical to the one in edx-platform, only events go to the console instead of to /event\r\n\r\nI'll also tag @cpennington @nedbat @mulby in case any of you are interested. I'm not tagging you as reviewers, since my understanding is Cale is busy with a cat 1, and Ned with conf.openedx.org.","created_at":"2015-10-09T16:12:45Z","updated_at":"2015-10-09T16:12:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/xblock-sdk/pulls/68/commits","review_comments_url":"https://api.github.com/repos/edx/xblock-sdk/pulls/68/comments","review_comment_url":"https://api.github.com/repos/edx/xblock-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/xblock-sdk/issues/68/comments","statuses_url":"https://api.github.com/repos/edx/xblock-sdk/statuses/164e9a19b1c0a898b2101e2714a7fd088a1f044f","head":{"label":"edx:pmitros/xblock-logger","ref":"pmitros/xblock-logger","sha":"164e9a19b1c0a898b2101e2714a7fd088a1f044f","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":17491768,"name":"xblock-sdk","full_name":"edx/xblock-sdk","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/xblock-sdk","description":"Workbench and example xblocks","fork":false,"url":"https://api.github.com/repos/edx/xblock-sdk","forks_url":"https://api.github.com/repos/edx/xblock-sdk/forks","keys_url":"https://api.github.com/repos/edx/xblock-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/xblock-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/xblock-sdk/teams","hooks_url":"https://api.github.com/repos/edx/xblock-sdk/hooks","issue_events_url":"https://api.github.com/repos/edx/xblock-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/edx/xblock-sdk/events","assignees_url":"https://api.github.com/repos/edx/xblock-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/edx/xblock-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/edx/xblock-sdk/tags","blobs_url":"https://api.github.com/repos/edx/xblock-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/xblock-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/xblock-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/xblock-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/xblock-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/xblock-sdk/languages","stargazers_url":"https://api.github.com/repos/edx/xblock-sdk/stargazers","contributors_url":"https://api.github.com/repos/edx/xblock-sdk/contributors","subscribers_url":"https://api.github.com/repos/edx/xblock-sdk/subscribers","subscription_url":"https://api.github.com/repos/edx/xblock-sdk/subscription","commits_url":"https://api.github.com/repos/edx/xblock-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/xblock-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/xblock-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/xblock-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/xblock-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/edx/xblock-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/xblock-sdk/merges","archive_url":"https://api.github.com/repos/edx/xblock-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/xblock-sdk/downloads","issues_url":"https://api.github.com/repos/edx/xblock-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/edx/xblock-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/xblock-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/xblock-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/xblock-sdk/labels{/name}","releases_url":"https://api.github.com/repos/edx/xblock-sdk/releases{/id}","created_at":"2014-03-06T20:34:41Z","updated_at":"2015-06-26T20:10:57Z","pushed_at":"2015-10-09T16:09:18Z","git_url":"git://github.com/edx/xblock-sdk.git","ssh_url":"git@github.com:edx/xblock-sdk.git","clone_url":"https://github.com/edx/xblock-sdk.git","svn_url":"https://github.com/edx/xblock-sdk","homepage":"","size":2568,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":6,"forks":48,"open_issues":6,"watchers":18,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"ecfa29fe0acdf5fa1b56449da22139379ff226a1","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":17491768,"name":"xblock-sdk","full_name":"edx/xblock-sdk","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/xblock-sdk","description":"Workbench and example xblocks","fork":false,"url":"https://api.github.com/repos/edx/xblock-sdk","forks_url":"https://api.github.com/repos/edx/xblock-sdk/forks","keys_url":"https://api.github.com/repos/edx/xblock-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/xblock-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/xblock-sdk/teams","hooks_url":"https://api.github.com/repos/edx/xblock-sdk/hooks","issue_events_url":"https://api.github.com/repos/edx/xblock-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/edx/xblock-sdk/events","assignees_url":"https://api.github.com/repos/edx/xblock-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/edx/xblock-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/edx/xblock-sdk/tags","blobs_url":"https://api.github.com/repos/edx/xblock-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/xblock-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/xblock-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/xblock-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/xblock-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/xblock-sdk/languages","stargazers_url":"https://api.github.com/repos/edx/xblock-sdk/stargazers","contributors_url":"https://api.github.com/repos/edx/xblock-sdk/contributors","subscribers_url":"https://api.github.com/repos/edx/xblock-sdk/subscribers","subscription_url":"https://api.github.com/repos/edx/xblock-sdk/subscription","commits_url":"https://api.github.com/repos/edx/xblock-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/xblock-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/xblock-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/xblock-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/xblock-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/edx/xblock-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/xblock-sdk/merges","archive_url":"https://api.github.com/repos/edx/xblock-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/xblock-sdk/downloads","issues_url":"https://api.github.com/repos/edx/xblock-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/edx/xblock-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/xblock-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/xblock-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/xblock-sdk/labels{/name}","releases_url":"https://api.github.com/repos/edx/xblock-sdk/releases{/id}","created_at":"2014-03-06T20:34:41Z","updated_at":"2015-06-26T20:10:57Z","pushed_at":"2015-10-09T16:09:18Z","git_url":"git://github.com/edx/xblock-sdk.git","ssh_url":"git@github.com:edx/xblock-sdk.git","clone_url":"https://github.com/edx/xblock-sdk.git","svn_url":"https://github.com/edx/xblock-sdk","homepage":"","size":2568,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"open_issues_count":6,"forks":48,"open_issues":6,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/xblock-sdk/pulls/68"},"html":{"href":"https://github.com/edx/xblock-sdk/pull/68"},"issue":{"href":"https://api.github.com/repos/edx/xblock-sdk/issues/68"},"comments":{"href":"https://api.github.com/repos/edx/xblock-sdk/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/xblock-sdk/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/xblock-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/xblock-sdk/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/edx/xblock-sdk/statuses/164e9a19b1c0a898b2101e2714a7fd088a1f044f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":115,"deletions":0,"changed_files":2}}