Poll an async reset operation
GET
/v1/reset/status/{opId}
const url = 'http://localhost:8090/v1/reset/status/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8090/v1/reset/status/exampleParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”opId
required
string
Responses
Section titled “ Responses ”Operation state
Media typeapplication/json
object
opId
required
string format: uuid
state
required
string
error
string
Example
{ "state": "done"}No ledger entry for this operation. The ledger is in-process and bounded, so a restart, a different replica or eviction produces this for an operation that may have completed. It is NOT proof the reset did not run.
