跳转到主要内容
POST
/
modules
/
id
/
{mid}
/
update
/
{url}
下载模块远程更新资源
curl --request POST \
  --url http://{host}:{port}/api/v1/superuser/modules/id/{mid}/update/{url} \
  --header 'Authorization: Bearer <token>'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://oom-wg.dev/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

后端管理密码

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

路径参数

mid
string
必填

模块 ID

url
enum<string>
必填

模块更新资源类型

可用选项:
changelog,
zip

响应

远程更新资源

The response is of type file.

Last modified on June 1, 2026