{"action":"created","issue":{"url":"https://api.github.com/repos/pelias/api/issues/238","labels_url":"https://api.github.com/repos/pelias/api/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/pelias/api/issues/238/comments","events_url":"https://api.github.com/repos/pelias/api/issues/238/events","html_url":"https://github.com/pelias/api/issues/238","id":105888221,"number":238,"title":"Inadequate data to construct request to /place endpoint with data from /search","user":{"login":"riordan","id":227472,"avatar_url":"https://avatars.githubusercontent.com/u/227472?v=3","gravatar_id":"","url":"https://api.github.com/users/riordan","html_url":"https://github.com/riordan","followers_url":"https://api.github.com/users/riordan/followers","following_url":"https://api.github.com/users/riordan/following{/other_user}","gists_url":"https://api.github.com/users/riordan/gists{/gist_id}","starred_url":"https://api.github.com/users/riordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riordan/subscriptions","organizations_url":"https://api.github.com/users/riordan/orgs","repos_url":"https://api.github.com/users/riordan/repos","events_url":"https://api.github.com/users/riordan/events{/privacy}","received_events_url":"https://api.github.com/users/riordan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pelias/api/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/pelias/api/labels/on-deck","name":"on-deck","color":"ededed"},{"url":"https://api.github.com/repos/pelias/api/labels/v1","name":"v1","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"orangejulius","id":111716,"avatar_url":"https://avatars.githubusercontent.com/u/111716?v=3","gravatar_id":"","url":"https://api.github.com/users/orangejulius","html_url":"https://github.com/orangejulius","followers_url":"https://api.github.com/users/orangejulius/followers","following_url":"https://api.github.com/users/orangejulius/following{/other_user}","gists_url":"https://api.github.com/users/orangejulius/gists{/gist_id}","starred_url":"https://api.github.com/users/orangejulius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orangejulius/subscriptions","organizations_url":"https://api.github.com/users/orangejulius/orgs","repos_url":"https://api.github.com/users/orangejulius/repos","events_url":"https://api.github.com/users/orangejulius/events{/privacy}","received_events_url":"https://api.github.com/users/orangejulius/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pelias/api/milestones/6","html_url":"https://github.com/pelias/api/milestones/Pelias%20v1.0.0","labels_url":"https://api.github.com/repos/pelias/api/milestones/6/labels","id":1095725,"number":6,"title":"Pelias v1.0.0","description":"see pelias/pelias milestones for details","creator":{"login":"dianashk","id":5446511,"avatar_url":"https://avatars.githubusercontent.com/u/5446511?v=3","gravatar_id":"","url":"https://api.github.com/users/dianashk","html_url":"https://github.com/dianashk","followers_url":"https://api.github.com/users/dianashk/followers","following_url":"https://api.github.com/users/dianashk/following{/other_user}","gists_url":"https://api.github.com/users/dianashk/gists{/gist_id}","starred_url":"https://api.github.com/users/dianashk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianashk/subscriptions","organizations_url":"https://api.github.com/users/dianashk/orgs","repos_url":"https://api.github.com/users/dianashk/repos","events_url":"https://api.github.com/users/dianashk/events{/privacy}","received_events_url":"https://api.github.com/users/dianashk/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":49,"state":"open","created_at":"2015-05-04T20:07:51Z","updated_at":"2015-09-15T18:42:14Z","due_on":"2015-09-21T04:00:00Z","closed_at":null},"comments":1,"created_at":"2015-09-10T20:08:03Z","updated_at":"2015-09-15T19:07:33Z","closed_at":null,"body":"We should normalize the way we mint our IDs (or at least display them to users) so that the `id` field of a geocode response can be used to retrieve a complete place record on the `/place` endpoint.\r\n\r\nSteps to reproduce:\r\n- Search for `http://pelias.bigdev.mapzen.com/v1/search?text=hackney&size=1'\r\n - get `id : '937569400\"' as document ID. I know more than the average user, and know how we used to construct these. I get back `source : \"osm\"`.\r\n- Try to retrieve document at: `http://pelias.bigdev.mapzen.com/v1/place?id=937569400`. Fails.\r\n - Gets non-GeocodeJSON error: ```{error: \"invalid: must be of the format type:id for ex: 'geoname:4163334'\"}'''\r\n- Try to retrieve document at: `http://pelias.bigdev.mapzen.com/v1/place?id=osm:937569400`\r\n - Gets non-GeocodeJSON error: ```{error: \"osm is invalid. It must be one of these values - [geoname, osmnode, osmway, admin0, admin1, admin2, neighborhood, locality, local_admin, osmaddress, openaddresses]\"}```"},"comment":{"url":"https://api.github.com/repos/pelias/api/issues/comments/140504268","html_url":"https://github.com/pelias/api/issues/238#issuecomment-140504268","issue_url":"https://api.github.com/repos/pelias/api/issues/238","id":140504268,"user":{"login":"orangejulius","id":111716,"avatar_url":"https://avatars.githubusercontent.com/u/111716?v=3","gravatar_id":"","url":"https://api.github.com/users/orangejulius","html_url":"https://github.com/orangejulius","followers_url":"https://api.github.com/users/orangejulius/followers","following_url":"https://api.github.com/users/orangejulius/following{/other_user}","gists_url":"https://api.github.com/users/orangejulius/gists{/gist_id}","starred_url":"https://api.github.com/users/orangejulius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orangejulius/subscriptions","organizations_url":"https://api.github.com/users/orangejulius/orgs","repos_url":"https://api.github.com/users/orangejulius/repos","events_url":"https://api.github.com/users/orangejulius/events{/privacy}","received_events_url":"https://api.github.com/users/orangejulius/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T19:07:33Z","updated_at":"2015-09-15T19:07:33Z","body":"Yeah, this and #259 should be easy to tackle at once"}}