{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/comments/172014747","pull_request_review_id":100972904,"id":172014747,"diff_hunk":"@@ -5384,4 +5387,180 @@ protected String getSearchQuery(String searchQuery) throws APIManagementExceptio\n         }\n         return criteria;\n     }\n+\n+    /**\n+     * Method to get the user specified mediation sequence.\n+     *\n+     * @param apiIdentifier : The identifier of the api.\n+     * @param type : Mediation type. {in, out, fault}\n+     * @param name : The name of the sequence that needed.\n+     * @return : The content of the mediation sequence.\n+     */\n+    public String getSequenceFile(APIIdentifier apiIdentifier, String type, String name) throws APIManagementException {\n+\n+        Resource requiredSequence;\n+        InputStream sequenceStream;\n+        String sequenceText = \"\";\n+\n+        try {\n+            if (apiIdentifier != null && type != null && name != null) {\n+                requiredSequence = getDefaultSequence(type, name);\n+                if (log.isDebugEnabled()) {\n+                    log.debug(\"Get the default sequences.\");\n+                }\n+                if (requiredSequence == null) {\n+                    if (log.isDebugEnabled()) {\n+                        log.debug(\"Get the custom sequences.\");\n+                    }\n+                    requiredSequence = getCustomSequence(apiIdentifier, type, name);\n+                }\n+\n+                //Convert the content stream to a string.\n+                if (requiredSequence != null) {\n+                    sequenceStream = requiredSequence.getContentStream();\n+                    StringWriter stringWriter = new StringWriter();\n+                    IOUtils.copy(sequenceStream, stringWriter);\n+                    sequenceText = stringWriter.toString();\n+                } else {\n+                    log.error(\"No sequence for the name \" + name + \"is found!\");\n+                }\n+            } else {\n+                log.error(\"Invalid arguments.\");\n+            }\n+        }  catch (APIManagementException e) {\n+            log.error(e.getMessage());\n+            throw new APIManagementException(e);\n+        } catch (RegistryException e) {\n+            log.error(e.getMessage());\n+            throw new APIManagementException(e);\n+        } catch (IOException e) {\n+            log.error(e.getMessage());\n+            throw new APIManagementException(e);\n+        }\n+        return sequenceText;\n+    }\n+\n+    /**\n+     * Get the mediation sequence which matches the given type and name from the custom sequences.\n+     * @param type : The sequence type.\n+     * @param name : The name of the sequence.\n+     * @return : The mediation sequence which matches the given parameters. Returns null if no matching sequence is\n+     * found.\n+     */\n+    private Resource getDefaultSequence(String type, String name) throws APIManagementException {\n+        String defaultSequenceFileLocation = \"\";\n+\n+        try {\n+            UserRegistry registry = ServiceReferenceHolder.getInstance().getRegistryService()\n+                    .getGovernanceSystemRegistry(tenantId);\n+\n+            if (\"fault\".equals(type)) {\n+                defaultSequenceFileLocation = APIConstants.API_CUSTOM_FAULTSEQUENCE_LOCATION;\n+            } else if (\"out\".equals(type)) {\n+                defaultSequenceFileLocation = APIConstants.API_CUSTOM_OUTSEQUENCE_LOCATION;\n+            } else {\n+                defaultSequenceFileLocation = APIConstants.API_CUSTOM_INSEQUENCE_LOCATION;\n+            }\n+            if (registry.resourceExists(defaultSequenceFileLocation)) {\n+                org.wso2.carbon.registry.api.Collection defaultSeqCollection =\n+                        (org.wso2.carbon.registry.api.Collection) registry.get(defaultSequenceFileLocation);\n+                if (defaultSeqCollection !=null) {\n+                    String[] faultSeqChildPaths = defaultSeqCollection.getChildren();\n+                    for (String defaultSeqChildPath : faultSeqChildPaths) {\n+                        Resource defaultSequence = registry.get(defaultSeqChildPath);\n+                        try {\n+                            OMElement seqElment = APIUtil.buildOMElement(defaultSequence.getContentStream());\n+                            if (name.equals(seqElment.getAttributeValue(new QName(\"name\")))) {\n+                                return defaultSequence;\n+                            }\n+                        } catch (OMException e) {\n+                            log.error(\"Error occurred when reading the sequence '\" + defaultSeqChildPath +\n+                                    \"' from the registry.\", e);\n+                        }\n+                    }\n+                }\n+            }\n+        }  catch (RegistryException e) {\n+            throw new APIManagementException(\"Error while retrieving registry for tenant \" + tenantId, e);\n+        } catch (org.wso2.carbon.registry.api.RegistryException e) {\n+            throw new APIManagementException(\"Error while processing the \" + defaultSequenceFileLocation +\n+                    \" in the registry\", e);\n+        } catch (Exception e) {\n+            throw new APIManagementException(e.getMessage(), e);\n+        }\n+        return null;\n+    }\n+\n+    /**\n+     * Get the resource which matches the user selected resource type and the name from the custom uploaded sequences.\n+     * @param identifier : The API Identifier.\n+     * @param type : The sequence type.\n+     * @return : Resource object which matches the parameters. If no resource found, return null.\n+     */\n+    private Resource getCustomSequence(APIIdentifier identifier, String type, String name) throws\n+            APIManagementException {\n+        Resource customSequence = null;\n+        boolean isTenantFlowStarted = false;\n+        try {\n+            String tenantDomain = null;\n+            if (identifier.getProviderName().contains(\"-AT-\")) {\n+                String provider = identifier.getProviderName().replace(\"-AT-\", \"@\");\n+                tenantDomain = MultitenantUtils.getTenantDomain(provider);\n+            }\n+            PrivilegedCarbonContext.startTenantFlow();\n+            isTenantFlowStarted = true;\n+            if (!StringUtils.isEmpty(tenantDomain)) {\n+                PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantDomain(tenantDomain, true);\n+            } else {\n+                PrivilegedCarbonContext.getThreadLocalCarbonContext().setTenantDomain\n+                        (MultitenantConstants.SUPER_TENANT_DOMAIN_NAME, true);\n+            }\n+            UserRegistry registry = ServiceReferenceHolder.getInstance().getRegistryService()\n+                    .getGovernanceSystemRegistry(tenantId);\n+\n+            String customSeqFileLocation = \"\";\n+            if (\"fault\".equals(type)) {","path":"components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIProviderImpl.java","position":null,"original_position":154,"commit_id":"c6bc99c70b7ef3df0181e7565b77152ab729b066","original_commit_id":"bba8da746a2858fdf0c3241f1e3ceef74e613852","user":{"login":"menakaj","id":10165411,"avatar_url":"https://avatars1.githubusercontent.com/u/10165411?v=4","gravatar_id":"","url":"https://api.github.com/users/menakaj","html_url":"https://github.com/menakaj","followers_url":"https://api.github.com/users/menakaj/followers","following_url":"https://api.github.com/users/menakaj/following{/other_user}","gists_url":"https://api.github.com/users/menakaj/gists{/gist_id}","starred_url":"https://api.github.com/users/menakaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menakaj/subscriptions","organizations_url":"https://api.github.com/users/menakaj/orgs","repos_url":"https://api.github.com/users/menakaj/repos","events_url":"https://api.github.com/users/menakaj/events{/privacy}","received_events_url":"https://api.github.com/users/menakaj/received_events","type":"User","site_admin":false},"body":"Fixed in https://github.com/wso2/carbon-apimgt/pull/5114/commits/c6bc99c70b7ef3df0181e7565b77152ab729b066","created_at":"2018-03-03T11:44:18Z","updated_at":"2018-03-03T11:44:40Z","html_url":"https://github.com/wso2/carbon-apimgt/pull/5114#discussion_r172014747","pull_request_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/5114","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/comments/172014747"},"html":{"href":"https://github.com/wso2/carbon-apimgt/pull/5114#discussion_r172014747"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/5114"}},"in_reply_to_id":171461841},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/5114","id":171672637,"html_url":"https://github.com/wso2/carbon-apimgt/pull/5114","diff_url":"https://github.com/wso2/carbon-apimgt/pull/5114.diff","patch_url":"https://github.com/wso2/carbon-apimgt/pull/5114.patch","issue_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/5114","number":5114,"state":"open","locked":false,"title":"Add the capability of Downloading Mediation Policies and Role based restricting the Unlimited Tier ","user":{"login":"menakaj","id":10165411,"avatar_url":"https://avatars1.githubusercontent.com/u/10165411?v=4","gravatar_id":"","url":"https://api.github.com/users/menakaj","html_url":"https://github.com/menakaj","followers_url":"https://api.github.com/users/menakaj/followers","following_url":"https://api.github.com/users/menakaj/following{/other_user}","gists_url":"https://api.github.com/users/menakaj/gists{/gist_id}","starred_url":"https://api.github.com/users/menakaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menakaj/subscriptions","organizations_url":"https://api.github.com/users/menakaj/orgs","repos_url":"https://api.github.com/users/menakaj/repos","events_url":"https://api.github.com/users/menakaj/events{/privacy}","received_events_url":"https://api.github.com/users/menakaj/received_events","type":"User","site_admin":false},"body":"### Proposed changes in this pull request\r\n\r\n[List all changes you want to add here. If you fixed an issue, please\r\nadd a reference to that issue as well.]\r\n\r\n- Downloading Mediation Policies\r\nFix wso2/product-apim#2786\r\n- Role-based restricting the Unlimited Subscription Tier. \r\nFix wso2/product-apim#2790\r\n\r\n### When should this PR be merged\r\n\r\n[Please describe any preconditions that need to be addressed before we\r\ncan merge this pull request.]\r\n\r\n\r\n### Follow up actions\r\n\r\n[List any possible follow-up actions here; for instance, testing data\r\nmigrations, software that we need to install on staging and production\r\nenvironments.]\r\n\r\n-\r\n\r\n\r\n### Checklist (for reviewing)\r\n\r\n#### General\r\n\r\n- [ ] **Is this PR explained thoroughly?** All code changes must be accounted for in the PR description.\r\n- [ ] **Is the PR labeled correctly?**\r\n\r\n#### Functionality\r\n\r\n- [ ] **Are all requirements met?** Compare implemented functionality with the requirements specification.\r\n- [ ] **Does the UI work as expected?** There should be no Javascript errors in the console; all resources should load. There should be no unexpected errors. Deliberately try to break the feature to find out if there are corner cases that are not handled.\r\n\r\n#### Code\r\n\r\n- [ ] **Do you fully understand the introduced changes to the code?** If not ask for clarification, it might uncover ways to solve a problem in a more elegant and efficient way.\r\n- [ ] **Does the PR introduce any inefficient database requests?** Use the debug server to check for duplicate requests.\r\n- [ ] **Are all necessary strings marked for translation?** All strings that are exposed to users via the UI must be [marked for translation](https://docs.djangoproject.com/en/1.10/topics/i18n/translation/).\r\n\r\n#### Tests\r\n\r\n- [ ] **Are there sufficient test cases?** Ensure that all components are tested individually; models, forms, and serializers should be tested in isolation even if a test for a view covers these components.\r\n- [ ] **If this is a bug fix, are tests for the issue in place?**  There must be a test case for the bug to ensure the issue won’t regress. Make sure that the tests break without the new code to fix the issue.\r\n- [ ] **If this is a new feature or a significant change to an existing feature?** has the manual testing spreadsheet been updated with instructions for manual testing?\r\n\r\n#### Security\r\n\r\n- [ ] **Confirm this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.**\r\n- [ ] **Are all UI and API inputs run through forms or serializers?**\r\n- [ ] **Are all external inputs validated and sanitized appropriately?**\r\n- [ ] **Does all branching logic have a default case?**\r\n- [ ] **Does this solution handle outliers and edge cases gracefully?**\r\n- [ ] **Are all external communications secured and restricted to SSL?**\r\n\r\n#### Documentation\r\n\r\n- [ ] **Are changes to the UI documented in the platform docs?** If this PR introduces new platform site functionality or changes existing ones, the changes should be documented.\r\n- [ ] **Are changes to the API documented in the API docs?** If this PR introduces new API functionality or changes existing ones, the changes must be documented.\r\n- [ ] **Are reusable components documented?** If this PR introduces components that are relevant to other developers (for instance a mixin for a view or a generic form) they should be documented in the Wiki.\r\n","created_at":"2018-02-27T14:09:16Z","updated_at":"2018-03-03T11:44:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"14fd236dcd5468053d9717fe7ba7897fcc77d79e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/5114/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/5114/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/5114/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-apimgt/statuses/c6bc99c70b7ef3df0181e7565b77152ab729b066","head":{"label":"menakaj:6.x","ref":"6.x","sha":"c6bc99c70b7ef3df0181e7565b77152ab729b066","user":{"login":"menakaj","id":10165411,"avatar_url":"https://avatars1.githubusercontent.com/u/10165411?v=4","gravatar_id":"","url":"https://api.github.com/users/menakaj","html_url":"https://github.com/menakaj","followers_url":"https://api.github.com/users/menakaj/followers","following_url":"https://api.github.com/users/menakaj/following{/other_user}","gists_url":"https://api.github.com/users/menakaj/gists{/gist_id}","starred_url":"https://api.github.com/users/menakaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menakaj/subscriptions","organizations_url":"https://api.github.com/users/menakaj/orgs","repos_url":"https://api.github.com/users/menakaj/repos","events_url":"https://api.github.com/users/menakaj/events{/privacy}","received_events_url":"https://api.github.com/users/menakaj/received_events","type":"User","site_admin":false},"repo":{"id":108243210,"name":"carbon-apimgt","full_name":"menakaj/carbon-apimgt","owner":{"login":"menakaj","id":10165411,"avatar_url":"https://avatars1.githubusercontent.com/u/10165411?v=4","gravatar_id":"","url":"https://api.github.com/users/menakaj","html_url":"https://github.com/menakaj","followers_url":"https://api.github.com/users/menakaj/followers","following_url":"https://api.github.com/users/menakaj/following{/other_user}","gists_url":"https://api.github.com/users/menakaj/gists{/gist_id}","starred_url":"https://api.github.com/users/menakaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menakaj/subscriptions","organizations_url":"https://api.github.com/users/menakaj/orgs","repos_url":"https://api.github.com/users/menakaj/repos","events_url":"https://api.github.com/users/menakaj/events{/privacy}","received_events_url":"https://api.github.com/users/menakaj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/menakaj/carbon-apimgt","description":null,"fork":true,"url":"https://api.github.com/repos/menakaj/carbon-apimgt","forks_url":"https://api.github.com/repos/menakaj/carbon-apimgt/forks","keys_url":"https://api.github.com/repos/menakaj/carbon-apimgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/menakaj/carbon-apimgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/menakaj/carbon-apimgt/teams","hooks_url":"https://api.github.com/repos/menakaj/carbon-apimgt/hooks","issue_events_url":"https://api.github.com/repos/menakaj/carbon-apimgt/issues/events{/number}","events_url":"https://api.github.com/repos/menakaj/carbon-apimgt/events","assignees_url":"https://api.github.com/repos/menakaj/carbon-apimgt/assignees{/user}","branches_url":"https://api.github.com/repos/menakaj/carbon-apimgt/branches{/branch}","tags_url":"https://api.github.com/repos/menakaj/carbon-apimgt/tags","blobs_url":"https://api.github.com/repos/menakaj/carbon-apimgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/menakaj/carbon-apimgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/menakaj/carbon-apimgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/menakaj/carbon-apimgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/menakaj/carbon-apimgt/statuses/{sha}","languages_url":"https://api.github.com/repos/menakaj/carbon-apimgt/languages","stargazers_url":"https://api.github.com/repos/menakaj/carbon-apimgt/stargazers","contributors_url":"https://api.github.com/repos/menakaj/carbon-apimgt/contributors","subscribers_url":"https://api.github.com/repos/menakaj/carbon-apimgt/subscribers","subscription_url":"https://api.github.com/repos/menakaj/carbon-apimgt/subscription","commits_url":"https://api.github.com/repos/menakaj/carbon-apimgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/menakaj/carbon-apimgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/menakaj/carbon-apimgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/menakaj/carbon-apimgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/menakaj/carbon-apimgt/contents/{+path}","compare_url":"https://api.github.com/repos/menakaj/carbon-apimgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/menakaj/carbon-apimgt/merges","archive_url":"https://api.github.com/repos/menakaj/carbon-apimgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/menakaj/carbon-apimgt/downloads","issues_url":"https://api.github.com/repos/menakaj/carbon-apimgt/issues{/number}","pulls_url":"https://api.github.com/repos/menakaj/carbon-apimgt/pulls{/number}","milestones_url":"https://api.github.com/repos/menakaj/carbon-apimgt/milestones{/number}","notifications_url":"https://api.github.com/repos/menakaj/carbon-apimgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/menakaj/carbon-apimgt/labels{/name}","releases_url":"https://api.github.com/repos/menakaj/carbon-apimgt/releases{/id}","deployments_url":"https://api.github.com/repos/menakaj/carbon-apimgt/deployments","created_at":"2017-10-25T08:42:39Z","updated_at":"2017-10-25T08:42:47Z","pushed_at":"2018-03-03T11:40:55Z","git_url":"git://github.com/menakaj/carbon-apimgt.git","ssh_url":"git@github.com:menakaj/carbon-apimgt.git","clone_url":"https://github.com/menakaj/carbon-apimgt.git","svn_url":"https://github.com/menakaj/carbon-apimgt","homepage":null,"size":227338,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:6.x","ref":"6.x","sha":"97b1bcb72c7ffe9144359032966696e0735d6ba1","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars3.githubusercontent.com/u/533043?v=4","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":17201744,"name":"carbon-apimgt","full_name":"wso2/carbon-apimgt","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars3.githubusercontent.com/u/533043?v=4","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-apimgt","description":null,"fork":false,"url":"https://api.github.com/repos/wso2/carbon-apimgt","forks_url":"https://api.github.com/repos/wso2/carbon-apimgt/forks","keys_url":"https://api.github.com/repos/wso2/carbon-apimgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-apimgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-apimgt/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-apimgt/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-apimgt/events","assignees_url":"https://api.github.com/repos/wso2/carbon-apimgt/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-apimgt/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-apimgt/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-apimgt/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-apimgt/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-apimgt/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-apimgt/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-apimgt/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-apimgt/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-apimgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-apimgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-apimgt/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-apimgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-apimgt/merges","archive_url":"https://api.github.com/repos/wso2/carbon-apimgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-apimgt/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-apimgt/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-apimgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-apimgt/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-apimgt/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/carbon-apimgt/deployments","created_at":"2014-02-26T06:46:48Z","updated_at":"2018-02-26T03:01:00Z","pushed_at":"2018-03-03T11:40:57Z","git_url":"git://github.com/wso2/carbon-apimgt.git","ssh_url":"git@github.com:wso2/carbon-apimgt.git","clone_url":"https://github.com/wso2/carbon-apimgt.git","svn_url":"https://github.com/wso2/carbon-apimgt","homepage":null,"size":232640,"stargazers_count":45,"watchers_count":45,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":299,"mirror_url":null,"archived":false,"open_issues_count":69,"license":null,"forks":299,"open_issues":69,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/5114"},"html":{"href":"https://github.com/wso2/carbon-apimgt/pull/5114"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/issues/5114"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/issues/5114/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/5114/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/5114/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/statuses/c6bc99c70b7ef3df0181e7565b77152ab729b066"}},"author_association":"NONE"}}
{"actor":{"display_login":"menakaj"}}