{"action":"created","issue":{"url":"https://api.github.com/repos/SmartFoodTracker/backend/issues/8","repository_url":"https://api.github.com/repos/SmartFoodTracker/backend","labels_url":"https://api.github.com/repos/SmartFoodTracker/backend/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/SmartFoodTracker/backend/issues/8/comments","events_url":"https://api.github.com/repos/SmartFoodTracker/backend/issues/8/events","html_url":"https://github.com/SmartFoodTracker/backend/issues/8","id":217090888,"number":8,"title":"The field \"totalPages\" in recipe responses is incorrect","user":{"login":"udeyrishi","id":4692593,"avatar_url":"https://avatars0.githubusercontent.com/u/4692593?v=3","gravatar_id":"","url":"https://api.github.com/users/udeyrishi","html_url":"https://github.com/udeyrishi","followers_url":"https://api.github.com/users/udeyrishi/followers","following_url":"https://api.github.com/users/udeyrishi/following{/other_user}","gists_url":"https://api.github.com/users/udeyrishi/gists{/gist_id}","starred_url":"https://api.github.com/users/udeyrishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udeyrishi/subscriptions","organizations_url":"https://api.github.com/users/udeyrishi/orgs","repos_url":"https://api.github.com/users/udeyrishi/repos","events_url":"https://api.github.com/users/udeyrishi/events{/privacy}","received_events_url":"https://api.github.com/users/udeyrishi/received_events","type":"User","site_admin":false},"labels":[{"id":527790450,"url":"https://api.github.com/repos/SmartFoodTracker/backend/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"ahoskins","id":1527504,"avatar_url":"https://avatars0.githubusercontent.com/u/1527504?v=3","gravatar_id":"","url":"https://api.github.com/users/ahoskins","html_url":"https://github.com/ahoskins","followers_url":"https://api.github.com/users/ahoskins/followers","following_url":"https://api.github.com/users/ahoskins/following{/other_user}","gists_url":"https://api.github.com/users/ahoskins/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoskins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoskins/subscriptions","organizations_url":"https://api.github.com/users/ahoskins/orgs","repos_url":"https://api.github.com/users/ahoskins/repos","events_url":"https://api.github.com/users/ahoskins/events{/privacy}","received_events_url":"https://api.github.com/users/ahoskins/received_events","type":"User","site_admin":false},"assignees":[{"login":"ahoskins","id":1527504,"avatar_url":"https://avatars0.githubusercontent.com/u/1527504?v=3","gravatar_id":"","url":"https://api.github.com/users/ahoskins","html_url":"https://github.com/ahoskins","followers_url":"https://api.github.com/users/ahoskins/followers","following_url":"https://api.github.com/users/ahoskins/following{/other_user}","gists_url":"https://api.github.com/users/ahoskins/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoskins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoskins/subscriptions","organizations_url":"https://api.github.com/users/ahoskins/orgs","repos_url":"https://api.github.com/users/ahoskins/repos","events_url":"https://api.github.com/users/ahoskins/events{/privacy}","received_events_url":"https://api.github.com/users/ahoskins/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-03-26T21:24:37Z","updated_at":"2017-03-26T23:00:00Z","closed_at":null,"body":"All the responses say that the `totalPages` are 90, but that's not always true. For instance `1/recipes?query=kimchi&cuisine=korean&type=side+dish&page=1` returns only 1 recipe, but still says that the `totalPages` = 90. Making subsequent queries with page > 1 just returns empty responses like:\r\n\r\n\r\n```json\r\n{\r\n  \"data\": [],\r\n  \"totalPages\": 90,\r\n  \"page\": \"3\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/SmartFoodTracker/backend/issues/comments/289323636","html_url":"https://github.com/SmartFoodTracker/backend/issues/8#issuecomment-289323636","issue_url":"https://api.github.com/repos/SmartFoodTracker/backend/issues/8","id":289323636,"user":{"login":"ahoskins","id":1527504,"avatar_url":"https://avatars0.githubusercontent.com/u/1527504?v=3","gravatar_id":"","url":"https://api.github.com/users/ahoskins","html_url":"https://github.com/ahoskins","followers_url":"https://api.github.com/users/ahoskins/followers","following_url":"https://api.github.com/users/ahoskins/following{/other_user}","gists_url":"https://api.github.com/users/ahoskins/gists{/gist_id}","starred_url":"https://api.github.com/users/ahoskins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahoskins/subscriptions","organizations_url":"https://api.github.com/users/ahoskins/orgs","repos_url":"https://api.github.com/users/ahoskins/repos","events_url":"https://api.github.com/users/ahoskins/events{/privacy}","received_events_url":"https://api.github.com/users/ahoskins/received_events","type":"User","site_admin":false},"created_at":"2017-03-26T23:00:00Z","updated_at":"2017-03-26T23:00:00Z","body":"Looking into it."}}
{"actor":{"display_login":"ahoskins"}}