Common API conventions

All Elasticsearch REST APIs share some common features. They can be used across almost all APIs. In this section, we will cover the following features:

  • Formatting the JSON response
  • Dealing with multiple indexes

Let's look at each item, one by one, in the following sections.