{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/10304","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/10304/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/10304/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/10304/events","html_url":"https://github.com/edx/edx-platform/pull/10304","id":112771212,"number":10304,"title":"basic programs api setup and dashboard integration","user":{"login":"zubair-arbi","id":5072991,"avatar_url":"https://avatars.githubusercontent.com/u/5072991?v=3","gravatar_id":"","url":"https://api.github.com/users/zubair-arbi","html_url":"https://github.com/zubair-arbi","followers_url":"https://api.github.com/users/zubair-arbi/followers","following_url":"https://api.github.com/users/zubair-arbi/following{/other_user}","gists_url":"https://api.github.com/users/zubair-arbi/gists{/gist_id}","starred_url":"https://api.github.com/users/zubair-arbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zubair-arbi/subscriptions","organizations_url":"https://api.github.com/users/zubair-arbi/orgs","repos_url":"https://api.github.com/users/zubair-arbi/repos","events_url":"https://api.github.com/users/zubair-arbi/events{/privacy}","received_events_url":"https://api.github.com/users/zubair-arbi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-22T10:11:54Z","updated_at":"2015-10-29T13:17:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/10304","html_url":"https://github.com/edx/edx-platform/pull/10304","diff_url":"https://github.com/edx/edx-platform/pull/10304.diff","patch_url":"https://github.com/edx/edx-platform/pull/10304.patch"},"body":"ECOM-2578\r\n@awais786 @ahsan-ul-haq @tasawernawaz @afeef \r\n**WIP**\r\n\r\n* Create common method `get_id_token` in `openedx/core/djangoapps/util/helpers.py` for use in `openedx -> programs` and `lms -> edxnotes`\r\n* Create method `get_course_programs_for_dashboard` which gets `user` and `course_keys` as arguments and returns the `programs` dict.\r\n* Add tests\r\n* Update `edx-rest-api-client` version from `1.2.0` to `1.2.1` (Which includes new auth `SuppliedJwtAuth`)\r\n\r\n_**Note:** The place for programs code, currently is `openedx/core/djangoapps/programs/`_"},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/152176392","html_url":"https://github.com/edx/edx-platform/pull/10304#issuecomment-152176392","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/10304","id":152176392,"user":{"login":"zubair-arbi","id":5072991,"avatar_url":"https://avatars.githubusercontent.com/u/5072991?v=3","gravatar_id":"","url":"https://api.github.com/users/zubair-arbi","html_url":"https://github.com/zubair-arbi","followers_url":"https://api.github.com/users/zubair-arbi/followers","following_url":"https://api.github.com/users/zubair-arbi/following{/other_user}","gists_url":"https://api.github.com/users/zubair-arbi/gists{/gist_id}","starred_url":"https://api.github.com/users/zubair-arbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zubair-arbi/subscriptions","organizations_url":"https://api.github.com/users/zubair-arbi/orgs","repos_url":"https://api.github.com/users/zubair-arbi/repos","events_url":"https://api.github.com/users/zubair-arbi/events{/privacy}","received_events_url":"https://api.github.com/users/zubair-arbi/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T13:17:26Z","updated_at":"2015-10-29T13:17:26Z","body":"@jimabramson I did some refactoring for `edxnotes` and I think that the failing tests are fixed. I am waiting for build results now."}}