系统

重启或关闭设备

前端调用后应该刷新页面

post/system/reboot

Request

  • Base URL
    http://127.0.0.1:5355/api/v1/superuser
  • URL
    http://127.0.0.1:5355/api/v1/superuser/system/reboot
  • Auth
    HTTP bearer

Query parameters

shutdownstring

查询参数中包含 shutdown 时请求关机,否则请求重启

Response

已请求执行电源操作

Changes

No recorded changes to this operation across all 1 revision of this API.