Hacker News new | past | comments | ask | show | jobs | submit login

One thing is not obvious to me: would the header accept any date and use that as a tie-breaker, or would the header only accept “version” dates?

Let’s say I start coding against the API today, can I just set the header to “today” and github will dereference that to the nearest preceding version, or do I have to look up and set the header for each endpoint?

IME it’s common to have a “broker” which handles all calls to the API in order to do common ore and post processing, having to look up and specify versions for each call sites would be frustrating, as well as the risk of different calls using different versions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: