Executes an Elasticsearch DSL query JSON via POST and returns hits that match the query.
Changed onTo 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.
Request
- Base URLhttps://search.api.hubmapconsortium.org/v3
- Authnone declared
Query parameters
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
Response
Returns search hits from backend Elasticsearch that match the query defined in the request JSON
Changes
- info
api operation id
search-postremoved and replaced with - info
api tag
searchremoved - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- info
- breaking
added required request body
- breaking