Search & Match
Index a new document
Changed onCreate an indexed document for the search tool
post/v3/index/{name}/documents
Request
- Base URLhttps://api.affinda.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namestring required
Unique index name
Example:my-index
Index name
Request body
Example request
{
"document": "EhglqBoT"
}Response
Returns the created indexed document
Example response
{
"document": "EhglqBoT"
}Changes
- info
api tag
Search & Matchadded - info
api tag
Search & Match API - Indexingremoved
- info