{"action":"created","comment":{"url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls/comments/36501994","id":36501994,"diff_hunk":"@@ -1142,73 +1142,79 @@ public String processResource(int type, boolean isWebSite, boolean isCaption) {\n \n \t\tToolSession toolSession = sessionManager.getCurrentToolSession();\n \t\tList refs = null;\n-\t\tString id = null;\n-\t\tString name = null;\n-\t\tString mimeType = null;\n-\t\tString description = null;\n+\t\tString returnMesssage = null;\n \n \t\tif (toolSession.getAttribute(FilePickerHelper.FILE_PICKER_CANCEL) == null && toolSession.getAttribute(FilePickerHelper.FILE_PICKER_ATTACHMENTS) != null) {\n \n \t\t\trefs = (List) toolSession.getAttribute(FilePickerHelper.FILE_PICKER_ATTACHMENTS);\n-\t\t\tif (refs == null || refs.size() != 1) {\n+\t\t\t//Changed 'refs.size != 1' to refs.isEmpty() as there can be multiple Resources\n+\t\t\tif (refs == null || refs.isEmpty()) {\n \t\t\t\treturn \"no-reference\";\n \t\t\t}\n-\t\t\tReference ref = (Reference) refs.get(0);\n-\t\t\tid = ref.getId();\n-\t\t\t\n-\t\t\tdescription = ref.getProperties().getProperty(ResourceProperties.PROP_DESCRIPTION);\n-\t\t\t\n-\t\t\tname = ref.getProperties().getProperty(\"DAV:displayname\");\n-\n-\t\t\t// URLs are complex. There are two issues:\n-\t\t\t// 1) The stupid helper treats a URL as a file upload. Have to make it a URL type.\n-\t\t\t// I suspect we're intended to upload a file from the URL, but I don't think\n-\t\t\t// any part of Sakai actually does that. So we reset Sakai's file type to URL\n-\t\t\t// 2) Lesson builder needs to know the mime type, to know how to set up the\n-\t\t\t// OBJECT or IFRAME. We send that out of band in the \"html\" field of the \n-\t\t\t// lesson builder item entry. I see no way to do that other than to talk\n-\t\t\t// to the server at the other end and see what MIME type it claims.\n-\t\t\tmimeType = ref.getProperties().getProperty(\"DAV:getcontenttype\");\n-\t\t\tif (mimeType.equals(\"text/url\")) {\n-\t\t\t        mimeType = null; // use default rules if we can't find it\n-\t\t\t\tString url = null;\n-\t\t\t\t// part 1, fix up the type fields\n-\t\t\t\tboolean pushed = false;\n-\t\t\t\ttry {\n-\t\t\t\t\tpushed = pushAdvisor();\n-\t\t\t\t\tContentResourceEdit res = contentHostingService.editResource(id);\n-\t\t\t\t\tres.setContentType(\"text/url\");\n-\t\t\t\t\tres.setResourceType(\"org.sakaiproject.content.types.urlResource\");\n-\t\t\t\t\turl = new String(res.getContent());\n-\t\t\t\t\tcontentHostingService.commitResource(res, NotificationService.NOTI_NONE);\n-\t\t\t\t} catch (Exception ignore) {\n-\t\t\t\t\treturn \"no-reference\";\n-\t\t\t\t}finally {\n-\t\t\t\t\tif(pushed) popAdvisor();\n-\t\t\t\t}\n-\t\t\t\t// part 2, find the actual data type.\n-\t\t\t\tif (url != null)\n-\t\t\t\t    mimeType = getTypeOfUrl(url);\n-\t\t\t} else if (isCaption) {\n-\t\t\t    // sakai probably sees it as a normal text file.\n-\t\t\t    // some browsers require the mime type to be right\n-\t\t\t\tboolean pushed = false;\n-\t\t\t\ttry {\n-\t\t\t\t\tpushed = pushAdvisor();\n-\t\t\t\t\tContentResourceEdit res = contentHostingService.editResource(id);\n-\t\t\t\t\tres.setContentType(\"text/vtt\");\n-\t\t\t\t\tcontentHostingService.commitResource(res, NotificationService.NOTI_NONE);\n-\t\t\t\t} catch (Exception ignore) {\n-\t\t\t\t\treturn \"no-reference\";\n-\t\t\t\t}finally {\n-\t\t\t\t\tif(pushed) popAdvisor();\n-\t\t\t\t}\n+\t\t\tIterator iterator = refs.iterator();\n+\t\t\twhile (iterator.hasNext()) {\n+\t\t\t\treturnMesssage = processMultipleResource((Reference)iterator.next(),type,isWebSite,isCaption);\n \t\t\t}\n+\n \t\t} else {\n \t\t\treturn \"cancel\";\n \t\t}\n \n-\t\tboolean pushed = false;\n+\t\treturn returnMesssage;\n+\t}\n+\n+\t//This method is written to enable user to select multiple Resource from the tool as per Jira WL-4003\n+\tprivate String processMultipleResource(Reference reference,int type, boolean isWebSite, boolean isCaption){\n+\n+\t\tToolSession toolSession = sessionManager.getCurrentToolSession();\n+\t\tString id  = reference.getId();\n+\t\tString description = reference.getProperties().getProperty(ResourceProperties.PROP_DESCRIPTION);\n+\t\tString name = reference.getProperties().getProperty(\"DAV:displayname\");\n+\n+\t\t// URLs are complex. There are two issues:\n+\t\t// 1) The stupid helper treats a URL as a file upload. Have to make it a URL type.\n+\t\t// I suspect we're intended to upload a file from the URL, but I don't think\n+\t\t// any part of Sakai actually does that. So we reset Sakai's file type to URL\n+\t\t// 2) Lesson builder needs to know the mime type, to know how to set up the\n+\t\t// OBJECT or IFRAME. We send that out of band in the \"html\" field of the\n+\t\t// lesson builder item entry. I see no way to do that other than to talk\n+\t\t// to the server at the other end and see what MIME type it claims.\n+\t\tString mimeType = reference.getProperties().getProperty(\"DAV:getcontenttype\");\n+\t\tif (mimeType.equals(\"text/url\")) {\n+\t\t\tmimeType = null; // use default rules if we can't find it\n+\t\t\tString url = null;\n+\t\t\t// part 1, fix up the type fields\n+\t\t\tboolean pushed = false;\n+\t\t\ttry {\n+\t\t\t\tpushed = pushAdvisor();\n+\t\t\t\tContentResourceEdit res = contentHostingService.editResource(id);\n+\t\t\t\tres.setContentType(\"text/url\");\n+\t\t\t\tres.setResourceType(\"org.sakaiproject.content.types.urlResource\");\n+\t\t\t\turl = new String(res.getContent());\n+\t\t\t\tcontentHostingService.commitResource(res, NotificationService.NOTI_NONE);\n+\t\t\t} catch (Exception ignore) {\n+\t\t\t\treturn \"no-reference\";\n+\t\t\t}finally {\n+\t\t\t\tif(pushed) popAdvisor();\n+\t\t\t}\n+\t\t\t// part 2, find the actual data type.\n+\t\t\tif (url != null)\n+\t\t\t\tmimeType = getTypeOfUrl(url);\n+\t\t} else if (isCaption) {\n+\t\t\t// sakai probably sees it as a normal text file.\n+\t\t\t// some browsers require the mime type to be right\n+\t\t\tboolean pushed = false;\n+\t\t\ttry {\n+\t\t\t\tpushed = pushAdvisor();\n+\t\t\t\tContentResourceEdit res = contentHostingService.editResource(id);\n+\t\t\t\tres.setContentType(\"text/vtt\");\n+\t\t\t\tcontentHostingService.commitResource(res, NotificationService.NOTI_NONE);\n+\t\t\t} catch (Exception ignore) {\n+\t\t\t\treturn \"no-reference\";\n+\t\t\t}finally {\n+\t\t\t\tif(pushed) popAdvisor();\n+\t\t\t}\n+\t\t}boolean pushed = false;","path":"tool/src/java/org/sakaiproject/lessonbuildertool/tool/beans/SimplePageBean.java","position":132,"original_position":132,"commit_id":"5b0b1864bf477f7b0a71b5dc2da2cb37e5f5c987","original_commit_id":"5b0b1864bf477f7b0a71b5dc2da2cb37e5f5c987","user":{"login":"buckett","id":5921,"avatar_url":"https://avatars.githubusercontent.com/u/5921?v=3","gravatar_id":"","url":"https://api.github.com/users/buckett","html_url":"https://github.com/buckett","followers_url":"https://api.github.com/users/buckett/followers","following_url":"https://api.github.com/users/buckett/following{/other_user}","gists_url":"https://api.github.com/users/buckett/gists{/gist_id}","starred_url":"https://api.github.com/users/buckett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buckett/subscriptions","organizations_url":"https://api.github.com/users/buckett/orgs","repos_url":"https://api.github.com/users/buckett/repos","events_url":"https://api.github.com/users/buckett/events{/privacy}","received_events_url":"https://api.github.com/users/buckett/received_events","type":"User","site_admin":false},"body":"Bad formatting.","created_at":"2015-08-07T09:01:41Z","updated_at":"2015-08-07T09:01:41Z","html_url":"https://github.com/ox-it/wl-lessonbuilder/pull/5#discussion_r36501994","pull_request_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls/comments/36501994"},"html":{"href":"https://github.com/ox-it/wl-lessonbuilder/pull/5#discussion_r36501994"},"pull_request":{"href":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls/5","id":41776950,"html_url":"https://github.com/ox-it/wl-lessonbuilder/pull/5","diff_url":"https://github.com/ox-it/wl-lessonbuilder/pull/5.diff","patch_url":"https://github.com/ox-it/wl-lessonbuilder/pull/5.patch","issue_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/issues/5","number":5,"state":"open","locked":false,"title":"WL-4003 Adding mutiple files to a Lessons page from Resources tool.","user":{"login":"ouit0408","id":13135327,"avatar_url":"https://avatars.githubusercontent.com/u/13135327?v=3","gravatar_id":"","url":"https://api.github.com/users/ouit0408","html_url":"https://github.com/ouit0408","followers_url":"https://api.github.com/users/ouit0408/followers","following_url":"https://api.github.com/users/ouit0408/following{/other_user}","gists_url":"https://api.github.com/users/ouit0408/gists{/gist_id}","starred_url":"https://api.github.com/users/ouit0408/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouit0408/subscriptions","organizations_url":"https://api.github.com/users/ouit0408/orgs","repos_url":"https://api.github.com/users/ouit0408/repos","events_url":"https://api.github.com/users/ouit0408/events{/privacy}","received_events_url":"https://api.github.com/users/ouit0408/received_events","type":"User","site_admin":false},"body":"Deleted the previous pull request and this one has the fix for the problem of redirection after adding multiple Resources from 'Add Content Link'","created_at":"2015-08-06T11:19:39Z","updated_at":"2015-08-07T09:01:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a106970755b42f691615d159d6b0b89acac70d9b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls/5/commits","review_comments_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls/5/comments","review_comment_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/issues/5/comments","statuses_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/statuses/5b0b1864bf477f7b0a71b5dc2da2cb37e5f5c987","head":{"label":"ox-it:WL-4003","ref":"WL-4003","sha":"5b0b1864bf477f7b0a71b5dc2da2cb37e5f5c987","user":{"login":"ox-it","id":351950,"avatar_url":"https://avatars.githubusercontent.com/u/351950?v=3","gravatar_id":"","url":"https://api.github.com/users/ox-it","html_url":"https://github.com/ox-it","followers_url":"https://api.github.com/users/ox-it/followers","following_url":"https://api.github.com/users/ox-it/following{/other_user}","gists_url":"https://api.github.com/users/ox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/ox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ox-it/subscriptions","organizations_url":"https://api.github.com/users/ox-it/orgs","repos_url":"https://api.github.com/users/ox-it/repos","events_url":"https://api.github.com/users/ox-it/events{/privacy}","received_events_url":"https://api.github.com/users/ox-it/received_events","type":"Organization","site_admin":false},"repo":{"id":24756173,"name":"wl-lessonbuilder","full_name":"ox-it/wl-lessonbuilder","owner":{"login":"ox-it","id":351950,"avatar_url":"https://avatars.githubusercontent.com/u/351950?v=3","gravatar_id":"","url":"https://api.github.com/users/ox-it","html_url":"https://github.com/ox-it","followers_url":"https://api.github.com/users/ox-it/followers","following_url":"https://api.github.com/users/ox-it/following{/other_user}","gists_url":"https://api.github.com/users/ox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/ox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ox-it/subscriptions","organizations_url":"https://api.github.com/users/ox-it/orgs","repos_url":"https://api.github.com/users/ox-it/repos","events_url":"https://api.github.com/users/ox-it/events{/privacy}","received_events_url":"https://api.github.com/users/ox-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ox-it/wl-lessonbuilder","description":"","fork":false,"url":"https://api.github.com/repos/ox-it/wl-lessonbuilder","forks_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/forks","keys_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/teams","hooks_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/hooks","issue_events_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/issues/events{/number}","events_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/events","assignees_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/assignees{/user}","branches_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/branches{/branch}","tags_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/tags","blobs_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/git/refs{/sha}","trees_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/statuses/{sha}","languages_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/languages","stargazers_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/stargazers","contributors_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/contributors","subscribers_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/subscribers","subscription_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/subscription","commits_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/commits{/sha}","git_commits_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/git/commits{/sha}","comments_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/comments{/number}","issue_comment_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/issues/comments{/number}","contents_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/contents/{+path}","compare_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/merges","archive_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/downloads","issues_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/issues{/number}","pulls_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls{/number}","milestones_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/milestones{/number}","notifications_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/labels{/name}","releases_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/releases{/id}","created_at":"2014-10-03T11:38:13Z","updated_at":"2015-05-01T13:10:55Z","pushed_at":"2015-08-06T11:23:18Z","git_url":"git://github.com/ox-it/wl-lessonbuilder.git","ssh_url":"git@github.com:ox-it/wl-lessonbuilder.git","clone_url":"https://github.com/ox-it/wl-lessonbuilder.git","svn_url":"https://github.com/ox-it/wl-lessonbuilder","homepage":null,"size":21616,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"sakai-10.x"}},"base":{"label":"ox-it:sakai-10.x","ref":"sakai-10.x","sha":"c2126a36198bf721849109eb76d0e6001ff83cff","user":{"login":"ox-it","id":351950,"avatar_url":"https://avatars.githubusercontent.com/u/351950?v=3","gravatar_id":"","url":"https://api.github.com/users/ox-it","html_url":"https://github.com/ox-it","followers_url":"https://api.github.com/users/ox-it/followers","following_url":"https://api.github.com/users/ox-it/following{/other_user}","gists_url":"https://api.github.com/users/ox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/ox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ox-it/subscriptions","organizations_url":"https://api.github.com/users/ox-it/orgs","repos_url":"https://api.github.com/users/ox-it/repos","events_url":"https://api.github.com/users/ox-it/events{/privacy}","received_events_url":"https://api.github.com/users/ox-it/received_events","type":"Organization","site_admin":false},"repo":{"id":24756173,"name":"wl-lessonbuilder","full_name":"ox-it/wl-lessonbuilder","owner":{"login":"ox-it","id":351950,"avatar_url":"https://avatars.githubusercontent.com/u/351950?v=3","gravatar_id":"","url":"https://api.github.com/users/ox-it","html_url":"https://github.com/ox-it","followers_url":"https://api.github.com/users/ox-it/followers","following_url":"https://api.github.com/users/ox-it/following{/other_user}","gists_url":"https://api.github.com/users/ox-it/gists{/gist_id}","starred_url":"https://api.github.com/users/ox-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ox-it/subscriptions","organizations_url":"https://api.github.com/users/ox-it/orgs","repos_url":"https://api.github.com/users/ox-it/repos","events_url":"https://api.github.com/users/ox-it/events{/privacy}","received_events_url":"https://api.github.com/users/ox-it/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ox-it/wl-lessonbuilder","description":"","fork":false,"url":"https://api.github.com/repos/ox-it/wl-lessonbuilder","forks_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/forks","keys_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/teams","hooks_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/hooks","issue_events_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/issues/events{/number}","events_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/events","assignees_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/assignees{/user}","branches_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/branches{/branch}","tags_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/tags","blobs_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/git/refs{/sha}","trees_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/statuses/{sha}","languages_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/languages","stargazers_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/stargazers","contributors_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/contributors","subscribers_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/subscribers","subscription_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/subscription","commits_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/commits{/sha}","git_commits_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/git/commits{/sha}","comments_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/comments{/number}","issue_comment_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/issues/comments{/number}","contents_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/contents/{+path}","compare_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/merges","archive_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/downloads","issues_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/issues{/number}","pulls_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls{/number}","milestones_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/milestones{/number}","notifications_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/labels{/name}","releases_url":"https://api.github.com/repos/ox-it/wl-lessonbuilder/releases{/id}","created_at":"2014-10-03T11:38:13Z","updated_at":"2015-05-01T13:10:55Z","pushed_at":"2015-08-06T11:23:18Z","git_url":"git://github.com/ox-it/wl-lessonbuilder.git","ssh_url":"git@github.com:ox-it/wl-lessonbuilder.git","clone_url":"https://github.com/ox-it/wl-lessonbuilder.git","svn_url":"https://github.com/ox-it/wl-lessonbuilder","homepage":null,"size":21616,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"sakai-10.x"}},"_links":{"self":{"href":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls/5"},"html":{"href":"https://github.com/ox-it/wl-lessonbuilder/pull/5"},"issue":{"href":"https://api.github.com/repos/ox-it/wl-lessonbuilder/issues/5"},"comments":{"href":"https://api.github.com/repos/ox-it/wl-lessonbuilder/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ox-it/wl-lessonbuilder/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/ox-it/wl-lessonbuilder/statuses/5b0b1864bf477f7b0a71b5dc2da2cb37e5f5c987"}}}}