{"action":"created","comment":{"url":"https://api.github.com/repos/gambol99/go-marathon/pulls/comments/68231075","id":68231075,"diff_hunk":"@@ -84,6 +103,35 @@ func (r *marathonClient) Group(name string) (*Group, error) {\n \treturn group, nil\n }\n \n+// Groups retrieves a list of all the groups from marathon by embed options\n+//\t\topts:\t\tGetGroupOpts request payload\n+func (r *marathonClient) GroupsBy(opts *GetGroupOpts) (*Groups, error) {\n+\tu, err := addOptions(marathonAPIGroups, opts)\n+\tif err != nil {\n+\t\treturn nil, err\n+\t}\n+\tgroups := new(Groups)\n+\tif err := r.apiGet(u, \"\", groups); err != nil {\n+\t\treturn nil, err\n+\t}\n+\treturn groups, nil\n+}\n+\n+// Group retrieves the configuration of a specific group from marathon","path":"group.go","position":44,"original_position":44,"commit_id":"e48cc4b0b6a5a7981fb10ebc4e22672f943d9d84","original_commit_id":"e48cc4b0b6a5a7981fb10ebc4e22672f943d9d84","user":{"login":"timoreimann","id":694826,"avatar_url":"https://avatars.githubusercontent.com/u/694826?v=3","gravatar_id":"","url":"https://api.github.com/users/timoreimann","html_url":"https://github.com/timoreimann","followers_url":"https://api.github.com/users/timoreimann/followers","following_url":"https://api.github.com/users/timoreimann/following{/other_user}","gists_url":"https://api.github.com/users/timoreimann/gists{/gist_id}","starred_url":"https://api.github.com/users/timoreimann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timoreimann/subscriptions","organizations_url":"https://api.github.com/users/timoreimann/orgs","repos_url":"https://api.github.com/users/timoreimann/repos","events_url":"https://api.github.com/users/timoreimann/events{/privacy}","received_events_url":"https://api.github.com/users/timoreimann/received_events","type":"User","site_admin":false},"body":"Should say `GroupBy`.","created_at":"2016-06-23T13:12:14Z","updated_at":"2016-06-23T13:12:14Z","html_url":"https://github.com/gambol99/go-marathon/pull/168#discussion_r68231075","pull_request_url":"https://api.github.com/repos/gambol99/go-marathon/pulls/168","_links":{"self":{"href":"https://api.github.com/repos/gambol99/go-marathon/pulls/comments/68231075"},"html":{"href":"https://github.com/gambol99/go-marathon/pull/168#discussion_r68231075"},"pull_request":{"href":"https://api.github.com/repos/gambol99/go-marathon/pulls/168"}}},"pull_request":{"url":"https://api.github.com/repos/gambol99/go-marathon/pulls/168","id":73892382,"html_url":"https://github.com/gambol99/go-marathon/pull/168","diff_url":"https://github.com/gambol99/go-marathon/pull/168.diff","patch_url":"https://github.com/gambol99/go-marathon/pull/168.patch","issue_url":"https://api.github.com/repos/gambol99/go-marathon/issues/168","number":168,"state":"open","locked":false,"title":"For Issue-167, add opts to functions like Application.","user":{"login":"xinxian0458","id":3668401,"avatar_url":"https://avatars.githubusercontent.com/u/3668401?v=3","gravatar_id":"","url":"https://api.github.com/users/xinxian0458","html_url":"https://github.com/xinxian0458","followers_url":"https://api.github.com/users/xinxian0458/followers","following_url":"https://api.github.com/users/xinxian0458/following{/other_user}","gists_url":"https://api.github.com/users/xinxian0458/gists{/gist_id}","starred_url":"https://api.github.com/users/xinxian0458/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinxian0458/subscriptions","organizations_url":"https://api.github.com/users/xinxian0458/orgs","repos_url":"https://api.github.com/users/xinxian0458/repos","events_url":"https://api.github.com/users/xinxian0458/events{/privacy}","received_events_url":"https://api.github.com/users/xinxian0458/received_events","type":"User","site_admin":false},"body":"I will complete test, example and document if you think the code is ok.","created_at":"2016-06-15T11:07:11Z","updated_at":"2016-06-23T13:12:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59eb21253b7c6f427a4efccd71a274041a56d96e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gambol99/go-marathon/pulls/168/commits","review_comments_url":"https://api.github.com/repos/gambol99/go-marathon/pulls/168/comments","review_comment_url":"https://api.github.com/repos/gambol99/go-marathon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gambol99/go-marathon/issues/168/comments","statuses_url":"https://api.github.com/repos/gambol99/go-marathon/statuses/e48cc4b0b6a5a7981fb10ebc4e22672f943d9d84","head":{"label":"xinxian0458:issue-167","ref":"issue-167","sha":"e48cc4b0b6a5a7981fb10ebc4e22672f943d9d84","user":{"login":"xinxian0458","id":3668401,"avatar_url":"https://avatars.githubusercontent.com/u/3668401?v=3","gravatar_id":"","url":"https://api.github.com/users/xinxian0458","html_url":"https://github.com/xinxian0458","followers_url":"https://api.github.com/users/xinxian0458/followers","following_url":"https://api.github.com/users/xinxian0458/following{/other_user}","gists_url":"https://api.github.com/users/xinxian0458/gists{/gist_id}","starred_url":"https://api.github.com/users/xinxian0458/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinxian0458/subscriptions","organizations_url":"https://api.github.com/users/xinxian0458/orgs","repos_url":"https://api.github.com/users/xinxian0458/repos","events_url":"https://api.github.com/users/xinxian0458/events{/privacy}","received_events_url":"https://api.github.com/users/xinxian0458/received_events","type":"User","site_admin":false},"repo":{"id":59988564,"name":"go-marathon","full_name":"xinxian0458/go-marathon","owner":{"login":"xinxian0458","id":3668401,"avatar_url":"https://avatars.githubusercontent.com/u/3668401?v=3","gravatar_id":"","url":"https://api.github.com/users/xinxian0458","html_url":"https://github.com/xinxian0458","followers_url":"https://api.github.com/users/xinxian0458/followers","following_url":"https://api.github.com/users/xinxian0458/following{/other_user}","gists_url":"https://api.github.com/users/xinxian0458/gists{/gist_id}","starred_url":"https://api.github.com/users/xinxian0458/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinxian0458/subscriptions","organizations_url":"https://api.github.com/users/xinxian0458/orgs","repos_url":"https://api.github.com/users/xinxian0458/repos","events_url":"https://api.github.com/users/xinxian0458/events{/privacy}","received_events_url":"https://api.github.com/users/xinxian0458/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xinxian0458/go-marathon","description":"A GO API library for working with Marathon","fork":true,"url":"https://api.github.com/repos/xinxian0458/go-marathon","forks_url":"https://api.github.com/repos/xinxian0458/go-marathon/forks","keys_url":"https://api.github.com/repos/xinxian0458/go-marathon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xinxian0458/go-marathon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xinxian0458/go-marathon/teams","hooks_url":"https://api.github.com/repos/xinxian0458/go-marathon/hooks","issue_events_url":"https://api.github.com/repos/xinxian0458/go-marathon/issues/events{/number}","events_url":"https://api.github.com/repos/xinxian0458/go-marathon/events","assignees_url":"https://api.github.com/repos/xinxian0458/go-marathon/assignees{/user}","branches_url":"https://api.github.com/repos/xinxian0458/go-marathon/branches{/branch}","tags_url":"https://api.github.com/repos/xinxian0458/go-marathon/tags","blobs_url":"https://api.github.com/repos/xinxian0458/go-marathon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xinxian0458/go-marathon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xinxian0458/go-marathon/git/refs{/sha}","trees_url":"https://api.github.com/repos/xinxian0458/go-marathon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xinxian0458/go-marathon/statuses/{sha}","languages_url":"https://api.github.com/repos/xinxian0458/go-marathon/languages","stargazers_url":"https://api.github.com/repos/xinxian0458/go-marathon/stargazers","contributors_url":"https://api.github.com/repos/xinxian0458/go-marathon/contributors","subscribers_url":"https://api.github.com/repos/xinxian0458/go-marathon/subscribers","subscription_url":"https://api.github.com/repos/xinxian0458/go-marathon/subscription","commits_url":"https://api.github.com/repos/xinxian0458/go-marathon/commits{/sha}","git_commits_url":"https://api.github.com/repos/xinxian0458/go-marathon/git/commits{/sha}","comments_url":"https://api.github.com/repos/xinxian0458/go-marathon/comments{/number}","issue_comment_url":"https://api.github.com/repos/xinxian0458/go-marathon/issues/comments{/number}","contents_url":"https://api.github.com/repos/xinxian0458/go-marathon/contents/{+path}","compare_url":"https://api.github.com/repos/xinxian0458/go-marathon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xinxian0458/go-marathon/merges","archive_url":"https://api.github.com/repos/xinxian0458/go-marathon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xinxian0458/go-marathon/downloads","issues_url":"https://api.github.com/repos/xinxian0458/go-marathon/issues{/number}","pulls_url":"https://api.github.com/repos/xinxian0458/go-marathon/pulls{/number}","milestones_url":"https://api.github.com/repos/xinxian0458/go-marathon/milestones{/number}","notifications_url":"https://api.github.com/repos/xinxian0458/go-marathon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xinxian0458/go-marathon/labels{/name}","releases_url":"https://api.github.com/repos/xinxian0458/go-marathon/releases{/id}","deployments_url":"https://api.github.com/repos/xinxian0458/go-marathon/deployments","created_at":"2016-05-30T07:13:08Z","updated_at":"2016-05-30T07:13:08Z","pushed_at":"2016-06-23T12:51:06Z","git_url":"git://github.com/xinxian0458/go-marathon.git","ssh_url":"git@github.com:xinxian0458/go-marathon.git","clone_url":"https://github.com/xinxian0458/go-marathon.git","svn_url":"https://github.com/xinxian0458/go-marathon","homepage":"","size":475,"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":"master"}},"base":{"label":"gambol99:master","ref":"master","sha":"a558128c87724cd7430060ef5aedf39f83937f55","user":{"login":"gambol99","id":4280679,"avatar_url":"https://avatars.githubusercontent.com/u/4280679?v=3","gravatar_id":"","url":"https://api.github.com/users/gambol99","html_url":"https://github.com/gambol99","followers_url":"https://api.github.com/users/gambol99/followers","following_url":"https://api.github.com/users/gambol99/following{/other_user}","gists_url":"https://api.github.com/users/gambol99/gists{/gist_id}","starred_url":"https://api.github.com/users/gambol99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gambol99/subscriptions","organizations_url":"https://api.github.com/users/gambol99/orgs","repos_url":"https://api.github.com/users/gambol99/repos","events_url":"https://api.github.com/users/gambol99/events{/privacy}","received_events_url":"https://api.github.com/users/gambol99/received_events","type":"User","site_admin":false},"repo":{"id":30648714,"name":"go-marathon","full_name":"gambol99/go-marathon","owner":{"login":"gambol99","id":4280679,"avatar_url":"https://avatars.githubusercontent.com/u/4280679?v=3","gravatar_id":"","url":"https://api.github.com/users/gambol99","html_url":"https://github.com/gambol99","followers_url":"https://api.github.com/users/gambol99/followers","following_url":"https://api.github.com/users/gambol99/following{/other_user}","gists_url":"https://api.github.com/users/gambol99/gists{/gist_id}","starred_url":"https://api.github.com/users/gambol99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gambol99/subscriptions","organizations_url":"https://api.github.com/users/gambol99/orgs","repos_url":"https://api.github.com/users/gambol99/repos","events_url":"https://api.github.com/users/gambol99/events{/privacy}","received_events_url":"https://api.github.com/users/gambol99/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gambol99/go-marathon","description":"A GO API library for working with Marathon","fork":false,"url":"https://api.github.com/repos/gambol99/go-marathon","forks_url":"https://api.github.com/repos/gambol99/go-marathon/forks","keys_url":"https://api.github.com/repos/gambol99/go-marathon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gambol99/go-marathon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gambol99/go-marathon/teams","hooks_url":"https://api.github.com/repos/gambol99/go-marathon/hooks","issue_events_url":"https://api.github.com/repos/gambol99/go-marathon/issues/events{/number}","events_url":"https://api.github.com/repos/gambol99/go-marathon/events","assignees_url":"https://api.github.com/repos/gambol99/go-marathon/assignees{/user}","branches_url":"https://api.github.com/repos/gambol99/go-marathon/branches{/branch}","tags_url":"https://api.github.com/repos/gambol99/go-marathon/tags","blobs_url":"https://api.github.com/repos/gambol99/go-marathon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gambol99/go-marathon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gambol99/go-marathon/git/refs{/sha}","trees_url":"https://api.github.com/repos/gambol99/go-marathon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gambol99/go-marathon/statuses/{sha}","languages_url":"https://api.github.com/repos/gambol99/go-marathon/languages","stargazers_url":"https://api.github.com/repos/gambol99/go-marathon/stargazers","contributors_url":"https://api.github.com/repos/gambol99/go-marathon/contributors","subscribers_url":"https://api.github.com/repos/gambol99/go-marathon/subscribers","subscription_url":"https://api.github.com/repos/gambol99/go-marathon/subscription","commits_url":"https://api.github.com/repos/gambol99/go-marathon/commits{/sha}","git_commits_url":"https://api.github.com/repos/gambol99/go-marathon/git/commits{/sha}","comments_url":"https://api.github.com/repos/gambol99/go-marathon/comments{/number}","issue_comment_url":"https://api.github.com/repos/gambol99/go-marathon/issues/comments{/number}","contents_url":"https://api.github.com/repos/gambol99/go-marathon/contents/{+path}","compare_url":"https://api.github.com/repos/gambol99/go-marathon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gambol99/go-marathon/merges","archive_url":"https://api.github.com/repos/gambol99/go-marathon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gambol99/go-marathon/downloads","issues_url":"https://api.github.com/repos/gambol99/go-marathon/issues{/number}","pulls_url":"https://api.github.com/repos/gambol99/go-marathon/pulls{/number}","milestones_url":"https://api.github.com/repos/gambol99/go-marathon/milestones{/number}","notifications_url":"https://api.github.com/repos/gambol99/go-marathon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gambol99/go-marathon/labels{/name}","releases_url":"https://api.github.com/repos/gambol99/go-marathon/releases{/id}","deployments_url":"https://api.github.com/repos/gambol99/go-marathon/deployments","created_at":"2015-02-11T13:25:26Z","updated_at":"2016-06-22T16:05:32Z","pushed_at":"2016-06-23T12:51:07Z","git_url":"git://github.com/gambol99/go-marathon.git","ssh_url":"git@github.com:gambol99/go-marathon.git","clone_url":"https://github.com/gambol99/go-marathon.git","svn_url":"https://github.com/gambol99/go-marathon","homepage":"","size":606,"stargazers_count":88,"watchers_count":88,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":9,"forks":52,"open_issues":9,"watchers":88,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gambol99/go-marathon/pulls/168"},"html":{"href":"https://github.com/gambol99/go-marathon/pull/168"},"issue":{"href":"https://api.github.com/repos/gambol99/go-marathon/issues/168"},"comments":{"href":"https://api.github.com/repos/gambol99/go-marathon/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/gambol99/go-marathon/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/gambol99/go-marathon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gambol99/go-marathon/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/gambol99/go-marathon/statuses/e48cc4b0b6a5a7981fb10ebc4e22672f943d9d84"}}}}
{"actor":{"display_login":"timoreimann"}}