Executes an Elasticsearch DSL query JSON via POST and returns hits that match the query. The response is limited to hits against the specified index_name parameter. Values for index_name can be obtained by calling the /indices endpoint.
To execute a query, the POST method must provide 1) a request body that specifies an Elasticsearch Query DSL statement 2) a bearer token in the Authorization header supplied by HuBMAP. Results are limited to those authorized by the bearer token. Uses the <strong>entities</strong> index by default.
post/{index_name}/search
Path parameters
index_namestring required
the name of an existing Elasticsearch index (Use the <i>/indices</i> web service call to obtain the list of indices)
Query parameters
produce-clt-manifeststring
An optional parameter that, when set to "true", will make the endpoint return a text representation of a manifest file that corresponds with the datasets queried rather than the original response
Request body
object required
Response
Returns search hits from backend Elasticsearch that match the query defined in the request JSON
object required