{"action":"closed","number":355,"pull_request":{"url":"https://api.github.com/repos/mailgun/documentation/pulls/355","id":228704476,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4NzA0NDc2","html_url":"https://github.com/mailgun/documentation/pull/355","diff_url":"https://github.com/mailgun/documentation/pull/355.diff","patch_url":"https://github.com/mailgun/documentation/pull/355.patch","issue_url":"https://api.github.com/repos/mailgun/documentation/issues/355","number":355,"state":"closed","locked":false,"title":"Remove mailgun-go NewMessage function public key parameter","user":{"login":"nikgibbens","id":13035844,"node_id":"MDQ6VXNlcjEzMDM1ODQ0","avatar_url":"https://avatars2.githubusercontent.com/u/13035844?v=4","gravatar_id":"","url":"https://api.github.com/users/nikgibbens","html_url":"https://github.com/nikgibbens","followers_url":"https://api.github.com/users/nikgibbens/followers","following_url":"https://api.github.com/users/nikgibbens/following{/other_user}","gists_url":"https://api.github.com/users/nikgibbens/gists{/gist_id}","starred_url":"https://api.github.com/users/nikgibbens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikgibbens/subscriptions","organizations_url":"https://api.github.com/users/nikgibbens/orgs","repos_url":"https://api.github.com/users/nikgibbens/repos","events_url":"https://api.github.com/users/nikgibbens/events{/privacy}","received_events_url":"https://api.github.com/users/nikgibbens/received_events","type":"User","site_admin":false},"body":"[Issue 72](https://github.com/mailgun/mailgun-go/issues/72)\r\n\r\nIt looks like you have changed the public interface going from V1 to V2 in that the NewMailgun function no longer takes a public API key parameter. I have updated the Go code examples that have not been updated to reflect this. I don't see a separation of documentation for V1 and V2 and the website appears to state we are on V1 and the endpoint shows V3.","created_at":"2018-11-06T14:10:37Z","updated_at":"2018-11-13T17:36:09Z","closed_at":"2018-11-13T17:36:09Z","merged_at":"2018-11-13T17:36:09Z","merge_commit_sha":"8850f3404af605795d63d458ad3297d5d5187322","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mailgun/documentation/pulls/355/commits","review_comments_url":"https://api.github.com/repos/mailgun/documentation/pulls/355/comments","review_comment_url":"https://api.github.com/repos/mailgun/documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mailgun/documentation/issues/355/comments","statuses_url":"https://api.github.com/repos/mailgun/documentation/statuses/1304813648665a5c86772e0b572ccfe255eb2509","head":{"label":"nikgibbens:master","ref":"master","sha":"1304813648665a5c86772e0b572ccfe255eb2509","user":{"login":"nikgibbens","id":13035844,"node_id":"MDQ6VXNlcjEzMDM1ODQ0","avatar_url":"https://avatars2.githubusercontent.com/u/13035844?v=4","gravatar_id":"","url":"https://api.github.com/users/nikgibbens","html_url":"https://github.com/nikgibbens","followers_url":"https://api.github.com/users/nikgibbens/followers","following_url":"https://api.github.com/users/nikgibbens/following{/other_user}","gists_url":"https://api.github.com/users/nikgibbens/gists{/gist_id}","starred_url":"https://api.github.com/users/nikgibbens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikgibbens/subscriptions","organizations_url":"https://api.github.com/users/nikgibbens/orgs","repos_url":"https://api.github.com/users/nikgibbens/repos","events_url":"https://api.github.com/users/nikgibbens/events{/privacy}","received_events_url":"https://api.github.com/users/nikgibbens/received_events","type":"User","site_admin":false},"repo":{"id":156278889,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYyNzg4ODk=","name":"documentation","full_name":"nikgibbens/documentation","private":false,"owner":{"login":"nikgibbens","id":13035844,"node_id":"MDQ6VXNlcjEzMDM1ODQ0","avatar_url":"https://avatars2.githubusercontent.com/u/13035844?v=4","gravatar_id":"","url":"https://api.github.com/users/nikgibbens","html_url":"https://github.com/nikgibbens","followers_url":"https://api.github.com/users/nikgibbens/followers","following_url":"https://api.github.com/users/nikgibbens/following{/other_user}","gists_url":"https://api.github.com/users/nikgibbens/gists{/gist_id}","starred_url":"https://api.github.com/users/nikgibbens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikgibbens/subscriptions","organizations_url":"https://api.github.com/users/nikgibbens/orgs","repos_url":"https://api.github.com/users/nikgibbens/repos","events_url":"https://api.github.com/users/nikgibbens/events{/privacy}","received_events_url":"https://api.github.com/users/nikgibbens/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nikgibbens/documentation","description":"Mailgun Documentation","fork":true,"url":"https://api.github.com/repos/nikgibbens/documentation","forks_url":"https://api.github.com/repos/nikgibbens/documentation/forks","keys_url":"https://api.github.com/repos/nikgibbens/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nikgibbens/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nikgibbens/documentation/teams","hooks_url":"https://api.github.com/repos/nikgibbens/documentation/hooks","issue_events_url":"https://api.github.com/repos/nikgibbens/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/nikgibbens/documentation/events","assignees_url":"https://api.github.com/repos/nikgibbens/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/nikgibbens/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/nikgibbens/documentation/tags","blobs_url":"https://api.github.com/repos/nikgibbens/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nikgibbens/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nikgibbens/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/nikgibbens/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nikgibbens/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/nikgibbens/documentation/languages","stargazers_url":"https://api.github.com/repos/nikgibbens/documentation/stargazers","contributors_url":"https://api.github.com/repos/nikgibbens/documentation/contributors","subscribers_url":"https://api.github.com/repos/nikgibbens/documentation/subscribers","subscription_url":"https://api.github.com/repos/nikgibbens/documentation/subscription","commits_url":"https://api.github.com/repos/nikgibbens/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/nikgibbens/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/nikgibbens/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/nikgibbens/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/nikgibbens/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/nikgibbens/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nikgibbens/documentation/merges","archive_url":"https://api.github.com/repos/nikgibbens/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nikgibbens/documentation/downloads","issues_url":"https://api.github.com/repos/nikgibbens/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/nikgibbens/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/nikgibbens/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/nikgibbens/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nikgibbens/documentation/labels{/name}","releases_url":"https://api.github.com/repos/nikgibbens/documentation/releases{/id}","deployments_url":"https://api.github.com/repos/nikgibbens/documentation/deployments","created_at":"2018-11-05T20:31:03Z","updated_at":"2018-11-06T14:07:37Z","pushed_at":"2018-11-06T14:07:35Z","git_url":"git://github.com/nikgibbens/documentation.git","ssh_url":"git@github.com:nikgibbens/documentation.git","clone_url":"https://github.com/nikgibbens/documentation.git","svn_url":"https://github.com/nikgibbens/documentation","homepage":"http://documentation.mailgun.com/","size":2743,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mailgun:master","ref":"master","sha":"6ad6d6364fab0e933e020fc1a193c510eee8cc60","user":{"login":"mailgun","id":447686,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NzY4Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/447686?v=4","gravatar_id":"","url":"https://api.github.com/users/mailgun","html_url":"https://github.com/mailgun","followers_url":"https://api.github.com/users/mailgun/followers","following_url":"https://api.github.com/users/mailgun/following{/other_user}","gists_url":"https://api.github.com/users/mailgun/gists{/gist_id}","starred_url":"https://api.github.com/users/mailgun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailgun/subscriptions","organizations_url":"https://api.github.com/users/mailgun/orgs","repos_url":"https://api.github.com/users/mailgun/repos","events_url":"https://api.github.com/users/mailgun/events{/privacy}","received_events_url":"https://api.github.com/users/mailgun/received_events","type":"Organization","site_admin":false},"repo":{"id":13225272,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIyNTI3Mg==","name":"documentation","full_name":"mailgun/documentation","private":false,"owner":{"login":"mailgun","id":447686,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NzY4Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/447686?v=4","gravatar_id":"","url":"https://api.github.com/users/mailgun","html_url":"https://github.com/mailgun","followers_url":"https://api.github.com/users/mailgun/followers","following_url":"https://api.github.com/users/mailgun/following{/other_user}","gists_url":"https://api.github.com/users/mailgun/gists{/gist_id}","starred_url":"https://api.github.com/users/mailgun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailgun/subscriptions","organizations_url":"https://api.github.com/users/mailgun/orgs","repos_url":"https://api.github.com/users/mailgun/repos","events_url":"https://api.github.com/users/mailgun/events{/privacy}","received_events_url":"https://api.github.com/users/mailgun/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mailgun/documentation","description":"Mailgun Documentation","fork":false,"url":"https://api.github.com/repos/mailgun/documentation","forks_url":"https://api.github.com/repos/mailgun/documentation/forks","keys_url":"https://api.github.com/repos/mailgun/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mailgun/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mailgun/documentation/teams","hooks_url":"https://api.github.com/repos/mailgun/documentation/hooks","issue_events_url":"https://api.github.com/repos/mailgun/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/mailgun/documentation/events","assignees_url":"https://api.github.com/repos/mailgun/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/mailgun/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/mailgun/documentation/tags","blobs_url":"https://api.github.com/repos/mailgun/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mailgun/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mailgun/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/mailgun/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mailgun/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/mailgun/documentation/languages","stargazers_url":"https://api.github.com/repos/mailgun/documentation/stargazers","contributors_url":"https://api.github.com/repos/mailgun/documentation/contributors","subscribers_url":"https://api.github.com/repos/mailgun/documentation/subscribers","subscription_url":"https://api.github.com/repos/mailgun/documentation/subscription","commits_url":"https://api.github.com/repos/mailgun/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/mailgun/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/mailgun/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/mailgun/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/mailgun/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/mailgun/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mailgun/documentation/merges","archive_url":"https://api.github.com/repos/mailgun/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mailgun/documentation/downloads","issues_url":"https://api.github.com/repos/mailgun/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/mailgun/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/mailgun/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/mailgun/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mailgun/documentation/labels{/name}","releases_url":"https://api.github.com/repos/mailgun/documentation/releases{/id}","deployments_url":"https://api.github.com/repos/mailgun/documentation/deployments","created_at":"2013-09-30T19:40:47Z","updated_at":"2018-11-06T14:13:55Z","pushed_at":"2018-11-13T17:36:09Z","git_url":"git://github.com/mailgun/documentation.git","ssh_url":"git@github.com:mailgun/documentation.git","clone_url":"https://github.com/mailgun/documentation.git","svn_url":"https://github.com/mailgun/documentation","homepage":"http://documentation.mailgun.com/","size":2737,"stargazers_count":58,"watchers_count":58,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":119,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":119,"open_issues":47,"watchers":58,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mailgun/documentation/pulls/355"},"html":{"href":"https://github.com/mailgun/documentation/pull/355"},"issue":{"href":"https://api.github.com/repos/mailgun/documentation/issues/355"},"comments":{"href":"https://api.github.com/repos/mailgun/documentation/issues/355/comments"},"review_comments":{"href":"https://api.github.com/repos/mailgun/documentation/pulls/355/comments"},"review_comment":{"href":"https://api.github.com/repos/mailgun/documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mailgun/documentation/pulls/355/commits"},"statuses":{"href":"https://api.github.com/repos/mailgun/documentation/statuses/1304813648665a5c86772e0b572ccfe255eb2509"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"thrawn01","id":9817,"node_id":"MDQ6VXNlcjk4MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/9817?v=4","gravatar_id":"","url":"https://api.github.com/users/thrawn01","html_url":"https://github.com/thrawn01","followers_url":"https://api.github.com/users/thrawn01/followers","following_url":"https://api.github.com/users/thrawn01/following{/other_user}","gists_url":"https://api.github.com/users/thrawn01/gists{/gist_id}","starred_url":"https://api.github.com/users/thrawn01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thrawn01/subscriptions","organizations_url":"https://api.github.com/users/thrawn01/orgs","repos_url":"https://api.github.com/users/thrawn01/repos","events_url":"https://api.github.com/users/thrawn01/events{/privacy}","received_events_url":"https://api.github.com/users/thrawn01/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":61,"deletions":61,"changed_files":51}}
{"actor":{"display_login":"thrawn01"}}