{"action":"created","issue":{"url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/781","repository_url":"https://api.github.com/repos/cerebris/jsonapi-resources","labels_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/781/labels{/name}","comments_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/781/comments","events_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/781/events","html_url":"https://github.com/cerebris/jsonapi-resources/pull/781","id":167759662,"number":781,"title":"Refactor ensure_valid_accept_media_type","user":{"login":"shunwen","id":485385,"avatar_url":"https://avatars.githubusercontent.com/u/485385?v=3","gravatar_id":"","url":"https://api.github.com/users/shunwen","html_url":"https://github.com/shunwen","followers_url":"https://api.github.com/users/shunwen/followers","following_url":"https://api.github.com/users/shunwen/following{/other_user}","gists_url":"https://api.github.com/users/shunwen/gists{/gist_id}","starred_url":"https://api.github.com/users/shunwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shunwen/subscriptions","organizations_url":"https://api.github.com/users/shunwen/orgs","repos_url":"https://api.github.com/users/shunwen/repos","events_url":"https://api.github.com/users/shunwen/events{/privacy}","received_events_url":"https://api.github.com/users/shunwen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-27T03:06:57Z","updated_at":"2016-07-27T11:32:45Z","closed_at":"2016-07-27T11:32:27Z","pull_request":{"url":"https://api.github.com/repos/cerebris/jsonapi-resources/pulls/781","html_url":"https://github.com/cerebris/jsonapi-resources/pull/781","diff_url":"https://github.com/cerebris/jsonapi-resources/pull/781.diff","patch_url":"https://github.com/cerebris/jsonapi-resources/pull/781.patch"},"body":"Replace `invalid_accept_media_type?` with `valid_accept_media_type?` method, which I think it's easier to understand which media types are valid. Only allow the following `Accept` types:\r\n\r\n1. Blank\r\n2. `ALL_MEDIA_TYPES # => '*/*'`\r\n3. `JSONAPI::MEDIA_TYPE # => 'application/vnd.api+json'`"},"comment":{"url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/comments/235559649","html_url":"https://github.com/cerebris/jsonapi-resources/pull/781#issuecomment-235559649","issue_url":"https://api.github.com/repos/cerebris/jsonapi-resources/issues/781","id":235559649,"user":{"login":"lgebhardt","id":29154,"avatar_url":"https://avatars.githubusercontent.com/u/29154?v=3","gravatar_id":"","url":"https://api.github.com/users/lgebhardt","html_url":"https://github.com/lgebhardt","followers_url":"https://api.github.com/users/lgebhardt/followers","following_url":"https://api.github.com/users/lgebhardt/following{/other_user}","gists_url":"https://api.github.com/users/lgebhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/lgebhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgebhardt/subscriptions","organizations_url":"https://api.github.com/users/lgebhardt/orgs","repos_url":"https://api.github.com/users/lgebhardt/repos","events_url":"https://api.github.com/users/lgebhardt/events{/privacy}","received_events_url":"https://api.github.com/users/lgebhardt/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T11:32:45Z","updated_at":"2016-07-27T11:32:45Z","body":"@shunwen Thanks!"}}
{"actor":{"display_login":"lgebhardt"}}