{"action":"created","comment":{"url":"https://api.github.com/repos/gocd/gocd/pulls/comments/91888998","pull_request_review_id":12397095,"id":91888998,"diff_hunk":"@@ -0,0 +1,37 @@\n+##########################################################################\n+# Copyright 2016 ThoughtWorks, Inc.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except 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, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+##########################################################################\n+\n+module ApiV4\n+  module Config\n+    class PipelineConfigSummaryRepresenter < ApiV4::BaseRepresenter\n+      alias_method :pipeline, :represented\n+\n+      link :self do |opts|\n+        opts[:url_builder].apiv3_admin_pipeline_url(pipeline.getName())","path":"server/webapp/WEB-INF/rails.new/app/presenters/api_v4/config/pipeline_config_summary_representer.rb","position":23,"original_position":23,"commit_id":"70e79048ab94b8a2b35a28b1521806b05d3de3b3","original_commit_id":"70e79048ab94b8a2b35a28b1521806b05d3de3b3","user":{"login":"ketan","id":10598,"avatar_url":"https://avatars.githubusercontent.com/u/10598?v=3","gravatar_id":"","url":"https://api.github.com/users/ketan","html_url":"https://github.com/ketan","followers_url":"https://api.github.com/users/ketan/followers","following_url":"https://api.github.com/users/ketan/following{/other_user}","gists_url":"https://api.github.com/users/ketan/gists{/gist_id}","starred_url":"https://api.github.com/users/ketan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketan/subscriptions","organizations_url":"https://api.github.com/users/ketan/orgs","repos_url":"https://api.github.com/users/ketan/repos","events_url":"https://api.github.com/users/ketan/events{/privacy}","received_events_url":"https://api.github.com/users/ketan/received_events","type":"User","site_admin":false},"body":"`apiv3` -> `apiv4` in a bunch of places.","created_at":"2016-12-12T06:32:39Z","updated_at":"2016-12-12T06:44:54Z","html_url":"https://github.com/gocd/gocd/pull/2973#discussion_r91888998","pull_request_url":"https://api.github.com/repos/gocd/gocd/pulls/2973","_links":{"self":{"href":"https://api.github.com/repos/gocd/gocd/pulls/comments/91888998"},"html":{"href":"https://github.com/gocd/gocd/pull/2973#discussion_r91888998"},"pull_request":{"href":"https://api.github.com/repos/gocd/gocd/pulls/2973"}}},"pull_request":{"url":"https://api.github.com/repos/gocd/gocd/pulls/2973","id":97253370,"html_url":"https://github.com/gocd/gocd/pull/2973","diff_url":"https://github.com/gocd/gocd/pull/2973.diff","patch_url":"https://github.com/gocd/gocd/pull/2973.patch","issue_url":"https://api.github.com/repos/gocd/gocd/issues/2973","number":2973,"state":"open","locked":false,"title":"Templates API V4 - Allow configuring template admins via the API.","user":{"login":"varshavaradarajan","id":4715748,"avatar_url":"https://avatars.githubusercontent.com/u/4715748?v=3","gravatar_id":"","url":"https://api.github.com/users/varshavaradarajan","html_url":"https://github.com/varshavaradarajan","followers_url":"https://api.github.com/users/varshavaradarajan/followers","following_url":"https://api.github.com/users/varshavaradarajan/following{/other_user}","gists_url":"https://api.github.com/users/varshavaradarajan/gists{/gist_id}","starred_url":"https://api.github.com/users/varshavaradarajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varshavaradarajan/subscriptions","organizations_url":"https://api.github.com/users/varshavaradarajan/orgs","repos_url":"https://api.github.com/users/varshavaradarajan/repos","events_url":"https://api.github.com/users/varshavaradarajan/events{/privacy}","received_events_url":"https://api.github.com/users/varshavaradarajan/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-09T05:28:19Z","updated_at":"2016-12-12T06:44:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07e8affb1ebf90b526ead25a88eb75e74f4969d2","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/gocd/gocd/milestones/24","html_url":"https://github.com/gocd/gocd/milestone/24","labels_url":"https://api.github.com/repos/gocd/gocd/milestones/24/labels","id":2157164,"number":24,"title":"Release 17.1","description":null,"creator":{"login":"ketan","id":10598,"avatar_url":"https://avatars.githubusercontent.com/u/10598?v=3","gravatar_id":"","url":"https://api.github.com/users/ketan","html_url":"https://github.com/ketan","followers_url":"https://api.github.com/users/ketan/followers","following_url":"https://api.github.com/users/ketan/following{/other_user}","gists_url":"https://api.github.com/users/ketan/gists{/gist_id}","starred_url":"https://api.github.com/users/ketan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketan/subscriptions","organizations_url":"https://api.github.com/users/ketan/orgs","repos_url":"https://api.github.com/users/ketan/repos","events_url":"https://api.github.com/users/ketan/events{/privacy}","received_events_url":"https://api.github.com/users/ketan/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":1,"state":"open","created_at":"2016-11-25T08:17:26Z","updated_at":"2016-12-12T05:27:21Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/gocd/gocd/pulls/2973/commits","review_comments_url":"https://api.github.com/repos/gocd/gocd/pulls/2973/comments","review_comment_url":"https://api.github.com/repos/gocd/gocd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gocd/gocd/issues/2973/comments","statuses_url":"https://api.github.com/repos/gocd/gocd/statuses/70e79048ab94b8a2b35a28b1521806b05d3de3b3","head":{"label":"varshavaradarajan:templates-api-v4","ref":"templates-api-v4","sha":"70e79048ab94b8a2b35a28b1521806b05d3de3b3","user":{"login":"varshavaradarajan","id":4715748,"avatar_url":"https://avatars.githubusercontent.com/u/4715748?v=3","gravatar_id":"","url":"https://api.github.com/users/varshavaradarajan","html_url":"https://github.com/varshavaradarajan","followers_url":"https://api.github.com/users/varshavaradarajan/followers","following_url":"https://api.github.com/users/varshavaradarajan/following{/other_user}","gists_url":"https://api.github.com/users/varshavaradarajan/gists{/gist_id}","starred_url":"https://api.github.com/users/varshavaradarajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varshavaradarajan/subscriptions","organizations_url":"https://api.github.com/users/varshavaradarajan/orgs","repos_url":"https://api.github.com/users/varshavaradarajan/repos","events_url":"https://api.github.com/users/varshavaradarajan/events{/privacy}","received_events_url":"https://api.github.com/users/varshavaradarajan/received_events","type":"User","site_admin":false},"repo":{"id":48975000,"name":"gocd","full_name":"varshavaradarajan/gocd","owner":{"login":"varshavaradarajan","id":4715748,"avatar_url":"https://avatars.githubusercontent.com/u/4715748?v=3","gravatar_id":"","url":"https://api.github.com/users/varshavaradarajan","html_url":"https://github.com/varshavaradarajan","followers_url":"https://api.github.com/users/varshavaradarajan/followers","following_url":"https://api.github.com/users/varshavaradarajan/following{/other_user}","gists_url":"https://api.github.com/users/varshavaradarajan/gists{/gist_id}","starred_url":"https://api.github.com/users/varshavaradarajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varshavaradarajan/subscriptions","organizations_url":"https://api.github.com/users/varshavaradarajan/orgs","repos_url":"https://api.github.com/users/varshavaradarajan/repos","events_url":"https://api.github.com/users/varshavaradarajan/events{/privacy}","received_events_url":"https://api.github.com/users/varshavaradarajan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/varshavaradarajan/gocd","description":"Main repository for Go Continuous Delivery","fork":true,"url":"https://api.github.com/repos/varshavaradarajan/gocd","forks_url":"https://api.github.com/repos/varshavaradarajan/gocd/forks","keys_url":"https://api.github.com/repos/varshavaradarajan/gocd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/varshavaradarajan/gocd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/varshavaradarajan/gocd/teams","hooks_url":"https://api.github.com/repos/varshavaradarajan/gocd/hooks","issue_events_url":"https://api.github.com/repos/varshavaradarajan/gocd/issues/events{/number}","events_url":"https://api.github.com/repos/varshavaradarajan/gocd/events","assignees_url":"https://api.github.com/repos/varshavaradarajan/gocd/assignees{/user}","branches_url":"https://api.github.com/repos/varshavaradarajan/gocd/branches{/branch}","tags_url":"https://api.github.com/repos/varshavaradarajan/gocd/tags","blobs_url":"https://api.github.com/repos/varshavaradarajan/gocd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/varshavaradarajan/gocd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/varshavaradarajan/gocd/git/refs{/sha}","trees_url":"https://api.github.com/repos/varshavaradarajan/gocd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/varshavaradarajan/gocd/statuses/{sha}","languages_url":"https://api.github.com/repos/varshavaradarajan/gocd/languages","stargazers_url":"https://api.github.com/repos/varshavaradarajan/gocd/stargazers","contributors_url":"https://api.github.com/repos/varshavaradarajan/gocd/contributors","subscribers_url":"https://api.github.com/repos/varshavaradarajan/gocd/subscribers","subscription_url":"https://api.github.com/repos/varshavaradarajan/gocd/subscription","commits_url":"https://api.github.com/repos/varshavaradarajan/gocd/commits{/sha}","git_commits_url":"https://api.github.com/repos/varshavaradarajan/gocd/git/commits{/sha}","comments_url":"https://api.github.com/repos/varshavaradarajan/gocd/comments{/number}","issue_comment_url":"https://api.github.com/repos/varshavaradarajan/gocd/issues/comments{/number}","contents_url":"https://api.github.com/repos/varshavaradarajan/gocd/contents/{+path}","compare_url":"https://api.github.com/repos/varshavaradarajan/gocd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/varshavaradarajan/gocd/merges","archive_url":"https://api.github.com/repos/varshavaradarajan/gocd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/varshavaradarajan/gocd/downloads","issues_url":"https://api.github.com/repos/varshavaradarajan/gocd/issues{/number}","pulls_url":"https://api.github.com/repos/varshavaradarajan/gocd/pulls{/number}","milestones_url":"https://api.github.com/repos/varshavaradarajan/gocd/milestones{/number}","notifications_url":"https://api.github.com/repos/varshavaradarajan/gocd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/varshavaradarajan/gocd/labels{/name}","releases_url":"https://api.github.com/repos/varshavaradarajan/gocd/releases{/id}","deployments_url":"https://api.github.com/repos/varshavaradarajan/gocd/deployments","created_at":"2016-01-04T04:38:44Z","updated_at":"2016-01-11T03:40:26Z","pushed_at":"2016-12-12T05:46:08Z","git_url":"git://github.com/varshavaradarajan/gocd.git","ssh_url":"git@github.com:varshavaradarajan/gocd.git","clone_url":"https://github.com/varshavaradarajan/gocd.git","svn_url":"https://github.com/varshavaradarajan/gocd","homepage":"https://go.cd","size":245661,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"gocd:master","ref":"master","sha":"018c65856d46007240cc75577e9cc8535b44148d","user":{"login":"gocd","id":6099846,"avatar_url":"https://avatars.githubusercontent.com/u/6099846?v=3","gravatar_id":"","url":"https://api.github.com/users/gocd","html_url":"https://github.com/gocd","followers_url":"https://api.github.com/users/gocd/followers","following_url":"https://api.github.com/users/gocd/following{/other_user}","gists_url":"https://api.github.com/users/gocd/gists{/gist_id}","starred_url":"https://api.github.com/users/gocd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocd/subscriptions","organizations_url":"https://api.github.com/users/gocd/orgs","repos_url":"https://api.github.com/users/gocd/repos","events_url":"https://api.github.com/users/gocd/events{/privacy}","received_events_url":"https://api.github.com/users/gocd/received_events","type":"Organization","site_admin":false},"repo":{"id":15155534,"name":"gocd","full_name":"gocd/gocd","owner":{"login":"gocd","id":6099846,"avatar_url":"https://avatars.githubusercontent.com/u/6099846?v=3","gravatar_id":"","url":"https://api.github.com/users/gocd","html_url":"https://github.com/gocd","followers_url":"https://api.github.com/users/gocd/followers","following_url":"https://api.github.com/users/gocd/following{/other_user}","gists_url":"https://api.github.com/users/gocd/gists{/gist_id}","starred_url":"https://api.github.com/users/gocd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocd/subscriptions","organizations_url":"https://api.github.com/users/gocd/orgs","repos_url":"https://api.github.com/users/gocd/repos","events_url":"https://api.github.com/users/gocd/events{/privacy}","received_events_url":"https://api.github.com/users/gocd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gocd/gocd","description":"Main repository for GoCD - Continuous Delivery server","fork":false,"url":"https://api.github.com/repos/gocd/gocd","forks_url":"https://api.github.com/repos/gocd/gocd/forks","keys_url":"https://api.github.com/repos/gocd/gocd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocd/gocd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocd/gocd/teams","hooks_url":"https://api.github.com/repos/gocd/gocd/hooks","issue_events_url":"https://api.github.com/repos/gocd/gocd/issues/events{/number}","events_url":"https://api.github.com/repos/gocd/gocd/events","assignees_url":"https://api.github.com/repos/gocd/gocd/assignees{/user}","branches_url":"https://api.github.com/repos/gocd/gocd/branches{/branch}","tags_url":"https://api.github.com/repos/gocd/gocd/tags","blobs_url":"https://api.github.com/repos/gocd/gocd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocd/gocd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocd/gocd/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocd/gocd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocd/gocd/statuses/{sha}","languages_url":"https://api.github.com/repos/gocd/gocd/languages","stargazers_url":"https://api.github.com/repos/gocd/gocd/stargazers","contributors_url":"https://api.github.com/repos/gocd/gocd/contributors","subscribers_url":"https://api.github.com/repos/gocd/gocd/subscribers","subscription_url":"https://api.github.com/repos/gocd/gocd/subscription","commits_url":"https://api.github.com/repos/gocd/gocd/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocd/gocd/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocd/gocd/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocd/gocd/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocd/gocd/contents/{+path}","compare_url":"https://api.github.com/repos/gocd/gocd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocd/gocd/merges","archive_url":"https://api.github.com/repos/gocd/gocd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocd/gocd/downloads","issues_url":"https://api.github.com/repos/gocd/gocd/issues{/number}","pulls_url":"https://api.github.com/repos/gocd/gocd/pulls{/number}","milestones_url":"https://api.github.com/repos/gocd/gocd/milestones{/number}","notifications_url":"https://api.github.com/repos/gocd/gocd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocd/gocd/labels{/name}","releases_url":"https://api.github.com/repos/gocd/gocd/releases{/id}","deployments_url":"https://api.github.com/repos/gocd/gocd/deployments","created_at":"2013-12-13T05:26:16Z","updated_at":"2016-12-11T09:34:45Z","pushed_at":"2016-12-12T05:46:08Z","git_url":"git://github.com/gocd/gocd.git","ssh_url":"git@github.com:gocd/gocd.git","clone_url":"https://github.com/gocd/gocd.git","svn_url":"https://github.com/gocd/gocd","homepage":"https://go.cd","size":316440,"stargazers_count":2781,"watchers_count":2781,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":517,"mirror_url":null,"open_issues_count":678,"forks":517,"open_issues":678,"watchers":2781,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gocd/gocd/pulls/2973"},"html":{"href":"https://github.com/gocd/gocd/pull/2973"},"issue":{"href":"https://api.github.com/repos/gocd/gocd/issues/2973"},"comments":{"href":"https://api.github.com/repos/gocd/gocd/issues/2973/comments"},"review_comments":{"href":"https://api.github.com/repos/gocd/gocd/pulls/2973/comments"},"review_comment":{"href":"https://api.github.com/repos/gocd/gocd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gocd/gocd/pulls/2973/commits"},"statuses":{"href":"https://api.github.com/repos/gocd/gocd/statuses/70e79048ab94b8a2b35a28b1521806b05d3de3b3"}}}}
{"actor":{"display_login":"ketan"}}