{"action":"created","issue":{"url":"https://api.github.com/repos/OperationCode/resources_api/issues/29","repository_url":"https://api.github.com/repos/OperationCode/resources_api","labels_url":"https://api.github.com/repos/OperationCode/resources_api/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/OperationCode/resources_api/issues/29/comments","events_url":"https://api.github.com/repos/OperationCode/resources_api/issues/29/events","html_url":"https://github.com/OperationCode/resources_api/issues/29","id":371335333,"node_id":"MDU6SXNzdWUzNzEzMzUzMzM=","number":29,"title":"GET /resources Route should take query params for language and category","user":{"login":"aaron-suarez","id":2008701,"node_id":"MDQ6VXNlcjIwMDg3MDE=","avatar_url":"https://avatars1.githubusercontent.com/u/2008701?v=4","gravatar_id":"","url":"https://api.github.com/users/aaron-suarez","html_url":"https://github.com/aaron-suarez","followers_url":"https://api.github.com/users/aaron-suarez/followers","following_url":"https://api.github.com/users/aaron-suarez/following{/other_user}","gists_url":"https://api.github.com/users/aaron-suarez/gists{/gist_id}","starred_url":"https://api.github.com/users/aaron-suarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaron-suarez/subscriptions","organizations_url":"https://api.github.com/users/aaron-suarez/orgs","repos_url":"https://api.github.com/users/aaron-suarez/repos","events_url":"https://api.github.com/users/aaron-suarez/events{/privacy}","received_events_url":"https://api.github.com/users/aaron-suarez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-18T02:21:53Z","updated_at":"2018-10-18T06:08:07Z","closed_at":null,"author_association":"MEMBER","body":"The original vision of routes was flawed. We originally wanted to have routes called `GET /categories/{category}` and `GET /languages/{language}` to get all of the resources for a category and language. After some discussion, @wimo7083 and I decided that it makes much more sense to have the single route for `GET /resources` take optional query parameters specifying the category and language. So a valid request to this endpoint can take `page`, `page_size` (these two are addressed in #21) as well as `language` and `category`. So the request might look something like this:\r\n\r\n`GET /resources?category=books&language=ruby&page=2&page_size=5`\r\n\r\nThis issue will be considered fixed when the query params for `language` and `category` are accepted by the endpoint and return the filtered results."},"comment":{"url":"https://api.github.com/repos/OperationCode/resources_api/issues/comments/430886449","html_url":"https://github.com/OperationCode/resources_api/issues/29#issuecomment-430886449","issue_url":"https://api.github.com/repos/OperationCode/resources_api/issues/29","id":430886449,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDg4NjQ0OQ==","user":{"login":"heavysaturn","id":2098517,"node_id":"MDQ6VXNlcjIwOTg1MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/2098517?v=4","gravatar_id":"","url":"https://api.github.com/users/heavysaturn","html_url":"https://github.com/heavysaturn","followers_url":"https://api.github.com/users/heavysaturn/followers","following_url":"https://api.github.com/users/heavysaturn/following{/other_user}","gists_url":"https://api.github.com/users/heavysaturn/gists{/gist_id}","starred_url":"https://api.github.com/users/heavysaturn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heavysaturn/subscriptions","organizations_url":"https://api.github.com/users/heavysaturn/orgs","repos_url":"https://api.github.com/users/heavysaturn/repos","events_url":"https://api.github.com/users/heavysaturn/events{/privacy}","received_events_url":"https://api.github.com/users/heavysaturn/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T06:08:07Z","updated_at":"2018-10-18T06:08:07Z","author_association":"CONTRIBUTOR","body":"agreed. I will update #28 to do this instead."}}
{"actor":{"display_login":"heavysaturn"}}