{"action":"created","issue":{"url":"https://api.github.com/repos/edx/xblock-lti-consumer/issues/22","repository_url":"https://api.github.com/repos/edx/xblock-lti-consumer","labels_url":"https://api.github.com/repos/edx/xblock-lti-consumer/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/edx/xblock-lti-consumer/issues/22/comments","events_url":"https://api.github.com/repos/edx/xblock-lti-consumer/issues/22/events","html_url":"https://github.com/edx/xblock-lti-consumer/pull/22","id":180782673,"number":22,"title":"Add a compatibility function for get_course_lti_endpoints","user":{"login":"xcompass","id":465548,"avatar_url":"https://avatars.githubusercontent.com/u/465548?v=3","gravatar_id":"","url":"https://api.github.com/users/xcompass","html_url":"https://github.com/xcompass","followers_url":"https://api.github.com/users/xcompass/followers","following_url":"https://api.github.com/users/xcompass/following{/other_user}","gists_url":"https://api.github.com/users/xcompass/gists{/gist_id}","starred_url":"https://api.github.com/users/xcompass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcompass/subscriptions","organizations_url":"https://api.github.com/users/xcompass/orgs","repos_url":"https://api.github.com/users/xcompass/repos","events_url":"https://api.github.com/users/xcompass/events{/privacy}","received_events_url":"https://api.github.com/users/xcompass/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-10-04T00:50:31Z","updated_at":"2017-01-06T15:22:57Z","closed_at":"2017-01-06T15:22:48Z","pull_request":{"url":"https://api.github.com/repos/edx/xblock-lti-consumer/pulls/22","html_url":"https://github.com/edx/xblock-lti-consumer/pull/22","diff_url":"https://github.com/edx/xblock-lti-consumer/pull/22.diff","patch_url":"https://github.com/edx/xblock-lti-consumer/pull/22.patch"},"body":"This allows this xblock being hooked into get_course_lti_endpoints for\ndiscovering LTI result/outcome endpoints.\n\n**Background**: The old xmodule supports enumerates LTI endpoints so that they can be discovered and consumed by external tools. However, this functionality is missing when xmodule was refactored into xblock. Currently, only the old LTI xmodules can be discovered when /courses/COURSE_ID/lti_rest_endpoints/ is called. \n\n**Testing**:\n- Create an LTI consumer component by following instructions here: http://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/exercises_tools/lti_component.html \n- Access htts://LMS_URL/courses/COURSE_ID/lti_rest_endpoints/\n\nThe endpoints for LTI component should be listed in JSON format.   \n\nThis PR is needed by https://github.com/edx/edx-platform/pull/13639 to enable the endpoints to query both old xmodules and new xblocks.\n"},"comment":{"url":"https://api.github.com/repos/edx/xblock-lti-consumer/issues/comments/270926148","html_url":"https://github.com/edx/xblock-lti-consumer/pull/22#issuecomment-270926148","issue_url":"https://api.github.com/repos/edx/xblock-lti-consumer/issues/22","id":270926148,"user":{"login":"robrap","id":14576445,"avatar_url":"https://avatars.githubusercontent.com/u/14576445?v=3","gravatar_id":"","url":"https://api.github.com/users/robrap","html_url":"https://github.com/robrap","followers_url":"https://api.github.com/users/robrap/followers","following_url":"https://api.github.com/users/robrap/following{/other_user}","gists_url":"https://api.github.com/users/robrap/gists{/gist_id}","starred_url":"https://api.github.com/users/robrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrap/subscriptions","organizations_url":"https://api.github.com/users/robrap/orgs","repos_url":"https://api.github.com/users/robrap/repos","events_url":"https://api.github.com/users/robrap/events{/privacy}","received_events_url":"https://api.github.com/users/robrap/received_events","type":"User","site_admin":false},"created_at":"2017-01-06T15:22:57Z","updated_at":"2017-01-06T15:22:57Z","body":"Actually, I'm going to merge this one.  What I am going to try to make happen as soon as possible is tagging it and getting it into edx-platform along with the other PR."}}
{"actor":{"display_login":"robrap"}}