Search & Match
Create a new index
Changed onCreate an index for the search tool
post/v3/index
Request
- Base URLhttps://api.affinda.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "my-index"
}Response
Returns the created index
Example response
{
"name": "my-index",
"user": {
"id": 1,
"name": "Carl Johnson",
"email": "carljohnson@grove.street",
"avatar": "https://affinda-api.s3.amazonaws.com/media/user-avatar.png?AWSAccessKeyId=KEY&Signature=SIG"
}
}Changes
- info
api tag
Search & Matchadded - info
api tag
Search & Match API - Indexingremoved
- info
- breaking
removed the required property
from the response with the status - warning
removed the request property
- info
added the new optional request property
- info
added the required property
to the response with the status
- breaking