Horror Stories From Other People’s APIs
summary
Real examples of bad API choices and fixes are called out: credentials emailed in plain text, gateways and key managers (Kong, Tyke, Azure API Gateway) replace homegrown key generation, a documentation vacuum forces video calls instead of OpenAPI, inconsistent versioning (2.0 vs 2.1) and Microsoft Graph shows single-version is viable, odd responses like zip-with-json instead of 404, inconsistent 200/404, bespoke query languages instead of OData or GraphQL, RPC-style actions instead of PATCH-driven state changes, and using RFC7807 and proper status codes solves many error problems.
AI-written summary · about
chapters (15)
- 0:00Intro
- 0:16Agenda
- 2:16Vincenzo Chianese
- 3:03Journey in the API Industry
- 6:03Security Credentials
- 8:11Versioning
- 11:25Consistency
- 18:55Documentation
- 20:06Do not reinvent the wheel
- 22:14Payload Pollution
- 24:27Namespaced Properties
- 25:47Wrong Terminology
- 29:09Change Status vs Actions
- 34:01oData might not be what you need
- 35:57Implicit promises
