模块

更新模块系统

接收 modinit ELF 可执行文件,校验签名和版本后执行模块系统初始化

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

put/modules

Request

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

Query parameters

urlstring uri

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

Request body application/x-elf

string binary required

Response

模块系统已更新

Changes

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