Skip to main content
POST
/
api
/
v2
/
search_engines
/
{hashid}
/
indices
/
{name}
/
temp
/
Create temporary index
curl --request POST \
  --url https://{search_zone}-api.doofinder.com/api/v2/search_engines/{hashid}/indices/{name}/temp/ \
  --header 'Authorization: <api-key>'
{
  "status": "OK"
}

Authorizations

Authorization
string
header
required

Doofinder API key. Pass it as: Authorization: Token <api_key>

Path Parameters

hashid
string
required

Unique id of a search engine.

Pattern: ^[a-f0-9]{32}$
name
string
required

Name of an index.

Pattern: ^[a-z][a-z0-9_]*$

Response

Temporary index created.

The response is of type object.