{"action":"created","comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/comments/64918155","id":64918155,"diff_hunk":"@@ -0,0 +1,164 @@\n+import Foundation\n+import WordPressShared\n+import Gridicons\n+\n+/// Displays a version of the post stream with a search bar positioned above the\n+/// list of posts.  The user supplied search phrase is converted into a ReaderSearchTopic\n+/// the results of which are displayed in the embedded ReaderStreamViewController.\n+///\n+@objc public class ReaderSearchViewController : UIViewController\n+{\n+    @IBOutlet private weak var searchBar: UISearchBar!\n+    @IBOutlet private weak var label: UILabel!\n+\n+    private var backgroundTapRecognizer: UITapGestureRecognizer!\n+    private var streamController: ReaderStreamViewController!\n+    private let searchBarSearchIconSize = CGFloat(13.0)\n+\n+\n+    /// A convenience method for instantiating the controller from the storyboard.\n+    ///\n+    /// - Returns: An instance of the controller.\n+    ///\n+    public class func controller() -> ReaderSearchViewController {\n+        let storyboard = UIStoryboard(name: \"Reader\", bundle: NSBundle.mainBundle())\n+        let controller = storyboard.instantiateViewControllerWithIdentifier(\"ReaderSearchViewController\") as! ReaderSearchViewController\n+\n+        return controller\n+    }\n+\n+\n+    // MARK: Lifecycle methods\n+\n+\n+    public override func viewDidLoad() {\n+        super.viewDidLoad()\n+\n+        navigationItem.title = NSLocalizedString(\"Search\", comment: \"Title of the Reader's search feature\")\n+\n+        WPStyleGuide.configureColorsForView(view, andTableView: nil)\n+        setupSearchBar()\n+        configureLabel()\n+        configureBackgroundTapRecognizer()\n+    }\n+\n+\n+    public override func viewDidAppear(animated: Bool) {\n+        super.viewDidAppear(animated)\n+\n+        NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(ReaderSearchViewController.handleKeyboardDidShow(_:)), name: UIKeyboardDidShowNotification, object: nil)\n+        NSNotificationCenter.defaultCenter().addObserver(self, selector: #selector(ReaderSearchViewController.handleKeyboardWillHide(_:)), name: UIKeyboardWillHideNotification, object: nil)\n+    }\n+\n+\n+    public override func viewWillDisappear(animated: Bool) {\n+        super.viewWillDisappear(animated)\n+\n+        // Dismiss the keyboard if it was visible.\n+        endSearch()\n+    }\n+\n+\n+    public override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {\n+        streamController = segue.destinationViewController as? ReaderStreamViewController\n+    }\n+\n+\n+\n+    // MARK: - Configuration\n+\n+\n+    func setupSearchBar() {\n+        // Appearance must be set before the search bar is added to the view hierarchy.\n+        let placeholderText = NSLocalizedString(\"Search on WordPress.com\", comment: \"Placeholder text for the Reader search feature.\")\n+        let attributes = WPStyleGuide.defaultSearchBarTextAttributes(WPStyleGuide.grey())\n+        let attributedPlaceholder = NSAttributedString(string: placeholderText, attributes: attributes)\n+        UITextField.appearanceWhenContainedInInstancesOfClasses([UISearchBar.self, ReaderSearchViewController.self]).attributedPlaceholder = attributedPlaceholder\n+        let textAttributes = WPStyleGuide.defaultSearchBarTextAttributes(WPStyleGuide.greyDarken30())\n+        UITextField.appearanceWhenContainedInInstancesOfClasses([UISearchBar.self, ReaderSearchViewController.self]).defaultTextAttributes = textAttributes\n+\n+        searchBar.autocapitalizationType = .None\n+        searchBar.translucent = false\n+        searchBar.tintColor = WPStyleGuide.grey()\n+        searchBar.barTintColor = WPStyleGuide.greyLighten30()\n+        searchBar.backgroundImage = UIImage()\n+        searchBar.setImage(UIImage(named: \"icon-clear-textfield\"), forSearchBarIcon: .Clear, state: .Normal)\n+\n+        let size = searchBarSearchIconSize * UIScreen.mainScreen().scale\n+        let image = Gridicon.iconOfType(GridiconType.Search, withSize: CGSize(width: size, height: size))\n+\n+        searchBar.setImage(image, forSearchBarIcon: .Search, state: .Normal)\n+        searchBar.accessibilityIdentifier = \"Search\"\n+    }\n+\n+\n+    func configureLabel() {\n+        let text = NSLocalizedString(\"What would you like to find?\", comment: \"A short message that is a call to action for the Reader's Search feature.\")\n+        let attributes = WPNUXUtility.titleAttributesWithColor(WPStyleGuide.greyDarken20()) as! [String: AnyObject]\n+        label.attributedText = NSAttributedString(string: text, attributes: attributes)\n+    }\n+\n+\n+    func configureBackgroundTapRecognizer() {\n+        backgroundTapRecognizer = UITapGestureRecognizer(target: self, action: #selector(ReaderSearchViewController.handleBackgroundTap(_:)))\n+        backgroundTapRecognizer.cancelsTouchesInView = true\n+        backgroundTapRecognizer.enabled = false\n+        view.addGestureRecognizer(backgroundTapRecognizer)\n+    }\n+\n+\n+    // MARK: - Actions\n+\n+\n+    func endSearch() {\n+        searchBar.resignFirstResponder()\n+    }\n+\n+\n+    /// Constructs a ReaderSearchTopic from the search phrase and sets the\n+    /// embedded stream to the topic.\n+    ///\n+    func performSearch() {\n+        guard let phrase = searchBar.text else {\n+            return\n+        }\n+\n+        let context = ContextManager.sharedInstance().mainContext\n+        let service = ReaderTopicService(managedObjectContext: context)\n+\n+        let topic = service.searchTopicForSearchPhrase(phrase)\n+        streamController.readerTopic = topic","path":"WordPress/Classes/ViewRelated/Reader/ReaderSearchViewController.swift","position":130,"original_position":130,"commit_id":"48e7b05be375f970ed6245ed769ebc01eff7bc0e","original_commit_id":"48e7b05be375f970ed6245ed769ebc01eff7bc0e","user":{"login":"jleandroperez","id":1195260,"avatar_url":"https://avatars.githubusercontent.com/u/1195260?v=3","gravatar_id":"","url":"https://api.github.com/users/jleandroperez","html_url":"https://github.com/jleandroperez","followers_url":"https://api.github.com/users/jleandroperez/followers","following_url":"https://api.github.com/users/jleandroperez/following{/other_user}","gists_url":"https://api.github.com/users/jleandroperez/gists{/gist_id}","starred_url":"https://api.github.com/users/jleandroperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleandroperez/subscriptions","organizations_url":"https://api.github.com/users/jleandroperez/orgs","repos_url":"https://api.github.com/users/jleandroperez/repos","events_url":"https://api.github.com/users/jleandroperez/events{/privacy}","received_events_url":"https://api.github.com/users/jleandroperez/received_events","type":"User","site_admin":false},"body":"(Just a thought) maybe we should assert on `streamController` (or make sure it's not nil?)","created_at":"2016-05-27T15:00:40Z","updated_at":"2016-05-27T15:00:40Z","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/5432#discussion_r64918155","pull_request_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/5432","_links":{"self":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/comments/64918155"},"html":{"href":"https://github.com/wordpress-mobile/WordPress-iOS/pull/5432#discussion_r64918155"},"pull_request":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/5432"}}},"pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/5432","id":71284873,"html_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/5432","diff_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/5432.diff","patch_url":"https://github.com/wordpress-mobile/WordPress-iOS/pull/5432.patch","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/5432","number":5432,"state":"open","locked":false,"title":"Feature/reader search","user":{"login":"aerych","id":1435271,"avatar_url":"https://avatars.githubusercontent.com/u/1435271?v=3","gravatar_id":"","url":"https://api.github.com/users/aerych","html_url":"https://github.com/aerych","followers_url":"https://api.github.com/users/aerych/followers","following_url":"https://api.github.com/users/aerych/following{/other_user}","gists_url":"https://api.github.com/users/aerych/gists{/gist_id}","starred_url":"https://api.github.com/users/aerych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerych/subscriptions","organizations_url":"https://api.github.com/users/aerych/orgs","repos_url":"https://api.github.com/users/aerych/repos","events_url":"https://api.github.com/users/aerych/events{/privacy}","received_events_url":"https://api.github.com/users/aerych/received_events","type":"User","site_admin":false},"body":"Refs: #5310\r\nThis PR implements the main UI for the new search feature.  Additionally, the core data version is bumped as the ReaderPost model is updated with with some new fields.  A slight refactor to the post service was done to clarify that sorting is now performed by numerical \"rank\" instead of solely by date. For posts synced from date oriented endpoints, the sortRank is the time interval of the post's `sortDate`, and for posts that are sorted from a search oriented endpoint, the sortRank is the post's `score`. \r\nSince we currently don't have a good way of filling gaps in posts synced via offset, we always clear out old results when performing a new sync.\r\n\r\nTo test:\r\n### Scenario 0:\r\nBefore running this branch, make sure you have synced content in your reader. \r\nSwitch to this branch. \r\nConfirm that the content you'd previously synced was not purged and there are no errors after upgrading. \r\n\r\n### Scenario 1:\r\nGo to the reader tab\r\nTap on the search icon in the nav bar. \r\nEnter a search term or phrase and search. \r\nConfirm the content loads. \r\n\r\n### Scenario 2:\r\nEnter a search term or phrase and search. \r\nAfter results are loaded, enter a new search term or phrase and search again. \r\nConfirm results for the new search are loaded.\r\n\r\n### Scenario 3: \r\nEnter a search term or phrase and search.\r\nView the detail of a searched post that is showing a tag. \r\nOn the detail screen, tap on the tag to preview the tags stream. \r\nIn the tag stream, click on the search icon to perform a new search. \r\nEnter the *same* search phrase as before and search. \r\nConfirm that content loads as expected. \r\nTap back to the post detail. \r\nOn the post detail tap the comment button. Confirm that the comments load. \r\nTap back to the original search list.  Confirm that content is as you left it. \r\n\r\nNeeds review: @jleandroperez would you mind a review?\r\n","created_at":"2016-05-24T20:13:19Z","updated_at":"2016-05-27T15:00:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71466c1176206d67c4ba3b4bfed953284c8b62c9","assignee":null,"milestone":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones/55","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/milestones/6.4","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones/55/labels","id":1562510,"number":55,"title":"6.4","description":"","creator":{"login":"sendhil","id":437043,"avatar_url":"https://avatars.githubusercontent.com/u/437043?v=3","gravatar_id":"","url":"https://api.github.com/users/sendhil","html_url":"https://github.com/sendhil","followers_url":"https://api.github.com/users/sendhil/followers","following_url":"https://api.github.com/users/sendhil/following{/other_user}","gists_url":"https://api.github.com/users/sendhil/gists{/gist_id}","starred_url":"https://api.github.com/users/sendhil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendhil/subscriptions","organizations_url":"https://api.github.com/users/sendhil/orgs","repos_url":"https://api.github.com/users/sendhil/repos","events_url":"https://api.github.com/users/sendhil/events{/privacy}","received_events_url":"https://api.github.com/users/sendhil/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":8,"state":"open","created_at":"2016-02-04T04:45:30Z","updated_at":"2016-05-27T12:10:54Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/5432/commits","review_comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/5432/comments","review_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/5432/comments","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/statuses/48e7b05be375f970ed6245ed769ebc01eff7bc0e","head":{"label":"wordpress-mobile:feature/reader-search","ref":"feature/reader-search","sha":"48e7b05be375f970ed6245ed769ebc01eff7bc0e","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":8859285,"name":"WordPress-iOS","full_name":"wordpress-mobile/WordPress-iOS","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-iOS","description":"WordPress for iOS - Official repository","fork":false,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS","forks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/forks","keys_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/teams","hooks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/hooks","issue_events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/events","assignees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/tags","blobs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/languages","stargazers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/stargazers","contributors_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/contributors","subscribers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/subscribers","subscription_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/subscription","commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/merges","archive_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/downloads","issues_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels{/name}","releases_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/releases{/id}","deployments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/deployments","created_at":"2013-03-18T16:59:33Z","updated_at":"2016-05-27T13:05:49Z","pushed_at":"2016-05-27T14:45:54Z","git_url":"git://github.com/wordpress-mobile/WordPress-iOS.git","ssh_url":"git@github.com:wordpress-mobile/WordPress-iOS.git","clone_url":"https://github.com/wordpress-mobile/WordPress-iOS.git","svn_url":"https://github.com/wordpress-mobile/WordPress-iOS","homepage":"http://ios.wordpress.org/","size":500348,"stargazers_count":1050,"watchers_count":1050,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":477,"mirror_url":null,"open_issues_count":355,"forks":477,"open_issues":355,"watchers":1050,"default_branch":"develop"}},"base":{"label":"wordpress-mobile:develop","ref":"develop","sha":"84a21eabe9d95f7f00974dcf2178b29ece917519","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":8859285,"name":"WordPress-iOS","full_name":"wordpress-mobile/WordPress-iOS","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-iOS","description":"WordPress for iOS - Official repository","fork":false,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS","forks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/forks","keys_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/teams","hooks_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/hooks","issue_events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/events{/number}","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/events","assignees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/assignees{/user}","branches_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/branches{/branch}","tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/tags","blobs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/languages","stargazers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/stargazers","contributors_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/contributors","subscribers_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/subscribers","subscription_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/subscription","commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/contents/{+path}","compare_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/merges","archive_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/downloads","issues_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues{/number}","pulls_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels{/name}","releases_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/releases{/id}","deployments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/deployments","created_at":"2013-03-18T16:59:33Z","updated_at":"2016-05-27T13:05:49Z","pushed_at":"2016-05-27T14:45:54Z","git_url":"git://github.com/wordpress-mobile/WordPress-iOS.git","ssh_url":"git@github.com:wordpress-mobile/WordPress-iOS.git","clone_url":"https://github.com/wordpress-mobile/WordPress-iOS.git","svn_url":"https://github.com/wordpress-mobile/WordPress-iOS","homepage":"http://ios.wordpress.org/","size":500348,"stargazers_count":1050,"watchers_count":1050,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":477,"mirror_url":null,"open_issues_count":355,"forks":477,"open_issues":355,"watchers":1050,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/5432"},"html":{"href":"https://github.com/wordpress-mobile/WordPress-iOS/pull/5432"},"issue":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/5432"},"comments":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/5432/comments"},"review_comments":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/5432/comments"},"review_comment":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/pulls/5432/commits"},"statuses":{"href":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/statuses/48e7b05be375f970ed6245ed769ebc01eff7bc0e"}}}}
{"actor":{"display_login":"jleandroperez"}}