{"action":"created","comment":{"url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls/comments/24882153","id":24882153,"diff_hunk":"@@ -64,6 +64,14 @@ func (pool poolAPI) handlePut(callback func(resp Response)) {\n \t}\n }\n \n+func (pool poolAPI) handleGet(callback func(resp Response)) {\n+\tswitch pool.Params[\"action\"] {\n+\tcase ActionGet:\n+\t\tresp := pool.get()\n+\t\tcallback(resp)\n+\t}\n+}\n+\n func (pool poolAPI) create() (resp Response) {","path":"workspace/src/github.com/darkcrux/go-ceph-rest-api/handler_pool.go","position":37,"original_position":37,"commit_id":"80f55346c3b13d4fb4c50229bd475320279c2707","original_commit_id":"80f55346c3b13d4fb4c50229bd475320279c2707","user":{"login":"lvillasica","id":806532,"avatar_url":"https://avatars.githubusercontent.com/u/806532?v=3","gravatar_id":"","url":"https://api.github.com/users/lvillasica","html_url":"https://github.com/lvillasica","followers_url":"https://api.github.com/users/lvillasica/followers","following_url":"https://api.github.com/users/lvillasica/following{/other_user}","gists_url":"https://api.github.com/users/lvillasica/gists{/gist_id}","starred_url":"https://api.github.com/users/lvillasica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvillasica/subscriptions","organizations_url":"https://api.github.com/users/lvillasica/orgs","repos_url":"https://api.github.com/users/lvillasica/repos","events_url":"https://api.github.com/users/lvillasica/events{/privacy}","received_events_url":"https://api.github.com/users/lvillasica/received_events","type":"User","site_admin":false},"body":"Please rename all pool arg to request. It would be much better I think.","created_at":"2015-02-18T06:58:28Z","updated_at":"2015-02-18T06:58:28Z","html_url":"https://github.com/darkcrux/go-ceph-rest-api/pull/11#discussion_r24882153","pull_request_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls/comments/24882153"},"html":{"href":"https://github.com/darkcrux/go-ceph-rest-api/pull/11#discussion_r24882153"},"pull_request":{"href":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls/11","id":29504757,"html_url":"https://github.com/darkcrux/go-ceph-rest-api/pull/11","diff_url":"https://github.com/darkcrux/go-ceph-rest-api/pull/11.diff","patch_url":"https://github.com/darkcrux/go-ceph-rest-api/pull/11.patch","issue_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/issues/11","number":11,"state":"open","locked":false,"title":"[WIP] Endpoint: get pool parameter <var>","user":{"login":"stefanymarie","id":582535,"avatar_url":"https://avatars.githubusercontent.com/u/582535?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanymarie","html_url":"https://github.com/stefanymarie","followers_url":"https://api.github.com/users/stefanymarie/followers","following_url":"https://api.github.com/users/stefanymarie/following{/other_user}","gists_url":"https://api.github.com/users/stefanymarie/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanymarie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanymarie/subscriptions","organizations_url":"https://api.github.com/users/stefanymarie/orgs","repos_url":"https://api.github.com/users/stefanymarie/repos","events_url":"https://api.github.com/users/stefanymarie/events{/privacy}","received_events_url":"https://api.github.com/users/stefanymarie/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-18T06:49:39Z","updated_at":"2015-02-18T06:58:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0b0f3ff56ec42ac096393f10f25c571c7ac8979","assignee":{"login":"stefanymarie","id":582535,"avatar_url":"https://avatars.githubusercontent.com/u/582535?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanymarie","html_url":"https://github.com/stefanymarie","followers_url":"https://api.github.com/users/stefanymarie/followers","following_url":"https://api.github.com/users/stefanymarie/following{/other_user}","gists_url":"https://api.github.com/users/stefanymarie/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanymarie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanymarie/subscriptions","organizations_url":"https://api.github.com/users/stefanymarie/orgs","repos_url":"https://api.github.com/users/stefanymarie/repos","events_url":"https://api.github.com/users/stefanymarie/events{/privacy}","received_events_url":"https://api.github.com/users/stefanymarie/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls/11/commits","review_comments_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls/11/comments","review_comment_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls/comments/{number}","comments_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/issues/11/comments","statuses_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/statuses/80f55346c3b13d4fb4c50229bd475320279c2707","head":{"label":"stefanymarie:feature/get-pool","ref":"feature/get-pool","sha":"80f55346c3b13d4fb4c50229bd475320279c2707","user":{"login":"stefanymarie","id":582535,"avatar_url":"https://avatars.githubusercontent.com/u/582535?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanymarie","html_url":"https://github.com/stefanymarie","followers_url":"https://api.github.com/users/stefanymarie/followers","following_url":"https://api.github.com/users/stefanymarie/following{/other_user}","gists_url":"https://api.github.com/users/stefanymarie/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanymarie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanymarie/subscriptions","organizations_url":"https://api.github.com/users/stefanymarie/orgs","repos_url":"https://api.github.com/users/stefanymarie/repos","events_url":"https://api.github.com/users/stefanymarie/events{/privacy}","received_events_url":"https://api.github.com/users/stefanymarie/received_events","type":"User","site_admin":false},"repo":{"id":30856597,"name":"go-ceph-rest-api","full_name":"stefanymarie/go-ceph-rest-api","owner":{"login":"stefanymarie","id":582535,"avatar_url":"https://avatars.githubusercontent.com/u/582535?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanymarie","html_url":"https://github.com/stefanymarie","followers_url":"https://api.github.com/users/stefanymarie/followers","following_url":"https://api.github.com/users/stefanymarie/following{/other_user}","gists_url":"https://api.github.com/users/stefanymarie/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanymarie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanymarie/subscriptions","organizations_url":"https://api.github.com/users/stefanymarie/orgs","repos_url":"https://api.github.com/users/stefanymarie/repos","events_url":"https://api.github.com/users/stefanymarie/events{/privacy}","received_events_url":"https://api.github.com/users/stefanymarie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stefanymarie/go-ceph-rest-api","description":"Ceph Rest API in Go","fork":true,"url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api","forks_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/forks","keys_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/teams","hooks_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/hooks","issue_events_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/issues/events{/number}","events_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/events","assignees_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/assignees{/user}","branches_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/branches{/branch}","tags_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/tags","blobs_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/statuses/{sha}","languages_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/languages","stargazers_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/stargazers","contributors_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/contributors","subscribers_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/subscribers","subscription_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/subscription","commits_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/contents/{+path}","compare_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/merges","archive_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/downloads","issues_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/issues{/number}","pulls_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/pulls{/number}","milestones_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/milestones{/number}","notifications_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/labels{/name}","releases_url":"https://api.github.com/repos/stefanymarie/go-ceph-rest-api/releases{/id}","created_at":"2015-02-16T06:28:29Z","updated_at":"2015-02-16T06:28:30Z","pushed_at":"2015-02-18T06:49:11Z","git_url":"git://github.com/stefanymarie/go-ceph-rest-api.git","ssh_url":"git@github.com:stefanymarie/go-ceph-rest-api.git","clone_url":"https://github.com/stefanymarie/go-ceph-rest-api.git","svn_url":"https://github.com/stefanymarie/go-ceph-rest-api","homepage":null,"size":68,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"develop"}},"base":{"label":"darkcrux:develop","ref":"develop","sha":"e6be3dcf926f85089f4284c8f1671e009509e6da","user":{"login":"darkcrux","id":1343136,"avatar_url":"https://avatars.githubusercontent.com/u/1343136?v=3","gravatar_id":"","url":"https://api.github.com/users/darkcrux","html_url":"https://github.com/darkcrux","followers_url":"https://api.github.com/users/darkcrux/followers","following_url":"https://api.github.com/users/darkcrux/following{/other_user}","gists_url":"https://api.github.com/users/darkcrux/gists{/gist_id}","starred_url":"https://api.github.com/users/darkcrux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkcrux/subscriptions","organizations_url":"https://api.github.com/users/darkcrux/orgs","repos_url":"https://api.github.com/users/darkcrux/repos","events_url":"https://api.github.com/users/darkcrux/events{/privacy}","received_events_url":"https://api.github.com/users/darkcrux/received_events","type":"User","site_admin":false},"repo":{"id":30059849,"name":"go-ceph-rest-api","full_name":"darkcrux/go-ceph-rest-api","owner":{"login":"darkcrux","id":1343136,"avatar_url":"https://avatars.githubusercontent.com/u/1343136?v=3","gravatar_id":"","url":"https://api.github.com/users/darkcrux","html_url":"https://github.com/darkcrux","followers_url":"https://api.github.com/users/darkcrux/followers","following_url":"https://api.github.com/users/darkcrux/following{/other_user}","gists_url":"https://api.github.com/users/darkcrux/gists{/gist_id}","starred_url":"https://api.github.com/users/darkcrux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkcrux/subscriptions","organizations_url":"https://api.github.com/users/darkcrux/orgs","repos_url":"https://api.github.com/users/darkcrux/repos","events_url":"https://api.github.com/users/darkcrux/events{/privacy}","received_events_url":"https://api.github.com/users/darkcrux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/darkcrux/go-ceph-rest-api","description":"Ceph Rest API in Go","fork":false,"url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api","forks_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/forks","keys_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/teams","hooks_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/hooks","issue_events_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/issues/events{/number}","events_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/events","assignees_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/assignees{/user}","branches_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/branches{/branch}","tags_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/tags","blobs_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/statuses/{sha}","languages_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/languages","stargazers_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/stargazers","contributors_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/contributors","subscribers_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/subscribers","subscription_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/subscription","commits_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/contents/{+path}","compare_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/merges","archive_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/downloads","issues_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/issues{/number}","pulls_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls{/number}","milestones_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/milestones{/number}","notifications_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/labels{/name}","releases_url":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/releases{/id}","created_at":"2015-01-30T06:41:45Z","updated_at":"2015-02-18T06:09:50Z","pushed_at":"2015-02-18T06:09:49Z","git_url":"git://github.com/darkcrux/go-ceph-rest-api.git","ssh_url":"git@github.com:darkcrux/go-ceph-rest-api.git","clone_url":"https://github.com/darkcrux/go-ceph-rest-api.git","svn_url":"https://github.com/darkcrux/go-ceph-rest-api","homepage":null,"size":204,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls/11"},"html":{"href":"https://github.com/darkcrux/go-ceph-rest-api/pull/11"},"issue":{"href":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/issues/11"},"comments":{"href":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/darkcrux/go-ceph-rest-api/statuses/80f55346c3b13d4fb4c50229bd475320279c2707"}}}}