{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/comments/30427458","id":30427458,"diff_hunk":"@@ -10,19 +10,20 @@\n \n class VideoTimelineView(generics.ListAPIView):\n     \"\"\"\n-    Get the timeline for a video.\n+    Get the counts of users and views for a video.\n \n-    **Example request**\n+    **Example Request**\n \n         GET /api/v0/videos/{video_id}/timeline/\n \n     **Response Values**\n \n-        Returns viewing data for segments of a video.  Each collection contains:\n+        Returns viewing data for each segment of a video.  For each segment,\n+        the collection contains the following data.","path":"analytics_data_api/v0/views/videos.py","position":16,"original_position":16,"commit_id":"61ff08ac488de8af1469fd6a80fd287368f24a34","original_commit_id":"61ff08ac488de8af1469fd6a80fd287368f24a34","user":{"login":"lamagnifica","id":6392274,"avatar_url":"https://avatars.githubusercontent.com/u/6392274?v=3","gravatar_id":"","url":"https://api.github.com/users/lamagnifica","html_url":"https://github.com/lamagnifica","followers_url":"https://api.github.com/users/lamagnifica/followers","following_url":"https://api.github.com/users/lamagnifica/following{/other_user}","gists_url":"https://api.github.com/users/lamagnifica/gists{/gist_id}","starred_url":"https://api.github.com/users/lamagnifica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamagnifica/subscriptions","organizations_url":"https://api.github.com/users/lamagnifica/orgs","repos_url":"https://api.github.com/users/lamagnifica/repos","events_url":"https://api.github.com/users/lamagnifica/events{/privacy}","received_events_url":"https://api.github.com/users/lamagnifica/received_events","type":"User","site_admin":false},"body":"I would love to get a definition of what a \"segment\" is for the course teams using Insights. Would that deifinition be useful here too? (I think that a segment may be a 5 second interval but I am not 100% sure)","created_at":"2015-05-15T17:20:32Z","updated_at":"2015-05-15T17:20:32Z","html_url":"https://github.com/edx/edx-analytics-data-api/pull/73#discussion_r30427458","pull_request_url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/comments/30427458"},"html":{"href":"https://github.com/edx/edx-analytics-data-api/pull/73#discussion_r30427458"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/73","id":35531487,"html_url":"https://github.com/edx/edx-analytics-data-api/pull/73","diff_url":"https://github.com/edx/edx-analytics-data-api/pull/73.diff","patch_url":"https://github.com/edx/edx-analytics-data-api/pull/73.patch","issue_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/73","number":73,"state":"open","locked":false,"title":"Video data API doc","user":{"login":"mhoeber","id":5607222,"avatar_url":"https://avatars.githubusercontent.com/u/5607222?v=3","gravatar_id":"","url":"https://api.github.com/users/mhoeber","html_url":"https://github.com/mhoeber","followers_url":"https://api.github.com/users/mhoeber/followers","following_url":"https://api.github.com/users/mhoeber/following{/other_user}","gists_url":"https://api.github.com/users/mhoeber/gists{/gist_id}","starred_url":"https://api.github.com/users/mhoeber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhoeber/subscriptions","organizations_url":"https://api.github.com/users/mhoeber/orgs","repos_url":"https://api.github.com/users/mhoeber/repos","events_url":"https://api.github.com/users/mhoeber/events{/privacy}","received_events_url":"https://api.github.com/users/mhoeber/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-15T17:04:35Z","updated_at":"2015-05-15T17:20:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f0027d79eed4d5321b1cbd134f9c88b1d19da735","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/73/commits","review_comments_url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/73/comments","review_comment_url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/73/comments","statuses_url":"https://api.github.com/repos/edx/edx-analytics-data-api/statuses/61ff08ac488de8af1469fd6a80fd287368f24a34","head":{"label":"edx:markhoeber-doc1988","ref":"markhoeber-doc1988","sha":"61ff08ac488de8af1469fd6a80fd287368f24a34","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":20415476,"name":"edx-analytics-data-api","full_name":"edx/edx-analytics-data-api","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-analytics-data-api","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-analytics-data-api","forks_url":"https://api.github.com/repos/edx/edx-analytics-data-api/forks","keys_url":"https://api.github.com/repos/edx/edx-analytics-data-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-analytics-data-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-analytics-data-api/teams","hooks_url":"https://api.github.com/repos/edx/edx-analytics-data-api/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-analytics-data-api/events","assignees_url":"https://api.github.com/repos/edx/edx-analytics-data-api/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-analytics-data-api/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-analytics-data-api/tags","blobs_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-analytics-data-api/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-analytics-data-api/languages","stargazers_url":"https://api.github.com/repos/edx/edx-analytics-data-api/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-analytics-data-api/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-analytics-data-api/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-analytics-data-api/subscription","commits_url":"https://api.github.com/repos/edx/edx-analytics-data-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-analytics-data-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-analytics-data-api/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-analytics-data-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-analytics-data-api/merges","archive_url":"https://api.github.com/repos/edx/edx-analytics-data-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-analytics-data-api/downloads","issues_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-analytics-data-api/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-analytics-data-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-analytics-data-api/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-analytics-data-api/releases{/id}","created_at":"2014-06-02T18:55:15Z","updated_at":"2015-05-05T14:09:43Z","pushed_at":"2015-05-15T17:04:35Z","git_url":"git://github.com/edx/edx-analytics-data-api.git","ssh_url":"git@github.com:edx/edx-analytics-data-api.git","clone_url":"https://github.com/edx/edx-analytics-data-api.git","svn_url":"https://github.com/edx/edx-analytics-data-api","homepage":null,"size":2908,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":1,"forks":13,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"ab6aea9ffe21e6b68c9eb0b81b8948341f0eeed7","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":20415476,"name":"edx-analytics-data-api","full_name":"edx/edx-analytics-data-api","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-analytics-data-api","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-analytics-data-api","forks_url":"https://api.github.com/repos/edx/edx-analytics-data-api/forks","keys_url":"https://api.github.com/repos/edx/edx-analytics-data-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-analytics-data-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-analytics-data-api/teams","hooks_url":"https://api.github.com/repos/edx/edx-analytics-data-api/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-analytics-data-api/events","assignees_url":"https://api.github.com/repos/edx/edx-analytics-data-api/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-analytics-data-api/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-analytics-data-api/tags","blobs_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-analytics-data-api/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-analytics-data-api/languages","stargazers_url":"https://api.github.com/repos/edx/edx-analytics-data-api/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-analytics-data-api/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-analytics-data-api/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-analytics-data-api/subscription","commits_url":"https://api.github.com/repos/edx/edx-analytics-data-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-analytics-data-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-analytics-data-api/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-analytics-data-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-analytics-data-api/merges","archive_url":"https://api.github.com/repos/edx/edx-analytics-data-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-analytics-data-api/downloads","issues_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-analytics-data-api/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-analytics-data-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-analytics-data-api/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-analytics-data-api/releases{/id}","created_at":"2014-06-02T18:55:15Z","updated_at":"2015-05-05T14:09:43Z","pushed_at":"2015-05-15T17:04:35Z","git_url":"git://github.com/edx/edx-analytics-data-api.git","ssh_url":"git@github.com:edx/edx-analytics-data-api.git","clone_url":"https://github.com/edx/edx-analytics-data-api.git","svn_url":"https://github.com/edx/edx-analytics-data-api","homepage":null,"size":2908,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":1,"forks":13,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/73"},"html":{"href":"https://github.com/edx/edx-analytics-data-api/pull/73"},"issue":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/73"},"comments":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/statuses/61ff08ac488de8af1469fd6a80fd287368f24a34"}}}}