{"action":"closed","number":15,"pull_request":{"url":"https://api.github.com/repos/openstax/openstax_api/pulls/15","id":29660581,"html_url":"https://github.com/openstax/openstax_api/pull/15","diff_url":"https://github.com/openstax/openstax_api/pull/15.diff","patch_url":"https://github.com/openstax/openstax_api/pull/15.patch","issue_url":"https://api.github.com/repos/openstax/openstax_api/issues/15","number":15,"state":"closed","locked":false,"title":"Request spec HTTP helpers, fixed vnd accept header, rails 4.2 friendly","user":{"login":"jpslav","id":1001691,"avatar_url":"https://avatars.githubusercontent.com/u/1001691?v=3","gravatar_id":"","url":"https://api.github.com/users/jpslav","html_url":"https://github.com/jpslav","followers_url":"https://api.github.com/users/jpslav/followers","following_url":"https://api.github.com/users/jpslav/following{/other_user}","gists_url":"https://api.github.com/users/jpslav/gists{/gist_id}","starred_url":"https://api.github.com/users/jpslav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpslav/subscriptions","organizations_url":"https://api.github.com/users/jpslav/orgs","repos_url":"https://api.github.com/users/jpslav/repos","events_url":"https://api.github.com/users/jpslav/events{/privacy}","received_events_url":"https://api.github.com/users/jpslav/received_events","type":"User","site_admin":false},"body":"@Dantemss please review\r\n\r\nNow you can use `api_get` and its friends from a controller or request spec and it'll figure out which is the case and make the right call.  \r\n\r\nAlso, expected vnd accept header is now `vnd.openstax.v1` or other version.  Wasn't previously checking for the correct string and was just falling back on default.","created_at":"2015-02-19T23:40:09Z","updated_at":"2015-02-19T23:59:23Z","closed_at":"2015-02-19T23:59:23Z","merged_at":"2015-02-19T23:59:23Z","merge_commit_sha":"9494c48d13bbad38d02c24f4572bac35b0fe35d7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openstax/openstax_api/pulls/15/commits","review_comments_url":"https://api.github.com/repos/openstax/openstax_api/pulls/15/comments","review_comment_url":"https://api.github.com/repos/openstax/openstax_api/pulls/comments/{number}","comments_url":"https://api.github.com/repos/openstax/openstax_api/issues/15/comments","statuses_url":"https://api.github.com/repos/openstax/openstax_api/statuses/2c03acf29eaed81aced59562b795b87bcb6e0723","head":{"label":"request_spec_requests","ref":"request_spec_requests","sha":"2c03acf29eaed81aced59562b795b87bcb6e0723","user":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"repo":{"id":17960455,"name":"openstax_api","full_name":"openstax/openstax_api","owner":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openstax/openstax_api","description":"API utilities for OpenStax products","fork":false,"url":"https://api.github.com/repos/openstax/openstax_api","forks_url":"https://api.github.com/repos/openstax/openstax_api/forks","keys_url":"https://api.github.com/repos/openstax/openstax_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openstax/openstax_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openstax/openstax_api/teams","hooks_url":"https://api.github.com/repos/openstax/openstax_api/hooks","issue_events_url":"https://api.github.com/repos/openstax/openstax_api/issues/events{/number}","events_url":"https://api.github.com/repos/openstax/openstax_api/events","assignees_url":"https://api.github.com/repos/openstax/openstax_api/assignees{/user}","branches_url":"https://api.github.com/repos/openstax/openstax_api/branches{/branch}","tags_url":"https://api.github.com/repos/openstax/openstax_api/tags","blobs_url":"https://api.github.com/repos/openstax/openstax_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openstax/openstax_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openstax/openstax_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/openstax/openstax_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openstax/openstax_api/statuses/{sha}","languages_url":"https://api.github.com/repos/openstax/openstax_api/languages","stargazers_url":"https://api.github.com/repos/openstax/openstax_api/stargazers","contributors_url":"https://api.github.com/repos/openstax/openstax_api/contributors","subscribers_url":"https://api.github.com/repos/openstax/openstax_api/subscribers","subscription_url":"https://api.github.com/repos/openstax/openstax_api/subscription","commits_url":"https://api.github.com/repos/openstax/openstax_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/openstax/openstax_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/openstax/openstax_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/openstax/openstax_api/issues/comments/{number}","contents_url":"https://api.github.com/repos/openstax/openstax_api/contents/{+path}","compare_url":"https://api.github.com/repos/openstax/openstax_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openstax/openstax_api/merges","archive_url":"https://api.github.com/repos/openstax/openstax_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openstax/openstax_api/downloads","issues_url":"https://api.github.com/repos/openstax/openstax_api/issues{/number}","pulls_url":"https://api.github.com/repos/openstax/openstax_api/pulls{/number}","milestones_url":"https://api.github.com/repos/openstax/openstax_api/milestones{/number}","notifications_url":"https://api.github.com/repos/openstax/openstax_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openstax/openstax_api/labels{/name}","releases_url":"https://api.github.com/repos/openstax/openstax_api/releases{/id}","created_at":"2014-03-20T22:18:57Z","updated_at":"2015-01-14T01:14:42Z","pushed_at":"2015-02-19T23:59:23Z","git_url":"git://github.com/openstax/openstax_api.git","ssh_url":"git@github.com:openstax/openstax_api.git","clone_url":"https://github.com/openstax/openstax_api.git","svn_url":"https://github.com/openstax/openstax_api","homepage":"","size":764,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":1,"default_branch":"master"}},"base":{"label":"master","ref":"master","sha":"5dd664341b1d04411e6d3d833927436c82a1c6d9","user":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"repo":{"id":17960455,"name":"openstax_api","full_name":"openstax/openstax_api","owner":{"login":"openstax","id":3805549,"avatar_url":"https://avatars.githubusercontent.com/u/3805549?v=3","gravatar_id":"","url":"https://api.github.com/users/openstax","html_url":"https://github.com/openstax","followers_url":"https://api.github.com/users/openstax/followers","following_url":"https://api.github.com/users/openstax/following{/other_user}","gists_url":"https://api.github.com/users/openstax/gists{/gist_id}","starred_url":"https://api.github.com/users/openstax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openstax/subscriptions","organizations_url":"https://api.github.com/users/openstax/orgs","repos_url":"https://api.github.com/users/openstax/repos","events_url":"https://api.github.com/users/openstax/events{/privacy}","received_events_url":"https://api.github.com/users/openstax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openstax/openstax_api","description":"API utilities for OpenStax products","fork":false,"url":"https://api.github.com/repos/openstax/openstax_api","forks_url":"https://api.github.com/repos/openstax/openstax_api/forks","keys_url":"https://api.github.com/repos/openstax/openstax_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openstax/openstax_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openstax/openstax_api/teams","hooks_url":"https://api.github.com/repos/openstax/openstax_api/hooks","issue_events_url":"https://api.github.com/repos/openstax/openstax_api/issues/events{/number}","events_url":"https://api.github.com/repos/openstax/openstax_api/events","assignees_url":"https://api.github.com/repos/openstax/openstax_api/assignees{/user}","branches_url":"https://api.github.com/repos/openstax/openstax_api/branches{/branch}","tags_url":"https://api.github.com/repos/openstax/openstax_api/tags","blobs_url":"https://api.github.com/repos/openstax/openstax_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openstax/openstax_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openstax/openstax_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/openstax/openstax_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openstax/openstax_api/statuses/{sha}","languages_url":"https://api.github.com/repos/openstax/openstax_api/languages","stargazers_url":"https://api.github.com/repos/openstax/openstax_api/stargazers","contributors_url":"https://api.github.com/repos/openstax/openstax_api/contributors","subscribers_url":"https://api.github.com/repos/openstax/openstax_api/subscribers","subscription_url":"https://api.github.com/repos/openstax/openstax_api/subscription","commits_url":"https://api.github.com/repos/openstax/openstax_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/openstax/openstax_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/openstax/openstax_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/openstax/openstax_api/issues/comments/{number}","contents_url":"https://api.github.com/repos/openstax/openstax_api/contents/{+path}","compare_url":"https://api.github.com/repos/openstax/openstax_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openstax/openstax_api/merges","archive_url":"https://api.github.com/repos/openstax/openstax_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openstax/openstax_api/downloads","issues_url":"https://api.github.com/repos/openstax/openstax_api/issues{/number}","pulls_url":"https://api.github.com/repos/openstax/openstax_api/pulls{/number}","milestones_url":"https://api.github.com/repos/openstax/openstax_api/milestones{/number}","notifications_url":"https://api.github.com/repos/openstax/openstax_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openstax/openstax_api/labels{/name}","releases_url":"https://api.github.com/repos/openstax/openstax_api/releases{/id}","created_at":"2014-03-20T22:18:57Z","updated_at":"2015-01-14T01:14:42Z","pushed_at":"2015-02-19T23:59:23Z","git_url":"git://github.com/openstax/openstax_api.git","ssh_url":"git@github.com:openstax/openstax_api.git","clone_url":"https://github.com/openstax/openstax_api.git","svn_url":"https://github.com/openstax/openstax_api","homepage":"","size":764,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openstax/openstax_api/pulls/15"},"html":{"href":"https://github.com/openstax/openstax_api/pull/15"},"issue":{"href":"https://api.github.com/repos/openstax/openstax_api/issues/15"},"comments":{"href":"https://api.github.com/repos/openstax/openstax_api/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/openstax/openstax_api/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/openstax/openstax_api/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/openstax/openstax_api/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/openstax/openstax_api/statuses/2c03acf29eaed81aced59562b795b87bcb6e0723"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Dantemss","id":1017808,"avatar_url":"https://avatars.githubusercontent.com/u/1017808?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantemss","html_url":"https://github.com/Dantemss","followers_url":"https://api.github.com/users/Dantemss/followers","following_url":"https://api.github.com/users/Dantemss/following{/other_user}","gists_url":"https://api.github.com/users/Dantemss/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantemss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantemss/subscriptions","organizations_url":"https://api.github.com/users/Dantemss/orgs","repos_url":"https://api.github.com/users/Dantemss/repos","events_url":"https://api.github.com/users/Dantemss/events{/privacy}","received_events_url":"https://api.github.com/users/Dantemss/received_events","type":"User","site_admin":false},"comments":1,"review_comments":1,"commits":3,"additions":40,"deletions":14,"changed_files":7}}