Skip to content

/search (POST)

POST
/search
curl --request POST \
--url https://api.quantcdn.io/v1/search \
--header 'Content-Type: application/json' \
--header 'Quant-Customer: example' \
--header 'Quant-Project: example' \
--header 'Quant-Token: <Quant-Token>' \
--data '[ { "title": "example", "content": "example", "url": "example", "summary": "example" } ]'

Create or update items in search index

Quant-Customer
required
string

The customer account name

Quant-Project
required
string

The project machine name

Media typeapplication/json

Search records

Array<object>

A search record

object
title

The title of a search record

string
content

The full body of content related to a search record

string
url

The URL of a search record

string
summary

The optional summary of a search record

string
Examplegenerated
[
{
"title": "example",
"content": "example",
"url": "example",
"summary": "example"
}
]

Okay

Invalid payload, should contain array of search records

Invalid credentials