Lurker News
I tend to always look to api.github.com when I need a little inspiration.

Anyone have some good examples of a particularly well laid out API?

Comments (182) 67 threads

Show all comments

Showing thread 54 of 67

einrealist1 reply#
Roy Fieldings dissertation.

If a client starts to construct URIs, then there is a flaw.

SilasX1 reply#
So every accessible URI must be explicitly presented to the client? Even when there are trillions of possible combinations of settings?
einrealist1 reply#
Does your browser need all the ressources of the Internet at once?
SilasX1 reply#
No; nor does it need the overhead of having to navigate through several lists to get to the desired URI when it could infer the full URI from the very beginning.
einrealist6 replies#
You are free to type in any URI you like. In fact, a REST client can save links (bookmarks) or cache payloads that contain these links / forms (templates). But don't expect the server to not change things. So being able to navigate is a form of resilience. For me, thats worth to have with what you call "overhead". I call it a sane tradeoff.

Continue this thread — 6 replies