Open JeroenDeDauw opened 8 years ago
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)
What should the
items/$id/label
andproperties/$id/label
endpoints return when there is no label in the requested language? (Currently that can only be English.)The current behaviour is returning a 404