concept interface contract in category api

appears as: interface contract, interface contract, n interface contract
The Design of Web APIs

This is an excerpt from Manning's book The Design of Web APIs.

So every single aspect of the interface contract, every behavior of an API, must be consistent. But we only talked about being consistent within an API; indeed, this is only the first level of consistency in API design.

API design guidelines can be composed of three different layers: reference guidelines that focus on describing the foundations of the API designs, use case guidelines that explain how to apply these foundations through various uses cases, and design process guidelines that provide guidance about how to design APIs. Such guidelines can also provide information that goes beyond the interface contract, such as details about software architecture and implementation principles. Let’s take a closer look at each possible layer of the design guidelines, what it contains, and why you should think about including it in your API’s guidelines.