系统

写入镜像到当前槽位的 init_boot 或 boot 分区

写入提供的镜像,并用零填充目标分区剩余空间

如果请求体为空,后端会从 url 查询参数下载镜像

put/system/boot

Request

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

Query parameters

urlstring uri

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

Request body application/x-raw-disk-image

string binary required

Response

镜像已写入

Changes

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