{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/pulls/8","id":193096912,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzMDk2OTEy","html_url":"https://github.com/wordpress-mobile/WordPressKit-iOS/pull/8","diff_url":"https://github.com/wordpress-mobile/WordPressKit-iOS/pull/8.diff","patch_url":"https://github.com/wordpress-mobile/WordPressKit-iOS/pull/8.patch","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/issues/8","number":8,"state":"closed","locked":false,"title":"ReaderTopicService: Fix version of `read/feed` endpoint","user":{"login":"frosty","id":4780,"node_id":"MDQ6VXNlcjQ3ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/4780?v=4","gravatar_id":"","url":"https://api.github.com/users/frosty","html_url":"https://github.com/frosty","followers_url":"https://api.github.com/users/frosty/followers","following_url":"https://api.github.com/users/frosty/following{/other_user}","gists_url":"https://api.github.com/users/frosty/gists{/gist_id}","starred_url":"https://api.github.com/users/frosty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frosty/subscriptions","organizations_url":"https://api.github.com/users/frosty/orgs","repos_url":"https://api.github.com/users/frosty/repos","events_url":"https://api.github.com/users/frosty/events{/privacy}","received_events_url":"https://api.github.com/users/frosty/received_events","type":"User","site_admin":false},"body":"In [this commit](https://github.com/wordpress-mobile/WordPressKit-iOS/commit/81ae84a25dd36f7f807e46fe2cfe2790aef68a23#diff-95fdd695cd6c24b82abbc507abd85fe3), the version of the `read/feed` endpoint was changed from 1.1 to 1.2. However, version 1.2 doesn't exist, and returns a 404. This PR reverts that change.\r\n\r\n**To test:**\r\n\r\nThe easiest way to trigger this codepath to test is to modify `viewControllerForTopic(_:)` in `ReaderMenuViewController` in WPiOS. Change it to:\r\n\r\n```\r\nreturn ReaderStreamViewController.controllerWithSiteID(20787116, isFeed: true)\r\n```\r\n\r\nYou'll also need to update your Podfile to point at this branch:\r\n\r\n```\r\npod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :branch => 'fix/reader-site-topic-version'\r\n```\r\n\r\nThen run the app, go to the Reader, and tap Discover. It should load the \"Daring Fireball\" feed and show you a list of posts. Without the change in this PR, the web request will return a 404 and you won't see any posts.","created_at":"2018-06-06T18:11:20Z","updated_at":"2018-06-06T18:42:36Z","closed_at":"2018-06-06T18:42:35Z","merged_at":"2018-06-06T18:42:35Z","merge_commit_sha":"0ba02badb90ed41beae0ca9dbf9126402f963a49","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":934289006,"node_id":"MDU6TGFiZWw5MzQyODkwMDY=","url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/labels/bug","name":"bug","color":"d73a4a","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/pulls/8/commits","review_comments_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/pulls/8/comments","review_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/issues/8/comments","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/statuses/71ed4c20c8f91f96e5da5e99c18aca5ef91de0e4","head":{"label":"wordpress-mobile:fix/reader-site-topic-version","ref":"fix/reader-site-topic-version","sha":"71ed4c20c8f91f96e5da5e99c18aca5ef91de0e4","user":{"login":"wordpress-mobile","id":1306301,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDYzMDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1306301?v=4","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":133574777,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM1NzQ3Nzc=","name":"WordPressKit-iOS","full_name":"wordpress-mobile/WordPressKit-iOS","owner":{"login":"wordpress-mobile","id":1306301,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDYzMDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1306301?v=4","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/WordPressKit-iOS","description":null,"fork":false,"url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS","forks_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/forks","keys_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/teams","hooks_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/hooks","issue_events_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/events","assignees_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/tags","blobs_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/languages","stargazers_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/stargazers","contributors_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/contributors","subscribers_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/subscribers","subscription_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/subscription","commits_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/merges","archive_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/downloads","issues_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/labels{/name}","releases_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/releases{/id}","deployments_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/deployments","created_at":"2018-05-15T21:22:13Z","updated_at":"2018-06-06T14:20:21Z","pushed_at":"2018-06-06T18:42:35Z","git_url":"git://github.com/wordpress-mobile/WordPressKit-iOS.git","ssh_url":"git@github.com:wordpress-mobile/WordPressKit-iOS.git","clone_url":"https://github.com/wordpress-mobile/WordPressKit-iOS.git","svn_url":"https://github.com/wordpress-mobile/WordPressKit-iOS","homepage":null,"size":1085,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"wordpress-mobile:develop","ref":"develop","sha":"01207c5d85c8afe2ff5d15ca52b90cba034a21d7","user":{"login":"wordpress-mobile","id":1306301,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDYzMDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1306301?v=4","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":133574777,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM1NzQ3Nzc=","name":"WordPressKit-iOS","full_name":"wordpress-mobile/WordPressKit-iOS","owner":{"login":"wordpress-mobile","id":1306301,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDYzMDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1306301?v=4","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/WordPressKit-iOS","description":null,"fork":false,"url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS","forks_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/forks","keys_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/teams","hooks_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/hooks","issue_events_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/events","assignees_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/tags","blobs_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/languages","stargazers_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/stargazers","contributors_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/contributors","subscribers_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/subscribers","subscription_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/subscription","commits_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/merges","archive_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/downloads","issues_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/labels{/name}","releases_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/releases{/id}","deployments_url":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/deployments","created_at":"2018-05-15T21:22:13Z","updated_at":"2018-06-06T14:20:21Z","pushed_at":"2018-06-06T18:42:35Z","git_url":"git://github.com/wordpress-mobile/WordPressKit-iOS.git","ssh_url":"git@github.com:wordpress-mobile/WordPressKit-iOS.git","clone_url":"https://github.com/wordpress-mobile/WordPressKit-iOS.git","svn_url":"https://github.com/wordpress-mobile/WordPressKit-iOS","homepage":null,"size":1085,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/pulls/8"},"html":{"href":"https://github.com/wordpress-mobile/WordPressKit-iOS/pull/8"},"issue":{"href":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/issues/8"},"comments":{"href":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/wordpress-mobile/WordPressKit-iOS/statuses/71ed4c20c8f91f96e5da5e99c18aca5ef91de0e4"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"frosty","id":4780,"node_id":"MDQ6VXNlcjQ3ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/4780?v=4","gravatar_id":"","url":"https://api.github.com/users/frosty","html_url":"https://github.com/frosty","followers_url":"https://api.github.com/users/frosty/followers","following_url":"https://api.github.com/users/frosty/following{/other_user}","gists_url":"https://api.github.com/users/frosty/gists{/gist_id}","starred_url":"https://api.github.com/users/frosty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frosty/subscriptions","organizations_url":"https://api.github.com/users/frosty/orgs","repos_url":"https://api.github.com/users/frosty/repos","events_url":"https://api.github.com/users/frosty/events{/privacy}","received_events_url":"https://api.github.com/users/frosty/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"frosty"}}