api-design - Concepts
Explore concepts tagged with "api-design"
Total concepts: 24
Concepts
- Bug Compatibility - Deliberately preserving or reproducing the bugs and quirks of an earlier system, because existing software has come to depend on them.
- Bring Your Own Key - A model where users supply their own API keys or cryptographic keys to a third-party application instead of using shared keys provided by the vendor.
- Backward Compatibility - The ability of a newer version of a system to keep working with the data, interfaces and clients that were built for older versions.
- Pit of Success - Build systems so that the easiest path is also the right one: people fall into good results by default, and they have to work hard to get things wrong.
- Consumer-Driven Contracts - A way to evolve services safely: each consumer states what it expects from a provider as an executable contract, and the provider runs all those contracts as tests.
- Hyrum's Law - With enough users, every observable behaviour of a system will be depended on by somebody, regardless of what the contract promises.
- Footgun - A feature, tool or API that makes it easy to shoot yourself in the foot: the obvious use works most of the time, then does something harmful that nobody notices right away.
- API Versioning - Managing incompatible changes to an API by publishing explicit versions, so existing clients keep working while new clients get the new behavior.
- Rate Limiting - A technique that caps how many requests a client can make to a service in a given time window, protecting the service from overload, abuse, and runaway costs.
- HTTP - The foundational protocol of the World Wide Web that enables the transfer of hypertext documents and data between clients and servers.
- API Key - A secret token issued by a service to identify and authenticate the caller of an API request.
- Breaking Change - A change to a system that makes existing clients fail or behave differently unless they are modified.
- Statelessness - A design principle where components do not retain information between requests or operations, treating each interaction independently.
- Escape Hatch - A deliberate, explicit way to bypass an abstraction, convention or safety mechanism when the default path doesn't fit the problem at hand.
- OAuth - An open standard for delegated authorization that lets users grant third-party applications scoped access to their accounts without sharing passwords.
- Hard to Misuse - Make interfaces easy to use correctly and hard to use incorrectly, so the design prevents mistakes instead of relying on the documentation.
- Principle of Least Astonishment - A component should behave the way its users expect it to, because every surprise is an opportunity for a mistake.
- Forward Compatibility - The ability of an older version of a system to accept input produced by newer versions, usually by safely ignoring what it does not understand.
- Make Simple Things Simple, Complex Things Possible - A design principle attributed to Alan Kay: the common tasks should be easy to do, and the advanced tasks should still be possible.
- Boolean Trap - An API design mistake where boolean parameters make function calls unreadable and easy to get wrong, because true and false say nothing about what they control.
- Idempotency - A property where an operation can be applied multiple times without changing the result beyond the initial application.
- Tolerant Reader - An integration pattern where a consumer reads only the data it needs from a message and ignores everything else, so the provider can evolve without breaking it.
- Bring Your Own Model - An AI application pattern that lets users plug in their own language model — self-hosted, fine-tuned, or from a chosen provider — instead of being tied to a vendor's default.
- Deprecation - Marking a feature as discouraged and scheduled for removal, while it keeps working for a transition period so its users have time to move away.
← Back to all concepts