Building Ambitious APIs with Ruby
summary
A concrete workflow for an Ember + Rails API: scaffold a Pets/Toys app, use active_model_serializers with Ember Data, and follow the emerging JSON API shape to get consistent resource representations. Implement side‑loading (ids + included arrays) to eliminate duplication, offer sparse fieldsets via a fields= parameter, paginate with RFC5988 link headers, and secure endpoints with HTTPS and token-based auth (consider existing OAuth gems). The JSON API spec remains in flux.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:08API Checklist
- 3:23HTTP Methods
- 4:24RESTful APIs
- 9:50JSON API
- 21:18API Design
- 27:32Sparse Field Sets
- 28:43Sort Order
- 28:56Pagination
- 31:55Steves PDF
- 33:07OAuth
related talks
42mBuilding Better Web APIs with Rails
24mBuild The API First
32mFast, Testable and SANE APIs
19mJSON API in the Ruby world
11mBuilding Efficient APIs with JSON-API
42mWeb API's with ERLANG a Ruby Dev's POV
41mAPPLICATION ARCHITECTURE: BOUNDARIES, OBJECT ROLES, & PATTERNS
22mBuilding the Great Wall: API Driven Applications
