3 ms·
my favorite part, every time this shows up here, is that an example of a simple api with all the info the client needs to understand the data is: """applicatio
by gcb0 8y ago
my favorite part, every time this shows up here, is that an example of a simple api with all the info the client needs to understand the data is:
"""application/vnd.weather+yaml Media Type that is only supposed to provide a single attribute with its value, as Integer:
temperature: 25"""
which completely ignores the unit ;)
the fact that no human would ever know the actual temperature, shows how disconnected from humanity most protocol design committees are.
- cies 8y agotemperature_in_c would do, so would latency_in_ms, or distance_in_km. I think an API is not for humans in general, but for the specific sub-group of humans that are programmers (and machines obviously). So some disconnect from humanity as a whole is, I believe, acceptable in API design.