{"action":"created","issue":{"url":"https://api.github.com/repos/JeroenDeDauw/QueryrAPI/issues/14","labels_url":"https://api.github.com/repos/JeroenDeDauw/QueryrAPI/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/JeroenDeDauw/QueryrAPI/issues/14/comments","events_url":"https://api.github.com/repos/JeroenDeDauw/QueryrAPI/issues/14/events","html_url":"https://github.com/JeroenDeDauw/QueryrAPI/issues/14","id":118238259,"number":14,"title":"Determine $id/label behaviour for no label","user":{"login":"JeroenDeDauw","id":146040,"avatar_url":"https://avatars.githubusercontent.com/u/146040?v=3","gravatar_id":"","url":"https://api.github.com/users/JeroenDeDauw","html_url":"https://github.com/JeroenDeDauw","followers_url":"https://api.github.com/users/JeroenDeDauw/followers","following_url":"https://api.github.com/users/JeroenDeDauw/following{/other_user}","gists_url":"https://api.github.com/users/JeroenDeDauw/gists{/gist_id}","starred_url":"https://api.github.com/users/JeroenDeDauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeroenDeDauw/subscriptions","organizations_url":"https://api.github.com/users/JeroenDeDauw/orgs","repos_url":"https://api.github.com/users/JeroenDeDauw/repos","events_url":"https://api.github.com/users/JeroenDeDauw/events{/privacy}","received_events_url":"https://api.github.com/users/JeroenDeDauw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JeroenDeDauw/QueryrAPI/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/JeroenDeDauw/QueryrAPI/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-22T04:21:47Z","updated_at":"2015-11-22T04:24:49Z","closed_at":null,"body":"What should the `items/$id/label` and `properties/$id/label` endpoints return when there is no label in the requested language? (Currently that can only be English.)\r\n\r\nThe current behaviour is returning a 404"},"comment":{"url":"https://api.github.com/repos/JeroenDeDauw/QueryrAPI/issues/comments/158707397","html_url":"https://github.com/JeroenDeDauw/QueryrAPI/issues/14#issuecomment-158707397","issue_url":"https://api.github.com/repos/JeroenDeDauw/QueryrAPI/issues/14","id":158707397,"user":{"login":"JeroenDeDauw","id":146040,"avatar_url":"https://avatars.githubusercontent.com/u/146040?v=3","gravatar_id":"","url":"https://api.github.com/users/JeroenDeDauw","html_url":"https://github.com/JeroenDeDauw","followers_url":"https://api.github.com/users/JeroenDeDauw/followers","following_url":"https://api.github.com/users/JeroenDeDauw/following{/other_user}","gists_url":"https://api.github.com/users/JeroenDeDauw/gists{/gist_id}","starred_url":"https://api.github.com/users/JeroenDeDauw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeroenDeDauw/subscriptions","organizations_url":"https://api.github.com/users/JeroenDeDauw/orgs","repos_url":"https://api.github.com/users/JeroenDeDauw/repos","events_url":"https://api.github.com/users/JeroenDeDauw/events{/privacy}","received_events_url":"https://api.github.com/users/JeroenDeDauw/received_events","type":"User","site_admin":false},"created_at":"2015-11-22T04:24:49Z","updated_at":"2015-11-22T04:24:49Z","body":"In case a 404 should not be provided, what should happen when the entity itself does not exist when such an endpoint is hit? This information is not available in the current code - it'll just know there is no label, and not if this is caused by absence of the entity or not. So it's extra work to do such a check, though the consistency might be worth it. (This is what GH does: https://api.github.com/users/JeroenDeDauwOfDoom/followers)"}}