Please see the Elasticsearch API specification.