{"action":"created","issue":{"url":"https://api.github.com/repos/producthunt/producthunt-api/issues/77","labels_url":"https://api.github.com/repos/producthunt/producthunt-api/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/producthunt/producthunt-api/issues/77/comments","events_url":"https://api.github.com/repos/producthunt/producthunt-api/issues/77/events","html_url":"https://github.com/producthunt/producthunt-api/issues/77","id":124916001,"number":77,"title":"collections#index - Filter by Category endpoint not working.","user":{"login":"shivkanthb","id":3232159,"avatar_url":"https://avatars.githubusercontent.com/u/3232159?v=3","gravatar_id":"","url":"https://api.github.com/users/shivkanthb","html_url":"https://github.com/shivkanthb","followers_url":"https://api.github.com/users/shivkanthb/followers","following_url":"https://api.github.com/users/shivkanthb/following{/other_user}","gists_url":"https://api.github.com/users/shivkanthb/gists{/gist_id}","starred_url":"https://api.github.com/users/shivkanthb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivkanthb/subscriptions","organizations_url":"https://api.github.com/users/shivkanthb/orgs","repos_url":"https://api.github.com/users/shivkanthb/repos","events_url":"https://api.github.com/users/shivkanthb/events{/privacy}","received_events_url":"https://api.github.com/users/shivkanthb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"vesln","id":330048,"avatar_url":"https://avatars.githubusercontent.com/u/330048?v=3","gravatar_id":"","url":"https://api.github.com/users/vesln","html_url":"https://github.com/vesln","followers_url":"https://api.github.com/users/vesln/followers","following_url":"https://api.github.com/users/vesln/following{/other_user}","gists_url":"https://api.github.com/users/vesln/gists{/gist_id}","starred_url":"https://api.github.com/users/vesln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vesln/subscriptions","organizations_url":"https://api.github.com/users/vesln/orgs","repos_url":"https://api.github.com/users/vesln/repos","events_url":"https://api.github.com/users/vesln/events{/privacy}","received_events_url":"https://api.github.com/users/vesln/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-01-05T08:03:37Z","updated_at":"2016-01-05T16:38:40Z","closed_at":null,"body":"the filter by category (for any category) returns the following\r\n{\r\nerror: \"not_found\",\r\nerror_description: \"We could not find any object with this ID\"\r\n}\r\nThe other endpoints (new collections, featured collections) are working as expected. Its just this category filter endpoint."},"comment":{"url":"https://api.github.com/repos/producthunt/producthunt-api/issues/comments/169054613","html_url":"https://github.com/producthunt/producthunt-api/issues/77#issuecomment-169054613","issue_url":"https://api.github.com/repos/producthunt/producthunt-api/issues/77","id":169054613,"user":{"login":"shivkanthb","id":3232159,"avatar_url":"https://avatars.githubusercontent.com/u/3232159?v=3","gravatar_id":"","url":"https://api.github.com/users/shivkanthb","html_url":"https://github.com/shivkanthb","followers_url":"https://api.github.com/users/shivkanthb/followers","following_url":"https://api.github.com/users/shivkanthb/following{/other_user}","gists_url":"https://api.github.com/users/shivkanthb/gists{/gist_id}","starred_url":"https://api.github.com/users/shivkanthb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivkanthb/subscriptions","organizations_url":"https://api.github.com/users/shivkanthb/orgs","repos_url":"https://api.github.com/users/shivkanthb/repos","events_url":"https://api.github.com/users/shivkanthb/events{/privacy}","received_events_url":"https://api.github.com/users/shivkanthb/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T16:38:40Z","updated_at":"2016-01-05T16:38:40Z","body":"Im really sorry I forgot to mention the complete endpoint. \r\nIts for the collections.\r\nThe docs mention.\r\nGET /v1/collections?search[category]=category-1 \r\n\r\nBut I got it working. 'category-1' has to be replaced by their slug. Would be nice if this was mentioned in the docs.\r\nThank you. \r\n"}}