{"action":"closed","number":47,"pull_request":{"url":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/47","id":181993107,"html_url":"https://github.com/yosida95/golang-jenkins/pull/47","diff_url":"https://github.com/yosida95/golang-jenkins/pull/47.diff","patch_url":"https://github.com/yosida95/golang-jenkins/pull/47.patch","issue_url":"https://api.github.com/repos/yosida95/golang-jenkins/issues/47","number":47,"state":"closed","locked":false,"title":"Add CSRF Protection support","user":{"login":"ichekrygin","id":324803,"avatar_url":"https://avatars3.githubusercontent.com/u/324803?v=4","gravatar_id":"","url":"https://api.github.com/users/ichekrygin","html_url":"https://github.com/ichekrygin","followers_url":"https://api.github.com/users/ichekrygin/followers","following_url":"https://api.github.com/users/ichekrygin/following{/other_user}","gists_url":"https://api.github.com/users/ichekrygin/gists{/gist_id}","starred_url":"https://api.github.com/users/ichekrygin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichekrygin/subscriptions","organizations_url":"https://api.github.com/users/ichekrygin/orgs","repos_url":"https://api.github.com/users/ichekrygin/repos","events_url":"https://api.github.com/users/ichekrygin/events{/privacy}","received_events_url":"https://api.github.com/users/ichekrygin/received_events","type":"User","site_admin":false},"body":"### Overview\r\nAdd `CSRF Protection` support for [Remote Access API](https://wiki.jenkins.io/display/JENKINS/Remote+access+API#RemoteaccessAPI-CSRFProtection)\r\n\r\nFixes: #40 and Inspired by: #41 ","created_at":"2018-04-16T21:26:32Z","updated_at":"2018-05-05T09:34:26Z","closed_at":"2018-05-05T09:34:26Z","merged_at":"2018-05-05T09:34:26Z","merge_commit_sha":"c0efe425b43e8c0bfac6887fbd5a6e68bbefffce","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/47/commits","review_comments_url":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/47/comments","review_comment_url":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yosida95/golang-jenkins/issues/47/comments","statuses_url":"https://api.github.com/repos/yosida95/golang-jenkins/statuses/35a74b2dbaa2d246fbdb48ad1504c8e0247171be","head":{"label":"ichekrygin:csrf-support","ref":"csrf-support","sha":"35a74b2dbaa2d246fbdb48ad1504c8e0247171be","user":{"login":"ichekrygin","id":324803,"avatar_url":"https://avatars3.githubusercontent.com/u/324803?v=4","gravatar_id":"","url":"https://api.github.com/users/ichekrygin","html_url":"https://github.com/ichekrygin","followers_url":"https://api.github.com/users/ichekrygin/followers","following_url":"https://api.github.com/users/ichekrygin/following{/other_user}","gists_url":"https://api.github.com/users/ichekrygin/gists{/gist_id}","starred_url":"https://api.github.com/users/ichekrygin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichekrygin/subscriptions","organizations_url":"https://api.github.com/users/ichekrygin/orgs","repos_url":"https://api.github.com/users/ichekrygin/repos","events_url":"https://api.github.com/users/ichekrygin/events{/privacy}","received_events_url":"https://api.github.com/users/ichekrygin/received_events","type":"User","site_admin":false},"repo":{"id":129801672,"name":"golang-jenkins","full_name":"ichekrygin/golang-jenkins","owner":{"login":"ichekrygin","id":324803,"avatar_url":"https://avatars3.githubusercontent.com/u/324803?v=4","gravatar_id":"","url":"https://api.github.com/users/ichekrygin","html_url":"https://github.com/ichekrygin","followers_url":"https://api.github.com/users/ichekrygin/followers","following_url":"https://api.github.com/users/ichekrygin/following{/other_user}","gists_url":"https://api.github.com/users/ichekrygin/gists{/gist_id}","starred_url":"https://api.github.com/users/ichekrygin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichekrygin/subscriptions","organizations_url":"https://api.github.com/users/ichekrygin/orgs","repos_url":"https://api.github.com/users/ichekrygin/repos","events_url":"https://api.github.com/users/ichekrygin/events{/privacy}","received_events_url":"https://api.github.com/users/ichekrygin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ichekrygin/golang-jenkins","description":"API client of Jenkins API written in Go","fork":true,"url":"https://api.github.com/repos/ichekrygin/golang-jenkins","forks_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/forks","keys_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/teams","hooks_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/hooks","issue_events_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/events","assignees_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/tags","blobs_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/languages","stargazers_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/stargazers","contributors_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/contributors","subscribers_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/subscribers","subscription_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/subscription","commits_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/merges","archive_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/downloads","issues_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/labels{/name}","releases_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/releases{/id}","deployments_url":"https://api.github.com/repos/ichekrygin/golang-jenkins/deployments","created_at":"2018-04-16T20:30:19Z","updated_at":"2018-04-16T20:30:21Z","pushed_at":"2018-04-16T23:11:51Z","git_url":"git://github.com/ichekrygin/golang-jenkins.git","ssh_url":"git@github.com:ichekrygin/golang-jenkins.git","clone_url":"https://github.com/ichekrygin/golang-jenkins.git","svn_url":"https://github.com/ichekrygin/golang-jenkins","homepage":"http://godoc.org/github.com/yosida95/golang-jenkins","size":41,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yosida95:master","ref":"master","sha":"a3291b58511bea732f0dfde1ab0904791f1c9e11","user":{"login":"yosida95","id":767275,"avatar_url":"https://avatars0.githubusercontent.com/u/767275?v=4","gravatar_id":"","url":"https://api.github.com/users/yosida95","html_url":"https://github.com/yosida95","followers_url":"https://api.github.com/users/yosida95/followers","following_url":"https://api.github.com/users/yosida95/following{/other_user}","gists_url":"https://api.github.com/users/yosida95/gists{/gist_id}","starred_url":"https://api.github.com/users/yosida95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosida95/subscriptions","organizations_url":"https://api.github.com/users/yosida95/orgs","repos_url":"https://api.github.com/users/yosida95/repos","events_url":"https://api.github.com/users/yosida95/events{/privacy}","received_events_url":"https://api.github.com/users/yosida95/received_events","type":"User","site_admin":false},"repo":{"id":21792938,"name":"golang-jenkins","full_name":"yosida95/golang-jenkins","owner":{"login":"yosida95","id":767275,"avatar_url":"https://avatars0.githubusercontent.com/u/767275?v=4","gravatar_id":"","url":"https://api.github.com/users/yosida95","html_url":"https://github.com/yosida95","followers_url":"https://api.github.com/users/yosida95/followers","following_url":"https://api.github.com/users/yosida95/following{/other_user}","gists_url":"https://api.github.com/users/yosida95/gists{/gist_id}","starred_url":"https://api.github.com/users/yosida95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosida95/subscriptions","organizations_url":"https://api.github.com/users/yosida95/orgs","repos_url":"https://api.github.com/users/yosida95/repos","events_url":"https://api.github.com/users/yosida95/events{/privacy}","received_events_url":"https://api.github.com/users/yosida95/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yosida95/golang-jenkins","description":"API client of Jenkins API written in Go","fork":false,"url":"https://api.github.com/repos/yosida95/golang-jenkins","forks_url":"https://api.github.com/repos/yosida95/golang-jenkins/forks","keys_url":"https://api.github.com/repos/yosida95/golang-jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yosida95/golang-jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yosida95/golang-jenkins/teams","hooks_url":"https://api.github.com/repos/yosida95/golang-jenkins/hooks","issue_events_url":"https://api.github.com/repos/yosida95/golang-jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/yosida95/golang-jenkins/events","assignees_url":"https://api.github.com/repos/yosida95/golang-jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/yosida95/golang-jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/yosida95/golang-jenkins/tags","blobs_url":"https://api.github.com/repos/yosida95/golang-jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yosida95/golang-jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yosida95/golang-jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/yosida95/golang-jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yosida95/golang-jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/yosida95/golang-jenkins/languages","stargazers_url":"https://api.github.com/repos/yosida95/golang-jenkins/stargazers","contributors_url":"https://api.github.com/repos/yosida95/golang-jenkins/contributors","subscribers_url":"https://api.github.com/repos/yosida95/golang-jenkins/subscribers","subscription_url":"https://api.github.com/repos/yosida95/golang-jenkins/subscription","commits_url":"https://api.github.com/repos/yosida95/golang-jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/yosida95/golang-jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/yosida95/golang-jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/yosida95/golang-jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/yosida95/golang-jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/yosida95/golang-jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yosida95/golang-jenkins/merges","archive_url":"https://api.github.com/repos/yosida95/golang-jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yosida95/golang-jenkins/downloads","issues_url":"https://api.github.com/repos/yosida95/golang-jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/yosida95/golang-jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/yosida95/golang-jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/yosida95/golang-jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yosida95/golang-jenkins/labels{/name}","releases_url":"https://api.github.com/repos/yosida95/golang-jenkins/releases{/id}","deployments_url":"https://api.github.com/repos/yosida95/golang-jenkins/deployments","created_at":"2014-07-13T15:02:05Z","updated_at":"2018-04-10T13:20:00Z","pushed_at":"2018-05-05T09:34:26Z","git_url":"git://github.com/yosida95/golang-jenkins.git","ssh_url":"git@github.com:yosida95/golang-jenkins.git","clone_url":"https://github.com/yosida95/golang-jenkins.git","svn_url":"https://github.com/yosida95/golang-jenkins","homepage":"http://godoc.org/github.com/yosida95/golang-jenkins","size":39,"stargazers_count":71,"watchers_count":71,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":51,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":51,"open_issues":8,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/47"},"html":{"href":"https://github.com/yosida95/golang-jenkins/pull/47"},"issue":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/issues/47"},"comments":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/yosida95/golang-jenkins/statuses/35a74b2dbaa2d246fbdb48ad1504c8e0247171be"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"yosida95","id":767275,"avatar_url":"https://avatars0.githubusercontent.com/u/767275?v=4","gravatar_id":"","url":"https://api.github.com/users/yosida95","html_url":"https://github.com/yosida95","followers_url":"https://api.github.com/users/yosida95/followers","following_url":"https://api.github.com/users/yosida95/following{/other_user}","gists_url":"https://api.github.com/users/yosida95/gists{/gist_id}","starred_url":"https://api.github.com/users/yosida95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosida95/subscriptions","organizations_url":"https://api.github.com/users/yosida95/orgs","repos_url":"https://api.github.com/users/yosida95/repos","events_url":"https://api.github.com/users/yosida95/events{/privacy}","received_events_url":"https://api.github.com/users/yosida95/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":43,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"yosida95"}}