3 ms·
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.
by KuhlMensch 10y ago
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...