The Open Distro project is archived. Open Distro development has moved to OpenSearch. The Open Distro plugins will continue to work with legacy versions of Elasticsearch OSS, but we recommend upgrading to OpenSearch to take advantage of the latest features and improvements.
Common REST parameters
Elasticsearch supports the following parameters for all REST operations:
|Human-readable output||To convert output units to human-readable values (for example, || |
|Pretty result||To get back JSON responses in a readable format, add || |
|Content type||To specify the type of content in the request body, use the || |
|Request body in query string||If the client library does not accept a request body for non-POST requests, use the || |
|Stack traces||To include the error stack trace in the response when an exception is raised, add || |