setWolMode (v1.0)
Estimated reading time: 1 minute
- 此API用于更改设备的WoL (局域网唤醒)模式设置。 模式指示设备是否接收到打开的WoL包。
语法
- http://<Base URL>/system
认证级别
- generic
需求
- params' Elements
- An object composed of the following pair(s).
name | type | multiplicity | default | description |
---|---|---|---|---|
enabled | boolean | 1 | Information on the WoL mode setting
|
- JSON Example
-
{ "method": "setWolMode", "id": 55, "params": [{"enabled": false}], "version": "1.0" }
反馈
- result's Elements
- Not necessary.
- JSON Example
-
{ "result": [], "id": 55 }
- Error Code
- No additional error codes are defined. Refer to error code for common errors.
Last modified: 13 Feb 2019