{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/michaelarmstrong/SuperMock/pulls/8","id":58031907,"html_url":"https://github.com/michaelarmstrong/SuperMock/pull/8","diff_url":"https://github.com/michaelarmstrong/SuperMock/pull/8.diff","patch_url":"https://github.com/michaelarmstrong/SuperMock/pull/8.patch","issue_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/issues/8","number":8,"state":"open","locked":false,"title":"Feature/response","user":{"login":"danieleforlani","id":2291670,"avatar_url":"https://avatars.githubusercontent.com/u/2291670?v=3","gravatar_id":"","url":"https://api.github.com/users/danieleforlani","html_url":"https://github.com/danieleforlani","followers_url":"https://api.github.com/users/danieleforlani/followers","following_url":"https://api.github.com/users/danieleforlani/following{/other_user}","gists_url":"https://api.github.com/users/danieleforlani/gists{/gist_id}","starred_url":"https://api.github.com/users/danieleforlani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieleforlani/subscriptions","organizations_url":"https://api.github.com/users/danieleforlani/orgs","repos_url":"https://api.github.com/users/danieleforlani/repos","events_url":"https://api.github.com/users/danieleforlani/events{/privacy}","received_events_url":"https://api.github.com/users/danieleforlani/received_events","type":"User","site_admin":false},"body":"Record the response: record the headers from the requests of sharedSesscion and custom session and the request status.\n\nWhen recording it saves the data in the mock file in a dictionary format (differently from before) for every URL request you can have 2 fields “data” “mandatory if you want to receive back a mock request” and “response” if you want a response back\n\nMock the response: If the Response does not exist it creates a normal response, if the mock exist it create a response and add the HTTP headers\nand it return it.\n","created_at":"2016-02-02T18:50:40Z","updated_at":"2016-02-02T18:50:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4dde093f22ca0b1350e3b40cf700f7334724f300","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/pulls/8/commits","review_comments_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/pulls/8/comments","review_comment_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/issues/8/comments","statuses_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/statuses/a6386d289471b841cb50834820030de933c167b6","head":{"label":"danieleforlani:feature/response","ref":"feature/response","sha":"a6386d289471b841cb50834820030de933c167b6","user":{"login":"danieleforlani","id":2291670,"avatar_url":"https://avatars.githubusercontent.com/u/2291670?v=3","gravatar_id":"","url":"https://api.github.com/users/danieleforlani","html_url":"https://github.com/danieleforlani","followers_url":"https://api.github.com/users/danieleforlani/followers","following_url":"https://api.github.com/users/danieleforlani/following{/other_user}","gists_url":"https://api.github.com/users/danieleforlani/gists{/gist_id}","starred_url":"https://api.github.com/users/danieleforlani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieleforlani/subscriptions","organizations_url":"https://api.github.com/users/danieleforlani/orgs","repos_url":"https://api.github.com/users/danieleforlani/repos","events_url":"https://api.github.com/users/danieleforlani/events{/privacy}","received_events_url":"https://api.github.com/users/danieleforlani/received_events","type":"User","site_admin":false},"repo":{"id":50505026,"name":"SuperMock","full_name":"danieleforlani/SuperMock","owner":{"login":"danieleforlani","id":2291670,"avatar_url":"https://avatars.githubusercontent.com/u/2291670?v=3","gravatar_id":"","url":"https://api.github.com/users/danieleforlani","html_url":"https://github.com/danieleforlani","followers_url":"https://api.github.com/users/danieleforlani/followers","following_url":"https://api.github.com/users/danieleforlani/following{/other_user}","gists_url":"https://api.github.com/users/danieleforlani/gists{/gist_id}","starred_url":"https://api.github.com/users/danieleforlani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieleforlani/subscriptions","organizations_url":"https://api.github.com/users/danieleforlani/orgs","repos_url":"https://api.github.com/users/danieleforlani/repos","events_url":"https://api.github.com/users/danieleforlani/events{/privacy}","received_events_url":"https://api.github.com/users/danieleforlani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danieleforlani/SuperMock","description":"A very simple yet powerful UI and Unit testing mock framework for API calls. It lives in your app and is completely offline.","fork":true,"url":"https://api.github.com/repos/danieleforlani/SuperMock","forks_url":"https://api.github.com/repos/danieleforlani/SuperMock/forks","keys_url":"https://api.github.com/repos/danieleforlani/SuperMock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danieleforlani/SuperMock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danieleforlani/SuperMock/teams","hooks_url":"https://api.github.com/repos/danieleforlani/SuperMock/hooks","issue_events_url":"https://api.github.com/repos/danieleforlani/SuperMock/issues/events{/number}","events_url":"https://api.github.com/repos/danieleforlani/SuperMock/events","assignees_url":"https://api.github.com/repos/danieleforlani/SuperMock/assignees{/user}","branches_url":"https://api.github.com/repos/danieleforlani/SuperMock/branches{/branch}","tags_url":"https://api.github.com/repos/danieleforlani/SuperMock/tags","blobs_url":"https://api.github.com/repos/danieleforlani/SuperMock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danieleforlani/SuperMock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danieleforlani/SuperMock/git/refs{/sha}","trees_url":"https://api.github.com/repos/danieleforlani/SuperMock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danieleforlani/SuperMock/statuses/{sha}","languages_url":"https://api.github.com/repos/danieleforlani/SuperMock/languages","stargazers_url":"https://api.github.com/repos/danieleforlani/SuperMock/stargazers","contributors_url":"https://api.github.com/repos/danieleforlani/SuperMock/contributors","subscribers_url":"https://api.github.com/repos/danieleforlani/SuperMock/subscribers","subscription_url":"https://api.github.com/repos/danieleforlani/SuperMock/subscription","commits_url":"https://api.github.com/repos/danieleforlani/SuperMock/commits{/sha}","git_commits_url":"https://api.github.com/repos/danieleforlani/SuperMock/git/commits{/sha}","comments_url":"https://api.github.com/repos/danieleforlani/SuperMock/comments{/number}","issue_comment_url":"https://api.github.com/repos/danieleforlani/SuperMock/issues/comments{/number}","contents_url":"https://api.github.com/repos/danieleforlani/SuperMock/contents/{+path}","compare_url":"https://api.github.com/repos/danieleforlani/SuperMock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danieleforlani/SuperMock/merges","archive_url":"https://api.github.com/repos/danieleforlani/SuperMock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danieleforlani/SuperMock/downloads","issues_url":"https://api.github.com/repos/danieleforlani/SuperMock/issues{/number}","pulls_url":"https://api.github.com/repos/danieleforlani/SuperMock/pulls{/number}","milestones_url":"https://api.github.com/repos/danieleforlani/SuperMock/milestones{/number}","notifications_url":"https://api.github.com/repos/danieleforlani/SuperMock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danieleforlani/SuperMock/labels{/name}","releases_url":"https://api.github.com/repos/danieleforlani/SuperMock/releases{/id}","deployments_url":"https://api.github.com/repos/danieleforlani/SuperMock/deployments","created_at":"2016-01-27T12:12:50Z","updated_at":"2016-01-27T12:12:51Z","pushed_at":"2016-02-02T18:45:51Z","git_url":"git://github.com/danieleforlani/SuperMock.git","ssh_url":"git@github.com:danieleforlani/SuperMock.git","clone_url":"https://github.com/danieleforlani/SuperMock.git","svn_url":"https://github.com/danieleforlani/SuperMock","homepage":null,"size":82,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"michaelarmstrong:master","ref":"master","sha":"4c96dd7c17967147347278cda8133187b22efed2","user":{"login":"michaelarmstrong","id":1138482,"avatar_url":"https://avatars.githubusercontent.com/u/1138482?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelarmstrong","html_url":"https://github.com/michaelarmstrong","followers_url":"https://api.github.com/users/michaelarmstrong/followers","following_url":"https://api.github.com/users/michaelarmstrong/following{/other_user}","gists_url":"https://api.github.com/users/michaelarmstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelarmstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelarmstrong/subscriptions","organizations_url":"https://api.github.com/users/michaelarmstrong/orgs","repos_url":"https://api.github.com/users/michaelarmstrong/repos","events_url":"https://api.github.com/users/michaelarmstrong/events{/privacy}","received_events_url":"https://api.github.com/users/michaelarmstrong/received_events","type":"User","site_admin":false},"repo":{"id":44547911,"name":"SuperMock","full_name":"michaelarmstrong/SuperMock","owner":{"login":"michaelarmstrong","id":1138482,"avatar_url":"https://avatars.githubusercontent.com/u/1138482?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelarmstrong","html_url":"https://github.com/michaelarmstrong","followers_url":"https://api.github.com/users/michaelarmstrong/followers","following_url":"https://api.github.com/users/michaelarmstrong/following{/other_user}","gists_url":"https://api.github.com/users/michaelarmstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelarmstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelarmstrong/subscriptions","organizations_url":"https://api.github.com/users/michaelarmstrong/orgs","repos_url":"https://api.github.com/users/michaelarmstrong/repos","events_url":"https://api.github.com/users/michaelarmstrong/events{/privacy}","received_events_url":"https://api.github.com/users/michaelarmstrong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michaelarmstrong/SuperMock","description":"A very simple yet powerful UI and Unit testing mock framework for API calls. It lives in your app and is completely offline.","fork":false,"url":"https://api.github.com/repos/michaelarmstrong/SuperMock","forks_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/forks","keys_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/teams","hooks_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/hooks","issue_events_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/issues/events{/number}","events_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/events","assignees_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/assignees{/user}","branches_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/branches{/branch}","tags_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/tags","blobs_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/git/refs{/sha}","trees_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/statuses/{sha}","languages_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/languages","stargazers_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/stargazers","contributors_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/contributors","subscribers_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/subscribers","subscription_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/subscription","commits_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/commits{/sha}","git_commits_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/git/commits{/sha}","comments_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/comments{/number}","issue_comment_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/issues/comments{/number}","contents_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/contents/{+path}","compare_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/merges","archive_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/downloads","issues_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/issues{/number}","pulls_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/pulls{/number}","milestones_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/milestones{/number}","notifications_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/labels{/name}","releases_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/releases{/id}","deployments_url":"https://api.github.com/repos/michaelarmstrong/SuperMock/deployments","created_at":"2015-10-19T16:22:31Z","updated_at":"2016-01-26T19:20:26Z","pushed_at":"2016-02-02T18:50:40Z","git_url":"git://github.com/michaelarmstrong/SuperMock.git","ssh_url":"git@github.com:michaelarmstrong/SuperMock.git","clone_url":"https://github.com/michaelarmstrong/SuperMock.git","svn_url":"https://github.com/michaelarmstrong/SuperMock","homepage":null,"size":0,"stargazers_count":9,"watchers_count":9,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/michaelarmstrong/SuperMock/pulls/8"},"html":{"href":"https://github.com/michaelarmstrong/SuperMock/pull/8"},"issue":{"href":"https://api.github.com/repos/michaelarmstrong/SuperMock/issues/8"},"comments":{"href":"https://api.github.com/repos/michaelarmstrong/SuperMock/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/michaelarmstrong/SuperMock/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/michaelarmstrong/SuperMock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/michaelarmstrong/SuperMock/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/michaelarmstrong/SuperMock/statuses/a6386d289471b841cb50834820030de933c167b6"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":18,"additions":1026,"deletions":122,"changed_files":18}}