{"action":"opened","number":236,"pull_request":{"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/236","id":41999212,"html_url":"https://github.com/samselikoff/ember-cli-mirage/pull/236","diff_url":"https://github.com/samselikoff/ember-cli-mirage/pull/236.diff","patch_url":"https://github.com/samselikoff/ember-cli-mirage/pull/236.patch","issue_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/236","number":236,"state":"open","locked":false,"title":"Adds support for urlPrefix to allow requests to external resources; fixes #228","user":{"login":"jamesdixon","id":110114,"avatar_url":"https://avatars.githubusercontent.com/u/110114?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesdixon","html_url":"https://github.com/jamesdixon","followers_url":"https://api.github.com/users/jamesdixon/followers","following_url":"https://api.github.com/users/jamesdixon/following{/other_user}","gists_url":"https://api.github.com/users/jamesdixon/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesdixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesdixon/subscriptions","organizations_url":"https://api.github.com/users/jamesdixon/orgs","repos_url":"https://api.github.com/users/jamesdixon/repos","events_url":"https://api.github.com/users/jamesdixon/events{/privacy}","received_events_url":"https://api.github.com/users/jamesdixon/received_events","type":"User","site_admin":false},"body":"With Pretender v0.9.0 now supporting external resources, this update adds a new `urlPrefix` parameter that allows you to configure Mirage accordingly. For example, if your API lives at `http://localhost:8080`, you can set `urlPrefix` to that url and it will be prepended to any routes configured in `mirage/config.js`. ","created_at":"2015-08-10T08:58:28Z","updated_at":"2015-08-10T08:58:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/236/commits","review_comments_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/236/comments","review_comment_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/236/comments","statuses_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/statuses/41e09c74ba8c3fca1d6a773b1808d474d5bb68b2","head":{"label":"jamesdixon:master","ref":"master","sha":"41e09c74ba8c3fca1d6a773b1808d474d5bb68b2","user":{"login":"jamesdixon","id":110114,"avatar_url":"https://avatars.githubusercontent.com/u/110114?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesdixon","html_url":"https://github.com/jamesdixon","followers_url":"https://api.github.com/users/jamesdixon/followers","following_url":"https://api.github.com/users/jamesdixon/following{/other_user}","gists_url":"https://api.github.com/users/jamesdixon/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesdixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesdixon/subscriptions","organizations_url":"https://api.github.com/users/jamesdixon/orgs","repos_url":"https://api.github.com/users/jamesdixon/repos","events_url":"https://api.github.com/users/jamesdixon/events{/privacy}","received_events_url":"https://api.github.com/users/jamesdixon/received_events","type":"User","site_admin":false},"repo":{"id":40460780,"name":"ember-cli-mirage","full_name":"jamesdixon/ember-cli-mirage","owner":{"login":"jamesdixon","id":110114,"avatar_url":"https://avatars.githubusercontent.com/u/110114?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesdixon","html_url":"https://github.com/jamesdixon","followers_url":"https://api.github.com/users/jamesdixon/followers","following_url":"https://api.github.com/users/jamesdixon/following{/other_user}","gists_url":"https://api.github.com/users/jamesdixon/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesdixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesdixon/subscriptions","organizations_url":"https://api.github.com/users/jamesdixon/orgs","repos_url":"https://api.github.com/users/jamesdixon/repos","events_url":"https://api.github.com/users/jamesdixon/events{/privacy}","received_events_url":"https://api.github.com/users/jamesdixon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamesdixon/ember-cli-mirage","description":"A client-side mock server to develop, test and prototype your app","fork":true,"url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage","forks_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/forks","keys_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/teams","hooks_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/hooks","issue_events_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/issues/events{/number}","events_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/events","assignees_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/assignees{/user}","branches_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/branches{/branch}","tags_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/tags","blobs_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/statuses/{sha}","languages_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/languages","stargazers_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/stargazers","contributors_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/contributors","subscribers_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/subscribers","subscription_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/subscription","commits_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/contents/{+path}","compare_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/merges","archive_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/downloads","issues_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/issues{/number}","pulls_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/pulls{/number}","milestones_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/milestones{/number}","notifications_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/labels{/name}","releases_url":"https://api.github.com/repos/jamesdixon/ember-cli-mirage/releases{/id}","created_at":"2015-08-10T03:13:37Z","updated_at":"2015-08-10T03:13:38Z","pushed_at":"2015-08-10T08:51:14Z","git_url":"git://github.com/jamesdixon/ember-cli-mirage.git","ssh_url":"git@github.com:jamesdixon/ember-cli-mirage.git","clone_url":"https://github.com/jamesdixon/ember-cli-mirage.git","svn_url":"https://github.com/jamesdixon/ember-cli-mirage","homepage":"http://ember-cli-mirage.com/","size":2301,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"samselikoff:master","ref":"master","sha":"eb3682eb8e9e93c0e8b71788589640d0fc32eccf","user":{"login":"samselikoff","id":2922250,"avatar_url":"https://avatars.githubusercontent.com/u/2922250?v=3","gravatar_id":"","url":"https://api.github.com/users/samselikoff","html_url":"https://github.com/samselikoff","followers_url":"https://api.github.com/users/samselikoff/followers","following_url":"https://api.github.com/users/samselikoff/following{/other_user}","gists_url":"https://api.github.com/users/samselikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/samselikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samselikoff/subscriptions","organizations_url":"https://api.github.com/users/samselikoff/orgs","repos_url":"https://api.github.com/users/samselikoff/repos","events_url":"https://api.github.com/users/samselikoff/events{/privacy}","received_events_url":"https://api.github.com/users/samselikoff/received_events","type":"User","site_admin":false},"repo":{"id":29990778,"name":"ember-cli-mirage","full_name":"samselikoff/ember-cli-mirage","owner":{"login":"samselikoff","id":2922250,"avatar_url":"https://avatars.githubusercontent.com/u/2922250?v=3","gravatar_id":"","url":"https://api.github.com/users/samselikoff","html_url":"https://github.com/samselikoff","followers_url":"https://api.github.com/users/samselikoff/followers","following_url":"https://api.github.com/users/samselikoff/following{/other_user}","gists_url":"https://api.github.com/users/samselikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/samselikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samselikoff/subscriptions","organizations_url":"https://api.github.com/users/samselikoff/orgs","repos_url":"https://api.github.com/users/samselikoff/repos","events_url":"https://api.github.com/users/samselikoff/events{/privacy}","received_events_url":"https://api.github.com/users/samselikoff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samselikoff/ember-cli-mirage","description":"A client-side mock server to develop, test and prototype your app","fork":false,"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage","forks_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/forks","keys_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/teams","hooks_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/hooks","issue_events_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/events{/number}","events_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/events","assignees_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/assignees{/user}","branches_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/branches{/branch}","tags_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/tags","blobs_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/git/refs{/sha}","trees_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/statuses/{sha}","languages_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/languages","stargazers_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/stargazers","contributors_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/contributors","subscribers_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/subscribers","subscription_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/subscription","commits_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/commits{/sha}","git_commits_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/git/commits{/sha}","comments_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/comments{/number}","issue_comment_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/comments{/number}","contents_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/contents/{+path}","compare_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/merges","archive_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/downloads","issues_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues{/number}","pulls_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls{/number}","milestones_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/milestones{/number}","notifications_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/labels{/name}","releases_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/releases{/id}","created_at":"2015-01-28T22:08:26Z","updated_at":"2015-08-07T16:48:41Z","pushed_at":"2015-08-07T05:10:41Z","git_url":"git://github.com/samselikoff/ember-cli-mirage.git","ssh_url":"git@github.com:samselikoff/ember-cli-mirage.git","clone_url":"https://github.com/samselikoff/ember-cli-mirage.git","svn_url":"https://github.com/samselikoff/ember-cli-mirage","homepage":"http://ember-cli-mirage.com/","size":2301,"stargazers_count":246,"watchers_count":246,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":57,"mirror_url":null,"open_issues_count":77,"forks":57,"open_issues":77,"watchers":246,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/236"},"html":{"href":"https://github.com/samselikoff/ember-cli-mirage/pull/236"},"issue":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/236"},"comments":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/236/comments"},"review_comments":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/236/comments"},"review_comment":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/236/commits"},"statuses":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/statuses/41e09c74ba8c3fca1d6a773b1808d474d5bb68b2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":60,"deletions":1,"changed_files":3}}