Skip to navigation

Start an index run

Starts rhebok index (or rhebok index --reindex) as a child process whose output goes to db.log, and returns at once. Poll GET /api/progress and GET /api/index to follow it.

Request

Optional. An empty or whitespace-only body means {"reindex": false}.

reindexbooleanOptionalDefaults to false

True runs rhebok index --reindex, which rebuilds from source.

Response

The index process started.
startedtrue
pidinteger
reindexboolean

Errors

400
Bad Request Error
409
Conflict Error
413
Content Too Large Error
421
Misdirected Request Error
500
Internal Server Error
503
Service Unavailable Error