host:
description: "你的路由器的 IP 地址或主机名,例如 `192.168.1.1` 或 `rt-ac68u`。"
required: true
type: string
port:
description: "你的路由器端口号,例如 `443`。"
required: false
type: integer
default: 80/443 (automatically detected)
ssl:
description: "是否通过 `https` 连接。"
required: false
type: boolean
default: false
verify_ssl:
description: "如果需要关闭 HTTPS 资源的 SSL 验证(例如自签名证书),可设置为布尔值 `false` 或 `true`,或者传入设备上可用于验证的证书路径,例如 `/mnt/NAS/router_cert.pem`。"
required: false
type: [string, boolean]
default: true
username:
description: "具有管理权限的用户名,通常为 *admin*。"
required: true
type: string
password:
description: "对应管理员账号的密码。"
required: true
type: string
http_id:
description: "`http_id` 的值。"
required: true
type: string