Pastime | Episode
Pastime

35: Jonathan Reinink - Fixing Common API Design Mistakes

Full Stack Radio | Feb 12 2016 | 00:49:33

Topics include:
Does it make sense to scope resources to the authenticated user or should you always use sub-resources?
When to use nested resources and when to avoid them
Strategies for dealing with actions that don't seem to fit into REST
Breaking the mapping between your API and your database
Using singular sub-resources and optional fields to simplify your responses
Links:
Jonathan's personal website
Plates templating library
Glide image manipulation library

Nesting resources by Jamis Buck
There's a model hiding in your REST API

Build APIs You Won't Hate by Phil Sturgeon
Sponsored by Laracasts