Skip to content
v0.5.1GitHub

Using

Starts a background re-index of the domain (all indexes, or one field).

applies to v0.5.1
POST
/store-api/json/{domain}/reindex
curl --request POST \
--url https://example.com/store-api/json/example/reindex \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "field": "example" }'
domain
required
string

JSON domain

Optional field restriction

Media typeapplication/json
object
field

Optional: re-index only this field’s index. Omit for all indexes.

string | null

Example generated

{
"field": "example"
}

Re-index started

Media typeapplication/json
object
task_id
required
string

Example generated

{
"task_id": "example"
}

Malformed request body

Media typetext/plain
string

Domain not found

Media typetext/plain
string

Re-index already running for this domain

Media typetext/plain
string

Domain is being deleted

Media typetext/plain
string

JSON engine disabled

Media typetext/plain
string

Insufficient Storage — disk space or memory runs short; the write was not applied. Reads go on; retry after the seconds in Retry-After.

Media typetext/plain
string
Retry-After
integer