{"action":"created","comment":{"url":"https://api.github.com/repos/gocd/api.go.cd/pulls/comments/47212487","id":47212487,"diff_hunk":"@@ -22,26 +28,23 @@ $ curl 'https://ci.example.com/go/api/admin/config/5059cf548db9ea2d1b9192b45529c\n </cruise>\n ```\n \n-Gets the configuration with the specified version.\n+Gets the current configuration file.\n \n <%= available_since('14.3.0') %>\n \n ### HTTP Request\n \n-`GET /go/api/admin/config/:commit_sha.xml`\n+`GET /go/api/admin/config/config.xml`\n \n **Other convenience APIs**\n \n-`GET /go/api/admin/config/config.xml`\n+`GET /go/api/admin/config/current.xml`\n \n     or\n \n-`GET /go/api/admin/config/current.xml`\n+`GET /go/api/admin/config/:md5.xml`","path":"source/includes/configuration/_02-get-historical-snapshot.md.erb","position":42,"original_position":42,"commit_id":"6f3a0f1a5b065a268aaa35cfa0857658b84aad16","original_commit_id":"6f3a0f1a5b065a268aaa35cfa0857658b84aad16","user":{"login":"arvindsv","id":172235,"avatar_url":"https://avatars.githubusercontent.com/u/172235?v=3","gravatar_id":"","url":"https://api.github.com/users/arvindsv","html_url":"https://github.com/arvindsv","followers_url":"https://api.github.com/users/arvindsv/followers","following_url":"https://api.github.com/users/arvindsv/following{/other_user}","gists_url":"https://api.github.com/users/arvindsv/gists{/gist_id}","starred_url":"https://api.github.com/users/arvindsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvindsv/subscriptions","organizations_url":"https://api.github.com/users/arvindsv/orgs","repos_url":"https://api.github.com/users/arvindsv/repos","events_url":"https://api.github.com/users/arvindsv/events{/privacy}","received_events_url":"https://api.github.com/users/arvindsv/received_events","type":"User","site_admin":false},"body":"Can have a note about the headers (mentioned earlier) here. I wonder how useful this one is, any way. Without an API method to list MD5 sums of all (or some) of the config repo commits.","created_at":"2015-12-10T10:55:14Z","updated_at":"2015-12-10T10:55:14Z","html_url":"https://github.com/gocd/api.go.cd/pull/57#discussion_r47212487","pull_request_url":"https://api.github.com/repos/gocd/api.go.cd/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/gocd/api.go.cd/pulls/comments/47212487"},"html":{"href":"https://github.com/gocd/api.go.cd/pull/57#discussion_r47212487"},"pull_request":{"href":"https://api.github.com/repos/gocd/api.go.cd/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/gocd/api.go.cd/pulls/57","id":53222701,"html_url":"https://github.com/gocd/api.go.cd/pull/57","diff_url":"https://github.com/gocd/api.go.cd/pull/57.diff","patch_url":"https://github.com/gocd/api.go.cd/pull/57.patch","issue_url":"https://api.github.com/repos/gocd/api.go.cd/issues/57","number":57,"state":"open","locked":false,"title":"Making retrieval of current configuration the default documentation","user":{"login":"zabil","id":54427,"avatar_url":"https://avatars.githubusercontent.com/u/54427?v=3","gravatar_id":"","url":"https://api.github.com/users/zabil","html_url":"https://github.com/zabil","followers_url":"https://api.github.com/users/zabil/followers","following_url":"https://api.github.com/users/zabil/following{/other_user}","gists_url":"https://api.github.com/users/zabil/gists{/gist_id}","starred_url":"https://api.github.com/users/zabil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zabil/subscriptions","organizations_url":"https://api.github.com/users/zabil/orgs","repos_url":"https://api.github.com/users/zabil/repos","events_url":"https://api.github.com/users/zabil/events{/privacy}","received_events_url":"https://api.github.com/users/zabil/received_events","type":"User","site_admin":false},"body":"And fixing confusion on md5 and commit sha\r\nRefer https://github.com/gocd/gocd/issues/1683\r\n","created_at":"2015-12-10T07:07:04Z","updated_at":"2015-12-10T10:55:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"314dc1d2380660c1a3de85130f63a653d3efd097","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gocd/api.go.cd/pulls/57/commits","review_comments_url":"https://api.github.com/repos/gocd/api.go.cd/pulls/57/comments","review_comment_url":"https://api.github.com/repos/gocd/api.go.cd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gocd/api.go.cd/issues/57/comments","statuses_url":"https://api.github.com/repos/gocd/api.go.cd/statuses/6f3a0f1a5b065a268aaa35cfa0857658b84aad16","head":{"label":"zabil:configxmldoc","ref":"configxmldoc","sha":"6f3a0f1a5b065a268aaa35cfa0857658b84aad16","user":{"login":"zabil","id":54427,"avatar_url":"https://avatars.githubusercontent.com/u/54427?v=3","gravatar_id":"","url":"https://api.github.com/users/zabil","html_url":"https://github.com/zabil","followers_url":"https://api.github.com/users/zabil/followers","following_url":"https://api.github.com/users/zabil/following{/other_user}","gists_url":"https://api.github.com/users/zabil/gists{/gist_id}","starred_url":"https://api.github.com/users/zabil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zabil/subscriptions","organizations_url":"https://api.github.com/users/zabil/orgs","repos_url":"https://api.github.com/users/zabil/repos","events_url":"https://api.github.com/users/zabil/events{/privacy}","received_events_url":"https://api.github.com/users/zabil/received_events","type":"User","site_admin":false},"repo":{"id":36728799,"name":"api-docs","full_name":"zabil/api-docs","owner":{"login":"zabil","id":54427,"avatar_url":"https://avatars.githubusercontent.com/u/54427?v=3","gravatar_id":"","url":"https://api.github.com/users/zabil","html_url":"https://github.com/zabil","followers_url":"https://api.github.com/users/zabil/followers","following_url":"https://api.github.com/users/zabil/following{/other_user}","gists_url":"https://api.github.com/users/zabil/gists{/gist_id}","starred_url":"https://api.github.com/users/zabil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zabil/subscriptions","organizations_url":"https://api.github.com/users/zabil/orgs","repos_url":"https://api.github.com/users/zabil/repos","events_url":"https://api.github.com/users/zabil/events{/privacy}","received_events_url":"https://api.github.com/users/zabil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zabil/api-docs","description":"Beautiful static documentation for your API","fork":true,"url":"https://api.github.com/repos/zabil/api-docs","forks_url":"https://api.github.com/repos/zabil/api-docs/forks","keys_url":"https://api.github.com/repos/zabil/api-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zabil/api-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zabil/api-docs/teams","hooks_url":"https://api.github.com/repos/zabil/api-docs/hooks","issue_events_url":"https://api.github.com/repos/zabil/api-docs/issues/events{/number}","events_url":"https://api.github.com/repos/zabil/api-docs/events","assignees_url":"https://api.github.com/repos/zabil/api-docs/assignees{/user}","branches_url":"https://api.github.com/repos/zabil/api-docs/branches{/branch}","tags_url":"https://api.github.com/repos/zabil/api-docs/tags","blobs_url":"https://api.github.com/repos/zabil/api-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zabil/api-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zabil/api-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/zabil/api-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zabil/api-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/zabil/api-docs/languages","stargazers_url":"https://api.github.com/repos/zabil/api-docs/stargazers","contributors_url":"https://api.github.com/repos/zabil/api-docs/contributors","subscribers_url":"https://api.github.com/repos/zabil/api-docs/subscribers","subscription_url":"https://api.github.com/repos/zabil/api-docs/subscription","commits_url":"https://api.github.com/repos/zabil/api-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/zabil/api-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/zabil/api-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/zabil/api-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/zabil/api-docs/contents/{+path}","compare_url":"https://api.github.com/repos/zabil/api-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zabil/api-docs/merges","archive_url":"https://api.github.com/repos/zabil/api-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zabil/api-docs/downloads","issues_url":"https://api.github.com/repos/zabil/api-docs/issues{/number}","pulls_url":"https://api.github.com/repos/zabil/api-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/zabil/api-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/zabil/api-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zabil/api-docs/labels{/name}","releases_url":"https://api.github.com/repos/zabil/api-docs/releases{/id}","created_at":"2015-06-02T11:34:06Z","updated_at":"2015-06-02T11:34:08Z","pushed_at":"2015-12-10T07:05:24Z","git_url":"git://github.com/zabil/api-docs.git","ssh_url":"git@github.com:zabil/api-docs.git","clone_url":"https://github.com/zabil/api-docs.git","svn_url":"https://github.com/zabil/api-docs","homepage":"","size":622,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"2f76d50e1dbf96fc6455bc1b4c14e1847aa1370a","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":36709806,"name":"api.go.cd","full_name":"gocd/api.go.cd","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/api.go.cd","description":"API Documentation for Go CD","fork":true,"url":"https://api.github.com/repos/gocd/api.go.cd","forks_url":"https://api.github.com/repos/gocd/api.go.cd/forks","keys_url":"https://api.github.com/repos/gocd/api.go.cd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocd/api.go.cd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocd/api.go.cd/teams","hooks_url":"https://api.github.com/repos/gocd/api.go.cd/hooks","issue_events_url":"https://api.github.com/repos/gocd/api.go.cd/issues/events{/number}","events_url":"https://api.github.com/repos/gocd/api.go.cd/events","assignees_url":"https://api.github.com/repos/gocd/api.go.cd/assignees{/user}","branches_url":"https://api.github.com/repos/gocd/api.go.cd/branches{/branch}","tags_url":"https://api.github.com/repos/gocd/api.go.cd/tags","blobs_url":"https://api.github.com/repos/gocd/api.go.cd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocd/api.go.cd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocd/api.go.cd/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocd/api.go.cd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocd/api.go.cd/statuses/{sha}","languages_url":"https://api.github.com/repos/gocd/api.go.cd/languages","stargazers_url":"https://api.github.com/repos/gocd/api.go.cd/stargazers","contributors_url":"https://api.github.com/repos/gocd/api.go.cd/contributors","subscribers_url":"https://api.github.com/repos/gocd/api.go.cd/subscribers","subscription_url":"https://api.github.com/repos/gocd/api.go.cd/subscription","commits_url":"https://api.github.com/repos/gocd/api.go.cd/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocd/api.go.cd/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocd/api.go.cd/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocd/api.go.cd/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocd/api.go.cd/contents/{+path}","compare_url":"https://api.github.com/repos/gocd/api.go.cd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocd/api.go.cd/merges","archive_url":"https://api.github.com/repos/gocd/api.go.cd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocd/api.go.cd/downloads","issues_url":"https://api.github.com/repos/gocd/api.go.cd/issues{/number}","pulls_url":"https://api.github.com/repos/gocd/api.go.cd/pulls{/number}","milestones_url":"https://api.github.com/repos/gocd/api.go.cd/milestones{/number}","notifications_url":"https://api.github.com/repos/gocd/api.go.cd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocd/api.go.cd/labels{/name}","releases_url":"https://api.github.com/repos/gocd/api.go.cd/releases{/id}","created_at":"2015-06-02T05:21:35Z","updated_at":"2015-11-19T16:16:05Z","pushed_at":"2015-12-10T07:07:04Z","git_url":"git://github.com/gocd/api.go.cd.git","ssh_url":"git@github.com:gocd/api.go.cd.git","clone_url":"https://github.com/gocd/api.go.cd.git","svn_url":"https://github.com/gocd/api.go.cd","homepage":"http://api.go.cd","size":817,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":4,"forks":11,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gocd/api.go.cd/pulls/57"},"html":{"href":"https://github.com/gocd/api.go.cd/pull/57"},"issue":{"href":"https://api.github.com/repos/gocd/api.go.cd/issues/57"},"comments":{"href":"https://api.github.com/repos/gocd/api.go.cd/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/gocd/api.go.cd/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/gocd/api.go.cd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gocd/api.go.cd/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/gocd/api.go.cd/statuses/6f3a0f1a5b065a268aaa35cfa0857658b84aad16"}}}}