API Standards 2.0
summary
API design recommendations and concrete defaults: version APIs from day one and put the version in the URL for clarity; deprecate with a published policy (60 days for beta, 30 days for official, 12 months for major retirements) and emit the Sunset header so consumers and libraries can react; use proper status codes (201 created, 202 accepted, 415, 422) and prefer RFC 7807 problem details with a trace ID; prefer JSON Merge Patch/JSON Patch for partial updates, use cursor pagination for scale, expose next-page links, and publish an OpenAPI spec and client samples.
AI-written summary · about
chapters (28)
- 0:00Intro
- 1:29Building an API
- 13:20HTTP verbs
- 14:15Will Pierce
- 17:40Put
- 18:54JasonPatch
- 22:19Action Endpoints
- 25:32Error Handling
- 28:50Extension Members
- 29:44System Errors
- 30:50Client Quote
- 31:23Resource Design Errors
- 31:49API Specification
- 32:58Documentation
- 34:34collation management
- 34:53sorting
- 36:45filtering
- 38:08searching
- 38:25filter
- 39:36industry standards
- 40:06fulltext search
- 41:17pagination
- 44:24hypermedia
- 46:31read limiting
- 50:11API documentation
- 51:01API options
- 51:22Documentation is key
- 51:45Conclusion
related talks
42mREST API design good practices
49mWeb APIs that Developers Love
52mDesigning and Implementing REST APIs For the Long Haul
37mAPI Design: It's Not Rocket Surgery
41mREST API refactoring.
50mAPI Versioning for REST: In Real Life, How Do We Do It?
41mThe making of a great API
40mGive It a REST – Tips for Designing and Consuming Public API’s
