{"action":"created","comment":{"url":"https://api.github.com/repos/google/go-github/pulls/comments/67304221","id":67304221,"diff_hunk":"@@ -44,3 +44,45 @@ func (s *IssuesService) IsAssignee(owner string, repo string, user string) (bool\n \tassignee, err := parseBoolResponse(err)\n \treturn assignee, resp, err\n }\n+\n+// AddAssignees adds the provided GitHub users as assignees to the issue.\n+//\n+// GitHub API docs: https://developer.github.com/v3/issues/assignees/#add-assignees-to-an-issue\n+func (s *IssuesService) AddAssignees(owner, repo string, number int, assignees []string) (*Issue, *Response, error) {","path":"github/issues_assignees.go","position":26,"original_position":26,"commit_id":"b9c4c3393aa75c60951c83490f71118b452c5d2b","original_commit_id":"b9c4c3393aa75c60951c83490f71118b452c5d2b","user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"body":"I wanted to check if we already have a precedent on API style for endpoints that take a string slice as a last parameter, whether to do `, assignees []string)` here or `, assignees ...string)`.\r\n\r\nI've confirmed we do, and this is consistent with the style used there.\r\n\r\nhttps://godoc.org/github.com/google/go-github/github#UsersService.AddEmails\r\nhttps://godoc.org/github.com/google/go-github/github#UsersService.DeleteEmails\r\nhttps://godoc.org/github.com/google/go-github/github#IssuesService.AddLabelsToIssue\r\nhttps://godoc.org/github.com/google/go-github/github#IssuesService.ReplaceLabelsForIssue","created_at":"2016-06-16T08:18:34Z","updated_at":"2016-06-16T08:18:34Z","html_url":"https://github.com/google/go-github/pull/368#discussion_r67304221","pull_request_url":"https://api.github.com/repos/google/go-github/pulls/368","_links":{"self":{"href":"https://api.github.com/repos/google/go-github/pulls/comments/67304221"},"html":{"href":"https://github.com/google/go-github/pull/368#discussion_r67304221"},"pull_request":{"href":"https://api.github.com/repos/google/go-github/pulls/368"}}},"pull_request":{"url":"https://api.github.com/repos/google/go-github/pulls/368","id":73977349,"html_url":"https://github.com/google/go-github/pull/368","diff_url":"https://github.com/google/go-github/pull/368.diff","patch_url":"https://github.com/google/go-github/pull/368.patch","issue_url":"https://api.github.com/repos/google/go-github/issues/368","number":368,"state":"open","locked":false,"title":"add support for multiple issue assignees","user":{"login":"gmlewis","id":6598971,"avatar_url":"https://avatars.githubusercontent.com/u/6598971?v=3","gravatar_id":"","url":"https://api.github.com/users/gmlewis","html_url":"https://github.com/gmlewis","followers_url":"https://api.github.com/users/gmlewis/followers","following_url":"https://api.github.com/users/gmlewis/following{/other_user}","gists_url":"https://api.github.com/users/gmlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/gmlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmlewis/subscriptions","organizations_url":"https://api.github.com/users/gmlewis/orgs","repos_url":"https://api.github.com/users/gmlewis/repos","events_url":"https://api.github.com/users/gmlewis/events{/privacy}","received_events_url":"https://api.github.com/users/gmlewis/received_events","type":"User","site_admin":false},"body":"Fixes #362.\r\n\r\nChange-Id: I39d142b4ef54bf514140a56b5fcbbcfa784f0c7f","created_at":"2016-06-15T20:21:58Z","updated_at":"2016-06-16T08:18:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"53fa8b25f6c4d8ff3a7ccb4ad10567f38f7cb590","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/go-github/pulls/368/commits","review_comments_url":"https://api.github.com/repos/google/go-github/pulls/368/comments","review_comment_url":"https://api.github.com/repos/google/go-github/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/go-github/issues/368/comments","statuses_url":"https://api.github.com/repos/google/go-github/statuses/b9c4c3393aa75c60951c83490f71118b452c5d2b","head":{"label":"gmlewis:i-362-mult-assignees","ref":"i-362-mult-assignees","sha":"b9c4c3393aa75c60951c83490f71118b452c5d2b","user":{"login":"gmlewis","id":6598971,"avatar_url":"https://avatars.githubusercontent.com/u/6598971?v=3","gravatar_id":"","url":"https://api.github.com/users/gmlewis","html_url":"https://github.com/gmlewis","followers_url":"https://api.github.com/users/gmlewis/followers","following_url":"https://api.github.com/users/gmlewis/following{/other_user}","gists_url":"https://api.github.com/users/gmlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/gmlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmlewis/subscriptions","organizations_url":"https://api.github.com/users/gmlewis/orgs","repos_url":"https://api.github.com/users/gmlewis/repos","events_url":"https://api.github.com/users/gmlewis/events{/privacy}","received_events_url":"https://api.github.com/users/gmlewis/received_events","type":"User","site_admin":false},"repo":{"id":51617950,"name":"go-github","full_name":"gmlewis/go-github","owner":{"login":"gmlewis","id":6598971,"avatar_url":"https://avatars.githubusercontent.com/u/6598971?v=3","gravatar_id":"","url":"https://api.github.com/users/gmlewis","html_url":"https://github.com/gmlewis","followers_url":"https://api.github.com/users/gmlewis/followers","following_url":"https://api.github.com/users/gmlewis/following{/other_user}","gists_url":"https://api.github.com/users/gmlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/gmlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmlewis/subscriptions","organizations_url":"https://api.github.com/users/gmlewis/orgs","repos_url":"https://api.github.com/users/gmlewis/repos","events_url":"https://api.github.com/users/gmlewis/events{/privacy}","received_events_url":"https://api.github.com/users/gmlewis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gmlewis/go-github","description":"Go library for accessing the GitHub API","fork":true,"url":"https://api.github.com/repos/gmlewis/go-github","forks_url":"https://api.github.com/repos/gmlewis/go-github/forks","keys_url":"https://api.github.com/repos/gmlewis/go-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gmlewis/go-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gmlewis/go-github/teams","hooks_url":"https://api.github.com/repos/gmlewis/go-github/hooks","issue_events_url":"https://api.github.com/repos/gmlewis/go-github/issues/events{/number}","events_url":"https://api.github.com/repos/gmlewis/go-github/events","assignees_url":"https://api.github.com/repos/gmlewis/go-github/assignees{/user}","branches_url":"https://api.github.com/repos/gmlewis/go-github/branches{/branch}","tags_url":"https://api.github.com/repos/gmlewis/go-github/tags","blobs_url":"https://api.github.com/repos/gmlewis/go-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gmlewis/go-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gmlewis/go-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/gmlewis/go-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gmlewis/go-github/statuses/{sha}","languages_url":"https://api.github.com/repos/gmlewis/go-github/languages","stargazers_url":"https://api.github.com/repos/gmlewis/go-github/stargazers","contributors_url":"https://api.github.com/repos/gmlewis/go-github/contributors","subscribers_url":"https://api.github.com/repos/gmlewis/go-github/subscribers","subscription_url":"https://api.github.com/repos/gmlewis/go-github/subscription","commits_url":"https://api.github.com/repos/gmlewis/go-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/gmlewis/go-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/gmlewis/go-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/gmlewis/go-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/gmlewis/go-github/contents/{+path}","compare_url":"https://api.github.com/repos/gmlewis/go-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gmlewis/go-github/merges","archive_url":"https://api.github.com/repos/gmlewis/go-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gmlewis/go-github/downloads","issues_url":"https://api.github.com/repos/gmlewis/go-github/issues{/number}","pulls_url":"https://api.github.com/repos/gmlewis/go-github/pulls{/number}","milestones_url":"https://api.github.com/repos/gmlewis/go-github/milestones{/number}","notifications_url":"https://api.github.com/repos/gmlewis/go-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gmlewis/go-github/labels{/name}","releases_url":"https://api.github.com/repos/gmlewis/go-github/releases{/id}","deployments_url":"https://api.github.com/repos/gmlewis/go-github/deployments","created_at":"2016-02-12T21:34:43Z","updated_at":"2016-02-12T21:34:44Z","pushed_at":"2016-06-15T21:10:25Z","git_url":"git://github.com/gmlewis/go-github.git","ssh_url":"git@github.com:gmlewis/go-github.git","clone_url":"https://github.com/gmlewis/go-github.git","svn_url":"https://github.com/gmlewis/go-github","homepage":"http://godoc.org/github.com/google/go-github/github","size":986,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"google:master","ref":"master","sha":"a8b8751f9d056ab7f60ab6d9caba15db9d701b09","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":10270722,"name":"go-github","full_name":"google/go-github","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/go-github","description":"Go library for accessing the GitHub API","fork":false,"url":"https://api.github.com/repos/google/go-github","forks_url":"https://api.github.com/repos/google/go-github/forks","keys_url":"https://api.github.com/repos/google/go-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/go-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/go-github/teams","hooks_url":"https://api.github.com/repos/google/go-github/hooks","issue_events_url":"https://api.github.com/repos/google/go-github/issues/events{/number}","events_url":"https://api.github.com/repos/google/go-github/events","assignees_url":"https://api.github.com/repos/google/go-github/assignees{/user}","branches_url":"https://api.github.com/repos/google/go-github/branches{/branch}","tags_url":"https://api.github.com/repos/google/go-github/tags","blobs_url":"https://api.github.com/repos/google/go-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/go-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/go-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/go-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/go-github/statuses/{sha}","languages_url":"https://api.github.com/repos/google/go-github/languages","stargazers_url":"https://api.github.com/repos/google/go-github/stargazers","contributors_url":"https://api.github.com/repos/google/go-github/contributors","subscribers_url":"https://api.github.com/repos/google/go-github/subscribers","subscription_url":"https://api.github.com/repos/google/go-github/subscription","commits_url":"https://api.github.com/repos/google/go-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/go-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/go-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/go-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/go-github/contents/{+path}","compare_url":"https://api.github.com/repos/google/go-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/go-github/merges","archive_url":"https://api.github.com/repos/google/go-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/go-github/downloads","issues_url":"https://api.github.com/repos/google/go-github/issues{/number}","pulls_url":"https://api.github.com/repos/google/go-github/pulls{/number}","milestones_url":"https://api.github.com/repos/google/go-github/milestones{/number}","notifications_url":"https://api.github.com/repos/google/go-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/go-github/labels{/name}","releases_url":"https://api.github.com/repos/google/go-github/releases{/id}","deployments_url":"https://api.github.com/repos/google/go-github/deployments","created_at":"2013-05-24T16:42:58Z","updated_at":"2016-06-16T06:27:28Z","pushed_at":"2016-06-16T03:14:00Z","git_url":"git://github.com/google/go-github.git","ssh_url":"git@github.com:google/go-github.git","clone_url":"https://github.com/google/go-github.git","svn_url":"https://github.com/google/go-github","homepage":"http://godoc.org/github.com/google/go-github/github","size":1511,"stargazers_count":1737,"watchers_count":1737,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":375,"mirror_url":null,"open_issues_count":32,"forks":375,"open_issues":32,"watchers":1737,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/go-github/pulls/368"},"html":{"href":"https://github.com/google/go-github/pull/368"},"issue":{"href":"https://api.github.com/repos/google/go-github/issues/368"},"comments":{"href":"https://api.github.com/repos/google/go-github/issues/368/comments"},"review_comments":{"href":"https://api.github.com/repos/google/go-github/pulls/368/comments"},"review_comment":{"href":"https://api.github.com/repos/google/go-github/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/go-github/pulls/368/commits"},"statuses":{"href":"https://api.github.com/repos/google/go-github/statuses/b9c4c3393aa75c60951c83490f71118b452c5d2b"}}}}
{"actor":{"display_login":"shurcooL"}}