35: Jonathan Reinink - Fixing Common API Design Mistakes
In this episode, Adam talks to Jonathan Reinink of Code Distillery about common API design challenges and how to fix them.
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
- 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