{"action":"created","comment":{"url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls/comments/50681139","id":50681139,"diff_hunk":"@@ -0,0 +1,78 @@\n+/*\n+ *  Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n+ *\n+ *  WSO2 Inc. licenses this file to you under the Apache License,\n+ *  Version 2.0 (the \"License\"); you may not use this file except\n+ *  in compliance with the License.\n+ *  You may obtain a copy of the License at\n+ *\n+ *  http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ *  Unless required by applicable law or agreed to in writing,\n+ *  software distributed under the License is distributed on an\n+ *  \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+ *  KIND, either express or implied.  See the License for the\n+ *  specific language governing permissions and limitations\n+ *  under the License.\n+ *\n+ */","path":"features/iotserver-feature/org.wso2.carbon.device.mgt.iot.feature/src/main/resources/jaggeryapps/store/extensions/assets/deviceType/themes/store/helpers/asset.js","position":18,"original_position":18,"commit_id":"d5f4729d516eaa2255a6837b94efcf7dfbd1576c","original_commit_id":"d5f4729d516eaa2255a6837b94efcf7dfbd1576c","user":{"login":"harshanL","id":6368301,"avatar_url":"https://avatars.githubusercontent.com/u/6368301?v=3","gravatar_id":"","url":"https://api.github.com/users/harshanL","html_url":"https://github.com/harshanL","followers_url":"https://api.github.com/users/harshanL/followers","following_url":"https://api.github.com/users/harshanL/following{/other_user}","gists_url":"https://api.github.com/users/harshanL/gists{/gist_id}","starred_url":"https://api.github.com/users/harshanL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshanL/subscriptions","organizations_url":"https://api.github.com/users/harshanL/orgs","repos_url":"https://api.github.com/users/harshanL/repos","events_url":"https://api.github.com/users/harshanL/events{/privacy}","received_events_url":"https://api.github.com/users/harshanL/received_events","type":"User","site_admin":false},"body":"Check the formatting of if blocks in this file.","created_at":"2016-01-25T11:13:49Z","updated_at":"2016-01-25T11:13:49Z","html_url":"https://github.com/wso2-incubator/iot-server-extensions/pull/11#discussion_r50681139","pull_request_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls/comments/50681139"},"html":{"href":"https://github.com/wso2-incubator/iot-server-extensions/pull/11#discussion_r50681139"},"pull_request":{"href":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls/11","id":46625521,"html_url":"https://github.com/wso2-incubator/iot-server-extensions/pull/11","diff_url":"https://github.com/wso2-incubator/iot-server-extensions/pull/11.diff","patch_url":"https://github.com/wso2-incubator/iot-server-extensions/pull/11.patch","issue_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/issues/11","number":11,"state":"closed","locked":false,"title":"Adding Device Download Link Generation","user":{"login":"rasika90","id":1448489,"avatar_url":"https://avatars.githubusercontent.com/u/1448489?v=3","gravatar_id":"","url":"https://api.github.com/users/rasika90","html_url":"https://github.com/rasika90","followers_url":"https://api.github.com/users/rasika90/followers","following_url":"https://api.github.com/users/rasika90/following{/other_user}","gists_url":"https://api.github.com/users/rasika90/gists{/gist_id}","starred_url":"https://api.github.com/users/rasika90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasika90/subscriptions","organizations_url":"https://api.github.com/users/rasika90/orgs","repos_url":"https://api.github.com/users/rasika90/repos","events_url":"https://api.github.com/users/rasika90/events{/privacy}","received_events_url":"https://api.github.com/users/rasika90/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-02T11:21:47Z","updated_at":"2016-01-25T11:13:49Z","closed_at":"2015-10-02T11:21:53Z","merged_at":"2015-10-02T11:21:53Z","merge_commit_sha":"af0dca0409dc4eefe69feb65dd4a196ab637afb7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls/11/commits","review_comments_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls/11/comments","review_comment_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/issues/11/comments","statuses_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/statuses/d5f4729d516eaa2255a6837b94efcf7dfbd1576c","head":{"label":"rasika90:master","ref":"master","sha":"d5f4729d516eaa2255a6837b94efcf7dfbd1576c","user":{"login":"rasika90","id":1448489,"avatar_url":"https://avatars.githubusercontent.com/u/1448489?v=3","gravatar_id":"","url":"https://api.github.com/users/rasika90","html_url":"https://github.com/rasika90","followers_url":"https://api.github.com/users/rasika90/followers","following_url":"https://api.github.com/users/rasika90/following{/other_user}","gists_url":"https://api.github.com/users/rasika90/gists{/gist_id}","starred_url":"https://api.github.com/users/rasika90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasika90/subscriptions","organizations_url":"https://api.github.com/users/rasika90/orgs","repos_url":"https://api.github.com/users/rasika90/repos","events_url":"https://api.github.com/users/rasika90/events{/privacy}","received_events_url":"https://api.github.com/users/rasika90/received_events","type":"User","site_admin":false},"repo":{"id":43116054,"name":"iot-server-extensions","full_name":"rasika90/iot-server-extensions","owner":{"login":"rasika90","id":1448489,"avatar_url":"https://avatars.githubusercontent.com/u/1448489?v=3","gravatar_id":"","url":"https://api.github.com/users/rasika90","html_url":"https://github.com/rasika90","followers_url":"https://api.github.com/users/rasika90/followers","following_url":"https://api.github.com/users/rasika90/following{/other_user}","gists_url":"https://api.github.com/users/rasika90/gists{/gist_id}","starred_url":"https://api.github.com/users/rasika90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasika90/subscriptions","organizations_url":"https://api.github.com/users/rasika90/orgs","repos_url":"https://api.github.com/users/rasika90/repos","events_url":"https://api.github.com/users/rasika90/events{/privacy}","received_events_url":"https://api.github.com/users/rasika90/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rasika90/iot-server-extensions","description":"","fork":true,"url":"https://api.github.com/repos/rasika90/iot-server-extensions","forks_url":"https://api.github.com/repos/rasika90/iot-server-extensions/forks","keys_url":"https://api.github.com/repos/rasika90/iot-server-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rasika90/iot-server-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rasika90/iot-server-extensions/teams","hooks_url":"https://api.github.com/repos/rasika90/iot-server-extensions/hooks","issue_events_url":"https://api.github.com/repos/rasika90/iot-server-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/rasika90/iot-server-extensions/events","assignees_url":"https://api.github.com/repos/rasika90/iot-server-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/rasika90/iot-server-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/rasika90/iot-server-extensions/tags","blobs_url":"https://api.github.com/repos/rasika90/iot-server-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rasika90/iot-server-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rasika90/iot-server-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/rasika90/iot-server-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rasika90/iot-server-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/rasika90/iot-server-extensions/languages","stargazers_url":"https://api.github.com/repos/rasika90/iot-server-extensions/stargazers","contributors_url":"https://api.github.com/repos/rasika90/iot-server-extensions/contributors","subscribers_url":"https://api.github.com/repos/rasika90/iot-server-extensions/subscribers","subscription_url":"https://api.github.com/repos/rasika90/iot-server-extensions/subscription","commits_url":"https://api.github.com/repos/rasika90/iot-server-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/rasika90/iot-server-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/rasika90/iot-server-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/rasika90/iot-server-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/rasika90/iot-server-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/rasika90/iot-server-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rasika90/iot-server-extensions/merges","archive_url":"https://api.github.com/repos/rasika90/iot-server-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rasika90/iot-server-extensions/downloads","issues_url":"https://api.github.com/repos/rasika90/iot-server-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/rasika90/iot-server-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/rasika90/iot-server-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/rasika90/iot-server-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rasika90/iot-server-extensions/labels{/name}","releases_url":"https://api.github.com/repos/rasika90/iot-server-extensions/releases{/id}","deployments_url":"https://api.github.com/repos/rasika90/iot-server-extensions/deployments","created_at":"2015-09-25T07:25:20Z","updated_at":"2015-10-10T02:09:56Z","pushed_at":"2015-11-03T05:43:40Z","git_url":"git://github.com/rasika90/iot-server-extensions.git","ssh_url":"git@github.com:rasika90/iot-server-extensions.git","clone_url":"https://github.com/rasika90/iot-server-extensions.git","svn_url":"https://github.com/rasika90/iot-server-extensions","homepage":null,"size":3750,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2-incubator:build-pack","ref":"build-pack","sha":"6d2ca498f0c680c9f43845caa7a29bdd704f29c0","user":{"login":"wso2-incubator","id":6744733,"avatar_url":"https://avatars.githubusercontent.com/u/6744733?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2-incubator","html_url":"https://github.com/wso2-incubator","followers_url":"https://api.github.com/users/wso2-incubator/followers","following_url":"https://api.github.com/users/wso2-incubator/following{/other_user}","gists_url":"https://api.github.com/users/wso2-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-incubator/subscriptions","organizations_url":"https://api.github.com/users/wso2-incubator/orgs","repos_url":"https://api.github.com/users/wso2-incubator/repos","events_url":"https://api.github.com/users/wso2-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":33305761,"name":"iot-server-extensions","full_name":"wso2-incubator/iot-server-extensions","owner":{"login":"wso2-incubator","id":6744733,"avatar_url":"https://avatars.githubusercontent.com/u/6744733?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2-incubator","html_url":"https://github.com/wso2-incubator","followers_url":"https://api.github.com/users/wso2-incubator/followers","following_url":"https://api.github.com/users/wso2-incubator/following{/other_user}","gists_url":"https://api.github.com/users/wso2-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-incubator/subscriptions","organizations_url":"https://api.github.com/users/wso2-incubator/orgs","repos_url":"https://api.github.com/users/wso2-incubator/repos","events_url":"https://api.github.com/users/wso2-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2-incubator/iot-server-extensions","description":"","fork":false,"url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions","forks_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/forks","keys_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/teams","hooks_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/hooks","issue_events_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/events","assignees_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/tags","blobs_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/languages","stargazers_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/stargazers","contributors_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/contributors","subscribers_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/subscribers","subscription_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/subscription","commits_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/merges","archive_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/downloads","issues_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/labels{/name}","releases_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/releases{/id}","deployments_url":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/deployments","created_at":"2015-04-02T11:40:34Z","updated_at":"2015-10-09T21:21:40Z","pushed_at":"2015-11-06T06:47:02Z","git_url":"git://github.com/wso2-incubator/iot-server-extensions.git","ssh_url":"git@github.com:wso2-incubator/iot-server-extensions.git","clone_url":"https://github.com/wso2-incubator/iot-server-extensions.git","svn_url":"https://github.com/wso2-incubator/iot-server-extensions","homepage":null,"size":4275,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":0,"forks":8,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls/11"},"html":{"href":"https://github.com/wso2-incubator/iot-server-extensions/pull/11"},"issue":{"href":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/issues/11"},"comments":{"href":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/wso2-incubator/iot-server-extensions/statuses/d5f4729d516eaa2255a6837b94efcf7dfbd1576c"}}}}