Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on API Design Guide. Parent comment
...HATEOS, IDGAF if //api.me.com/article/list uses 404 to mean there are zero articles returned from an otherwise valid resource.
Just yesterday, I asked a back-ender to put the total_pages, page_limit, and current_page on their endpoint.
BE: But you should be able to use my "self", "next", "prev" links?
FE: Well the thing is, I want to generate and render links for every page
BE: Oh, I see...
There are no comments on this comment yet.
...HATEOS, IDGAF if //api.me.com/article/list uses 404 to mean there are zero articles returned from an otherwise valid resource.
Just yesterday, I asked a back-ender to put the total_pages, page_limit, and current_page on their endpoint.
BE: But you should be able to use my "self", "next", "prev" links?
FE: Well the thing is, I want to generate and render links for every page
BE: Oh, I see...