We've talked before about how to build a JSON API with Rails 5. We also discussed using Rails 5 in --api mode, serializing our JSON responses, caching, and also rate limiting/throttling. These are all important topics, but even more important is producing a clear, standards-compliant API. We're going to look at how to build an API that conforms to the json:api spec. The json:api spec isn't just li
![How to Build Rails APIs Following the json:api Spec](https://cdn-ak-scissors.b.st-hatena.com/image/square/70b08c8ca902725fc85aa26c1ba4843ea2215260/height=288;version=1;width=512/https%3A%2F%2Fimages.ctfassets.net%2Fvtn4rfaw6n2j%2F4BZ8uWfrtE9VFjm93n9szp%2F7e946abe2d018ab22a1a2e4dbbeca0f9%2Fhttps___no-cache.hubspot.com_cta_default_1169977_964db6a6-69da-4366-afea-b129019aff07.png%3Fw%3D1200%26h%3D630%26fit%3Dfill)