{"action":"created","comment":{"url":"https://api.github.com/repos/edx-solutions/api-integration/pulls/comments/83787984","pull_request_review_id":4607047,"id":83787984,"diff_hunk":"@@ -970,7 +970,10 @@ def get(self, request, user_id, course_id):\n             course_descriptor,\n             field_data_cache,\n             course_key)\n-        response_data['position'] = course_module.position","path":"edx_solutions_api_integration/users/views.py","position":4,"original_position":4,"commit_id":"8a26705af56c055fe509a9b3d42ffcb0f9a8cf3a","original_commit_id":"8a26705af56c055fe509a9b3d42ffcb0f9a8cf3a","user":{"login":"ziafazal","id":434995,"avatar_url":"https://avatars.githubusercontent.com/u/434995?v=3","gravatar_id":"","url":"https://api.github.com/users/ziafazal","html_url":"https://github.com/ziafazal","followers_url":"https://api.github.com/users/ziafazal/followers","following_url":"https://api.github.com/users/ziafazal/following{/other_user}","gists_url":"https://api.github.com/users/ziafazal/gists{/gist_id}","starred_url":"https://api.github.com/users/ziafazal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziafazal/subscriptions","organizations_url":"https://api.github.com/users/ziafazal/orgs","repos_url":"https://api.github.com/users/ziafazal/repos","events_url":"https://api.github.com/users/ziafazal/events{/privacy}","received_events_url":"https://api.github.com/users/ziafazal/received_events","type":"User","site_admin":false},"body":"Nit: Can we simplify it to?\r\n```\r\nresponse_data['position'] = getattr(course_module, 'position', None)\r\n```","created_at":"2016-10-18T06:21:28Z","updated_at":"2016-10-18T06:21:28Z","html_url":"https://github.com/edx-solutions/api-integration/pull/11#discussion_r83787984","pull_request_url":"https://api.github.com/repos/edx-solutions/api-integration/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/edx-solutions/api-integration/pulls/comments/83787984"},"html":{"href":"https://github.com/edx-solutions/api-integration/pull/11#discussion_r83787984"},"pull_request":{"href":"https://api.github.com/repos/edx-solutions/api-integration/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/edx-solutions/api-integration/pulls/11","id":89693535,"html_url":"https://github.com/edx-solutions/api-integration/pull/11","diff_url":"https://github.com/edx-solutions/api-integration/pull/11.diff","patch_url":"https://github.com/edx-solutions/api-integration/pull/11.patch","issue_url":"https://api.github.com/repos/edx-solutions/api-integration/issues/11","number":11,"state":"open","locked":false,"title":"Fix for story [YONK-415]: Error occurs in users-courses-detail api","user":{"login":"ayesha-baig","id":11050661,"avatar_url":"https://avatars.githubusercontent.com/u/11050661?v=3","gravatar_id":"","url":"https://api.github.com/users/ayesha-baig","html_url":"https://github.com/ayesha-baig","followers_url":"https://api.github.com/users/ayesha-baig/followers","following_url":"https://api.github.com/users/ayesha-baig/following{/other_user}","gists_url":"https://api.github.com/users/ayesha-baig/gists{/gist_id}","starred_url":"https://api.github.com/users/ayesha-baig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayesha-baig/subscriptions","organizations_url":"https://api.github.com/users/ayesha-baig/orgs","repos_url":"https://api.github.com/users/ayesha-baig/repos","events_url":"https://api.github.com/users/ayesha-baig/events{/privacy}","received_events_url":"https://api.github.com/users/ayesha-baig/received_events","type":"User","site_admin":false},"body":"@ziafazal ","created_at":"2016-10-17T20:12:00Z","updated_at":"2016-10-18T06:22:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e06484ada3505ee3eb2fc4383d54d4f5c215a41","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/edx-solutions/api-integration/pulls/11/commits","review_comments_url":"https://api.github.com/repos/edx-solutions/api-integration/pulls/11/comments","review_comment_url":"https://api.github.com/repos/edx-solutions/api-integration/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx-solutions/api-integration/issues/11/comments","statuses_url":"https://api.github.com/repos/edx-solutions/api-integration/statuses/8a26705af56c055fe509a9b3d42ffcb0f9a8cf3a","head":{"label":"edx-solutions:ayeshabaig/YONK-415","ref":"ayeshabaig/YONK-415","sha":"8a26705af56c055fe509a9b3d42ffcb0f9a8cf3a","user":{"login":"edx-solutions","id":6585054,"avatar_url":"https://avatars.githubusercontent.com/u/6585054?v=3","gravatar_id":"","url":"https://api.github.com/users/edx-solutions","html_url":"https://github.com/edx-solutions","followers_url":"https://api.github.com/users/edx-solutions/followers","following_url":"https://api.github.com/users/edx-solutions/following{/other_user}","gists_url":"https://api.github.com/users/edx-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/edx-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx-solutions/subscriptions","organizations_url":"https://api.github.com/users/edx-solutions/orgs","repos_url":"https://api.github.com/users/edx-solutions/repos","events_url":"https://api.github.com/users/edx-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/edx-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":61370435,"name":"api-integration","full_name":"edx-solutions/api-integration","owner":{"login":"edx-solutions","id":6585054,"avatar_url":"https://avatars.githubusercontent.com/u/6585054?v=3","gravatar_id":"","url":"https://api.github.com/users/edx-solutions","html_url":"https://github.com/edx-solutions","followers_url":"https://api.github.com/users/edx-solutions/followers","following_url":"https://api.github.com/users/edx-solutions/following{/other_user}","gists_url":"https://api.github.com/users/edx-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/edx-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx-solutions/subscriptions","organizations_url":"https://api.github.com/users/edx-solutions/orgs","repos_url":"https://api.github.com/users/edx-solutions/repos","events_url":"https://api.github.com/users/edx-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/edx-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx-solutions/api-integration","description":null,"fork":false,"url":"https://api.github.com/repos/edx-solutions/api-integration","forks_url":"https://api.github.com/repos/edx-solutions/api-integration/forks","keys_url":"https://api.github.com/repos/edx-solutions/api-integration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx-solutions/api-integration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx-solutions/api-integration/teams","hooks_url":"https://api.github.com/repos/edx-solutions/api-integration/hooks","issue_events_url":"https://api.github.com/repos/edx-solutions/api-integration/issues/events{/number}","events_url":"https://api.github.com/repos/edx-solutions/api-integration/events","assignees_url":"https://api.github.com/repos/edx-solutions/api-integration/assignees{/user}","branches_url":"https://api.github.com/repos/edx-solutions/api-integration/branches{/branch}","tags_url":"https://api.github.com/repos/edx-solutions/api-integration/tags","blobs_url":"https://api.github.com/repos/edx-solutions/api-integration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx-solutions/api-integration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx-solutions/api-integration/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx-solutions/api-integration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx-solutions/api-integration/statuses/{sha}","languages_url":"https://api.github.com/repos/edx-solutions/api-integration/languages","stargazers_url":"https://api.github.com/repos/edx-solutions/api-integration/stargazers","contributors_url":"https://api.github.com/repos/edx-solutions/api-integration/contributors","subscribers_url":"https://api.github.com/repos/edx-solutions/api-integration/subscribers","subscription_url":"https://api.github.com/repos/edx-solutions/api-integration/subscription","commits_url":"https://api.github.com/repos/edx-solutions/api-integration/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx-solutions/api-integration/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx-solutions/api-integration/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx-solutions/api-integration/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx-solutions/api-integration/contents/{+path}","compare_url":"https://api.github.com/repos/edx-solutions/api-integration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx-solutions/api-integration/merges","archive_url":"https://api.github.com/repos/edx-solutions/api-integration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx-solutions/api-integration/downloads","issues_url":"https://api.github.com/repos/edx-solutions/api-integration/issues{/number}","pulls_url":"https://api.github.com/repos/edx-solutions/api-integration/pulls{/number}","milestones_url":"https://api.github.com/repos/edx-solutions/api-integration/milestones{/number}","notifications_url":"https://api.github.com/repos/edx-solutions/api-integration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx-solutions/api-integration/labels{/name}","releases_url":"https://api.github.com/repos/edx-solutions/api-integration/releases{/id}","deployments_url":"https://api.github.com/repos/edx-solutions/api-integration/deployments","created_at":"2016-06-17T11:57:41Z","updated_at":"2016-06-20T11:01:55Z","pushed_at":"2016-10-17T20:12:00Z","git_url":"git://github.com/edx-solutions/api-integration.git","ssh_url":"git@github.com:edx-solutions/api-integration.git","clone_url":"https://github.com/edx-solutions/api-integration.git","svn_url":"https://github.com/edx-solutions/api-integration","homepage":null,"size":286,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"edx-solutions:ziafazal/eucalyptus-modification","ref":"ziafazal/eucalyptus-modification","sha":"00e33c3f8508e3a504db96eb2cc7a1594db3655f","user":{"login":"edx-solutions","id":6585054,"avatar_url":"https://avatars.githubusercontent.com/u/6585054?v=3","gravatar_id":"","url":"https://api.github.com/users/edx-solutions","html_url":"https://github.com/edx-solutions","followers_url":"https://api.github.com/users/edx-solutions/followers","following_url":"https://api.github.com/users/edx-solutions/following{/other_user}","gists_url":"https://api.github.com/users/edx-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/edx-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx-solutions/subscriptions","organizations_url":"https://api.github.com/users/edx-solutions/orgs","repos_url":"https://api.github.com/users/edx-solutions/repos","events_url":"https://api.github.com/users/edx-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/edx-solutions/received_events","type":"Organization","site_admin":false},"repo":{"id":61370435,"name":"api-integration","full_name":"edx-solutions/api-integration","owner":{"login":"edx-solutions","id":6585054,"avatar_url":"https://avatars.githubusercontent.com/u/6585054?v=3","gravatar_id":"","url":"https://api.github.com/users/edx-solutions","html_url":"https://github.com/edx-solutions","followers_url":"https://api.github.com/users/edx-solutions/followers","following_url":"https://api.github.com/users/edx-solutions/following{/other_user}","gists_url":"https://api.github.com/users/edx-solutions/gists{/gist_id}","starred_url":"https://api.github.com/users/edx-solutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx-solutions/subscriptions","organizations_url":"https://api.github.com/users/edx-solutions/orgs","repos_url":"https://api.github.com/users/edx-solutions/repos","events_url":"https://api.github.com/users/edx-solutions/events{/privacy}","received_events_url":"https://api.github.com/users/edx-solutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx-solutions/api-integration","description":null,"fork":false,"url":"https://api.github.com/repos/edx-solutions/api-integration","forks_url":"https://api.github.com/repos/edx-solutions/api-integration/forks","keys_url":"https://api.github.com/repos/edx-solutions/api-integration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx-solutions/api-integration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx-solutions/api-integration/teams","hooks_url":"https://api.github.com/repos/edx-solutions/api-integration/hooks","issue_events_url":"https://api.github.com/repos/edx-solutions/api-integration/issues/events{/number}","events_url":"https://api.github.com/repos/edx-solutions/api-integration/events","assignees_url":"https://api.github.com/repos/edx-solutions/api-integration/assignees{/user}","branches_url":"https://api.github.com/repos/edx-solutions/api-integration/branches{/branch}","tags_url":"https://api.github.com/repos/edx-solutions/api-integration/tags","blobs_url":"https://api.github.com/repos/edx-solutions/api-integration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx-solutions/api-integration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx-solutions/api-integration/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx-solutions/api-integration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx-solutions/api-integration/statuses/{sha}","languages_url":"https://api.github.com/repos/edx-solutions/api-integration/languages","stargazers_url":"https://api.github.com/repos/edx-solutions/api-integration/stargazers","contributors_url":"https://api.github.com/repos/edx-solutions/api-integration/contributors","subscribers_url":"https://api.github.com/repos/edx-solutions/api-integration/subscribers","subscription_url":"https://api.github.com/repos/edx-solutions/api-integration/subscription","commits_url":"https://api.github.com/repos/edx-solutions/api-integration/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx-solutions/api-integration/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx-solutions/api-integration/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx-solutions/api-integration/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx-solutions/api-integration/contents/{+path}","compare_url":"https://api.github.com/repos/edx-solutions/api-integration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx-solutions/api-integration/merges","archive_url":"https://api.github.com/repos/edx-solutions/api-integration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx-solutions/api-integration/downloads","issues_url":"https://api.github.com/repos/edx-solutions/api-integration/issues{/number}","pulls_url":"https://api.github.com/repos/edx-solutions/api-integration/pulls{/number}","milestones_url":"https://api.github.com/repos/edx-solutions/api-integration/milestones{/number}","notifications_url":"https://api.github.com/repos/edx-solutions/api-integration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx-solutions/api-integration/labels{/name}","releases_url":"https://api.github.com/repos/edx-solutions/api-integration/releases{/id}","deployments_url":"https://api.github.com/repos/edx-solutions/api-integration/deployments","created_at":"2016-06-17T11:57:41Z","updated_at":"2016-06-20T11:01:55Z","pushed_at":"2016-10-17T20:12:00Z","git_url":"git://github.com/edx-solutions/api-integration.git","ssh_url":"git@github.com:edx-solutions/api-integration.git","clone_url":"https://github.com/edx-solutions/api-integration.git","svn_url":"https://github.com/edx-solutions/api-integration","homepage":null,"size":286,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx-solutions/api-integration/pulls/11"},"html":{"href":"https://github.com/edx-solutions/api-integration/pull/11"},"issue":{"href":"https://api.github.com/repos/edx-solutions/api-integration/issues/11"},"comments":{"href":"https://api.github.com/repos/edx-solutions/api-integration/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/edx-solutions/api-integration/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/edx-solutions/api-integration/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx-solutions/api-integration/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/edx-solutions/api-integration/statuses/8a26705af56c055fe509a9b3d42ffcb0f9a8cf3a"}}}}
{"actor":{"display_login":"ziafazal"}}