POST
/
api
/
v1
/
typesense
/
multi-search
Buscar em múltiplas coleções
curl --request POST \
  --url https://services.staging.app.dados.rio/go/api/v1/typesense/multi-search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "collections": [
    "<string>"
  ],
  "params": {
    "exclude_fields": "<string>",
    "facet_by": "<string>",
    "facet_query": "<string>",
    "filter_by": "<string>",
    "highlight_fields": "<string>",
    "highlight_full_fields": "<string>",
    "include_fields": "<string>",
    "max_facet_values": 123,
    "num_typos": 123,
    "page": 123,
    "per_page": 123,
    "prefix": true,
    "q": "<string>",
    "query_by": "<string>",
    "sort_by": "<string>"
  }
}'
{
  "results": {},
  "total_found": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Parâmetros de busca

The body is of type object.

Response

200
application/json

OK

The response is of type object.