News for hackers. Stuff that matters.
Re:Best practices for REST API design (2020) by NanoWar on Monday February 22, 2021 @04:07PM (#26230626)
You could simply use HAL with embedded resources in JSON. Not sure how the client side feels about that though
Re:Best practices for REST API design (2020) by qudat on Monday February 22, 2021 @05:23PM (#26231487)
It's simpler if it's normalized like with JSONAPI, but all of the apps I've worked on use an E(T)L process where the transformation step normalizes the data before saving it to our cache.