5 ms·
GitHub does it for more than pagination: http://developer.github.com/v3/pulls/ http://developer.github.com/v3/pulls/ Please see my comment here: http://news.yc
by steveklabnik 14y ago
GitHub does it for more than pagination: http://developer.github.com/v3/pulls/ http://developer.github.com/v3/pulls/
Please see my comment here: http://news.ycombinator.com/item?id=4949311 http://news.ycombinator.com/item?id=4949311
Also, Balanced (YC W11): https://www.balancedpayments.com/docs/overview#storing-the-uri-vs-id https://www.balancedpayments.com/docs/overview#storing-the-u...
- technoweenie 14y ago$ curl https://api.github.com https://api.github.com We're experimenting with more :)
- steveklabnik 14y ago<3 <3 <3. I really need to buy you a beer sometime.
- mahmoudimus 14y agoThat's cool :) I agree with steveklabnik, I want to see what Balanced can do to learn from Github's experiments in hypermedia APIs
- dreamdu5t 14y agoSo sexy.
- gcampbell 14y agoWhat are the advantages/disadvantages of serializing links in the body JSON (i.e. HAL) vs. using the Link header?
- politician 14y agoThis is a good question, and the answer is philosophical purity and pragmatism. Philosophically, some people believe that this information should be encapsulated in the HTTP response body, while others believe that they should be able to leverage all of the parts of the HTTP spec including the response headers. Pragmatically, certain environments make it harder or easier to access certain parts of request and response objects, but the lowest common denominator is the body content.