{"action":"created","comment":{"url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/comments/43377899","id":43377899,"diff_hunk":"@@ -81,14 +81,15 @@\n   # barclamps\n   get \"crowbar/:controller/1.0/help\", action: \"help\", as: \"help_barclamp\"\n   get \"crowbar/:controller/1.0/proposals/nodes\", action: \"nodes\", as: \"barclamp_nodes\"\n-  put \"crowbar/:controller/1.0/proposals\", action: \"proposal_create\", as: \"create_proposal_barclamp\"\n-  get \"crowbar/:controller/1.0/proposals\", action: \"proposals\", as: \"proposals_barclamp\"\n-  post \"crowbar/:controller/1.0/proposals/commit/:id\", action: \"proposal_commit\", as: \"commit_proposal_barclamp\"\n+  put \"crowbar/:controller/1.0/proposals(.:format)\", action: \"proposal_create\", as: \"create_proposal_barclamp\"\n+  get \"crowbar/:controller/1.0/proposals(.:format)\", action: \"proposals\", as: \"proposals_barclamp\"\n+  get \"crowbar/:controller/1.0/proposals/template(.:format)\", action: \"proposal_template\", as: \"template_proposal_barclamp\"\n+  post \"crowbar/:controller/1.0/proposals/commit/:id(.:format)\", action: \"proposal_commit\", as: \"commit_proposal_barclamp\"\n   get \"crowbar/:controller/1.0/proposals/status(/:id)(/:name)(.:format)\", action: \"proposal_status\", as: \"status_proposals_barclamp\"\n-  delete \"crowbar/:controller/1.0/proposals/:id\", action: \"proposal_delete\", as: \"delete_proposal_barclamp\"\n-  delete \"crowbar/:controller/1.0/proposals/dequeue/:id\", action: \"proposal_dequeue\", as: \"dequeue_barclamp\"\n-  post \"crowbar/:controller/1.0/proposals/:id\", action: \"proposal_update\", as: \"update_proposal_barclamp\"\n-  get \"crowbar/:controller/1.0/proposals/:id\", action: \"proposal_show\", as: \"proposal_barclamp\"\n+  delete \"crowbar/:controller/1.0/proposals/:id(.:format)\", action: \"proposal_delete\", as: \"delete_proposal_barclamp\"\n+  delete \"crowbar/:controller/1.0/proposals/dequeue/:id(.:format)\", action: \"proposal_dequeue\", as: \"dequeue_barclamp\"","path":"crowbar_framework/config/routes.rb","position":17,"original_position":17,"commit_id":"9c1de2ffd0c2cd15656b38d6f434c09aeb0e04e2","original_commit_id":"9c1de2ffd0c2cd15656b38d6f434c09aeb0e04e2","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Metrics/LineLength: Line is too long. [118/100] (https://github.com/bbatsov/ruby-style-guide#80-character-limits)","created_at":"2015-10-29T12:22:40Z","updated_at":"2015-10-29T12:22:40Z","html_url":"https://github.com/crowbar/crowbar-core/pull/104#discussion_r43377899","pull_request_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/104","_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/comments/43377899"},"html":{"href":"https://github.com/crowbar/crowbar-core/pull/104#discussion_r43377899"},"pull_request":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/104"}}},"pull_request":{"url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/104","id":48890311,"html_url":"https://github.com/crowbar/crowbar-core/pull/104","diff_url":"https://github.com/crowbar/crowbar-core/pull/104.diff","patch_url":"https://github.com/crowbar/crowbar-core/pull/104.patch","issue_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/104","number":104,"state":"open","locked":false,"title":"Refactoring of barclamps controller, better proposal responses","user":{"login":"tboerger","id":156964,"avatar_url":"https://avatars.githubusercontent.com/u/156964?v=3","gravatar_id":"","url":"https://api.github.com/users/tboerger","html_url":"https://github.com/tboerger","followers_url":"https://api.github.com/users/tboerger/followers","following_url":"https://api.github.com/users/tboerger/following{/other_user}","gists_url":"https://api.github.com/users/tboerger/gists{/gist_id}","starred_url":"https://api.github.com/users/tboerger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tboerger/subscriptions","organizations_url":"https://api.github.com/users/tboerger/orgs","repos_url":"https://api.github.com/users/tboerger/repos","events_url":"https://api.github.com/users/tboerger/events{/privacy}","received_events_url":"https://api.github.com/users/tboerger/received_events","type":"User","site_admin":false},"body":"Better responses for proper output within crowbar-client.\r\nRequired for https://github.com/crowbar/crowbar-client/pull/12","created_at":"2015-10-27T15:52:44Z","updated_at":"2015-10-29T12:22:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd56620b02ef7724c7eb031e0d3a8351e1102a9b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/104/commits","review_comments_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/104/comments","review_comment_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/104/comments","statuses_url":"https://api.github.com/repos/crowbar/crowbar-core/statuses/9c1de2ffd0c2cd15656b38d6f434c09aeb0e04e2","head":{"label":"tboerger:feature/proposal-response","ref":"feature/proposal-response","sha":"9c1de2ffd0c2cd15656b38d6f434c09aeb0e04e2","user":{"login":"tboerger","id":156964,"avatar_url":"https://avatars.githubusercontent.com/u/156964?v=3","gravatar_id":"","url":"https://api.github.com/users/tboerger","html_url":"https://github.com/tboerger","followers_url":"https://api.github.com/users/tboerger/followers","following_url":"https://api.github.com/users/tboerger/following{/other_user}","gists_url":"https://api.github.com/users/tboerger/gists{/gist_id}","starred_url":"https://api.github.com/users/tboerger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tboerger/subscriptions","organizations_url":"https://api.github.com/users/tboerger/orgs","repos_url":"https://api.github.com/users/tboerger/repos","events_url":"https://api.github.com/users/tboerger/events{/privacy}","received_events_url":"https://api.github.com/users/tboerger/received_events","type":"User","site_admin":false},"repo":{"id":40900216,"name":"crowbar-core","full_name":"tboerger/crowbar-core","owner":{"login":"tboerger","id":156964,"avatar_url":"https://avatars.githubusercontent.com/u/156964?v=3","gravatar_id":"","url":"https://api.github.com/users/tboerger","html_url":"https://github.com/tboerger","followers_url":"https://api.github.com/users/tboerger/followers","following_url":"https://api.github.com/users/tboerger/following{/other_user}","gists_url":"https://api.github.com/users/tboerger/gists{/gist_id}","starred_url":"https://api.github.com/users/tboerger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tboerger/subscriptions","organizations_url":"https://api.github.com/users/tboerger/orgs","repos_url":"https://api.github.com/users/tboerger/repos","events_url":"https://api.github.com/users/tboerger/events{/privacy}","received_events_url":"https://api.github.com/users/tboerger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tboerger/crowbar-core","description":"Core deployment for Crowbar","fork":true,"url":"https://api.github.com/repos/tboerger/crowbar-core","forks_url":"https://api.github.com/repos/tboerger/crowbar-core/forks","keys_url":"https://api.github.com/repos/tboerger/crowbar-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tboerger/crowbar-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tboerger/crowbar-core/teams","hooks_url":"https://api.github.com/repos/tboerger/crowbar-core/hooks","issue_events_url":"https://api.github.com/repos/tboerger/crowbar-core/issues/events{/number}","events_url":"https://api.github.com/repos/tboerger/crowbar-core/events","assignees_url":"https://api.github.com/repos/tboerger/crowbar-core/assignees{/user}","branches_url":"https://api.github.com/repos/tboerger/crowbar-core/branches{/branch}","tags_url":"https://api.github.com/repos/tboerger/crowbar-core/tags","blobs_url":"https://api.github.com/repos/tboerger/crowbar-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tboerger/crowbar-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tboerger/crowbar-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/tboerger/crowbar-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tboerger/crowbar-core/statuses/{sha}","languages_url":"https://api.github.com/repos/tboerger/crowbar-core/languages","stargazers_url":"https://api.github.com/repos/tboerger/crowbar-core/stargazers","contributors_url":"https://api.github.com/repos/tboerger/crowbar-core/contributors","subscribers_url":"https://api.github.com/repos/tboerger/crowbar-core/subscribers","subscription_url":"https://api.github.com/repos/tboerger/crowbar-core/subscription","commits_url":"https://api.github.com/repos/tboerger/crowbar-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/tboerger/crowbar-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/tboerger/crowbar-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/tboerger/crowbar-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/tboerger/crowbar-core/contents/{+path}","compare_url":"https://api.github.com/repos/tboerger/crowbar-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tboerger/crowbar-core/merges","archive_url":"https://api.github.com/repos/tboerger/crowbar-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tboerger/crowbar-core/downloads","issues_url":"https://api.github.com/repos/tboerger/crowbar-core/issues{/number}","pulls_url":"https://api.github.com/repos/tboerger/crowbar-core/pulls{/number}","milestones_url":"https://api.github.com/repos/tboerger/crowbar-core/milestones{/number}","notifications_url":"https://api.github.com/repos/tboerger/crowbar-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tboerger/crowbar-core/labels{/name}","releases_url":"https://api.github.com/repos/tboerger/crowbar-core/releases{/id}","created_at":"2015-08-17T14:12:34Z","updated_at":"2015-08-17T14:12:36Z","pushed_at":"2015-10-29T12:22:33Z","git_url":"git://github.com/tboerger/crowbar-core.git","ssh_url":"git@github.com:tboerger/crowbar-core.git","clone_url":"https://github.com/tboerger/crowbar-core.git","svn_url":"https://github.com/tboerger/crowbar-core","homepage":null,"size":103168,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"crowbar:master","ref":"master","sha":"16659aed07b318c330f2fdd064524bf9481c2eb9","user":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"repo":{"id":39003227,"name":"crowbar-core","full_name":"crowbar/crowbar-core","owner":{"login":"crowbar","id":2910205,"avatar_url":"https://avatars.githubusercontent.com/u/2910205?v=3","gravatar_id":"","url":"https://api.github.com/users/crowbar","html_url":"https://github.com/crowbar","followers_url":"https://api.github.com/users/crowbar/followers","following_url":"https://api.github.com/users/crowbar/following{/other_user}","gists_url":"https://api.github.com/users/crowbar/gists{/gist_id}","starred_url":"https://api.github.com/users/crowbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowbar/subscriptions","organizations_url":"https://api.github.com/users/crowbar/orgs","repos_url":"https://api.github.com/users/crowbar/repos","events_url":"https://api.github.com/users/crowbar/events{/privacy}","received_events_url":"https://api.github.com/users/crowbar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/crowbar/crowbar-core","description":"Core deployment for Crowbar","fork":false,"url":"https://api.github.com/repos/crowbar/crowbar-core","forks_url":"https://api.github.com/repos/crowbar/crowbar-core/forks","keys_url":"https://api.github.com/repos/crowbar/crowbar-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crowbar/crowbar-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crowbar/crowbar-core/teams","hooks_url":"https://api.github.com/repos/crowbar/crowbar-core/hooks","issue_events_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/events{/number}","events_url":"https://api.github.com/repos/crowbar/crowbar-core/events","assignees_url":"https://api.github.com/repos/crowbar/crowbar-core/assignees{/user}","branches_url":"https://api.github.com/repos/crowbar/crowbar-core/branches{/branch}","tags_url":"https://api.github.com/repos/crowbar/crowbar-core/tags","blobs_url":"https://api.github.com/repos/crowbar/crowbar-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crowbar/crowbar-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crowbar/crowbar-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/crowbar/crowbar-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crowbar/crowbar-core/statuses/{sha}","languages_url":"https://api.github.com/repos/crowbar/crowbar-core/languages","stargazers_url":"https://api.github.com/repos/crowbar/crowbar-core/stargazers","contributors_url":"https://api.github.com/repos/crowbar/crowbar-core/contributors","subscribers_url":"https://api.github.com/repos/crowbar/crowbar-core/subscribers","subscription_url":"https://api.github.com/repos/crowbar/crowbar-core/subscription","commits_url":"https://api.github.com/repos/crowbar/crowbar-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/crowbar/crowbar-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/crowbar/crowbar-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/crowbar/crowbar-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/crowbar/crowbar-core/contents/{+path}","compare_url":"https://api.github.com/repos/crowbar/crowbar-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crowbar/crowbar-core/merges","archive_url":"https://api.github.com/repos/crowbar/crowbar-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crowbar/crowbar-core/downloads","issues_url":"https://api.github.com/repos/crowbar/crowbar-core/issues{/number}","pulls_url":"https://api.github.com/repos/crowbar/crowbar-core/pulls{/number}","milestones_url":"https://api.github.com/repos/crowbar/crowbar-core/milestones{/number}","notifications_url":"https://api.github.com/repos/crowbar/crowbar-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crowbar/crowbar-core/labels{/name}","releases_url":"https://api.github.com/repos/crowbar/crowbar-core/releases{/id}","created_at":"2015-07-13T09:31:28Z","updated_at":"2015-10-25T22:11:24Z","pushed_at":"2015-10-29T12:22:33Z","git_url":"git://github.com/crowbar/crowbar-core.git","ssh_url":"git@github.com:crowbar/crowbar-core.git","clone_url":"https://github.com/crowbar/crowbar-core.git","svn_url":"https://github.com/crowbar/crowbar-core","homepage":null,"size":119772,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":20,"forks":21,"open_issues":20,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/104"},"html":{"href":"https://github.com/crowbar/crowbar-core/pull/104"},"issue":{"href":"https://api.github.com/repos/crowbar/crowbar-core/issues/104"},"comments":{"href":"https://api.github.com/repos/crowbar/crowbar-core/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/crowbar/crowbar-core/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/crowbar/crowbar-core/statuses/9c1de2ffd0c2cd15656b38d6f434c09aeb0e04e2"}}}}