Set Device Auto Recovery
PUT {{baseUrl}}/v1/device/:deviceUid/auto-recovery
Set configuration of device auto recovery process if device supports that.
Parameters
Field | Type | Required | Description |
---|---|---|---|
enabled | boolean | required | Indicates whether peer recovery should be enabled or disabled |
healthcheckIntervalMs | integer | required | When auto recovery is enabled, watchdog in node process checks periodically browser process with interval specified in ms. This attribute is required only if enabled is true |
autoEnableTimeoutMs | integer | required | When peer recovery is disabled, a time period in ms can be specified, after which the process is enabled automatically. This attribute is required only if enabled is false |
Request Body
{"enabled"=>"<boolean>", "healthcheckIntervalMs"=>"<integer>", "autoEnableTimeoutMs"=>"<integer>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-auth | string | Authorization key and token | |
Content-Type | string | ||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{}