{"action":"created","issue":{"url":"https://api.github.com/repos/octokit/octokit.rb/issues/664","labels_url":"https://api.github.com/repos/octokit/octokit.rb/issues/664/labels{/name}","comments_url":"https://api.github.com/repos/octokit/octokit.rb/issues/664/comments","events_url":"https://api.github.com/repos/octokit/octokit.rb/issues/664/events","html_url":"https://github.com/octokit/octokit.rb/pull/664","id":117281157,"number":664,"title":"Implement branch protection methods","user":{"login":"tarebyte","id":564113,"avatar_url":"https://avatars.githubusercontent.com/u/564113?v=3","gravatar_id":"","url":"https://api.github.com/users/tarebyte","html_url":"https://github.com/tarebyte","followers_url":"https://api.github.com/users/tarebyte/followers","following_url":"https://api.github.com/users/tarebyte/following{/other_user}","gists_url":"https://api.github.com/users/tarebyte/gists{/gist_id}","starred_url":"https://api.github.com/users/tarebyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarebyte/subscriptions","organizations_url":"https://api.github.com/users/tarebyte/orgs","repos_url":"https://api.github.com/users/tarebyte/repos","events_url":"https://api.github.com/users/tarebyte/events{/privacy}","received_events_url":"https://api.github.com/users/tarebyte/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-17T04:41:45Z","updated_at":"2015-11-17T13:41:12Z","closed_at":"2015-11-17T12:01:30Z","pull_request":{"url":"https://api.github.com/repos/octokit/octokit.rb/pulls/664","html_url":"https://github.com/octokit/octokit.rb/pull/664","diff_url":"https://github.com/octokit/octokit.rb/pull/664.diff","patch_url":"https://github.com/octokit/octokit.rb/pull/664.patch"},"body":"From @pengwynn's comment in #662 I implemented the `protect_branch` and `unprotect_branch` methods for the [new protected-branches api](https://developer.github.com/changes/2015-11-11-protected-branches-api/)\r\n\r\nFeedback would be very much welcome :smile_cat: "},"comment":{"url":"https://api.github.com/repos/octokit/octokit.rb/issues/comments/157373047","html_url":"https://github.com/octokit/octokit.rb/pull/664#issuecomment-157373047","issue_url":"https://api.github.com/repos/octokit/octokit.rb/issues/664","id":157373047,"user":{"login":"tarebyte","id":564113,"avatar_url":"https://avatars.githubusercontent.com/u/564113?v=3","gravatar_id":"","url":"https://api.github.com/users/tarebyte","html_url":"https://github.com/tarebyte","followers_url":"https://api.github.com/users/tarebyte/followers","following_url":"https://api.github.com/users/tarebyte/following{/other_user}","gists_url":"https://api.github.com/users/tarebyte/gists{/gist_id}","starred_url":"https://api.github.com/users/tarebyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarebyte/subscriptions","organizations_url":"https://api.github.com/users/tarebyte/orgs","repos_url":"https://api.github.com/users/tarebyte/repos","events_url":"https://api.github.com/users/tarebyte/events{/privacy}","received_events_url":"https://api.github.com/users/tarebyte/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T13:41:12Z","updated_at":"2015-11-17T13:41:12Z","body":":sparkles:"}}