{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-organizations/pulls/comments/53504666","id":53504666,"diff_hunk":"@@ -26,5 +26,6 @@\n         'djangorestframework>=3.2.0,<3.4.0',\n         'djangorestframework-jwt>=1.6.0,<=1.7.2',\n         'edx-opaque-keys>=0.1.2,<1.0.0',\n+        'edx-djangorestframework-oauth==1.0.1',","path":"setup.py","position":null,"original_position":13,"commit_id":"c207428c5138501db2dfb4cda469d0d02fc885a4","original_commit_id":"ecf73f4fedf6ad5e6d1501b027f79de65f4f4eba","user":{"login":"rlucioni","id":969289,"avatar_url":"https://avatars.githubusercontent.com/u/969289?v=3","gravatar_id":"","url":"https://api.github.com/users/rlucioni","html_url":"https://github.com/rlucioni","followers_url":"https://api.github.com/users/rlucioni/followers","following_url":"https://api.github.com/users/rlucioni/following{/other_user}","gists_url":"https://api.github.com/users/rlucioni/gists{/gist_id}","starred_url":"https://api.github.com/users/rlucioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlucioni/subscriptions","organizations_url":"https://api.github.com/users/rlucioni/orgs","repos_url":"https://api.github.com/users/rlucioni/repos","events_url":"https://api.github.com/users/rlucioni/events{/privacy}","received_events_url":"https://api.github.com/users/rlucioni/received_events","type":"User","site_admin":false},"body":"@clintonb updated.","created_at":"2016-02-19T19:19:20Z","updated_at":"2016-02-19T19:19:20Z","html_url":"https://github.com/edx/edx-organizations/pull/25#discussion_r53504666","pull_request_url":"https://api.github.com/repos/edx/edx-organizations/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-organizations/pulls/comments/53504666"},"html":{"href":"https://github.com/edx/edx-organizations/pull/25#discussion_r53504666"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-organizations/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-organizations/pulls/25","id":59565542,"html_url":"https://github.com/edx/edx-organizations/pull/25","diff_url":"https://github.com/edx/edx-organizations/pull/25.diff","patch_url":"https://github.com/edx/edx-organizations/pull/25.patch","issue_url":"https://api.github.com/repos/edx/edx-organizations/issues/25","number":25,"state":"open","locked":false,"title":"Add support for OAuth2 authentication","user":{"login":"rlucioni","id":969289,"avatar_url":"https://avatars.githubusercontent.com/u/969289?v=3","gravatar_id":"","url":"https://api.github.com/users/rlucioni","html_url":"https://github.com/rlucioni","followers_url":"https://api.github.com/users/rlucioni/followers","following_url":"https://api.github.com/users/rlucioni/following{/other_user}","gists_url":"https://api.github.com/users/rlucioni/gists{/gist_id}","starred_url":"https://api.github.com/users/rlucioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlucioni/subscriptions","organizations_url":"https://api.github.com/users/rlucioni/orgs","repos_url":"https://api.github.com/users/rlucioni/repos","events_url":"https://api.github.com/users/rlucioni/events{/privacy}","received_events_url":"https://api.github.com/users/rlucioni/received_events","type":"User","site_admin":false},"body":"A management command in the programs app will make calls to the API provided by this package with an OAuth 2.0 access token. Requires changes from https://github.com/edx/django-rest-framework-oauth/pull/2.\r\n\r\n@jimabramson please review.","created_at":"2016-02-16T22:31:05Z","updated_at":"2016-02-19T19:19:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef8257d0c04f7a5731a93790f5f68ed0218e66fa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-organizations/pulls/25/commits","review_comments_url":"https://api.github.com/repos/edx/edx-organizations/pulls/25/comments","review_comment_url":"https://api.github.com/repos/edx/edx-organizations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-organizations/issues/25/comments","statuses_url":"https://api.github.com/repos/edx/edx-organizations/statuses/c207428c5138501db2dfb4cda469d0d02fc885a4","head":{"label":"edx:renzo/oauth","ref":"renzo/oauth","sha":"c207428c5138501db2dfb4cda469d0d02fc885a4","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":39096472,"name":"edx-organizations","full_name":"edx/edx-organizations","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-organizations","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-organizations","forks_url":"https://api.github.com/repos/edx/edx-organizations/forks","keys_url":"https://api.github.com/repos/edx/edx-organizations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-organizations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-organizations/teams","hooks_url":"https://api.github.com/repos/edx/edx-organizations/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-organizations/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-organizations/events","assignees_url":"https://api.github.com/repos/edx/edx-organizations/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-organizations/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-organizations/tags","blobs_url":"https://api.github.com/repos/edx/edx-organizations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-organizations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-organizations/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-organizations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-organizations/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-organizations/languages","stargazers_url":"https://api.github.com/repos/edx/edx-organizations/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-organizations/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-organizations/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-organizations/subscription","commits_url":"https://api.github.com/repos/edx/edx-organizations/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-organizations/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-organizations/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-organizations/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-organizations/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-organizations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-organizations/merges","archive_url":"https://api.github.com/repos/edx/edx-organizations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-organizations/downloads","issues_url":"https://api.github.com/repos/edx/edx-organizations/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-organizations/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-organizations/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-organizations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-organizations/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-organizations/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-organizations/deployments","created_at":"2015-07-14T19:39:03Z","updated_at":"2016-01-31T13:30:23Z","pushed_at":"2016-02-19T18:06:28Z","git_url":"git://github.com/edx/edx-organizations.git","ssh_url":"git@github.com:edx/edx-organizations.git","clone_url":"https://github.com/edx/edx-organizations.git","svn_url":"https://github.com/edx/edx-organizations","homepage":null,"size":60,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"9b899cc96f4da7d04573510e50cfb5a981c1cd39","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":39096472,"name":"edx-organizations","full_name":"edx/edx-organizations","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-organizations","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-organizations","forks_url":"https://api.github.com/repos/edx/edx-organizations/forks","keys_url":"https://api.github.com/repos/edx/edx-organizations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-organizations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-organizations/teams","hooks_url":"https://api.github.com/repos/edx/edx-organizations/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-organizations/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-organizations/events","assignees_url":"https://api.github.com/repos/edx/edx-organizations/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-organizations/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-organizations/tags","blobs_url":"https://api.github.com/repos/edx/edx-organizations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-organizations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-organizations/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-organizations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-organizations/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-organizations/languages","stargazers_url":"https://api.github.com/repos/edx/edx-organizations/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-organizations/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-organizations/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-organizations/subscription","commits_url":"https://api.github.com/repos/edx/edx-organizations/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-organizations/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-organizations/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-organizations/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-organizations/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-organizations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-organizations/merges","archive_url":"https://api.github.com/repos/edx/edx-organizations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-organizations/downloads","issues_url":"https://api.github.com/repos/edx/edx-organizations/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-organizations/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-organizations/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-organizations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-organizations/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-organizations/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-organizations/deployments","created_at":"2015-07-14T19:39:03Z","updated_at":"2016-01-31T13:30:23Z","pushed_at":"2016-02-19T18:06:28Z","git_url":"git://github.com/edx/edx-organizations.git","ssh_url":"git@github.com:edx/edx-organizations.git","clone_url":"https://github.com/edx/edx-organizations.git","svn_url":"https://github.com/edx/edx-organizations","homepage":null,"size":60,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-organizations/pulls/25"},"html":{"href":"https://github.com/edx/edx-organizations/pull/25"},"issue":{"href":"https://api.github.com/repos/edx/edx-organizations/issues/25"},"comments":{"href":"https://api.github.com/repos/edx/edx-organizations/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-organizations/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-organizations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-organizations/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-organizations/statuses/c207428c5138501db2dfb4cda469d0d02fc885a4"}}}}