跳转到主要内容
POST
/
modules
/
install
安装模块
curl --request POST \
  --url http://{host}:{port}/api/v1/superuser/modules/install \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/zip' \
  --data '"<string>"'
[
  {
    "type": "<string>",
    "stdout": "<string>",
    "stderr": "<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>

查询参数

url
string<uri>

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

请求体

application/zip

The body is of type file.

响应

安装输出消息列表

type
string
必填
Allowed value: "stdio"
stdout
string
stderr
string
Last modified on June 1, 2026