Overview of Elasticsearch API design guidelines
mainThe Elasticsearch API design guidelines provide a set of best practices for creating HTTP APIs that are consistent and easy to consume. These guidelines are intended to support a growing number of API consumers and enable automated systems, such as automatic API documentation generation, to work effectively.
Key Principles:
- Guidelines, not hard rules: These are best practices distilled from experience. Deviations are permitted but should be accompanied by solid reasoning.
- Consistency: The primary goal is to ensure the Elastic product surface is predictable for users and compatible with automated tooling.
- Evolutionary approach: While aligning existing APIs with these principles is a goal, it is recognized as a gradual process.