{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-documentation/pulls/comments/39455246","id":39455246,"diff_hunk":"@@ -3904,6 +3920,269 @@ Instructor Dashboard, the server emits an ``edx.cohort.user_removed`` event.\n      - The numeric ID (from ``auth_user.id``) of the removed user.\n \n \n+.. _student_teams_events:\n+\n+==========================\n+Student Teams Events\n+==========================\n+\n+This section includes descriptions of the following events. \n+\n+* ``edx.team.created``\n+* ``edx.team.deleted``\n+* ``edx.team.learner_added``\n+* ``edx.team.learner_removed``\n+* ``edx.team.changed``\n+* ``edx.team.searched``\n+* ``edx.team.page_viewed``\n+\n+\n+For information about including teams in a course, see `Teams Setup`_ in the\n+*Building and Running an edX Course* guide.\n+\n+``edx.team.created``\n+*********************************\n+\n+When a team is created, either by a course team member or by a learner, the\n+server emits an ``edx.team.created`` event.\n+\n+**Event Source**: Server\n+\n+**History** Added 9 Sept 2015.\n+\n+``event`` **Member Fields**:\n+\n+In addition to the :ref:`common<context>` ``context`` member fields, this\n+event type also includes the following ``event`` member fields.\n+\n+.. list-table::\n+   :widths: 15 15 60\n+   :header-rows: 1\n+\n+   * - Field\n+     - Type\n+     - Details\n+   * - ``team_id``\n+     - string\n+     - The identifier for the team.\n+\n+\n+``edx.team.deleted``\n+*********************************\n+\n+When a team is deleted, the server emits an ``edx.team.deleted`` event. Only a\n+course team member who has the **Staff** or **Admin** role can delete teams.","path":"en_us/data/source/internal_data_formats/tracking_logs.rst","position":153,"original_position":99,"commit_id":"69cc0876d3eedfba8d9ee999fce3345be80ec3bd","original_commit_id":"84f820cb25e1ff79e08acab4efd97d29ce4d9a4a","user":{"login":"catong","id":9041399,"avatar_url":"https://avatars.githubusercontent.com/u/9041399?v=3","gravatar_id":"","url":"https://api.github.com/users/catong","html_url":"https://github.com/catong","followers_url":"https://api.github.com/users/catong/followers","following_url":"https://api.github.com/users/catong/following{/other_user}","gists_url":"https://api.github.com/users/catong/gists{/gist_id}","starred_url":"https://api.github.com/users/catong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catong/subscriptions","organizations_url":"https://api.github.com/users/catong/orgs","repos_url":"https://api.github.com/users/catong/repos","events_url":"https://api.github.com/users/catong/events{/privacy}","received_events_url":"https://api.github.com/users/catong/received_events","type":"User","site_admin":false},"body":"Updated, thanks","created_at":"2015-09-14T22:25:44Z","updated_at":"2015-09-14T22:25:44Z","html_url":"https://github.com/edx/edx-documentation/pull/535#discussion_r39455246","pull_request_url":"https://api.github.com/repos/edx/edx-documentation/pulls/535","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/comments/39455246"},"html":{"href":"https://github.com/edx/edx-documentation/pull/535#discussion_r39455246"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/535"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-documentation/pulls/535","id":44451302,"html_url":"https://github.com/edx/edx-documentation/pull/535","diff_url":"https://github.com/edx/edx-documentation/pull/535.diff","patch_url":"https://github.com/edx/edx-documentation/pull/535.patch","issue_url":"https://api.github.com/repos/edx/edx-documentation/issues/535","number":535,"state":"open","locked":false,"title":"DOC: Teams analytics events","user":{"login":"catong","id":9041399,"avatar_url":"https://avatars.githubusercontent.com/u/9041399?v=3","gravatar_id":"","url":"https://api.github.com/users/catong","html_url":"https://github.com/catong","followers_url":"https://api.github.com/users/catong/followers","following_url":"https://api.github.com/users/catong/following{/other_user}","gists_url":"https://api.github.com/users/catong/gists{/gist_id}","starred_url":"https://api.github.com/users/catong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catong/subscriptions","organizations_url":"https://api.github.com/users/catong/orgs","repos_url":"https://api.github.com/users/catong/repos","events_url":"https://api.github.com/users/catong/events{/privacy}","received_events_url":"https://api.github.com/users/catong/received_events","type":"User","site_admin":false},"body":"https://openedx.atlassian.net/browse/DOC-1980\r\nThis PR adds documentation for teams-related analytics events.\r\n\r\nThis feature will be in next week's release, Sept 9. Documentation will not be published on docs.edx.org, but will be shared with PMs and course teams for the teams pilot.\r\n\r\n### Reviewers\r\nCheck the appropriate box after each reviewer finishes and gives :+1:.\r\n- [ ] Subject matter expert: @dianakhuang  \r\n- [ ] Subject matter expert: \r\n- [ ] Doc team review: @lamagnifica \r\n- [ ] Product review: @explorerleslie \r\n- [ ] PM review: Alison Kuryla\r\n\r\n### Draft HTML Documentation\r\n- [x] http://draft-research-guide-teams-events.readthedocs.org/en/latest/internal_data_formats/tracking_logs.html#student-teams-events\r\n- [x] See also http://draft-research-guide-teams-events.readthedocs.org/en/latest/internal_data_formats/tracking_logs.html#discussion-forums-events where \"team_id\" was added to the forum events.\r\n\r\n### Post-review\r\n- [ ] Squash commits","created_at":"2015-09-08T16:08:49Z","updated_at":"2015-09-14T22:25:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb663af3a578a529e1eaf5e565981c4aa9913902","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-documentation/pulls/535/commits","review_comments_url":"https://api.github.com/repos/edx/edx-documentation/pulls/535/comments","review_comment_url":"https://api.github.com/repos/edx/edx-documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-documentation/issues/535/comments","statuses_url":"https://api.github.com/repos/edx/edx-documentation/statuses/69cc0876d3eedfba8d9ee999fce3345be80ec3bd","head":{"label":"edx:carol/doc/teams_events","ref":"carol/doc/teams_events","sha":"69cc0876d3eedfba8d9ee999fce3345be80ec3bd","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":23839256,"name":"edx-documentation","full_name":"edx/edx-documentation","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/edx-documentation","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-documentation","forks_url":"https://api.github.com/repos/edx/edx-documentation/forks","keys_url":"https://api.github.com/repos/edx/edx-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-documentation/teams","hooks_url":"https://api.github.com/repos/edx/edx-documentation/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-documentation/events","assignees_url":"https://api.github.com/repos/edx/edx-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-documentation/tags","blobs_url":"https://api.github.com/repos/edx/edx-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-documentation/languages","stargazers_url":"https://api.github.com/repos/edx/edx-documentation/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-documentation/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-documentation/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-documentation/subscription","commits_url":"https://api.github.com/repos/edx/edx-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-documentation/merges","archive_url":"https://api.github.com/repos/edx/edx-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-documentation/downloads","issues_url":"https://api.github.com/repos/edx/edx-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-documentation/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-documentation/releases{/id}","created_at":"2014-09-09T15:29:04Z","updated_at":"2015-09-14T07:02:46Z","pushed_at":"2015-09-14T22:02:53Z","git_url":"git://github.com/edx/edx-documentation.git","ssh_url":"git@github.com:edx/edx-documentation.git","clone_url":"https://github.com/edx/edx-documentation.git","svn_url":"https://github.com/edx/edx-documentation","homepage":null,"size":89765,"stargazers_count":22,"watchers_count":22,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":84,"mirror_url":null,"open_issues_count":34,"forks":84,"open_issues":34,"watchers":22,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"1b494826b874b8b2798ec82c389617f60c81c806","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":23839256,"name":"edx-documentation","full_name":"edx/edx-documentation","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/edx-documentation","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-documentation","forks_url":"https://api.github.com/repos/edx/edx-documentation/forks","keys_url":"https://api.github.com/repos/edx/edx-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-documentation/teams","hooks_url":"https://api.github.com/repos/edx/edx-documentation/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-documentation/events","assignees_url":"https://api.github.com/repos/edx/edx-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-documentation/tags","blobs_url":"https://api.github.com/repos/edx/edx-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-documentation/languages","stargazers_url":"https://api.github.com/repos/edx/edx-documentation/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-documentation/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-documentation/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-documentation/subscription","commits_url":"https://api.github.com/repos/edx/edx-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-documentation/merges","archive_url":"https://api.github.com/repos/edx/edx-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-documentation/downloads","issues_url":"https://api.github.com/repos/edx/edx-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-documentation/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-documentation/releases{/id}","created_at":"2014-09-09T15:29:04Z","updated_at":"2015-09-14T07:02:46Z","pushed_at":"2015-09-14T22:02:53Z","git_url":"git://github.com/edx/edx-documentation.git","ssh_url":"git@github.com:edx/edx-documentation.git","clone_url":"https://github.com/edx/edx-documentation.git","svn_url":"https://github.com/edx/edx-documentation","homepage":null,"size":89765,"stargazers_count":22,"watchers_count":22,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":84,"mirror_url":null,"open_issues_count":34,"forks":84,"open_issues":34,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/535"},"html":{"href":"https://github.com/edx/edx-documentation/pull/535"},"issue":{"href":"https://api.github.com/repos/edx/edx-documentation/issues/535"},"comments":{"href":"https://api.github.com/repos/edx/edx-documentation/issues/535/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/535/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/535/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-documentation/statuses/69cc0876d3eedfba8d9ee999fce3345be80ec3bd"}}}}