{"action":"created","issue":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/642","labels_url":"https://api.github.com/repos/WP-API/WP-API/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/WP-API/WP-API/issues/642/comments","events_url":"https://api.github.com/repos/WP-API/WP-API/issues/642/events","html_url":"https://github.com/WP-API/WP-API/issues/642","id":50181513,"number":642,"title":"GET resources by slug","user":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WP-API/WP-API/labels/Discussion","name":"Discussion","color":"eb6420"},{"url":"https://api.github.com/repos/WP-API/WP-API/labels/Enhancement","name":"Enhancement","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/WP-API/WP-API/milestones/10","html_url":"https://github.com/WP-API/WP-API/milestones/2.0","labels_url":"https://api.github.com/repos/WP-API/WP-API/milestones/10/labels","id":844496,"number":10,"title":"2.0","description":null,"creator":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"open_issues":69,"closed_issues":174,"state":"open","created_at":"2014-10-29T00:12:18Z","updated_at":"2015-04-01T19:03:29Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2014-11-26T14:07:56Z","updated_at":"2015-04-01T23:45:55Z","closed_at":"2015-03-30T23:45:48Z","body":"A pretty common need is to be able to get a post by a slug. What if would it look like if you could get any resource by id or slug?\r\n\r\n* `Post` - Type would need to be indicated in the route, as posts of two different types can have the same `post_name`.\r\n* `Term` - Taxonomy would need to be indicated in the route, as two terms of different taxonomies can have the same `slug`.\r\n* `Comment` - No such thing as a comment slug.\r\n* `Meta` - Meta keys are sometimes unique. We can't rely on it.\r\n* `User` - User's slug is the `user_nicename` which can be relied upon to be unique (as it's used in author URLs) and has an index in the db."},"comment":{"url":"https://api.github.com/repos/WP-API/WP-API/issues/comments/88665181","html_url":"https://github.com/WP-API/WP-API/issues/642#issuecomment-88665181","issue_url":"https://api.github.com/repos/WP-API/WP-API/issues/642","id":88665181,"user":{"login":"baffleinc","id":1113588,"avatar_url":"https://avatars.githubusercontent.com/u/1113588?v=3","gravatar_id":"","url":"https://api.github.com/users/baffleinc","html_url":"https://github.com/baffleinc","followers_url":"https://api.github.com/users/baffleinc/followers","following_url":"https://api.github.com/users/baffleinc/following{/other_user}","gists_url":"https://api.github.com/users/baffleinc/gists{/gist_id}","starred_url":"https://api.github.com/users/baffleinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baffleinc/subscriptions","organizations_url":"https://api.github.com/users/baffleinc/orgs","repos_url":"https://api.github.com/users/baffleinc/repos","events_url":"https://api.github.com/users/baffleinc/events{/privacy}","received_events_url":"https://api.github.com/users/baffleinc/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T23:45:55Z","updated_at":"2015-04-01T23:45:55Z","body":"Yeah... \r\n\r\n/wp-json/posts?name=why-us - 10 most recent posts\r\n/wp-json/posts?filter[name]=why-us - empty array\r\n\r\nboth stopped working after they used to work A-OK. Only since updating to 1.2. I'm not crazy, the page exists: https://www.dropbox.com/s/27ceykrau45de62/Screenshot%202015-04-02%2010.43.58.png?dl=0\r\n"}}