跳转到主要内容
PUT
/
system
/
boot
写入镜像到当前槽位的 init_boot 或 boot 分区
curl --request PUT \
  --url http://{host}:{port}/api/v1/superuser/system/boot \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-raw-disk-image' \
  --data '"<string>"'

授权

Authorization
string
header
必填

后端管理密码

同时支持 Authorization: Bearer <password>Authorization: <password>

查询参数

url
string<uri>

可选下载地址,仅请求体为空时使用

请求体

application/x-raw-disk-image

The body is of type file.

响应

镜像已写入

Last modified on June 6, 2026