News for hackers. Stuff that matters.
Re:Use links not keys to represent relationships in APIs by statictype on Sunday May 12, 2019 @08:54AM (#19891584)
You absolutely still need docs on the end point.

If you’re interacting with the api then it’s extremely likely you’re not going to write code that will automatically follow reference links and attempt to parse them dynamically.

You will need to know what fields are in the end point how they represent data (iso 8601 for dates? Unix timestamps?).

You’re substituting documentation with asking the api consumer to explore and discover and assume.

Re:Use links not keys to represent relationships in APIs by M2Ys4U on Sunday May 12, 2019 @06:28PM (#19894998)
You need docs about the media type, which is not exactly the same thing.

But you've documented how your API works anyway, right?