News for hackers. Stuff that matters.
Re:API Design Guide by KuhlMensch on Thursday February 23, 2017 @02:04AM (#13712197)
Web frontenders in my experience want REST APIS that are semantically thought out (aka "nice") rather than compliant with some spec.

...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.