{"action":"created","comment":{"url":"https://api.github.com/repos/runtastic/request_handler/pulls/comments/193384683","pull_request_review_id":126343332,"id":193384683,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzM4NDY4Mw==","diff_hunk":"@@ -22,6 +23,10 @@ def run\n \n     private\n \n+    def jsonapi?\n+      request.env['Content-Type'] == 'application/vnd.api+json'","path":"lib/request_handler/body_parser.rb","position":15,"original_position":15,"commit_id":"bcef94e20e82921e229885bf316a80a1c67fd31a","original_commit_id":"bcef94e20e82921e229885bf316a80a1c67fd31a","user":{"login":"sarahdiendorfer","id":25844053,"node_id":"MDQ6VXNlcjI1ODQ0MDUz","avatar_url":"https://avatars0.githubusercontent.com/u/25844053?v=4","gravatar_id":"","url":"https://api.github.com/users/sarahdiendorfer","html_url":"https://github.com/sarahdiendorfer","followers_url":"https://api.github.com/users/sarahdiendorfer/followers","following_url":"https://api.github.com/users/sarahdiendorfer/following{/other_user}","gists_url":"https://api.github.com/users/sarahdiendorfer/gists{/gist_id}","starred_url":"https://api.github.com/users/sarahdiendorfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarahdiendorfer/subscriptions","organizations_url":"https://api.github.com/users/sarahdiendorfer/orgs","repos_url":"https://api.github.com/users/sarahdiendorfer/repos","events_url":"https://api.github.com/users/sarahdiendorfer/events{/privacy}","received_events_url":"https://api.github.com/users/sarahdiendorfer/received_events","type":"User","site_admin":false},"body":"Please take a look at the new commit.\r\nThe type \"jsonapi\" or \"json\" will now be passed in the handler configuration. ","created_at":"2018-06-06T12:02:01Z","updated_at":"2018-06-06T12:02:01Z","html_url":"https://github.com/runtastic/request_handler/pull/31#discussion_r193384683","pull_request_url":"https://api.github.com/repos/runtastic/request_handler/pulls/31","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/runtastic/request_handler/pulls/comments/193384683"},"html":{"href":"https://github.com/runtastic/request_handler/pull/31#discussion_r193384683"},"pull_request":{"href":"https://api.github.com/repos/runtastic/request_handler/pulls/31"}},"in_reply_to_id":193316474},"pull_request":{"url":"https://api.github.com/repos/runtastic/request_handler/pulls/31","id":192633398,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNjMzMzk4","html_url":"https://github.com/runtastic/request_handler/pull/31","diff_url":"https://github.com/runtastic/request_handler/pull/31.diff","patch_url":"https://github.com/runtastic/request_handler/pull/31.patch","issue_url":"https://api.github.com/repos/runtastic/request_handler/issues/31","number":31,"state":"open","locked":false,"title":"added plan json body parser","user":{"login":"sarahdiendorfer","id":25844053,"node_id":"MDQ6VXNlcjI1ODQ0MDUz","avatar_url":"https://avatars0.githubusercontent.com/u/25844053?v=4","gravatar_id":"","url":"https://api.github.com/users/sarahdiendorfer","html_url":"https://github.com/sarahdiendorfer","followers_url":"https://api.github.com/users/sarahdiendorfer/followers","following_url":"https://api.github.com/users/sarahdiendorfer/following{/other_user}","gists_url":"https://api.github.com/users/sarahdiendorfer/gists{/gist_id}","starred_url":"https://api.github.com/users/sarahdiendorfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarahdiendorfer/subscriptions","organizations_url":"https://api.github.com/users/sarahdiendorfer/orgs","repos_url":"https://api.github.com/users/sarahdiendorfer/repos","events_url":"https://api.github.com/users/sarahdiendorfer/events{/privacy}","received_events_url":"https://api.github.com/users/sarahdiendorfer/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-05T08:52:45Z","updated_at":"2018-06-06T12:02:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e198c177b517a8a3aa6c5d8a41e6d918f6e3913","assignee":{"login":"andreaseger","id":172702,"node_id":"MDQ6VXNlcjE3MjcwMg==","avatar_url":"https://avatars3.githubusercontent.com/u/172702?v=4","gravatar_id":"","url":"https://api.github.com/users/andreaseger","html_url":"https://github.com/andreaseger","followers_url":"https://api.github.com/users/andreaseger/followers","following_url":"https://api.github.com/users/andreaseger/following{/other_user}","gists_url":"https://api.github.com/users/andreaseger/gists{/gist_id}","starred_url":"https://api.github.com/users/andreaseger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreaseger/subscriptions","organizations_url":"https://api.github.com/users/andreaseger/orgs","repos_url":"https://api.github.com/users/andreaseger/repos","events_url":"https://api.github.com/users/andreaseger/events{/privacy}","received_events_url":"https://api.github.com/users/andreaseger/received_events","type":"User","site_admin":false},"assignees":[{"login":"andreaseger","id":172702,"node_id":"MDQ6VXNlcjE3MjcwMg==","avatar_url":"https://avatars3.githubusercontent.com/u/172702?v=4","gravatar_id":"","url":"https://api.github.com/users/andreaseger","html_url":"https://github.com/andreaseger","followers_url":"https://api.github.com/users/andreaseger/followers","following_url":"https://api.github.com/users/andreaseger/following{/other_user}","gists_url":"https://api.github.com/users/andreaseger/gists{/gist_id}","starred_url":"https://api.github.com/users/andreaseger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreaseger/subscriptions","organizations_url":"https://api.github.com/users/andreaseger/orgs","repos_url":"https://api.github.com/users/andreaseger/repos","events_url":"https://api.github.com/users/andreaseger/events{/privacy}","received_events_url":"https://api.github.com/users/andreaseger/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/runtastic/request_handler/pulls/31/commits","review_comments_url":"https://api.github.com/repos/runtastic/request_handler/pulls/31/comments","review_comment_url":"https://api.github.com/repos/runtastic/request_handler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/runtastic/request_handler/issues/31/comments","statuses_url":"https://api.github.com/repos/runtastic/request_handler/statuses/bcef94e20e82921e229885bf316a80a1c67fd31a","head":{"label":"runtastic:add-sidecar-parser","ref":"add-sidecar-parser","sha":"bcef94e20e82921e229885bf316a80a1c67fd31a","user":{"login":"runtastic","id":4550599,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1NTA1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4550599?v=4","gravatar_id":"","url":"https://api.github.com/users/runtastic","html_url":"https://github.com/runtastic","followers_url":"https://api.github.com/users/runtastic/followers","following_url":"https://api.github.com/users/runtastic/following{/other_user}","gists_url":"https://api.github.com/users/runtastic/gists{/gist_id}","starred_url":"https://api.github.com/users/runtastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtastic/subscriptions","organizations_url":"https://api.github.com/users/runtastic/orgs","repos_url":"https://api.github.com/users/runtastic/repos","events_url":"https://api.github.com/users/runtastic/events{/privacy}","received_events_url":"https://api.github.com/users/runtastic/received_events","type":"Organization","site_admin":false},"repo":{"id":78537205,"node_id":"MDEwOlJlcG9zaXRvcnk3ODUzNzIwNQ==","name":"request_handler","full_name":"runtastic/request_handler","owner":{"login":"runtastic","id":4550599,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1NTA1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4550599?v=4","gravatar_id":"","url":"https://api.github.com/users/runtastic","html_url":"https://github.com/runtastic","followers_url":"https://api.github.com/users/runtastic/followers","following_url":"https://api.github.com/users/runtastic/following{/other_user}","gists_url":"https://api.github.com/users/runtastic/gists{/gist_id}","starred_url":"https://api.github.com/users/runtastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtastic/subscriptions","organizations_url":"https://api.github.com/users/runtastic/orgs","repos_url":"https://api.github.com/users/runtastic/repos","events_url":"https://api.github.com/users/runtastic/events{/privacy}","received_events_url":"https://api.github.com/users/runtastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/runtastic/request_handler","description":"easy to use shared base for jsonapi request handler using dry-* gems","fork":false,"url":"https://api.github.com/repos/runtastic/request_handler","forks_url":"https://api.github.com/repos/runtastic/request_handler/forks","keys_url":"https://api.github.com/repos/runtastic/request_handler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runtastic/request_handler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runtastic/request_handler/teams","hooks_url":"https://api.github.com/repos/runtastic/request_handler/hooks","issue_events_url":"https://api.github.com/repos/runtastic/request_handler/issues/events{/number}","events_url":"https://api.github.com/repos/runtastic/request_handler/events","assignees_url":"https://api.github.com/repos/runtastic/request_handler/assignees{/user}","branches_url":"https://api.github.com/repos/runtastic/request_handler/branches{/branch}","tags_url":"https://api.github.com/repos/runtastic/request_handler/tags","blobs_url":"https://api.github.com/repos/runtastic/request_handler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runtastic/request_handler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runtastic/request_handler/git/refs{/sha}","trees_url":"https://api.github.com/repos/runtastic/request_handler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runtastic/request_handler/statuses/{sha}","languages_url":"https://api.github.com/repos/runtastic/request_handler/languages","stargazers_url":"https://api.github.com/repos/runtastic/request_handler/stargazers","contributors_url":"https://api.github.com/repos/runtastic/request_handler/contributors","subscribers_url":"https://api.github.com/repos/runtastic/request_handler/subscribers","subscription_url":"https://api.github.com/repos/runtastic/request_handler/subscription","commits_url":"https://api.github.com/repos/runtastic/request_handler/commits{/sha}","git_commits_url":"https://api.github.com/repos/runtastic/request_handler/git/commits{/sha}","comments_url":"https://api.github.com/repos/runtastic/request_handler/comments{/number}","issue_comment_url":"https://api.github.com/repos/runtastic/request_handler/issues/comments{/number}","contents_url":"https://api.github.com/repos/runtastic/request_handler/contents/{+path}","compare_url":"https://api.github.com/repos/runtastic/request_handler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runtastic/request_handler/merges","archive_url":"https://api.github.com/repos/runtastic/request_handler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runtastic/request_handler/downloads","issues_url":"https://api.github.com/repos/runtastic/request_handler/issues{/number}","pulls_url":"https://api.github.com/repos/runtastic/request_handler/pulls{/number}","milestones_url":"https://api.github.com/repos/runtastic/request_handler/milestones{/number}","notifications_url":"https://api.github.com/repos/runtastic/request_handler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runtastic/request_handler/labels{/name}","releases_url":"https://api.github.com/repos/runtastic/request_handler/releases{/id}","deployments_url":"https://api.github.com/repos/runtastic/request_handler/deployments","created_at":"2017-01-10T13:44:15Z","updated_at":"2018-04-27T08:25:01Z","pushed_at":"2018-06-06T07:07:46Z","git_url":"git://github.com/runtastic/request_handler.git","ssh_url":"git@github.com:runtastic/request_handler.git","clone_url":"https://github.com/runtastic/request_handler.git","svn_url":"https://github.com/runtastic/request_handler","homepage":"","size":211,"stargazers_count":15,"watchers_count":15,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":7,"watchers":15,"default_branch":"master"}},"base":{"label":"runtastic:master","ref":"master","sha":"d62ac8d9d6ece346b109e74d749a019a9258fe85","user":{"login":"runtastic","id":4550599,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1NTA1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4550599?v=4","gravatar_id":"","url":"https://api.github.com/users/runtastic","html_url":"https://github.com/runtastic","followers_url":"https://api.github.com/users/runtastic/followers","following_url":"https://api.github.com/users/runtastic/following{/other_user}","gists_url":"https://api.github.com/users/runtastic/gists{/gist_id}","starred_url":"https://api.github.com/users/runtastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtastic/subscriptions","organizations_url":"https://api.github.com/users/runtastic/orgs","repos_url":"https://api.github.com/users/runtastic/repos","events_url":"https://api.github.com/users/runtastic/events{/privacy}","received_events_url":"https://api.github.com/users/runtastic/received_events","type":"Organization","site_admin":false},"repo":{"id":78537205,"node_id":"MDEwOlJlcG9zaXRvcnk3ODUzNzIwNQ==","name":"request_handler","full_name":"runtastic/request_handler","owner":{"login":"runtastic","id":4550599,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1NTA1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/4550599?v=4","gravatar_id":"","url":"https://api.github.com/users/runtastic","html_url":"https://github.com/runtastic","followers_url":"https://api.github.com/users/runtastic/followers","following_url":"https://api.github.com/users/runtastic/following{/other_user}","gists_url":"https://api.github.com/users/runtastic/gists{/gist_id}","starred_url":"https://api.github.com/users/runtastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runtastic/subscriptions","organizations_url":"https://api.github.com/users/runtastic/orgs","repos_url":"https://api.github.com/users/runtastic/repos","events_url":"https://api.github.com/users/runtastic/events{/privacy}","received_events_url":"https://api.github.com/users/runtastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/runtastic/request_handler","description":"easy to use shared base for jsonapi request handler using dry-* gems","fork":false,"url":"https://api.github.com/repos/runtastic/request_handler","forks_url":"https://api.github.com/repos/runtastic/request_handler/forks","keys_url":"https://api.github.com/repos/runtastic/request_handler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/runtastic/request_handler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/runtastic/request_handler/teams","hooks_url":"https://api.github.com/repos/runtastic/request_handler/hooks","issue_events_url":"https://api.github.com/repos/runtastic/request_handler/issues/events{/number}","events_url":"https://api.github.com/repos/runtastic/request_handler/events","assignees_url":"https://api.github.com/repos/runtastic/request_handler/assignees{/user}","branches_url":"https://api.github.com/repos/runtastic/request_handler/branches{/branch}","tags_url":"https://api.github.com/repos/runtastic/request_handler/tags","blobs_url":"https://api.github.com/repos/runtastic/request_handler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/runtastic/request_handler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/runtastic/request_handler/git/refs{/sha}","trees_url":"https://api.github.com/repos/runtastic/request_handler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/runtastic/request_handler/statuses/{sha}","languages_url":"https://api.github.com/repos/runtastic/request_handler/languages","stargazers_url":"https://api.github.com/repos/runtastic/request_handler/stargazers","contributors_url":"https://api.github.com/repos/runtastic/request_handler/contributors","subscribers_url":"https://api.github.com/repos/runtastic/request_handler/subscribers","subscription_url":"https://api.github.com/repos/runtastic/request_handler/subscription","commits_url":"https://api.github.com/repos/runtastic/request_handler/commits{/sha}","git_commits_url":"https://api.github.com/repos/runtastic/request_handler/git/commits{/sha}","comments_url":"https://api.github.com/repos/runtastic/request_handler/comments{/number}","issue_comment_url":"https://api.github.com/repos/runtastic/request_handler/issues/comments{/number}","contents_url":"https://api.github.com/repos/runtastic/request_handler/contents/{+path}","compare_url":"https://api.github.com/repos/runtastic/request_handler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/runtastic/request_handler/merges","archive_url":"https://api.github.com/repos/runtastic/request_handler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/runtastic/request_handler/downloads","issues_url":"https://api.github.com/repos/runtastic/request_handler/issues{/number}","pulls_url":"https://api.github.com/repos/runtastic/request_handler/pulls{/number}","milestones_url":"https://api.github.com/repos/runtastic/request_handler/milestones{/number}","notifications_url":"https://api.github.com/repos/runtastic/request_handler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/runtastic/request_handler/labels{/name}","releases_url":"https://api.github.com/repos/runtastic/request_handler/releases{/id}","deployments_url":"https://api.github.com/repos/runtastic/request_handler/deployments","created_at":"2017-01-10T13:44:15Z","updated_at":"2018-04-27T08:25:01Z","pushed_at":"2018-06-06T07:07:46Z","git_url":"git://github.com/runtastic/request_handler.git","ssh_url":"git@github.com:runtastic/request_handler.git","clone_url":"https://github.com/runtastic/request_handler.git","svn_url":"https://github.com/runtastic/request_handler","homepage":"","size":211,"stargazers_count":15,"watchers_count":15,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":7,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/runtastic/request_handler/pulls/31"},"html":{"href":"https://github.com/runtastic/request_handler/pull/31"},"issue":{"href":"https://api.github.com/repos/runtastic/request_handler/issues/31"},"comments":{"href":"https://api.github.com/repos/runtastic/request_handler/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/runtastic/request_handler/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/runtastic/request_handler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/runtastic/request_handler/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/runtastic/request_handler/statuses/bcef94e20e82921e229885bf316a80a1c67fd31a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sarahdiendorfer"}}