{"action":"opened","number":49,"pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/pulls/49","id":76157917,"html_url":"https://github.com/wordpress-mobile/WordPress-Stores-Android/pull/49","diff_url":"https://github.com/wordpress-mobile/WordPress-Stores-Android/pull/49.diff","patch_url":"https://github.com/wordpress-mobile/WordPress-Stores-Android/pull/49.patch","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/issues/49","number":49,"state":"open","locked":false,"title":"Update \"Post Settings\" network response","user":{"login":"maxme","id":40213,"avatar_url":"https://avatars.githubusercontent.com/u/40213?v=3","gravatar_id":"","url":"https://api.github.com/users/maxme","html_url":"https://github.com/maxme","followers_url":"https://api.github.com/users/maxme/followers","following_url":"https://api.github.com/users/maxme/following{/other_user}","gists_url":"https://api.github.com/users/maxme/gists{/gist_id}","starred_url":"https://api.github.com/users/maxme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxme/subscriptions","organizations_url":"https://api.github.com/users/maxme/orgs","repos_url":"https://api.github.com/users/maxme/repos","events_url":"https://api.github.com/users/maxme/events{/privacy}","received_events_url":"https://api.github.com/users/maxme/received_events","type":"User","site_admin":false},"body":"The \"Post Settings\" network call response depends of what was changed in the request. For instance if you update `display_name`, the response will only contains the updated `display_name`, that makes things a bit more complicated with Gson response, because we don't know which field are updated+empty and which fields are just not updated. Solution is to use a generic HashMap (what we wanted to avoid :() and only update the field(s) contained in the response.","created_at":"2016-07-04T12:40:18Z","updated_at":"2016-07-04T12:40:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6fe510afd5d58456d7fc4e3f87820e203976a9ef","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/pulls/49/commits","review_comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/pulls/49/comments","review_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/issues/49/comments","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/statuses/4e67405f0cfbd85d1766147456a3f3a418f86ca7","head":{"label":"wordpress-mobile:issue/post-settings-update","ref":"issue/post-settings-update","sha":"4e67405f0cfbd85d1766147456a3f3a418f86ca7","user":{"login":"wordpress-mobile","id":1306301,"avatar_url":"https://avatars.githubusercontent.com/u/1306301?v=3","gravatar_id":"","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"repo":{"id":48792991,"name":"WordPress-Stores-Android","full_name":"wordpress-mobile/WordPress-Stores-Android","owner":{"login":"wordpress-mobile","id":1306301,"avatar_url":"https://avatars.githubusercontent.com/u/1306301?v=3","gravatar_id":"","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wordpress-mobile/WordPress-Stores-Android","description":"WordPress Network and Persistence layer based on the Flux architecture","fork":false,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android","forks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/forks","keys_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/teams","hooks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/hooks","issue_events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/issues/events{/number}","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/events","assignees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/assignees{/user}","branches_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/branches{/branch}","tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/tags","blobs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/languages","stargazers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/stargazers","contributors_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/contributors","subscribers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/subscribers","subscription_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/subscription","commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/contents/{+path}","compare_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/merges","archive_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/downloads","issues_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/issues{/number}","pulls_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/labels{/name}","releases_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/releases{/id}","deployments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/deployments","created_at":"2015-12-30T09:21:57Z","updated_at":"2016-03-19T11:17:45Z","pushed_at":"2016-07-04T12:40:18Z","git_url":"git://github.com/wordpress-mobile/WordPress-Stores-Android.git","ssh_url":"git@github.com:wordpress-mobile/WordPress-Stores-Android.git","clone_url":"https://github.com/wordpress-mobile/WordPress-Stores-Android.git","svn_url":"https://github.com/wordpress-mobile/WordPress-Stores-Android","homepage":null,"size":387,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":27,"forks":1,"open_issues":27,"watchers":1,"default_branch":"develop"}},"base":{"label":"wordpress-mobile:develop","ref":"develop","sha":"111adb2e9763d7f7cd1d153f46e86246ce63f880","user":{"login":"wordpress-mobile","id":1306301,"avatar_url":"https://avatars.githubusercontent.com/u/1306301?v=3","gravatar_id":"","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"repo":{"id":48792991,"name":"WordPress-Stores-Android","full_name":"wordpress-mobile/WordPress-Stores-Android","owner":{"login":"wordpress-mobile","id":1306301,"avatar_url":"https://avatars.githubusercontent.com/u/1306301?v=3","gravatar_id":"","url":"https://api.github.com/users/wordpress-mobile","html_url":"https://github.com/wordpress-mobile","followers_url":"https://api.github.com/users/wordpress-mobile/followers","following_url":"https://api.github.com/users/wordpress-mobile/following{/other_user}","gists_url":"https://api.github.com/users/wordpress-mobile/gists{/gist_id}","starred_url":"https://api.github.com/users/wordpress-mobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wordpress-mobile/subscriptions","organizations_url":"https://api.github.com/users/wordpress-mobile/orgs","repos_url":"https://api.github.com/users/wordpress-mobile/repos","events_url":"https://api.github.com/users/wordpress-mobile/events{/privacy}","received_events_url":"https://api.github.com/users/wordpress-mobile/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wordpress-mobile/WordPress-Stores-Android","description":"WordPress Network and Persistence layer based on the Flux architecture","fork":false,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android","forks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/forks","keys_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/teams","hooks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/hooks","issue_events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/issues/events{/number}","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/events","assignees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/assignees{/user}","branches_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/branches{/branch}","tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/tags","blobs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/statuses/{sha}","languages_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/languages","stargazers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/stargazers","contributors_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/contributors","subscribers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/subscribers","subscription_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/subscription","commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/issues/comments{/number}","contents_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/contents/{+path}","compare_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/merges","archive_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/downloads","issues_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/issues{/number}","pulls_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/pulls{/number}","milestones_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/milestones{/number}","notifications_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/labels{/name}","releases_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/releases{/id}","deployments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/deployments","created_at":"2015-12-30T09:21:57Z","updated_at":"2016-03-19T11:17:45Z","pushed_at":"2016-07-04T12:40:18Z","git_url":"git://github.com/wordpress-mobile/WordPress-Stores-Android.git","ssh_url":"git@github.com:wordpress-mobile/WordPress-Stores-Android.git","clone_url":"https://github.com/wordpress-mobile/WordPress-Stores-Android.git","svn_url":"https://github.com/wordpress-mobile/WordPress-Stores-Android","homepage":null,"size":387,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":27,"forks":1,"open_issues":27,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/pulls/49"},"html":{"href":"https://github.com/wordpress-mobile/WordPress-Stores-Android/pull/49"},"issue":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/issues/49"},"comments":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-Stores-Android/statuses/4e67405f0cfbd85d1766147456a3f3a418f86ca7"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":101,"deletions":12,"changed_files":6}}
{"actor":{"display_login":"maxme"}}