App Openapi Add Auth Path
app_openapi_add_auth_pathAdds an OpenAPI authentication path to a specified fnOS app, enabling authenticated API access for that app's endpoints.
Instructions
为应用添加 OpenAPI 鉴权路径(写操作)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | NAS 主机地址(IP 或域名) | |
| path | Yes | 鉴权路径 | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default | |
| app_name | Yes | 应用 appName,取自 app_list 的 appName 字段(如 fn-codeserver),不是 name 显示名 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |