{ "openapi": "3.0.3", "info": { "title": "爱快浏览器账密模式 /Action/call API", "version": "1.0.0", "license": { "name": "内部测试文档", "url": "http://192.168.9.1/" }, "description": "根据爱快前端浏览器请求、`ikuai-doc/` 映射和账密模式测试结果生成。\n\n- 默认测试环境使用爱快默认 LAN 侧地址 `http://192.168.9.1`;如设备启用 HTTPS,也可使用 `https://192.168.9.1`。\n- 浏览器 API 支持 HTTP/HTTPS;当前设备是否允许 HTTP 由管理访问配置决定,若 HTTP 返回 403 请改用 HTTPS。\n- 除 `/Action/login` 外,页面内 API 调用实际都走 `/Action/call`。\n- `/Action/call/_operations/*` 是 OpenAPI 展示用路径,不是设备真实路径。" }, "servers": [ { "url": "http://192.168.9.1", "description": "爱快默认 LAN 侧 HTTP 地址" }, { "url": "https://192.168.9.1", "description": "爱快默认 LAN 侧 HTTPS 地址" }, { "url": "http://192.168.99.202", "description": "本次 VMware 测试环境 LAN1 HTTP" }, { "url": "https://192.168.99.202", "description": "本次 VMware 测试环境 LAN1" }, { "url": "http://192.168.99.201", "description": "本次 VMware 测试环境 WAN1 HTTP" }, { "url": "https://192.168.99.201", "description": "本次 VMware 测试环境 WAN1" } ], "tags": [ { "name": "会话", "description": "登录和会话建立" }, { "name": "通用调用", "description": "/Action/call 通用入口" }, { "name": "ACL访问控制列表API", "description": "来源分类: security" }, { "name": "AC服务管理API", "description": "来源分类: wireless" }, { "name": "ALG应用层网关管理API", "description": "来源分类: system" }, { "name": "ARP日志管理API", "description": "来源分类: log" }, { "name": "CPU频率管理API", "description": "来源分类: system" }, { "name": "DHCPv6访问控制管理API", "description": "来源分类: network" }, { "name": "DHCP客户端管理API", "description": "来源分类: network" }, { "name": "DHCP日志管理API", "description": "来源分类: log" }, { "name": "DHCP服务管理API", "description": "来源分类: network" }, { "name": "DHCP访问控制管理API", "description": "来源分类: network" }, { "name": "DHCP静态分配管理API", "description": "来源分类: network" }, { "name": "DMZ策略管理API", "description": "来源分类: network" }, { "name": "DNS服务管理API", "description": "来源分类: network" }, { "name": "FTP服务管理API", "description": "来源分类: advanced" }, { "name": "HTTP服务器管理API", "description": "来源分类: advanced" }, { "name": "IKEv2 VPN客户端管理API", "description": "来源分类: vpn" }, { "name": "IKEv2/IPSec服务器管理API", "description": "来源分类: vpn" }, { "name": "IPSEC VPN客户端管理API", "description": "来源分类: vpn" }, { "name": "IPv6对象管理API", "description": "来源分类: object_group" }, { "name": "IP地址限速管理API", "description": "来源分类: network" }, { "name": "IP对象管理API", "description": "来源分类: object_group" }, { "name": "L2TP VPN客户端管理API", "description": "来源分类: vpn" }, { "name": "L2TP服务器管理API", "description": "来源分类: vpn" }, { "name": "LAN接口管理API", "description": "来源分类: network" }, { "name": "MAC地址限速管理API", "description": "来源分类: network" }, { "name": "MAC对象管理API", "description": "来源分类: object_group" }, { "name": "MAC访问控制API", "description": "来源分类: security" }, { "name": "NAT规则策略管理API", "description": "来源分类: network" }, { "name": "OpenVPN客户端管理API", "description": "来源分类: vpn" }, { "name": "OpenVPN服务器管理API", "description": "来源分类: vpn" }, { "name": "PPPoE服务器管理API", "description": "来源分类: auth" }, { "name": "PPTP VPN客户端管理API", "description": "来源分类: vpn" }, { "name": "PPTP服务器管理API", "description": "来源分类: vpn" }, { "name": "SNMP服务管理API", "description": "来源分类: advanced" }, { "name": "Samba服务管理API", "description": "来源分类: advanced" }, { "name": "URL关键字替换API", "description": "来源分类: security" }, { "name": "URL参数替换API", "description": "来源分类: security" }, { "name": "URL跳转API", "description": "来源分类: security" }, { "name": "URL黑白名单API", "description": "来源分类: security" }, { "name": "VLAN接口管理API", "description": "来源分类: network" }, { "name": "VRRP热备管理API", "description": "来源分类: system" }, { "name": "WAN接口管理API", "description": "来源分类: network" }, { "name": "WEB操作日志管理API", "description": "来源分类: log" }, { "name": "WEB登录账号与用户组管理API", "description": "来源分类: system" }, { "name": "WEB认证服务管理API", "description": "来源分类: auth" }, { "name": "WireGuard管理API", "description": "来源分类: vpn" }, { "name": "上下行分离策略管理API", "description": "来源分类: route" }, { "name": "云管交换机监控API", "description": "来源分类: monitor" }, { "name": "内核参数配置API", "description": "来源分类: system" }, { "name": "分流监控API", "description": "来源分类: monitor" }, { "name": "动态域名日志管理API", "description": "来源分类: log" }, { "name": "协议分流策略管理API", "description": "来源分类: route" }, { "name": "协议对象管理API", "description": "来源分类: object_group" }, { "name": "告警信息API", "description": "来源分类: log" }, { "name": "周边设备监控API", "description": "来源分类: monitor" }, { "name": "域名分流策略管理API", "description": "来源分类: route" }, { "name": "域名对象管理API", "description": "来源分类: object_group" }, { "name": "域名黑名单API", "description": "来源分类: security" }, { "name": "外网拨号日志管理API", "description": "来源分类: log" }, { "name": "多线负载分流策略管理API", "description": "来源分类: route" }, { "name": "套餐管理API", "description": "来源分类: auth" }, { "name": "安全中心高级设置API", "description": "来源分类: security" }, { "name": "应用协议控制API", "description": "来源分类: security" }, { "name": "应用协议监控管理API", "description": "来源分类: monitor" }, { "name": "接口监控管理API", "description": "来源分类: monitor" }, { "name": "推送通知日志管理API", "description": "来源分类: log" }, { "name": "摄像头监控API", "description": "来源分类: monitor" }, { "name": "无线监控管理API", "description": "来源分类: monitor" }, { "name": "无线终端VLAN管理API", "description": "来源分类: wireless" }, { "name": "无线终端日志管理API", "description": "来源分类: log" }, { "name": "无线访问控制管理API", "description": "来源分类: wireless" }, { "name": "时间对象管理API", "description": "来源分类: object_group" }, { "name": "流量审计监控API", "description": "来源分类: monitor" }, { "name": "消息中心API", "description": "来源分类: log" }, { "name": "用户账号管理API", "description": "来源分类: auth" }, { "name": "端口分流策略管理API", "description": "来源分类: route" }, { "name": "端口对象管理API", "description": "来源分类: object_group" }, { "name": "端口映射规则管理API", "description": "来源分类: network" }, { "name": "系统固件升级API", "description": "来源分类: system" }, { "name": "系统基础设置API", "description": "来源分类: system" }, { "name": "系统备份管理API", "description": "来源分类: system" }, { "name": "系统文件管理API", "description": "来源分类: system" }, { "name": "系统日志管理API", "description": "来源分类: log" }, { "name": "系统磁盘信息API", "description": "来源分类: system" }, { "name": "系统重启计划管理API", "description": "来源分类: system" }, { "name": "终端上下线日志API", "description": "来源分类: log" }, { "name": "终端名称管理API", "description": "来源分类: security" }, { "name": "终端监控管理API", "description": "来源分类: monitor" }, { "name": "网址浏览记录API", "description": "来源分类: log" }, { "name": "网络分享控制API", "description": "来源分类: security" }, { "name": "自定义协议策略管理API", "description": "来源分类: network" }, { "name": "认证日志管理API", "description": "来源分类: log" }, { "name": "认证用户管理API", "description": "来源分类: auth" }, { "name": "负载监控API", "description": "来源分类: monitor" }, { "name": "远程访问配置API", "description": "来源分类: system" }, { "name": "连接数限制API", "description": "来源分类: security" }, { "name": "静态路由策略管理API", "description": "来源分类: route" }, { "name": "高级自定义协议管理API", "description": "来源分类: network" } ], "paths": { "/Action/login": { "post": { "tags": [ "会话" ], "summary": "登录并建立浏览器 Cookie 会话", "operationId": "login", "description": "使用用户名和密码 MD5 登录。登录成功后,后续 `/Action/call` 依赖同一会话 Cookie。浏览器 API 可走 HTTP 或 HTTPS,实际是否允许 HTTP 取决于设备管理访问配置。", "security": [], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LoginRequest" }, "examples": { "login": { "summary": "登录请求示例", "value": { "username": "admin", "passwd": "md5(password)", "pass": "md5(password)", "remember_password": true } } } } } }, "responses": { "200": { "$ref": "#/components/responses/LoginResponse" }, "403": { "$ref": "#/components/responses/Forbidden" } } } }, "/Action/call": { "post": { "tags": [ "通用调用" ], "summary": "通用 /Action/call 调用入口", "operationId": "actionCall", "description": "所有页面内 API 调用都通过该路径提交 `{func_name, action, param}`。下方 `/Action/call/_operations/*` 路径是逐项文档展示路径,实际调用仍固定使用本路径。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ActionCallRequest" }, "examples": { "show": { "summary": "只读调用示例", "value": { "func_name": "wan", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } } } }, "/Action/call/_operations/getFtpConfig": { "post": { "tags": [ "FTP服务管理API" ], "summary": "获取FTP服务配置", "operationId": "call_getFtpConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/advanced-service/ftp-config`\n- 来源文件: `advanced/advanced-ftp-server.json`\n- func_name: `ftp_server`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ftp_server" ], "example": "ftp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ftp_server/show", "value": { "func_name": "ftp_server", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ftp_server", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "advanced/advanced-ftp-server.json", "method": "get", "path": "/api/v4.0/advanced-service/ftp-config", "operationId": "getFtpConfig", "summary": "获取FTP服务配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateFtpConfig": { "post": { "tags": [ "FTP服务管理API" ], "summary": "更新FTP服务配置", "operationId": "call_updateFtpConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/advanced-service/ftp-config`\n- 来源文件: `advanced/advanced-ftp-server.json`\n- func_name: `ftp_server`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ftp_server" ], "example": "ftp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "open_ftp": 1, "ftp_port": 21, "ftp_access": 1 }, "default": { "open_ftp": 1, "ftp_port": 21, "ftp_access": 1 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ftp_server/save", "value": { "func_name": "ftp_server", "action": "save", "param": { "open_ftp": 1, "ftp_port": 21, "ftp_access": 1 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ftp_server", "x-ikuai-action": "save", "x-ikuai-param-example": { "open_ftp": 1, "ftp_port": 21, "ftp_access": 1 }, "x-ikuai-source": { "spec_file": "advanced/advanced-ftp-server.json", "method": "put", "path": "/api/v4.0/advanced-service/ftp-config", "operationId": "updateFtpConfig", "summary": "更新FTP服务配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listFtpUsers": { "post": { "tags": [ "FTP服务管理API" ], "summary": "获取FTP用户列表", "operationId": "call_listFtpUsers", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/advanced-service/ftp-users`\n- 来源文件: `advanced/advanced-ftp-server.json`\n- func_name: `ftp_server`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ftp_server" ], "example": "ftp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ftp_server/show", "value": { "func_name": "ftp_server", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ftp_server", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "advanced/advanced-ftp-server.json", "method": "get", "path": "/api/v4.0/advanced-service/ftp-users", "operationId": "listFtpUsers", "summary": "获取FTP用户列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createFtpUser": { "post": { "tags": [ "FTP服务管理API" ], "summary": "新增FTP用户", "operationId": "call_createFtpUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/advanced-service/ftp-users`\n- 来源文件: `advanced/advanced-ftp-server.json`\n- func_name: `ftp_server`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ftp_server" ], "example": "ftp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "permission": "rw", "home_dir": "/test-001", "upload": 0, "download": 0 }, "default": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "permission": "rw", "home_dir": "/test-001", "upload": 0, "download": 0 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ftp_server/add", "value": { "func_name": "ftp_server", "action": "add", "param": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "permission": "rw", "home_dir": "/test-001", "upload": 0, "download": 0 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ftp_server", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "permission": "rw", "home_dir": "/test-001", "upload": 0, "download": 0 }, "x-ikuai-source": { "spec_file": "advanced/advanced-ftp-server.json", "method": "post", "path": "/api/v4.0/advanced-service/ftp-users", "operationId": "createFtpUser", "summary": "新增FTP用户" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listHttpServerUsers": { "post": { "tags": [ "HTTP服务器管理API" ], "summary": "获取HTTP服务器列表", "operationId": "call_listHttpServerUsers", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/advanced-service/http-users`\n- 来源文件: `advanced/advanced-http-server.json`\n- func_name: `http_server`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "http_server" ], "example": "http_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "http_server/show", "value": { "func_name": "http_server", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "http_server", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "advanced/advanced-http-server.json", "method": "get", "path": "/api/v4.0/advanced-service/http-users", "operationId": "listHttpServerUsers", "summary": "获取HTTP服务器列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createHttpServerUser": { "post": { "tags": [ "HTTP服务器管理API" ], "summary": "创建HTTP服务器", "operationId": "call_createHttpServerUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/advanced-service/http-users`\n- 来源文件: `advanced/advanced-http-server.json`\n- func_name: `http_server`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "http_server" ], "example": "http_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "http_port": 8888, "ssl_on": 0, "autoindex": 0, "download": 0, "home_dir": "/test-001", "access": 1 }, "default": { "enabled": "no", "tagname": "codex_test", "http_port": 8888, "ssl_on": 0, "autoindex": 0, "download": 0, "home_dir": "/test-001", "access": 1 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "http_server/add", "value": { "func_name": "http_server", "action": "add", "param": { "enabled": "no", "tagname": "codex_test", "http_port": 8888, "ssl_on": 0, "autoindex": 0, "download": 0, "home_dir": "/test-001", "access": 1 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "http_server", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "http_port": 8888, "ssl_on": 0, "autoindex": 0, "download": 0, "home_dir": "/test-001", "access": 1 }, "x-ikuai-source": { "spec_file": "advanced/advanced-http-server.json", "method": "post", "path": "/api/v4.0/advanced-service/http-users", "operationId": "createHttpServerUser", "summary": "创建HTTP服务器" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getSambaConfig": { "post": { "tags": [ "Samba服务管理API" ], "summary": "获取Samba服务基础配置", "operationId": "call_getSambaConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/advanced-service/samba-config`\n- 来源文件: `advanced/advanced-samba.json`\n- func_name: `smbd`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "smbd" ], "example": "smbd" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "smbd/show", "value": { "func_name": "smbd", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "smbd", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "advanced/advanced-samba.json", "method": "get", "path": "/api/v4.0/advanced-service/samba-config", "operationId": "getSambaConfig", "summary": "获取Samba服务基础配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateSambaConfig": { "post": { "tags": [ "Samba服务管理API" ], "summary": "更新Samba服务基础配置", "operationId": "call_updateSambaConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/advanced-service/samba-config`\n- 来源文件: `advanced/advanced-samba.json`\n- func_name: `smbd`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "smbd" ], "example": "smbd" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "workgroup": "WORKGROUP", "wsdd2": 1, "access": 1 }, "default": { "enabled": "no", "workgroup": "WORKGROUP", "wsdd2": 1, "access": 1 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "smbd/save", "value": { "func_name": "smbd", "action": "save", "param": { "enabled": "no", "workgroup": "WORKGROUP", "wsdd2": 1, "access": 1 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "smbd", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "workgroup": "WORKGROUP", "wsdd2": 1, "access": 1 }, "x-ikuai-source": { "spec_file": "advanced/advanced-samba.json", "method": "put", "path": "/api/v4.0/advanced-service/samba-config", "operationId": "updateSambaConfig", "summary": "更新Samba服务基础配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listSambaUsers": { "post": { "tags": [ "Samba服务管理API" ], "summary": "获取Samba用户列表", "operationId": "call_listSambaUsers", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/advanced-service/samba-users`\n- 来源文件: `advanced/advanced-samba.json`\n- func_name: `smbd`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "smbd" ], "example": "smbd" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "dir_total,dir", "limit": "0,500" }, "default": { "TYPE": "dir_total,dir", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "smbd/show", "value": { "func_name": "smbd", "action": "show", "param": { "TYPE": "dir_total,dir", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "smbd", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "dir_total,dir", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "advanced/advanced-samba.json", "method": "get", "path": "/api/v4.0/advanced-service/samba-users", "operationId": "listSambaUsers", "summary": "获取Samba用户列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createSambaUser": { "post": { "tags": [ "Samba服务管理API" ], "summary": "创建Samba用户", "operationId": "call_createSambaUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/advanced-service/samba-users`\n- 来源文件: `advanced/advanced-samba.json`\n- func_name: `smbd`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "smbd" ], "example": "smbd" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "name": "codex_test", "perm": "rw", "home_dir": "/test-001", "guest": "yes", "browseable": "" }, "default": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "name": "codex_test", "perm": "rw", "home_dir": "/test-001", "guest": "yes", "browseable": "" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "smbd/add", "value": { "func_name": "smbd", "action": "add", "param": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "name": "codex_test", "perm": "rw", "home_dir": "/test-001", "guest": "yes", "browseable": "" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "smbd", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "name": "codex_test", "perm": "rw", "home_dir": "/test-001", "guest": "yes", "browseable": "" }, "x-ikuai-source": { "spec_file": "advanced/advanced-samba.json", "method": "post", "path": "/api/v4.0/advanced-service/samba-users", "operationId": "createSambaUser", "summary": "创建Samba用户" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getSnmpdConfig": { "post": { "tags": [ "SNMP服务管理API" ], "summary": "获取SNMP服务配置", "operationId": "call_getSnmpdConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/advanced-service/snmpd-config`\n- 来源文件: `advanced/advanced-snmpd.json`\n- func_name: `netsnmp`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "netsnmp" ], "example": "netsnmp" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "netsnmp/show", "value": { "func_name": "netsnmp", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "netsnmp", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "advanced/advanced-snmpd.json", "method": "get", "path": "/api/v4.0/advanced-service/snmpd-config", "operationId": "getSnmpdConfig", "summary": "获取SNMP服务配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateSnmpdConfig": { "post": { "tags": [ "SNMP服务管理API" ], "summary": "更新SNMP服务配置", "operationId": "call_updateSnmpdConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/advanced-service/snmpd-config`\n- 来源文件: `advanced/advanced-snmpd.json`\n- func_name: `netsnmp`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "netsnmp" ], "example": "netsnmp" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "listen_port": 161, "syslocation": "", "syscontact": "", "sysname": "", "version": 2, "community": "public", "source": "", "rw": "ro", "username": "codex_test_user", "security": "authNoPriv", "auth_proto": "", "auth_pass": "", "priv_proto": "", "priv_pass": "" }, "default": { "enabled": "no", "listen_port": 161, "syslocation": "", "syscontact": "", "sysname": "", "version": 2, "community": "public", "source": "", "rw": "ro", "username": "codex_test_user", "security": "authNoPriv", "auth_proto": "", "auth_pass": "", "priv_proto": "", "priv_pass": "" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "netsnmp/save", "value": { "func_name": "netsnmp", "action": "save", "param": { "enabled": "no", "listen_port": 161, "syslocation": "", "syscontact": "", "sysname": "", "version": 2, "community": "public", "source": "", "rw": "ro", "username": "codex_test_user", "security": "authNoPriv", "auth_proto": "", "auth_pass": "", "priv_proto": "", "priv_pass": "" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "netsnmp", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "listen_port": 161, "syslocation": "", "syscontact": "", "sysname": "", "version": 2, "community": "public", "source": "", "rw": "ro", "username": "codex_test_user", "security": "authNoPriv", "auth_proto": "", "auth_pass": "", "priv_proto": "", "priv_pass": "" }, "x-ikuai-source": { "spec_file": "advanced/advanced-snmpd.json", "method": "put", "path": "/api/v4.0/advanced-service/snmpd-config", "operationId": "updateSnmpdConfig", "summary": "更新SNMP服务配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listAuthUsers": { "post": { "tags": [ "认证用户管理API" ], "summary": "获取认证用户列表", "operationId": "call_listAuthUsers", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/auth/online-users`\n- 来源文件: `auth/online-users.json`\n- func_name: `ppp_online`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ppp_online" ], "example": "ppp_online" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ppp_online/show", "value": { "func_name": "ppp_online", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ppp_online", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "auth/online-users.json", "method": "get", "path": "/api/v4.0/auth/online-users", "operationId": "listAuthUsers", "summary": "获取认证用户列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listPackages": { "post": { "tags": [ "套餐管理API" ], "summary": "获取套餐列表", "operationId": "call_listPackages", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/auth/packages`\n- 来源文件: `auth/packages.json`\n- func_name: `ppp_package`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ppp_package" ], "example": "ppp_package" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ppp_package/show", "value": { "func_name": "ppp_package", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ppp_package", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "auth/packages.json", "method": "get", "path": "/api/v4.0/auth/packages", "operationId": "listPackages", "summary": "获取套餐列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createPackage": { "post": { "tags": [ "套餐管理API" ], "summary": "添加套餐", "operationId": "call_createPackage", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/auth/packages`\n- 来源文件: `auth/packages.json`\n- func_name: `ppp_package`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ppp_package" ], "example": "ppp_package" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "packname": "基础套餐", "packtime": "3m", "price": 100, "up_speed": 500, "down_speed": 1000, "comment": "codex_test" }, "default": { "packname": "基础套餐", "packtime": "3m", "price": 100, "up_speed": 500, "down_speed": 1000, "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ppp_package/add", "value": { "func_name": "ppp_package", "action": "add", "param": { "packname": "基础套餐", "packtime": "3m", "price": 100, "up_speed": 500, "down_speed": 1000, "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ppp_package", "x-ikuai-action": "add", "x-ikuai-param-example": { "packname": "基础套餐", "packtime": "3m", "price": 100, "up_speed": 500, "down_speed": 1000, "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "auth/packages.json", "method": "post", "path": "/api/v4.0/auth/packages", "operationId": "createPackage", "summary": "添加套餐" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listPPPUsers": { "post": { "tags": [ "用户账号管理API" ], "summary": "获取用户账号列表", "operationId": "call_listPPPUsers", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/auth/users`\n- 来源文件: `auth/authusers.json`\n- func_name: `pppuser`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pppuser" ], "example": "pppuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pppuser/show", "value": { "func_name": "pppuser", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pppuser", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "auth/authusers.json", "method": "get", "path": "/api/v4.0/auth/users", "operationId": "listPPPUsers", "summary": "获取用户账号列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createPPPUser": { "post": { "tags": [ "用户账号管理API" ], "summary": "添加用户账号", "operationId": "call_createPPPUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/auth/users`\n- 来源文件: `auth/authusers.json`\n- func_name: `pppuser`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pppuser" ], "example": "pppuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "username": "codex_test_user", "passwd": "codex_Test_123", "enabled": "no", "ppptype": "any", "comment": "codex_test", "expires": 0, "start_time": 1766483024, "share": 1, "auto_mac": 0, "upload": 0, "download": 0, "ip_type": 0, "src_addr": { "custom": [ "10.10.1.1" ] }, "mac": "02:00:5e:99:99:99", "address": "", "name": "codex_test", "phone": "", "cardid": "", "pppoev6_wan": "", "packages": 0, "bind_vlanid": "0", "bind_ifname": "any", "auto_vlanid": 0 }, "default": { "username": "codex_test_user", "passwd": "codex_Test_123", "enabled": "no", "ppptype": "any", "comment": "codex_test", "expires": 0, "start_time": 1766483024, "share": 1, "auto_mac": 0, "upload": 0, "download": 0, "ip_type": 0, "src_addr": { "custom": [ "10.10.1.1" ] }, "mac": "02:00:5e:99:99:99", "address": "", "name": "codex_test", "phone": "", "cardid": "", "pppoev6_wan": "", "packages": 0, "bind_vlanid": "0", "bind_ifname": "any", "auto_vlanid": 0 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pppuser/add", "value": { "func_name": "pppuser", "action": "add", "param": { "username": "codex_test_user", "passwd": "codex_Test_123", "enabled": "no", "ppptype": "any", "comment": "codex_test", "expires": 0, "start_time": 1766483024, "share": 1, "auto_mac": 0, "upload": 0, "download": 0, "ip_type": 0, "src_addr": { "custom": [ "10.10.1.1" ] }, "mac": "02:00:5e:99:99:99", "address": "", "name": "codex_test", "phone": "", "cardid": "", "pppoev6_wan": "", "packages": 0, "bind_vlanid": "0", "bind_ifname": "any", "auto_vlanid": 0 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pppuser", "x-ikuai-action": "add", "x-ikuai-param-example": { "username": "codex_test_user", "passwd": "codex_Test_123", "enabled": "no", "ppptype": "any", "comment": "codex_test", "expires": 0, "start_time": 1766483024, "share": 1, "auto_mac": 0, "upload": 0, "download": 0, "ip_type": 0, "src_addr": { "custom": [ "10.10.1.1" ] }, "mac": "02:00:5e:99:99:99", "address": "", "name": "codex_test", "phone": "", "cardid": "", "pppoev6_wan": "", "packages": 0, "bind_vlanid": "0", "bind_ifname": "any", "auto_vlanid": 0 }, "x-ikuai-source": { "spec_file": "auth/authusers.json", "method": "post", "path": "/api/v4.0/auth/users", "operationId": "createPPPUser", "summary": "添加用户账号" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getWebAuthServiceConfig": { "post": { "tags": [ "WEB认证服务管理API" ], "summary": "获取WEB认证服务配置", "operationId": "call_getWebAuthServiceConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/auth/web/services`\n- 来源文件: `auth/auth-web-services.json`\n- func_name: `webauth`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webauth" ], "example": "webauth" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,sync_interface,template" }, "default": { "TYPE": "data,sync_interface,template" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webauth/show", "value": { "func_name": "webauth", "action": "show", "param": { "TYPE": "data,sync_interface,template" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webauth", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,sync_interface,template" }, "x-ikuai-source": { "spec_file": "auth/auth-web-services.json", "method": "get", "path": "/api/v4.0/auth/web/services", "operationId": "getWebAuthServiceConfig", "summary": "获取WEB认证服务配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listDomainObjects": { "post": { "tags": [ "域名对象管理API" ], "summary": "获取域名对象列表", "operationId": "call_listDomainObjects", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/domain-objects`\n- 来源文件: `object_group/network-object-domain.json`\n- func_name: `route_object_domain`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_domain" ], "example": "route_object_domain" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_domain/show", "value": { "func_name": "route_object_domain", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_domain", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "object_group/network-object-domain.json", "method": "get", "path": "/api/v4.0/domain-objects", "operationId": "listDomainObjects", "summary": "获取域名对象列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createDomainObject": { "post": { "tags": [ "域名对象管理API" ], "summary": "创建域名对象", "operationId": "call_createDomainObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/domain-objects`\n- 来源文件: `object_group/network-object-domain.json`\n- func_name: `route_object_domain`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_domain" ], "example": "route_object_domain" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "domain": "example.invalid", "comment": "codex_test" }, { "domain": "example.invalid", "comment": "codex_test" } ] }, "default": { "group_name": "codex_test", "group_value": [ { "domain": "example.invalid", "comment": "codex_test" }, { "domain": "example.invalid", "comment": "codex_test" } ] } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_domain/add", "value": { "func_name": "route_object_domain", "action": "add", "param": { "group_name": "codex_test", "group_value": [ { "domain": "example.invalid", "comment": "codex_test" }, { "domain": "example.invalid", "comment": "codex_test" } ] } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_domain", "x-ikuai-action": "add", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "domain": "example.invalid", "comment": "codex_test" }, { "domain": "example.invalid", "comment": "codex_test" } ] }, "x-ikuai-source": { "spec_file": "object_group/network-object-domain.json", "method": "post", "path": "/api/v4.0/domain-objects", "operationId": "createDomainObject", "summary": "创建域名对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDomainObjectReferences": { "post": { "tags": [ "域名对象管理API" ], "summary": "查询域名对象引用关系", "operationId": "call_getDomainObjectReferences", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/domain-objects/ref`\n- 来源文件: `object_group/network-object-domain.json`\n- func_name: `route_object_domain`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_domain" ], "example": "route_object_domain" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_domain/show", "value": { "func_name": "route_object_domain", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_domain", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "object_group/network-object-domain.json", "method": "get", "path": "/api/v4.0/domain-objects/ref", "operationId": "getDomainObjectReferences", "summary": "查询域名对象引用关系" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getLanConfig": { "post": { "tags": [ "LAN接口管理API" ], "summary": "获取LAN接口配置", "operationId": "call_getLanConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/interfaces/lan-config`\n- 来源文件: `network/network-lan.json`\n- func_name: `lan`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "lan" ], "example": "lan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "netinfo,snapshoot", "limit": "0,500" }, "default": { "TYPE": "netinfo,snapshoot", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "lan/show", "value": { "func_name": "lan", "action": "show", "param": { "TYPE": "netinfo,snapshoot", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "lan", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "netinfo,snapshoot", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-lan.json", "method": "get", "path": "/api/v4.0/interfaces/lan-config", "operationId": "getLanConfig", "summary": "获取LAN接口配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getPhysicalInterfaces": { "post": { "tags": [ "LAN接口管理API" ], "summary": "获取物理网卡列表", "operationId": "call_getPhysicalInterfaces", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/interfaces/physical`\n- 来源文件: `network/network-lan.json`\n- func_name: `lan`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "lan" ], "example": "lan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "netinfo,snapshoot", "limit": "0,500" }, "default": { "TYPE": "netinfo,snapshoot", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "lan/show", "value": { "func_name": "lan", "action": "show", "param": { "TYPE": "netinfo,snapshoot", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "lan", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "netinfo,snapshoot", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-lan.json", "method": "get", "path": "/api/v4.0/interfaces/physical", "operationId": "getPhysicalInterfaces", "summary": "获取物理网卡列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getWanConfig": { "post": { "tags": [ "WAN接口管理API" ], "summary": "获取WAN接口配置", "operationId": "call_getWanConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/interfaces/wan-config`\n- 来源文件: `network/network-wan.json`\n- func_name: `wan`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wan" ], "example": "wan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wan/show", "value": { "func_name": "wan", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wan", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-wan.json", "method": "get", "path": "/api/v4.0/interfaces/wan-config", "operationId": "getWanConfig", "summary": "获取WAN接口配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getWanVlanConfig": { "post": { "tags": [ "WAN接口管理API" ], "summary": "获取WAN混合模式配置", "operationId": "call_getWanVlanConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/interfaces/wan-vlan-config`\n- 来源文件: `network/network-wan.json`\n- func_name: `wan`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wan" ], "example": "wan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wan/show", "value": { "func_name": "wan", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wan", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-wan.json", "method": "get", "path": "/api/v4.0/interfaces/wan-vlan-config", "operationId": "getWanVlanConfig", "summary": "获取WAN混合模式配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listIpObjects": { "post": { "tags": [ "IP对象管理API" ], "summary": "获取IP对象列表", "operationId": "call_listIpObjects", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/ip-objects`\n- 来源文件: `object_group/network-object-ip.json`\n- func_name: `route_object_ip`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_ip" ], "example": "route_object_ip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "ORDER": "desc", "ORDER_BY": "id", "limit": "0,500", "FILTER1": "type,=,0" }, "default": { "TYPE": "total,data", "ORDER": "desc", "ORDER_BY": "id", "limit": "0,500", "FILTER1": "type,=,0" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_ip/show", "value": { "func_name": "route_object_ip", "action": "show", "param": { "TYPE": "total,data", "ORDER": "desc", "ORDER_BY": "id", "limit": "0,500", "FILTER1": "type,=,0" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_ip", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "ORDER": "desc", "ORDER_BY": "id", "limit": "0,500", "FILTER1": "type,=,0" }, "x-ikuai-source": { "spec_file": "object_group/network-object-ip.json", "method": "get", "path": "/api/v4.0/ip-objects", "operationId": "listIpObjects", "summary": "获取IP对象列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createIpObject": { "post": { "tags": [ "IP对象管理API" ], "summary": "创建IP对象", "operationId": "call_createIpObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/ip-objects`\n- 来源文件: `object_group/network-object-ip.json`\n- func_name: `route_object_ip`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_ip" ], "example": "route_object_ip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "ip": "192.0.2.254", "comment": "codex_test" }, { "ip": "192.0.2.254", "comment": "codex_test" }, { "ip": "192.0.2.254", "comment": "codex_test" } ] }, "default": { "group_name": "codex_test", "group_value": [ { "ip": "192.0.2.254", "comment": "codex_test" }, { "ip": "192.0.2.254", "comment": "codex_test" }, { "ip": "192.0.2.254", "comment": "codex_test" } ] } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_ip/add", "value": { "func_name": "route_object_ip", "action": "add", "param": { "group_name": "codex_test", "group_value": [ { "ip": "192.0.2.254", "comment": "codex_test" }, { "ip": "192.0.2.254", "comment": "codex_test" }, { "ip": "192.0.2.254", "comment": "codex_test" } ] } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_ip", "x-ikuai-action": "add", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "ip": "192.0.2.254", "comment": "codex_test" }, { "ip": "192.0.2.254", "comment": "codex_test" }, { "ip": "192.0.2.254", "comment": "codex_test" } ] }, "x-ikuai-source": { "spec_file": "object_group/network-object-ip.json", "method": "post", "path": "/api/v4.0/ip-objects", "operationId": "createIpObject", "summary": "创建IP对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getIpObjectReferences": { "post": { "tags": [ "IP对象管理API" ], "summary": "查询IP对象引用", "operationId": "call_getIpObjectReferences", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/ip-objects/ref`\n- 来源文件: `object_group/network-object-ip.json`\n- func_name: `route_object_ip`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_ip" ], "example": "route_object_ip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "ORDER": "desc", "ORDER_BY": "id", "limit": "0,500", "FILTER1": "type,=,0" }, "default": { "TYPE": "total,data", "ORDER": "desc", "ORDER_BY": "id", "limit": "0,500", "FILTER1": "type,=,0" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_ip/show", "value": { "func_name": "route_object_ip", "action": "show", "param": { "TYPE": "total,data", "ORDER": "desc", "ORDER_BY": "id", "limit": "0,500", "FILTER1": "type,=,0" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_ip", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "ORDER": "desc", "ORDER_BY": "id", "limit": "0,500", "FILTER1": "type,=,0" }, "x-ikuai-source": { "spec_file": "object_group/network-object-ip.json", "method": "get", "path": "/api/v4.0/ip-objects/ref", "operationId": "getIpObjectReferences", "summary": "查询IP对象引用" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listIp6Objects": { "post": { "tags": [ "IPv6对象管理API" ], "summary": "获取IPv6对象列表", "operationId": "call_listIp6Objects", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/ip6-objects`\n- 来源文件: `object_group/network-object-ip6.json`\n- func_name: `route_object_ip6`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_ip6" ], "example": "route_object_ip6" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_ip6/show", "value": { "func_name": "route_object_ip6", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_ip6", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "object_group/network-object-ip6.json", "method": "get", "path": "/api/v4.0/ip6-objects", "operationId": "listIp6Objects", "summary": "获取IPv6对象列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createIp6Object": { "post": { "tags": [ "IPv6对象管理API" ], "summary": "创建IPv6对象", "operationId": "call_createIp6Object", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/ip6-objects`\n- 来源文件: `object_group/network-object-ip6.json`\n- func_name: `route_object_ip6`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_ip6" ], "example": "route_object_ip6" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "ipv6": "2408:8207:3050:6360:aab8:e0ff:fe00:f72a", "comment": "codex_test" } ] }, "default": { "group_name": "codex_test", "group_value": [ { "ipv6": "2408:8207:3050:6360:aab8:e0ff:fe00:f72a", "comment": "codex_test" } ] } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_ip6/add", "value": { "func_name": "route_object_ip6", "action": "add", "param": { "group_name": "codex_test", "group_value": [ { "ipv6": "2408:8207:3050:6360:aab8:e0ff:fe00:f72a", "comment": "codex_test" } ] } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_ip6", "x-ikuai-action": "add", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "ipv6": "2408:8207:3050:6360:aab8:e0ff:fe00:f72a", "comment": "codex_test" } ] }, "x-ikuai-source": { "spec_file": "object_group/network-object-ip6.json", "method": "post", "path": "/api/v4.0/ip6-objects", "operationId": "createIp6Object", "summary": "创建IPv6对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getIp6ObjectReferences": { "post": { "tags": [ "IPv6对象管理API" ], "summary": "查询IPv6对象引用关系", "operationId": "call_getIp6ObjectReferences", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/ip6-objects/ref`\n- 来源文件: `object_group/network-object-ip6.json`\n- func_name: `route_object_ip6`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_ip6" ], "example": "route_object_ip6" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_ip6/show", "value": { "func_name": "route_object_ip6", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_ip6", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "object_group/network-object-ip6.json", "method": "get", "path": "/api/v4.0/ip6-objects/ref", "operationId": "getIp6ObjectReferences", "summary": "查询IPv6对象引用关系" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/clearArpLogs": { "post": { "tags": [ "ARP日志管理API" ], "summary": "删除ARP日志", "operationId": "call_clearArpLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/log/arp`\n- 来源文件: `log/log-arp.json`\n- func_name: `syslog-arp`\n- action: `clean`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-arp" ], "example": "syslog-arp" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "clean" ], "example": "clean" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-arp/clean", "value": { "func_name": "syslog-arp", "action": "clean", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-arp", "x-ikuai-action": "clean", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "log/log-arp.json", "method": "delete", "path": "/api/v4.0/log/arp", "operationId": "clearArpLogs", "summary": "删除ARP日志" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listArpLogs": { "post": { "tags": [ "ARP日志管理API" ], "summary": "获取ARP日志列表", "operationId": "call_listArpLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/arp`\n- 来源文件: `log/log-arp.json`\n- func_name: `syslog-arp`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-arp" ], "example": "syslog-arp" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-arp/show", "value": { "func_name": "syslog-arp", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-arp", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "log/log-arp.json", "method": "get", "path": "/api/v4.0/log/arp", "operationId": "listArpLogs", "summary": "获取ARP日志列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/clearAuthLogs": { "post": { "tags": [ "认证日志管理API" ], "summary": "清空认证日志", "operationId": "call_clearAuthLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/log/auth`\n- 来源文件: `log/log-auth.json`\n- func_name: `syslog-pppauth`\n- action: `clean`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-pppauth" ], "example": "syslog-pppauth" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "clean" ], "example": "clean" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-pppauth/clean", "value": { "func_name": "syslog-pppauth", "action": "clean", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-pppauth", "x-ikuai-action": "clean", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "log/log-auth.json", "method": "delete", "path": "/api/v4.0/log/auth", "operationId": "clearAuthLogs", "summary": "清空认证日志" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listAuthLogs": { "post": { "tags": [ "认证日志管理API" ], "summary": "获取认证日志列表", "operationId": "call_listAuthLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/auth`\n- 来源文件: `log/log-auth.json`\n- func_name: `syslog-pppauth`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-pppauth" ], "example": "syslog-pppauth" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-pppauth/show", "value": { "func_name": "syslog-pppauth", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-pppauth", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "log/log-auth.json", "method": "get", "path": "/api/v4.0/log/auth", "operationId": "listAuthLogs", "summary": "获取认证日志列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/clearDdnsLogs": { "post": { "tags": [ "动态域名日志管理API" ], "summary": "清空动态域名日志", "operationId": "call_clearDdnsLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/log/ddns`\n- 来源文件: `log/log-ddns.json`\n- func_name: `syslog-ddns`\n- action: `clean`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-ddns" ], "example": "syslog-ddns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "clean" ], "example": "clean" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-ddns/clean", "value": { "func_name": "syslog-ddns", "action": "clean", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-ddns", "x-ikuai-action": "clean", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "log/log-ddns.json", "method": "delete", "path": "/api/v4.0/log/ddns", "operationId": "clearDdnsLogs", "summary": "清空动态域名日志" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listDdnsLogs": { "post": { "tags": [ "动态域名日志管理API" ], "summary": "获取动态域名日志列表", "operationId": "call_listDdnsLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/ddns`\n- 来源文件: `log/log-ddns.json`\n- func_name: `syslog-ddns`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-ddns" ], "example": "syslog-ddns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-ddns/show", "value": { "func_name": "syslog-ddns", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-ddns", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "log/log-ddns.json", "method": "get", "path": "/api/v4.0/log/ddns", "operationId": "listDdnsLogs", "summary": "获取动态域名日志列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/clearDhcpLogs": { "post": { "tags": [ "DHCP日志管理API" ], "summary": "清空DHCP日志", "operationId": "call_clearDhcpLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/log/dhcp`\n- 来源文件: `log/log-dhcp.json`\n- func_name: `syslog-dhcpd`\n- action: `clean`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-dhcpd" ], "example": "syslog-dhcpd" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "clean" ], "example": "clean" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-dhcpd/clean", "value": { "func_name": "syslog-dhcpd", "action": "clean", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-dhcpd", "x-ikuai-action": "clean", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "log/log-dhcp.json", "method": "delete", "path": "/api/v4.0/log/dhcp", "operationId": "clearDhcpLogs", "summary": "清空DHCP日志" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listDhcpLogs": { "post": { "tags": [ "DHCP日志管理API" ], "summary": "获取DHCP日志列表", "operationId": "call_listDhcpLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/dhcp`\n- 来源文件: `log/log-dhcp.json`\n- func_name: `syslog-dhcpd`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-dhcpd" ], "example": "syslog-dhcpd" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-dhcpd/show", "value": { "func_name": "syslog-dhcpd", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-dhcpd", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "log/log-dhcp.json", "method": "get", "path": "/api/v4.0/log/dhcp", "operationId": "listDhcpLogs", "summary": "获取DHCP日志列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listMessageCenterMessages": { "post": { "tags": [ "消息中心API" ], "summary": "获取消息中心列表", "operationId": "call_listMessageCenterMessages", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/message-center`\n- 来源文件: `log/log-message-center.json`\n- func_name: `ikmessages`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ikmessages" ], "example": "ikmessages" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ikmessages/show", "value": { "func_name": "ikmessages", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ikmessages", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "log/log-message-center.json", "method": "get", "path": "/api/v4.0/log/message-center", "operationId": "listMessageCenterMessages", "summary": "获取消息中心列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/clearNoticeLogs": { "post": { "tags": [ "推送通知日志管理API" ], "summary": "清空推送通知日志", "operationId": "call_clearNoticeLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/log/notice`\n- 来源文件: `log/log-notice.json`\n- func_name: `syslog-notice`\n- action: `clean`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-notice" ], "example": "syslog-notice" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "clean" ], "example": "clean" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-notice/clean", "value": { "func_name": "syslog-notice", "action": "clean", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-notice", "x-ikuai-action": "clean", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "log/log-notice.json", "method": "delete", "path": "/api/v4.0/log/notice", "operationId": "clearNoticeLogs", "summary": "清空推送通知日志" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listNoticeLogs": { "post": { "tags": [ "推送通知日志管理API" ], "summary": "获取推送通知日志列表", "operationId": "call_listNoticeLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/notice`\n- 来源文件: `log/log-notice.json`\n- func_name: `syslog-notice`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-notice" ], "example": "syslog-notice" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-notice/show", "value": { "func_name": "syslog-notice", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-notice", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "log/log-notice.json", "method": "get", "path": "/api/v4.0/log/notice", "operationId": "listNoticeLogs", "summary": "获取推送通知日志列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/clearPppoeLogs": { "post": { "tags": [ "外网拨号日志管理API" ], "summary": "清空外网拨号日志", "operationId": "call_clearPppoeLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/log/pppoe`\n- 来源文件: `log/log-pppoe.json`\n- func_name: `syslog-wanpppoe`\n- action: `clean`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-wanpppoe" ], "example": "syslog-wanpppoe" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "clean" ], "example": "clean" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-wanpppoe/clean", "value": { "func_name": "syslog-wanpppoe", "action": "clean", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-wanpppoe", "x-ikuai-action": "clean", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "log/log-pppoe.json", "method": "delete", "path": "/api/v4.0/log/pppoe", "operationId": "clearPppoeLogs", "summary": "清空外网拨号日志" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listPppoeLogs": { "post": { "tags": [ "外网拨号日志管理API" ], "summary": "获取外网拨号日志列表", "operationId": "call_listPppoeLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/pppoe`\n- 来源文件: `log/log-pppoe.json`\n- func_name: `syslog-wanpppoe`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-wanpppoe" ], "example": "syslog-wanpppoe" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-wanpppoe/show", "value": { "func_name": "syslog-wanpppoe", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-wanpppoe", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "log/log-pppoe.json", "method": "get", "path": "/api/v4.0/log/pppoe", "operationId": "listPppoeLogs", "summary": "获取外网拨号日志列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/clearSystemLogs": { "post": { "tags": [ "系统日志管理API" ], "summary": "清空系统日志", "operationId": "call_clearSystemLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/log/system`\n- 来源文件: `log/log-system.json`\n- func_name: `syslog-sysevent`\n- action: `clean`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-sysevent" ], "example": "syslog-sysevent" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "clean" ], "example": "clean" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-sysevent/clean", "value": { "func_name": "syslog-sysevent", "action": "clean", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-sysevent", "x-ikuai-action": "clean", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "log/log-system.json", "method": "delete", "path": "/api/v4.0/log/system", "operationId": "clearSystemLogs", "summary": "清空系统日志" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listSystemLogs": { "post": { "tags": [ "系统日志管理API" ], "summary": "获取系统日志列表", "operationId": "call_listSystemLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/system`\n- 来源文件: `log/log-system.json`\n- func_name: `syslog-sysevent`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-sysevent" ], "example": "syslog-sysevent" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-sysevent/show", "value": { "func_name": "syslog-sysevent", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-sysevent", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "log/log-system.json", "method": "get", "path": "/api/v4.0/log/system", "operationId": "listSystemLogs", "summary": "获取系统日志列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listTerminalPresenceLogs": { "post": { "tags": [ "终端上下线日志API" ], "summary": "获取终端上下线日志列表", "operationId": "call_listTerminalPresenceLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/terminal-presence`\n- 来源文件: `log/log-terminal-presence.json`\n- func_name: `audit_terminal_log`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "audit_terminal_log" ], "example": "audit_terminal_log" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "audit_terminal_log/show", "value": { "func_name": "audit_terminal_log", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "audit_terminal_log", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "log/log-terminal-presence.json", "method": "get", "path": "/api/v4.0/log/terminal-presence", "operationId": "listTerminalPresenceLogs", "summary": "获取终端上下线日志列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/clearUrlVisitLogs": { "post": { "tags": [ "网址浏览记录API" ], "summary": "清空网址浏览记录", "operationId": "call_clearUrlVisitLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/log/url-visits`\n- 来源文件: `log/log-url-visits.json`\n- func_name: `audit_url_log`\n- action: `clean`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "audit_url_log" ], "example": "audit_url_log" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "clean" ], "example": "clean" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "audit_url_log/clean", "value": { "func_name": "audit_url_log", "action": "clean", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "audit_url_log", "x-ikuai-action": "clean", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "log/log-url-visits.json", "method": "delete", "path": "/api/v4.0/log/url-visits", "operationId": "clearUrlVisitLogs", "summary": "清空网址浏览记录" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listUrlVisitLogs": { "post": { "tags": [ "网址浏览记录API" ], "summary": "获取网址浏览记录列表", "operationId": "call_listUrlVisitLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/url-visits`\n- 来源文件: `log/log-url-visits.json`\n- func_name: `audit_url_log`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "audit_url_log" ], "example": "audit_url_log" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data", "limit": "0,500" }, "default": { "TYPE": "data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "audit_url_log/show", "value": { "func_name": "audit_url_log", "action": "show", "param": { "TYPE": "data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "audit_url_log", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "log/log-url-visits.json", "method": "get", "path": "/api/v4.0/log/url-visits", "operationId": "listUrlVisitLogs", "summary": "获取网址浏览记录列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listWarnings": { "post": { "tags": [ "告警信息API" ], "summary": "获取告警信息列表", "operationId": "call_listWarnings", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/warnings`\n- 来源文件: `log/log-warnings.json`\n- func_name: `warning`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "warning" ], "example": "warning" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "warning/show", "value": { "func_name": "warning", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "warning", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "log/log-warnings.json", "method": "get", "path": "/api/v4.0/log/warnings", "operationId": "listWarnings", "summary": "获取告警信息列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/clearWebActivityLogs": { "post": { "tags": [ "WEB操作日志管理API" ], "summary": "清空WEB操作日志", "operationId": "call_clearWebActivityLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/log/web_activity`\n- 来源文件: `log/log-web-activity.json`\n- func_name: `syslog-webadmin`\n- action: `clean`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-webadmin" ], "example": "syslog-webadmin" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "clean" ], "example": "clean" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-webadmin/clean", "value": { "func_name": "syslog-webadmin", "action": "clean", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-webadmin", "x-ikuai-action": "clean", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "log/log-web-activity.json", "method": "delete", "path": "/api/v4.0/log/web_activity", "operationId": "clearWebActivityLogs", "summary": "清空WEB操作日志" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listWebActivityLogs": { "post": { "tags": [ "WEB操作日志管理API" ], "summary": "获取WEB操作日志列表", "operationId": "call_listWebActivityLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/web_activity`\n- 来源文件: `log/log-web-activity.json`\n- func_name: `syslog-webadmin`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-webadmin" ], "example": "syslog-webadmin" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "ORDER": "desc", "ORDER_BY": "timestamp" }, "default": { "TYPE": "data,total", "limit": "0,500", "ORDER": "desc", "ORDER_BY": "timestamp" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-webadmin/show", "value": { "func_name": "syslog-webadmin", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "ORDER": "desc", "ORDER_BY": "timestamp" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-webadmin", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "ORDER": "desc", "ORDER_BY": "timestamp" }, "x-ikuai-source": { "spec_file": "log/log-web-activity.json", "method": "get", "path": "/api/v4.0/log/web_activity", "operationId": "listWebActivityLogs", "summary": "获取WEB操作日志列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/clearWirelessLogs": { "post": { "tags": [ "无线终端日志管理API" ], "summary": "清空无线终端日志", "operationId": "call_clearWirelessLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/log/wireless`\n- 来源文件: `log/log-wireless-client.json`\n- func_name: `syslog-apaction`\n- action: `clean`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-apaction" ], "example": "syslog-apaction" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "clean" ], "example": "clean" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-apaction/clean", "value": { "func_name": "syslog-apaction", "action": "clean", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-apaction", "x-ikuai-action": "clean", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "log/log-wireless-client.json", "method": "delete", "path": "/api/v4.0/log/wireless", "operationId": "clearWirelessLogs", "summary": "清空无线终端日志" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listWirelessLogs": { "post": { "tags": [ "无线终端日志管理API" ], "summary": "获取无线终端日志列表", "operationId": "call_listWirelessLogs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/log/wireless`\n- 来源文件: `log/log-wireless-client.json`\n- func_name: `syslog-apaction`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "syslog-apaction" ], "example": "syslog-apaction" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "ORDER": "desc", "ORDER_BY": "timestamp" }, "default": { "TYPE": "data,total", "limit": "0,500", "ORDER": "desc", "ORDER_BY": "timestamp" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "syslog-apaction/show", "value": { "func_name": "syslog-apaction", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "ORDER": "desc", "ORDER_BY": "timestamp" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "syslog-apaction", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "ORDER": "desc", "ORDER_BY": "timestamp" }, "x-ikuai-source": { "spec_file": "log/log-wireless-client.json", "method": "get", "path": "/api/v4.0/log/wireless", "operationId": "listWirelessLogs", "summary": "获取无线终端日志列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listMacObjects": { "post": { "tags": [ "MAC对象管理API" ], "summary": "获取MAC对象列表", "operationId": "call_listMacObjects", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/mac-objects`\n- 来源文件: `object_group/network-object-mac.json`\n- func_name: `route_object_mac`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_mac" ], "example": "route_object_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_mac/show", "value": { "func_name": "route_object_mac", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_mac", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "object_group/network-object-mac.json", "method": "get", "path": "/api/v4.0/mac-objects", "operationId": "listMacObjects", "summary": "获取MAC对象列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createMacObject": { "post": { "tags": [ "MAC对象管理API" ], "summary": "创建MAC对象", "operationId": "call_createMacObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/mac-objects`\n- 来源文件: `object_group/network-object-mac.json`\n- func_name: `route_object_mac`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_mac" ], "example": "route_object_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "mac": "02:00:5e:99:99:99", "comment": "codex_test" } ] }, "default": { "group_name": "codex_test", "group_value": [ { "mac": "02:00:5e:99:99:99", "comment": "codex_test" } ] } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_mac/add", "value": { "func_name": "route_object_mac", "action": "add", "param": { "group_name": "codex_test", "group_value": [ { "mac": "02:00:5e:99:99:99", "comment": "codex_test" } ] } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_mac", "x-ikuai-action": "add", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "mac": "02:00:5e:99:99:99", "comment": "codex_test" } ] }, "x-ikuai-source": { "spec_file": "object_group/network-object-mac.json", "method": "post", "path": "/api/v4.0/mac-objects", "operationId": "createMacObject", "summary": "创建MAC对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getMacObjectReferences": { "post": { "tags": [ "MAC对象管理API" ], "summary": "查询MAC对象引用", "operationId": "call_getMacObjectReferences", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/mac-objects/ref`\n- 来源文件: `object_group/network-object-mac.json`\n- func_name: `route_object_mac`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_mac" ], "example": "route_object_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_mac/show", "value": { "func_name": "route_object_mac", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_mac", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "object_group/network-object-mac.json", "method": "get", "path": "/api/v4.0/mac-objects/ref", "operationId": "getMacObjectReferences", "summary": "查询MAC对象引用" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getAppProtocolsHistoryLoad": { "post": { "tags": [ "应用协议监控管理API" ], "summary": "获取应用协议历史速率使用详情", "operationId": "call_getAppProtocolsHistoryLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/app-protocols/history-load`\n- 来源文件: `monitor/monitor-proto.json`\n- func_name: `monitor_app_flow`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_app_flow" ], "example": "monitor_app_flow" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "proto1_flow_history" }, "default": { "TYPE": "proto1_flow_history" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_app_flow/show", "value": { "func_name": "monitor_app_flow", "action": "show", "param": { "TYPE": "proto1_flow_history" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_app_flow", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "proto1_flow_history" }, "x-ikuai-source": { "spec_file": "monitor/monitor-proto.json", "method": "get", "path": "/api/v4.0/monitoring/app-protocols/history-load", "operationId": "getAppProtocolsHistoryLoad", "summary": "获取应用协议历史速率使用详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listAppProtocolsLoad": { "post": { "tags": [ "应用协议监控管理API" ], "summary": "获取当前应用协议速率使用详情", "operationId": "call_listAppProtocolsLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/app-protocols/load`\n- 来源文件: `monitor/monitor-proto.json`\n- func_name: `monitor_app_flow`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_app_flow" ], "example": "monitor_app_flow" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "proto3_list", "limit": "" }, "default": { "TYPE": "proto3_list", "limit": "" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_app_flow/show", "value": { "func_name": "monitor_app_flow", "action": "show", "param": { "TYPE": "proto3_list", "limit": "" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_app_flow", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "proto3_list", "limit": "" }, "x-ikuai-source": { "spec_file": "monitor/monitor-proto.json", "method": "get", "path": "/api/v4.0/monitoring/app-protocols/load", "operationId": "listAppProtocolsLoad", "summary": "获取当前应用协议速率使用详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getAppProtocolTerminalLoad": { "post": { "tags": [ "应用协议监控管理API" ], "summary": "获取访问指定应用协议的终端列表", "operationId": "call_getAppProtocolTerminalLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/app-protocols/terminal-load`\n- 来源文件: `monitor/monitor-proto.json`\n- func_name: `monitor_app_flow`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_app_flow" ], "example": "monitor_app_flow" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "proto1_cur_flow" }, "default": { "TYPE": "proto1_cur_flow" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_app_flow/show", "value": { "func_name": "monitor_app_flow", "action": "show", "param": { "TYPE": "proto1_cur_flow" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_app_flow", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "proto1_cur_flow" }, "x-ikuai-source": { "spec_file": "monitor/monitor-proto.json", "method": "get", "path": "/api/v4.0/monitoring/app-protocols/terminal-load", "operationId": "getAppProtocolTerminalLoad", "summary": "获取访问指定应用协议的终端列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getAppTrafficSummary": { "post": { "tags": [ "应用协议监控管理API" ], "summary": "获取最近24小时应用协议流量统计", "operationId": "call_getAppTrafficSummary", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/app-traffic-summary`\n- 来源文件: `monitor/monitor-proto.json`\n- func_name: `monitor_app_flow`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_app_flow" ], "example": "monitor_app_flow" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "app_history_cleantime" }, "default": { "TYPE": "app_history_cleantime" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_app_flow/show", "value": { "func_name": "monitor_app_flow", "action": "show", "param": { "TYPE": "app_history_cleantime" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_app_flow", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "app_history_cleantime" }, "x-ikuai-source": { "spec_file": "monitor/monitor-proto.json", "method": "get", "path": "/api/v4.0/monitoring/app-traffic-summary", "operationId": "getAppTrafficSummary", "summary": "获取最近24小时应用协议流量统计" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getCameras": { "post": { "tags": [ "摄像头监控API" ], "summary": "查询摄像头设备列表", "operationId": "call_getCameras", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/cameras`\n- 来源文件: `monitor/monitor-cameras.json`\n- func_name: `camera`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "camera" ], "example": "camera" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "camera/show", "value": { "func_name": "camera", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "camera", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "monitor/monitor-cameras.json", "method": "get", "path": "/api/v4.0/monitoring/cameras", "operationId": "getCameras", "summary": "查询摄像头设备列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getWirelessChannelClients": { "post": { "tags": [ "无线监控管理API" ], "summary": "获取信道终端统计", "operationId": "call_getWirelessChannelClients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/channel-clients`\n- 来源文件: `monitor/monitor-wireless.json`\n- func_name: `ac_status`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ac_status" ], "example": "ac_status" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" }, "default": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ac_status/show", "value": { "func_name": "ac_status", "action": "show", "param": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ac_status", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" }, "x-ikuai-source": { "spec_file": "monitor/monitor-wireless.json", "method": "get", "path": "/api/v4.0/monitoring/channel-clients", "operationId": "getWirelessChannelClients", "summary": "获取信道终端统计" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getIp6OfflineClients": { "post": { "tags": [ "终端监控管理API" ], "summary": "获取IPv6终端离线统计", "operationId": "call_getIp6OfflineClients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/clients-ip6-offline`\n- 来源文件: `monitor/monitor-clients.json`\n- func_name: `monitor_lanip`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_lanip" ], "example": "monitor_lanip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_lanip/show", "value": { "func_name": "monitor_lanip", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_lanip", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "monitor/monitor-clients.json", "method": "get", "path": "/api/v4.0/monitoring/clients-ip6-offline", "operationId": "getIp6OfflineClients", "summary": "获取IPv6终端离线统计" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getIp6OnlineClients": { "post": { "tags": [ "终端监控管理API" ], "summary": "获取IPv6终端在线统计", "operationId": "call_getIp6OnlineClients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/clients-ip6-online`\n- 来源文件: `monitor/monitor-clients.json`\n- func_name: `monitor_lanip`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_lanip" ], "example": "monitor_lanip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_lanip/show", "value": { "func_name": "monitor_lanip", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_lanip", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "monitor/monitor-clients.json", "method": "get", "path": "/api/v4.0/monitoring/clients-ip6-online", "operationId": "getIp6OnlineClients", "summary": "获取IPv6终端在线统计" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getOfflineClients": { "post": { "tags": [ "终端监控管理API" ], "summary": "获取IPv4终端离线统计", "operationId": "call_getOfflineClients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/clients-offline`\n- 来源文件: `monitor/monitor-clients.json`\n- func_name: `monitor_lanip`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_lanip" ], "example": "monitor_lanip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_lanip/show", "value": { "func_name": "monitor_lanip", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_lanip", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "monitor/monitor-clients.json", "method": "get", "path": "/api/v4.0/monitoring/clients-offline", "operationId": "getOfflineClients", "summary": "获取IPv4终端离线统计" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getOnlineClients": { "post": { "tags": [ "终端监控管理API" ], "summary": "获取IPv4终端在线统计", "operationId": "call_getOnlineClients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/clients-online`\n- 来源文件: `monitor/monitor-clients.json`\n- func_name: `monitor_lanip`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_lanip" ], "example": "monitor_lanip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_lanip/show", "value": { "func_name": "monitor_lanip", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_lanip", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "monitor/monitor-clients.json", "method": "get", "path": "/api/v4.0/monitoring/clients-online", "operationId": "getOnlineClients", "summary": "获取IPv4终端在线统计" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getClientTrafficLoad": { "post": { "tags": [ "终端监控管理API" ], "summary": "获取指定终端的5分钟流量负载", "operationId": "call_getClientTrafficLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/clients-traffic-load`\n- 来源文件: `monitor/monitor-clients.json`\n- func_name: `monitor_lanip`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_lanip" ], "example": "monitor_lanip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_lanip/show", "value": { "func_name": "monitor_lanip", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_lanip", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "monitor/monitor-clients.json", "method": "get", "path": "/api/v4.0/monitoring/clients-traffic-load", "operationId": "getClientTrafficLoad", "summary": "获取指定终端的5分钟流量负载" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getClientTrafficSummary": { "post": { "tags": [ "终端监控管理API" ], "summary": "获取终端当日流量统计", "operationId": "call_getClientTrafficSummary", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/clients-traffic-summary`\n- 来源文件: `monitor/monitor-clients.json`\n- func_name: `monitor_lanip`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_lanip" ], "example": "monitor_lanip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_lanip/show", "value": { "func_name": "monitor_lanip", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_lanip", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "monitor/monitor-clients.json", "method": "get", "path": "/api/v4.0/monitoring/clients-traffic-summary", "operationId": "getClientTrafficSummary", "summary": "获取终端当日流量统计" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getClientAppProtocolsLoad": { "post": { "tags": [ "终端监控管理API" ], "summary": "获取指定终端当前应用协议速率统计", "operationId": "call_getClientAppProtocolsLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/clients/app-protocols/load`\n- 来源文件: `monitor/monitor-clients.json`\n- func_name: `monitor_lanip`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_lanip" ], "example": "monitor_lanip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_lanip/show", "value": { "func_name": "monitor_lanip", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_lanip", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "monitor/monitor-clients.json", "method": "get", "path": "/api/v4.0/monitoring/clients/app-protocols/load", "operationId": "getClientAppProtocolsLoad", "summary": "获取指定终端当前应用协议速率统计" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getClientProtocols": { "post": { "tags": [ "终端监控管理API" ], "summary": "获取指定终端的协议分类流量统计", "operationId": "call_getClientProtocols", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/clients/protocols`\n- 来源文件: `monitor/monitor-clients.json`\n- func_name: `monitor_lanip`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_lanip" ], "example": "monitor_lanip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_lanip/show", "value": { "func_name": "monitor_lanip", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_lanip", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "monitor/monitor-clients.json", "method": "get", "path": "/api/v4.0/monitoring/clients/protocols", "operationId": "getClientProtocols", "summary": "获取指定终端的协议分类流量统计" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getClientProtocolsHistoryLoad": { "post": { "tags": [ "终端监控管理API" ], "summary": "获取指定终端的协议分类历史速率", "operationId": "call_getClientProtocolsHistoryLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/clients/protocols/history-load`\n- 来源文件: `monitor/monitor-clients.json`\n- func_name: `monitor_lanip`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_lanip" ], "example": "monitor_lanip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_lanip/show", "value": { "func_name": "monitor_lanip", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_lanip", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "monitor/monitor-clients.json", "method": "get", "path": "/api/v4.0/monitoring/clients/protocols/history-load", "operationId": "getClientProtocolsHistoryLoad", "summary": "获取指定终端的协议分类历史速率" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getConnNumLoad": { "post": { "tags": [ "负载监控API" ], "summary": "获取连接数监控数据", "operationId": "call_getConnNumLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/connections`\n- 来源文件: `monitor/monitor-load.json`\n- func_name: `monitor_system`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_system" ], "example": "monitor_system" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "default": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_system/show", "value": { "func_name": "monitor_system", "action": "show", "param": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_system", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "x-ikuai-source": { "spec_file": "monitor/monitor-load.json", "method": "get", "path": "/api/v4.0/monitoring/connections", "operationId": "getConnNumLoad", "summary": "获取连接数监控数据" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getCpuLoad": { "post": { "tags": [ "负载监控API" ], "summary": "获取CPU负载监控数据", "operationId": "call_getCpuLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/cpu`\n- 来源文件: `monitor/monitor-load.json`\n- func_name: `monitor_system`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_system" ], "example": "monitor_system" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "default": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_system/show", "value": { "func_name": "monitor_system", "action": "show", "param": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_system", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "x-ikuai-source": { "spec_file": "monitor/monitor-load.json", "method": "get", "path": "/api/v4.0/monitoring/cpu", "operationId": "getCpuLoad", "summary": "获取CPU负载监控数据" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getCpuTempLoad": { "post": { "tags": [ "负载监控API" ], "summary": "获取系统温度监控数据", "operationId": "call_getCpuTempLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/cputemp`\n- 来源文件: `monitor/monitor-load.json`\n- func_name: `monitor_system`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_system" ], "example": "monitor_system" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "cputemp_support" }, "default": { "TYPE": "cputemp_support" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_system/show", "value": { "func_name": "monitor_system", "action": "show", "param": { "TYPE": "cputemp_support" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_system", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "cputemp_support" }, "x-ikuai-source": { "spec_file": "monitor/monitor-load.json", "method": "get", "path": "/api/v4.0/monitoring/cputemp", "operationId": "getCpuTempLoad", "summary": "获取系统温度监控数据" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getDiskSpaceLoad": { "post": { "tags": [ "负载监控API" ], "summary": "获取磁盘空间使用监控数据", "operationId": "call_getDiskSpaceLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/disk`\n- 来源文件: `monitor/monitor-load.json`\n- func_name: `monitor_system`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_system" ], "example": "monitor_system" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "default": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_system/show", "value": { "func_name": "monitor_system", "action": "show", "param": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_system", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "x-ikuai-source": { "spec_file": "monitor/monitor-load.json", "method": "get", "path": "/api/v4.0/monitoring/disk", "operationId": "getDiskSpaceLoad", "summary": "获取磁盘空间使用监控数据" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getPeripheralDevices": { "post": { "tags": [ "周边设备监控API" ], "summary": "查询周边设备列表", "operationId": "call_getPeripheralDevices", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/downstream`\n- 来源文件: `monitor/monitor-peripheral-devices.json`\n- func_name: `netmap`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "netmap" ], "example": "netmap" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500" }, "default": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "netmap/show", "value": { "func_name": "netmap", "action": "show", "param": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "netmap", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "monitor/monitor-peripheral-devices.json", "method": "get", "path": "/api/v4.0/monitoring/downstream", "operationId": "getPeripheralDevices", "summary": "查询周边设备列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getFlowShuntingStats": { "post": { "tags": [ "分流监控API" ], "summary": "查询分流统计数据", "operationId": "call_getFlowShuntingStats", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/flow-shunting`\n- 来源文件: `monitor/monitor-flow-shunting.json`\n- func_name: `cflow`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "cflow" ], "example": "cflow" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "cflow/show", "value": { "func_name": "cflow", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "cflow", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "monitor/monitor-flow-shunting.json", "method": "get", "path": "/api/v4.0/monitoring/flow-shunting", "operationId": "getFlowShuntingStats", "summary": "查询分流统计数据" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getInterfacesConfig": { "post": { "tags": [ "接口监控管理API" ], "summary": "获取内外网接口配置监控", "operationId": "call_getInterfacesConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/interfaces-config`\n- 来源文件: `monitor/monitor-interfaces.json`\n- func_name: `monitor_iface`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_iface" ], "example": "monitor_iface" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "ether_info,snapshoot" }, "default": { "TYPE": "ether_info,snapshoot" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_iface/show", "value": { "func_name": "monitor_iface", "action": "show", "param": { "TYPE": "ether_info,snapshoot" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_iface", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "ether_info,snapshoot" }, "x-ikuai-source": { "spec_file": "monitor/monitor-interfaces.json", "method": "get", "path": "/api/v4.0/monitoring/interfaces-config", "operationId": "getInterfacesConfig", "summary": "获取内外网接口配置监控" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listPhysicalInterfaces": { "post": { "tags": [ "接口监控管理API" ], "summary": "获取物理网卡列表", "operationId": "call_listPhysicalInterfaces", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/interfaces-physical`\n- 来源文件: `monitor/monitor-interfaces.json`\n- func_name: `monitor_iface`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_iface" ], "example": "monitor_iface" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "ether_info,snapshoot" }, "default": { "TYPE": "ether_info,snapshoot" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_iface/show", "value": { "func_name": "monitor_iface", "action": "show", "param": { "TYPE": "ether_info,snapshoot" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_iface", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "ether_info,snapshoot" }, "x-ikuai-source": { "spec_file": "monitor/monitor-interfaces.json", "method": "get", "path": "/api/v4.0/monitoring/interfaces-physical", "operationId": "listPhysicalInterfaces", "summary": "获取物理网卡列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getInterfaceStatus": { "post": { "tags": [ "接口监控管理API" ], "summary": "获取线路状态监控", "operationId": "call_getInterfaceStatus", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/interfaces-status`\n- 来源文件: `monitor/monitor-interfaces.json`\n- func_name: `monitor_iface`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_iface" ], "example": "monitor_iface" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "ether_info,snapshoot" }, "default": { "TYPE": "ether_info,snapshoot" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_iface/show", "value": { "func_name": "monitor_iface", "action": "show", "param": { "TYPE": "ether_info,snapshoot" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_iface", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "ether_info,snapshoot" }, "x-ikuai-source": { "spec_file": "monitor/monitor-interfaces.json", "method": "get", "path": "/api/v4.0/monitoring/interfaces-status", "operationId": "getInterfaceStatus", "summary": "获取线路状态监控" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getInterfacesTraffic": { "post": { "tags": [ "接口监控管理API" ], "summary": "获取线路最近24小时流量负载监控", "operationId": "call_getInterfacesTraffic", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/interfaces-traffic`\n- 来源文件: `monitor/monitor-interfaces.json`\n- func_name: `monitor_iface`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_iface" ], "example": "monitor_iface" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "iface_stream" }, "default": { "TYPE": "iface_stream" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_iface/show", "value": { "func_name": "monitor_iface", "action": "show", "param": { "TYPE": "iface_stream" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_iface", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "iface_stream" }, "x-ikuai-source": { "spec_file": "monitor/monitor-interfaces.json", "method": "get", "path": "/api/v4.0/monitoring/interfaces-traffic", "operationId": "getInterfacesTraffic", "summary": "获取线路最近24小时流量负载监控" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getInterfacesTrafficV6": { "post": { "tags": [ "接口监控管理API" ], "summary": "获取IPv6线路详情", "operationId": "call_getInterfacesTrafficV6", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/interfaces-traffic-v6`\n- 来源文件: `monitor/monitor-interfaces.json`\n- func_name: `monitor_iface`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_iface" ], "example": "monitor_iface" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "iface_stream" }, "default": { "TYPE": "iface_stream" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_iface/show", "value": { "func_name": "monitor_iface", "action": "show", "param": { "TYPE": "iface_stream" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_iface", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "iface_stream" }, "x-ikuai-source": { "spec_file": "monitor/monitor-interfaces.json", "method": "get", "path": "/api/v4.0/monitoring/interfaces-traffic-v6", "operationId": "getInterfacesTrafficV6", "summary": "获取IPv6线路详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getMemoryLoad": { "post": { "tags": [ "负载监控API" ], "summary": "获取内存使用监控数据", "operationId": "call_getMemoryLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/memory`\n- 来源文件: `monitor/monitor-load.json`\n- func_name: `monitor_system`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_system" ], "example": "monitor_system" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "default": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_system/show", "value": { "func_name": "monitor_system", "action": "show", "param": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_system", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "x-ikuai-source": { "spec_file": "monitor/monitor-load.json", "method": "get", "path": "/api/v4.0/monitoring/memory", "operationId": "getMemoryLoad", "summary": "获取内存使用监控数据" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getNetworkLoad": { "post": { "tags": [ "负载监控API" ], "summary": "获取网络负载监控数据", "operationId": "call_getNetworkLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/network`\n- 来源文件: `monitor/monitor-load.json`\n- func_name: `monitor_system`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_system" ], "example": "monitor_system" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "rate_stat", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "default": { "TYPE": "rate_stat", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_system/show", "value": { "func_name": "monitor_system", "action": "show", "param": { "TYPE": "rate_stat", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_system", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "rate_stat", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "x-ikuai-source": { "spec_file": "monitor/monitor-load.json", "method": "get", "path": "/api/v4.0/monitoring/network", "operationId": "getNetworkLoad", "summary": "获取网络负载监控数据" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listProtocolsTraffic": { "post": { "tags": [ "应用协议监控管理API" ], "summary": "获取最近24小时协议分类流量汇总", "operationId": "call_listProtocolsTraffic", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/protocols`\n- 来源文件: `monitor/monitor-proto.json`\n- func_name: `monitor_app_flow`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_app_flow" ], "example": "monitor_app_flow" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "proto1_flow" }, "default": { "TYPE": "proto1_flow" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_app_flow/show", "value": { "func_name": "monitor_app_flow", "action": "show", "param": { "TYPE": "proto1_flow" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_app_flow", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "proto1_flow" }, "x-ikuai-source": { "spec_file": "monitor/monitor-proto.json", "method": "get", "path": "/api/v4.0/monitoring/protocols", "operationId": "listProtocolsTraffic", "summary": "获取最近24小时协议分类流量汇总" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getProtocolsHistoryLoad": { "post": { "tags": [ "应用协议监控管理API" ], "summary": "获取协议分类历史速率", "operationId": "call_getProtocolsHistoryLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/protocols/history-load`\n- 来源文件: `monitor/monitor-proto.json`\n- func_name: `monitor_app_flow`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_app_flow" ], "example": "monitor_app_flow" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "proto1_flow_history" }, "default": { "TYPE": "proto1_flow_history" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_app_flow/show", "value": { "func_name": "monitor_app_flow", "action": "show", "param": { "TYPE": "proto1_flow_history" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_app_flow", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "proto1_flow_history" }, "x-ikuai-source": { "spec_file": "monitor/monitor-proto.json", "method": "get", "path": "/api/v4.0/monitoring/protocols/history-load", "operationId": "getProtocolsHistoryLoad", "summary": "获取协议分类历史速率" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getWirelessSsidClients": { "post": { "tags": [ "无线监控管理API" ], "summary": "获取SSID终端统计", "operationId": "call_getWirelessSsidClients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/ssid-clients`\n- 来源文件: `monitor/monitor-wireless.json`\n- func_name: `ac_status`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ac_status" ], "example": "ac_status" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" }, "default": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ac_status/show", "value": { "func_name": "ac_status", "action": "show", "param": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ac_status", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" }, "x-ikuai-source": { "spec_file": "monitor/monitor-wireless.json", "method": "get", "path": "/api/v4.0/monitoring/ssid-clients", "operationId": "getWirelessSsidClients", "summary": "获取SSID终端统计" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getSwitchDevices": { "post": { "tags": [ "云管交换机监控API" ], "summary": "查询云管交换机设备列表", "operationId": "call_getSwitchDevices", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/switch`\n- 来源文件: `monitor/monitor-switch.json`\n- func_name: `cloud_switch`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "cloud_switch" ], "example": "cloud_switch" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "cloud_switch/show", "value": { "func_name": "cloud_switch", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "cloud_switch", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "monitor/monitor-switch.json", "method": "get", "path": "/api/v4.0/monitoring/switch", "operationId": "getSwitchDevices", "summary": "查询云管交换机设备列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getSystemInfo": { "post": { "tags": [ "负载监控API" ], "summary": "获取系统实时状态信息", "operationId": "call_getSystemInfo", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/system`\n- 来源文件: `monitor/monitor-load.json`\n- func_name: `monitor_system`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_system" ], "example": "monitor_system" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "default": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_system/show", "value": { "func_name": "monitor_system", "action": "show", "param": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_system", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "x-ikuai-source": { "spec_file": "monitor/monitor-load.json", "method": "get", "path": "/api/v4.0/monitoring/system", "operationId": "getSystemInfo", "summary": "获取系统实时状态信息" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getOnTerminalLoad": { "post": { "tags": [ "负载监控API" ], "summary": "获取在线终端数监控数据", "operationId": "call_getOnTerminalLoad", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/terminals`\n- 来源文件: `monitor/monitor-load.json`\n- func_name: `monitor_system`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "monitor_system" ], "example": "monitor_system" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "default": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "monitor_system/show", "value": { "func_name": "monitor_system", "action": "show", "param": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "monitor_system", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "cpu,memory,disk_space_used,on_terminal,conn_num", "datetype": "hour", "start_time": "", "end_time": "", "time_range": "", "math": "avg" }, "x-ikuai-source": { "spec_file": "monitor/monitor-load.json", "method": "get", "path": "/api/v4.0/monitoring/terminals", "operationId": "getOnTerminalLoad", "summary": "获取在线终端数监控数据" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listAccountTrafficAudit": { "post": { "tags": [ "流量审计监控API" ], "summary": "查询账号流量审计列表", "operationId": "call_listAccountTrafficAudit", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/traffic-audit/accounts`\n- 来源文件: `monitor/monitor-traffic-audit.json`\n- func_name: `audit`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "audit" ], "example": "audit" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "audit/show", "value": { "func_name": "audit", "action": "show", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "audit", "x-ikuai-action": "show", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "monitor/monitor-traffic-audit.json", "method": "get", "path": "/api/v4.0/monitoring/traffic-audit/accounts", "operationId": "listAccountTrafficAudit", "summary": "查询账号流量审计列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getAccountTrafficAuditApplications": { "post": { "tags": [ "流量审计监控API" ], "summary": "查询指定账号应用流量详情", "operationId": "call_getAccountTrafficAuditApplications", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/traffic-audit/accounts/applications`\n- 来源文件: `monitor/monitor-traffic-audit.json`\n- func_name: `audit`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "audit" ], "example": "audit" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "audit/show", "value": { "func_name": "audit", "action": "show", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "audit", "x-ikuai-action": "show", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "monitor/monitor-traffic-audit.json", "method": "get", "path": "/api/v4.0/monitoring/traffic-audit/accounts/applications", "operationId": "getAccountTrafficAuditApplications", "summary": "查询指定账号应用流量详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getAccountTrafficAuditTrend": { "post": { "tags": [ "流量审计监控API" ], "summary": "查询指定账号流量趋势详情", "operationId": "call_getAccountTrafficAuditTrend", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/traffic-audit/accounts/trend`\n- 来源文件: `monitor/monitor-traffic-audit.json`\n- func_name: `audit`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "audit" ], "example": "audit" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "audit/show", "value": { "func_name": "audit", "action": "show", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "audit", "x-ikuai-action": "show", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "monitor/monitor-traffic-audit.json", "method": "get", "path": "/api/v4.0/monitoring/traffic-audit/accounts/trend", "operationId": "getAccountTrafficAuditTrend", "summary": "查询指定账号流量趋势详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listMacTrafficAudit": { "post": { "tags": [ "流量审计监控API" ], "summary": "查询 MAC 流量审计列表", "operationId": "call_listMacTrafficAudit", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/traffic-audit/terminals`\n- 来源文件: `monitor/monitor-traffic-audit.json`\n- func_name: `audit`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "audit" ], "example": "audit" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "audit/show", "value": { "func_name": "audit", "action": "show", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "audit", "x-ikuai-action": "show", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "monitor/monitor-traffic-audit.json", "method": "get", "path": "/api/v4.0/monitoring/traffic-audit/terminals", "operationId": "listMacTrafficAudit", "summary": "查询 MAC 流量审计列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getMacTrafficAuditApplications": { "post": { "tags": [ "流量审计监控API" ], "summary": "查询指定 MAC 应用流量详情", "operationId": "call_getMacTrafficAuditApplications", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/traffic-audit/terminals/applications`\n- 来源文件: `monitor/monitor-traffic-audit.json`\n- func_name: `audit`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "audit" ], "example": "audit" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "audit/show", "value": { "func_name": "audit", "action": "show", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "audit", "x-ikuai-action": "show", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "monitor/monitor-traffic-audit.json", "method": "get", "path": "/api/v4.0/monitoring/traffic-audit/terminals/applications", "operationId": "getMacTrafficAuditApplications", "summary": "查询指定 MAC 应用流量详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getMacTrafficAuditTrend": { "post": { "tags": [ "流量审计监控API" ], "summary": "查询指定 MAC 流量趋势详情", "operationId": "call_getMacTrafficAuditTrend", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/traffic-audit/terminals/trend`\n- 来源文件: `monitor/monitor-traffic-audit.json`\n- func_name: `audit`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "audit" ], "example": "audit" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "audit/show", "value": { "func_name": "audit", "action": "show", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "audit", "x-ikuai-action": "show", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "monitor/monitor-traffic-audit.json", "method": "get", "path": "/api/v4.0/monitoring/traffic-audit/terminals/trend", "operationId": "getMacTrafficAuditTrend", "summary": "查询指定 MAC 流量趋势详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getWirelessScore": { "post": { "tags": [ "无线监控管理API" ], "summary": "获取无线网络评分", "operationId": "call_getWirelessScore", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/wireless-score`\n- 来源文件: `monitor/monitor-wireless.json`\n- func_name: `ac_status`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ac_status" ], "example": "ac_status" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" }, "default": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ac_status/show", "value": { "func_name": "ac_status", "action": "show", "param": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ac_status", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" }, "x-ikuai-source": { "spec_file": "monitor/monitor-wireless.json", "method": "get", "path": "/api/v4.0/monitoring/wireless-score", "operationId": "getWirelessScore", "summary": "获取无线网络评分" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getWirelessStatistics": { "post": { "tags": [ "无线监控管理API" ], "summary": "获取无线监控统计信息", "operationId": "call_getWirelessStatistics", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/wireless-statistics`\n- 来源文件: `monitor/monitor-wireless.json`\n- func_name: `ac_status`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ac_status" ], "example": "ac_status" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" }, "default": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ac_status/show", "value": { "func_name": "ac_status", "action": "show", "param": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ac_status", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" }, "x-ikuai-source": { "spec_file": "monitor/monitor-wireless.json", "method": "get", "path": "/api/v4.0/monitoring/wireless-statistics", "operationId": "getWirelessStatistics", "summary": "获取无线监控统计信息" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getWirelessTraffic": { "post": { "tags": [ "无线监控管理API" ], "summary": "获取无线流量统计", "operationId": "call_getWirelessTraffic", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/monitoring/wireless-traffic`\n- 来源文件: `monitor/monitor-wireless.json`\n- func_name: `ac_status`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ac_status" ], "example": "ac_status" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" }, "default": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ac_status/show", "value": { "func_name": "ac_status", "action": "show", "param": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ac_status", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" }, "x-ikuai-source": { "spec_file": "monitor/monitor-wireless.json", "method": "get", "path": "/api/v4.0/monitoring/wireless-traffic", "operationId": "getWirelessTraffic", "summary": "获取无线流量统计" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listAPConfigs": { "post": { "tags": [ "AC服务管理API" ], "summary": "获取所有AP配置列表", "operationId": "call_listAPConfigs", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/ac/ap-config`\n- 来源文件: `wireless/ac_status.json`\n- func_name: `ac_status`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ac_status" ], "example": "ac_status" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" }, "default": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ac_status/show", "value": { "func_name": "ac_status", "action": "show", "param": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ac_status", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last" }, "x-ikuai-source": { "spec_file": "wireless/ac_status.json", "method": "get", "path": "/api/v4.0/network/ac/ap-config", "operationId": "listAPConfigs", "summary": "获取所有AP配置列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getACServiceStatus": { "post": { "tags": [ "AC服务管理API" ], "summary": "获取AC服务状态", "operationId": "call_getACServiceStatus", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/ac/services`\n- 来源文件: `wireless/ac_status.json`\n- func_name: `ac_status`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ac_status" ], "example": "ac_status" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "ac_status" }, "default": { "TYPE": "ac_status" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ac_status/show", "value": { "func_name": "ac_status", "action": "show", "param": { "TYPE": "ac_status" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ac_status", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "ac_status" }, "x-ikuai-source": { "spec_file": "wireless/ac_status.json", "method": "get", "path": "/api/v4.0/network/ac/services", "operationId": "getACServiceStatus", "summary": "获取AC服务状态" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/startACService": { "post": { "tags": [ "AC服务管理API" ], "summary": "开启AC服务", "operationId": "call_startACService", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/ac/services:start`\n- 来源文件: `wireless/ac_status.json`\n- func_name: `ac_status`\n- action: `start`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ac_status" ], "example": "ac_status" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "start" ], "example": "start" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ac_status/start", "value": { "func_name": "ac_status", "action": "start", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ac_status", "x-ikuai-action": "start", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "wireless/ac_status.json", "method": "post", "path": "/api/v4.0/network/ac/services:start", "operationId": "startACService", "summary": "开启AC服务" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/stopACService": { "post": { "tags": [ "AC服务管理API" ], "summary": "关闭AC服务", "operationId": "call_stopACService", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/ac/services:stop`\n- 来源文件: `wireless/ac_status.json`\n- func_name: `ac_status`\n- action: `stop`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ac_status" ], "example": "ac_status" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "stop" ], "example": "stop" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ac_status/stop", "value": { "func_name": "ac_status", "action": "stop", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ac_status", "x-ikuai-action": "stop", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "wireless/ac_status.json", "method": "post", "path": "/api/v4.0/network/ac/services:stop", "operationId": "stopACService", "summary": "关闭AC服务" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listAdvancedProtocols": { "post": { "tags": [ "高级自定义协议管理API" ], "summary": "获取高级自定义协议列表", "operationId": "call_listAdvancedProtocols", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/app-protocols/advanced/rules`\n- 来源文件: `network/network-advanced-protocols.json`\n- func_name: `dprotos`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dprotos" ], "example": "dprotos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dprotos/show", "value": { "func_name": "dprotos", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dprotos", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-advanced-protocols.json", "method": "get", "path": "/api/v4.0/network/app-protocols/advanced/rules", "operationId": "listAdvancedProtocols", "summary": "获取高级自定义协议列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createAdvancedProtocol": { "post": { "tags": [ "高级自定义协议管理API" ], "summary": "创建高级自定义协议", "operationId": "call_createAdvancedProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/app-protocols/advanced/rules`\n- 来源文件: `network/network-advanced-protocols.json`\n- func_name: `dprotos`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dprotos" ], "example": "dprotos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "class": "0", "comment": "codex_test", "name": "codex_test", "rule": "UHJvdG9jb2w9SFRUUA==", "enabled": "no" }, "default": { "class": "0", "comment": "codex_test", "name": "codex_test", "rule": "UHJvdG9jb2w9SFRUUA==", "enabled": "no" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dprotos/add", "value": { "func_name": "dprotos", "action": "add", "param": { "class": "0", "comment": "codex_test", "name": "codex_test", "rule": "UHJvdG9jb2w9SFRUUA==", "enabled": "no" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dprotos", "x-ikuai-action": "add", "x-ikuai-param-example": { "class": "0", "comment": "codex_test", "name": "codex_test", "rule": "UHJvdG9jb2w9SFRUUA==", "enabled": "no" }, "x-ikuai-source": { "spec_file": "network/network-advanced-protocols.json", "method": "post", "path": "/api/v4.0/network/app-protocols/advanced/rules", "operationId": "createAdvancedProtocol", "summary": "创建高级自定义协议" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listCustomProtocols": { "post": { "tags": [ "自定义协议策略管理API" ], "summary": "获取自定义协议策略列表", "operationId": "call_listCustomProtocols", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/app-protocols/custom/rules`\n- 来源文件: `network/network-protocols.json`\n- func_name: `dprotos`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dprotos" ], "example": "dprotos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dprotos/show", "value": { "func_name": "dprotos", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dprotos", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-protocols.json", "method": "get", "path": "/api/v4.0/network/app-protocols/custom/rules", "operationId": "listCustomProtocols", "summary": "获取自定义协议策略列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createCustomProtocol": { "post": { "tags": [ "自定义协议策略管理API" ], "summary": "创建自定义协议策略", "operationId": "call_createCustomProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/app-protocols/custom/rules`\n- 来源文件: `network/network-protocols.json`\n- func_name: `dprotos`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dprotos" ], "example": "dprotos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "class": "0", "comment": "codex_test", "name": "codex_test", "src_addr": { "custom": [ "192.168.9.168" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "dst_addr": { "custom": [ "192.168.10.168" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "protocol": "udp", "dst_port": { "custom": [ "9000", "10000-20000" ], "object": [ { "gid": "PORTGP26", "gp_name": "ip55", "type": 3 } ] }, "enabled": "no" }, "default": { "class": "0", "comment": "codex_test", "name": "codex_test", "src_addr": { "custom": [ "192.168.9.168" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "dst_addr": { "custom": [ "192.168.10.168" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "protocol": "udp", "dst_port": { "custom": [ "9000", "10000-20000" ], "object": [ { "gid": "PORTGP26", "gp_name": "ip55", "type": 3 } ] }, "enabled": "no" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dprotos/add", "value": { "func_name": "dprotos", "action": "add", "param": { "class": "0", "comment": "codex_test", "name": "codex_test", "src_addr": { "custom": [ "192.168.9.168" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "dst_addr": { "custom": [ "192.168.10.168" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "protocol": "udp", "dst_port": { "custom": [ "9000", "10000-20000" ], "object": [ { "gid": "PORTGP26", "gp_name": "ip55", "type": 3 } ] }, "enabled": "no" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dprotos", "x-ikuai-action": "add", "x-ikuai-param-example": { "class": "0", "comment": "codex_test", "name": "codex_test", "src_addr": { "custom": [ "192.168.9.168" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "dst_addr": { "custom": [ "192.168.10.168" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "protocol": "udp", "dst_port": { "custom": [ "9000", "10000-20000" ], "object": [ { "gid": "PORTGP26", "gp_name": "ip55", "type": 3 } ] }, "enabled": "no" }, "x-ikuai-source": { "spec_file": "network/network-protocols.json", "method": "post", "path": "/api/v4.0/network/app-protocols/custom/rules", "operationId": "createCustomProtocol", "summary": "创建自定义协议策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDhcpAccessMode": { "post": { "tags": [ "DHCP访问控制管理API" ], "summary": "获取访问控制模式", "operationId": "call_getDhcpAccessMode", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dhcp/access-control/mode`\n- 来源文件: `network/network-dhcp-access.json`\n- func_name: `dhcp_acl_mac`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_acl_mac" ], "example": "dhcp_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_acl_mac/show", "value": { "func_name": "dhcp_acl_mac", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_acl_mac", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-access.json", "method": "get", "path": "/api/v4.0/network/dhcp/access-control/mode", "operationId": "getDhcpAccessMode", "summary": "获取访问控制模式" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/setDhcpAccessMode": { "post": { "tags": [ "DHCP访问控制管理API" ], "summary": "设置访问控制模式", "operationId": "call_setDhcpAccessMode", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/dhcp/access-control/mode`\n- 来源文件: `network/network-dhcp-access.json`\n- func_name: `dhcp_acl_mac`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_acl_mac" ], "example": "dhcp_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "mode": 0 }, "default": { "mode": 0 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_acl_mac/edit", "value": { "func_name": "dhcp_acl_mac", "action": "edit", "param": { "mode": 0 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_acl_mac", "x-ikuai-action": "edit", "x-ikuai-param-example": { "mode": 0 }, "x-ikuai-source": { "spec_file": "network/network-dhcp-access.json", "method": "put", "path": "/api/v4.0/network/dhcp/access-control/mode", "operationId": "setDhcpAccessMode", "summary": "设置访问控制模式" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listDhcpAccessRules": { "post": { "tags": [ "DHCP访问控制管理API" ], "summary": "获取访问控制规则列表", "operationId": "call_listDhcpAccessRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dhcp/access-control/rules`\n- 来源文件: `network/network-dhcp-access.json`\n- func_name: `dhcp_acl_mac`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_acl_mac" ], "example": "dhcp_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_acl_mac/show", "value": { "func_name": "dhcp_acl_mac", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_acl_mac", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-access.json", "method": "get", "path": "/api/v4.0/network/dhcp/access-control/rules", "operationId": "listDhcpAccessRules", "summary": "获取访问控制规则列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createDhcpAccessRule": { "post": { "tags": [ "DHCP访问控制管理API" ], "summary": "创建访问控制规则", "operationId": "call_createDhcpAccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/dhcp/access-control/rules`\n- 来源文件: `network/network-dhcp-access.json`\n- func_name: `dhcp_acl_mac`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_acl_mac" ], "example": "dhcp_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test" }, "default": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_acl_mac/add", "value": { "func_name": "dhcp_acl_mac", "action": "add", "param": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_acl_mac", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-access.json", "method": "post", "path": "/api/v4.0/network/dhcp/access-control/rules", "operationId": "createDhcpAccessRule", "summary": "创建访问控制规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listDhcpClients": { "post": { "tags": [ "DHCP客户端管理API" ], "summary": "获取DHCP客户端列表", "operationId": "call_listDhcpClients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dhcp/clients`\n- 来源文件: `network/network-dhcp-clients.json`\n- func_name: `dhcp_lease`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_lease" ], "example": "dhcp_lease" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_lease/show", "value": { "func_name": "dhcp_lease", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_lease", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-clients.json", "method": "get", "path": "/api/v4.0/network/dhcp/clients", "operationId": "listDhcpClients", "summary": "获取DHCP客户端列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listDhcpServices": { "post": { "tags": [ "DHCP服务管理API" ], "summary": "获取所有DHCP策略", "operationId": "call_listDhcpServices", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dhcp/services`\n- 来源文件: `network/network-dhcp-server.json`\n- func_name: `dhcp_server`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_server" ], "example": "dhcp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_server/show", "value": { "func_name": "dhcp_server", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_server", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-server.json", "method": "get", "path": "/api/v4.0/network/dhcp/services", "operationId": "listDhcpServices", "summary": "获取所有DHCP策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createDhcpService": { "post": { "tags": [ "DHCP服务管理API" ], "summary": "创建DHCP策略", "operationId": "call_createDhcpService", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/dhcp/services`\n- 来源文件: `network/network-dhcp-server.json`\n- func_name: `dhcp_server`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_server" ], "example": "dhcp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "interface": "eth0", "phy_ifnames": "eth0,veth0", "addr_pool": "192.168.1.100-192.168.1.200", "exclude_pool": "192.168.1.101,192.168.1.102", "netmask": "255.255.255.0", "gateway": "192.0.2.254", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "wins1": "192.168.1.10", "wins2": "192.168.1.11", "domain": "example.invalid", "next_server": "192.168.1.2", "lease": 3600, "delay": 600, "opt_type15": 0, "opt15": "example.local", "opt_type28": 1, "opt28": "192.168.1.255", "opt_type43": 2, "opt43": "vendor-specific-data", "opt_type60": 0, "opt60": "PXEClient", "opt_type66": 2, "opt66": "tftp.example.com", "opt_type67": 2, "opt67": "pxelinux.0", "opt_type80": 1, "opt80": "client-identifier", "opt_type119": 2, "opt119": "example.com,corp.com", "opt_type125": 0, "opt125": "", "opt_type128": 1, "opt128": "192.168.1.100", "opt_type138": 1, "opt138": "192.168.1.100", "opt_type121": 1, "opt121": "192.168.1.0,255.255.255.0,192.168.1.1", "check_addr_valid": 1, "check_relay_only": 0 }, "default": { "enabled": "no", "interface": "eth0", "phy_ifnames": "eth0,veth0", "addr_pool": "192.168.1.100-192.168.1.200", "exclude_pool": "192.168.1.101,192.168.1.102", "netmask": "255.255.255.0", "gateway": "192.0.2.254", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "wins1": "192.168.1.10", "wins2": "192.168.1.11", "domain": "example.invalid", "next_server": "192.168.1.2", "lease": 3600, "delay": 600, "opt_type15": 0, "opt15": "example.local", "opt_type28": 1, "opt28": "192.168.1.255", "opt_type43": 2, "opt43": "vendor-specific-data", "opt_type60": 0, "opt60": "PXEClient", "opt_type66": 2, "opt66": "tftp.example.com", "opt_type67": 2, "opt67": "pxelinux.0", "opt_type80": 1, "opt80": "client-identifier", "opt_type119": 2, "opt119": "example.com,corp.com", "opt_type125": 0, "opt125": "", "opt_type128": 1, "opt128": "192.168.1.100", "opt_type138": 1, "opt138": "192.168.1.100", "opt_type121": 1, "opt121": "192.168.1.0,255.255.255.0,192.168.1.1", "check_addr_valid": 1, "check_relay_only": 0 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_server/add", "value": { "func_name": "dhcp_server", "action": "add", "param": { "enabled": "no", "interface": "eth0", "phy_ifnames": "eth0,veth0", "addr_pool": "192.168.1.100-192.168.1.200", "exclude_pool": "192.168.1.101,192.168.1.102", "netmask": "255.255.255.0", "gateway": "192.0.2.254", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "wins1": "192.168.1.10", "wins2": "192.168.1.11", "domain": "example.invalid", "next_server": "192.168.1.2", "lease": 3600, "delay": 600, "opt_type15": 0, "opt15": "example.local", "opt_type28": 1, "opt28": "192.168.1.255", "opt_type43": 2, "opt43": "vendor-specific-data", "opt_type60": 0, "opt60": "PXEClient", "opt_type66": 2, "opt66": "tftp.example.com", "opt_type67": 2, "opt67": "pxelinux.0", "opt_type80": 1, "opt80": "client-identifier", "opt_type119": 2, "opt119": "example.com,corp.com", "opt_type125": 0, "opt125": "", "opt_type128": 1, "opt128": "192.168.1.100", "opt_type138": 1, "opt138": "192.168.1.100", "opt_type121": 1, "opt121": "192.168.1.0,255.255.255.0,192.168.1.1", "check_addr_valid": 1, "check_relay_only": 0 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_server", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "interface": "eth0", "phy_ifnames": "eth0,veth0", "addr_pool": "192.168.1.100-192.168.1.200", "exclude_pool": "192.168.1.101,192.168.1.102", "netmask": "255.255.255.0", "gateway": "192.0.2.254", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "wins1": "192.168.1.10", "wins2": "192.168.1.11", "domain": "example.invalid", "next_server": "192.168.1.2", "lease": 3600, "delay": 600, "opt_type15": 0, "opt15": "example.local", "opt_type28": 1, "opt28": "192.168.1.255", "opt_type43": 2, "opt43": "vendor-specific-data", "opt_type60": 0, "opt60": "PXEClient", "opt_type66": 2, "opt66": "tftp.example.com", "opt_type67": 2, "opt67": "pxelinux.0", "opt_type80": 1, "opt80": "client-identifier", "opt_type119": 2, "opt119": "example.com,corp.com", "opt_type125": 0, "opt125": "", "opt_type128": 1, "opt128": "192.168.1.100", "opt_type138": 1, "opt138": "192.168.1.100", "opt_type121": 1, "opt121": "192.168.1.0,255.255.255.0,192.168.1.1", "check_addr_valid": 1, "check_relay_only": 0 }, "x-ikuai-source": { "spec_file": "network/network-dhcp-server.json", "method": "post", "path": "/api/v4.0/network/dhcp/services", "operationId": "createDhcpService", "summary": "创建DHCP策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/restartDhcpService": { "post": { "tags": [ "DHCP服务管理API" ], "summary": "重启DHCP服务", "operationId": "call_restartDhcpService", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/dhcp/services:restart`\n- 来源文件: `network/network-dhcp-server.json`\n- func_name: `dhcp_server`\n- action: `restart`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_server" ], "example": "dhcp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "restart" ], "example": "restart" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_server/restart", "value": { "func_name": "dhcp_server", "action": "restart", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_server", "x-ikuai-action": "restart", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "network/network-dhcp-server.json", "method": "post", "path": "/api/v4.0/network/dhcp/services:restart", "operationId": "restartDhcpService", "summary": "重启DHCP服务" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listDhcpStatic": { "post": { "tags": [ "DHCP静态分配管理API" ], "summary": "获取静态分配列表", "operationId": "call_listDhcpStatic", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dhcp/static`\n- 来源文件: `network/network-dhcp-static.json`\n- func_name: `dhcp_static`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_static" ], "example": "dhcp_static" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_static/show", "value": { "func_name": "dhcp_static", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_static", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-static.json", "method": "get", "path": "/api/v4.0/network/dhcp/static", "operationId": "listDhcpStatic", "summary": "获取静态分配列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createDhcpStatic": { "post": { "tags": [ "DHCP静态分配管理API" ], "summary": "创建静态分配规则", "operationId": "call_createDhcpStatic", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/dhcp/static`\n- 来源文件: `network/network-dhcp-static.json`\n- func_name: `dhcp_static`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_static" ], "example": "dhcp_static" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "comment": "codex_test", "interface": "lan1", "ip_addr": "192.0.2.254", "mac": "02:00:5e:99:99:99", "gateway": "192.0.2.254", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "tagname": "codex_test", "hostname": "codex_test" }, "default": { "enabled": "no", "comment": "codex_test", "interface": "lan1", "ip_addr": "192.0.2.254", "mac": "02:00:5e:99:99:99", "gateway": "192.0.2.254", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "tagname": "codex_test", "hostname": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_static/add", "value": { "func_name": "dhcp_static", "action": "add", "param": { "enabled": "no", "comment": "codex_test", "interface": "lan1", "ip_addr": "192.0.2.254", "mac": "02:00:5e:99:99:99", "gateway": "192.0.2.254", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "tagname": "codex_test", "hostname": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_static", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "comment": "codex_test", "interface": "lan1", "ip_addr": "192.0.2.254", "mac": "02:00:5e:99:99:99", "gateway": "192.0.2.254", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "tagname": "codex_test", "hostname": "codex_test" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-static.json", "method": "post", "path": "/api/v4.0/network/dhcp/static", "operationId": "createDhcpStatic", "summary": "创建静态分配规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDhcp6AccessMode": { "post": { "tags": [ "DHCPv6访问控制管理API" ], "summary": "获取DHCPv6访问控制模式", "operationId": "call_getDhcp6AccessMode", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dhcp6/access-control/mode`\n- 来源文件: `network/network-dhcp6-access.json`\n- func_name: `dhcp6_acl_mac`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp6_acl_mac" ], "example": "dhcp6_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp6_acl_mac/show", "value": { "func_name": "dhcp6_acl_mac", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp6_acl_mac", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-dhcp6-access.json", "method": "get", "path": "/api/v4.0/network/dhcp6/access-control/mode", "operationId": "getDhcp6AccessMode", "summary": "获取DHCPv6访问控制模式" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/setDhcp6AccessMode": { "post": { "tags": [ "DHCPv6访问控制管理API" ], "summary": "设置DHCPv6访问控制模式", "operationId": "call_setDhcp6AccessMode", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/dhcp6/access-control/mode`\n- 来源文件: `network/network-dhcp6-access.json`\n- func_name: `dhcp6_acl_mac`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp6_acl_mac" ], "example": "dhcp6_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "mode": 0 }, "default": { "mode": 0 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp6_acl_mac/edit", "value": { "func_name": "dhcp6_acl_mac", "action": "edit", "param": { "mode": 0 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp6_acl_mac", "x-ikuai-action": "edit", "x-ikuai-param-example": { "mode": 0 }, "x-ikuai-source": { "spec_file": "network/network-dhcp6-access.json", "method": "put", "path": "/api/v4.0/network/dhcp6/access-control/mode", "operationId": "setDhcp6AccessMode", "summary": "设置DHCPv6访问控制模式" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listDhcp6AccessRules": { "post": { "tags": [ "DHCPv6访问控制管理API" ], "summary": "获取DHCPv6访问控制规则列表", "operationId": "call_listDhcp6AccessRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dhcp6/access-control/rules`\n- 来源文件: `network/network-dhcp6-access.json`\n- func_name: `dhcp6_acl_mac`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp6_acl_mac" ], "example": "dhcp6_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp6_acl_mac/show", "value": { "func_name": "dhcp6_acl_mac", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp6_acl_mac", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-dhcp6-access.json", "method": "get", "path": "/api/v4.0/network/dhcp6/access-control/rules", "operationId": "listDhcp6AccessRules", "summary": "获取DHCPv6访问控制规则列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createDhcp6AccessRule": { "post": { "tags": [ "DHCPv6访问控制管理API" ], "summary": "创建DHCPv6访问控制规则", "operationId": "call_createDhcp6AccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/dhcp6/access-control/rules`\n- 来源文件: `network/network-dhcp6-access.json`\n- func_name: `dhcp6_acl_mac`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp6_acl_mac" ], "example": "dhcp6_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "comment": "codex_test" }, "default": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp6_acl_mac/add", "value": { "func_name": "dhcp6_acl_mac", "action": "add", "param": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp6_acl_mac", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "network/network-dhcp6-access.json", "method": "post", "path": "/api/v4.0/network/dhcp6/access-control/rules", "operationId": "createDhcp6AccessRule", "summary": "创建DHCPv6访问控制规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listDhcp6Clients": { "post": { "tags": [ "DHCP客户端管理API" ], "summary": "获取DHCPv6客户端列表", "operationId": "call_listDhcp6Clients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dhcp6/clients`\n- 来源文件: `network/network-dhcp-clients.json`\n- func_name: `dhcp6_lease`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp6_lease" ], "example": "dhcp6_lease" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "client_list,client_total", "limit": "0,500" }, "default": { "TYPE": "client_list,client_total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp6_lease/show", "value": { "func_name": "dhcp6_lease", "action": "show", "param": { "TYPE": "client_list,client_total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp6_lease", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "client_list,client_total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-clients.json", "method": "get", "path": "/api/v4.0/network/dhcp6/clients", "operationId": "listDhcp6Clients", "summary": "获取DHCPv6客户端列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listDmzRules": { "post": { "tags": [ "DMZ策略管理API" ], "summary": "获取DMZ策略列表", "operationId": "call_listDmzRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dmz/rules`\n- 来源文件: `network/network-dmz.json`\n- func_name: `netmap`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "netmap" ], "example": "netmap" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500" }, "default": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "netmap/show", "value": { "func_name": "netmap", "action": "show", "param": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "netmap", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-dmz.json", "method": "get", "path": "/api/v4.0/network/dmz/rules", "operationId": "listDmzRules", "summary": "获取DMZ策略列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createDmzRule": { "post": { "tags": [ "DMZ策略管理API" ], "summary": "添加DMZ策略", "operationId": "call_createDmzRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/dmz/rules`\n- 来源文件: `network/network-dmz.json`\n- func_name: `netmap`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "netmap" ], "example": "netmap" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "tagname": "codex_test", "enabled": "no", "interface": "192.168.100.1", "lan_addr": "192.0.2.254", "protocol": "tcp", "comment": "codex_test" }, "default": { "tagname": "codex_test", "enabled": "no", "interface": "192.168.100.1", "lan_addr": "192.0.2.254", "protocol": "tcp", "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "netmap/add", "value": { "func_name": "netmap", "action": "add", "param": { "tagname": "codex_test", "enabled": "no", "interface": "192.168.100.1", "lan_addr": "192.0.2.254", "protocol": "tcp", "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "netmap", "x-ikuai-action": "add", "x-ikuai-param-example": { "tagname": "codex_test", "enabled": "no", "interface": "192.168.100.1", "lan_addr": "192.0.2.254", "protocol": "tcp", "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "network/network-dmz.json", "method": "post", "path": "/api/v4.0/network/dmz/rules", "operationId": "createDmzRule", "summary": "添加DMZ策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listDnatRules": { "post": { "tags": [ "端口映射规则管理API" ], "summary": "获取所有DNAT规则", "operationId": "call_listDnatRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dnat/rules`\n- 来源文件: `network/network-dnat.json`\n- func_name: `dnat`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dnat" ], "example": "dnat" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500" }, "default": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dnat/show", "value": { "func_name": "dnat", "action": "show", "param": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dnat", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-dnat.json", "method": "get", "path": "/api/v4.0/network/dnat/rules", "operationId": "listDnatRules", "summary": "获取所有DNAT规则" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createDnatRule": { "post": { "tags": [ "端口映射规则管理API" ], "summary": "添加DNAT规则", "operationId": "call_createDnatRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/dnat/rules`\n- 来源文件: `network/network-dnat.json`\n- func_name: `dnat`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dnat" ], "example": "dnat" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "tagname": "codex_test", "enabled": "no", "lan_addr": "192.0.2.254", "lan_port": "90,9090-9099", "protocol": "tcp", "interface": "wan1", "wan_port": "90,9090-9099", "src_addr": { "custom": [ "192.168.1.2" ], "object": [ { "type": 0, "gid": "IPGP1", "gp_name": "test001" } ] }, "comment": "codex_test" }, "default": { "tagname": "codex_test", "enabled": "no", "lan_addr": "192.0.2.254", "lan_port": "90,9090-9099", "protocol": "tcp", "interface": "wan1", "wan_port": "90,9090-9099", "src_addr": { "custom": [ "192.168.1.2" ], "object": [ { "type": 0, "gid": "IPGP1", "gp_name": "test001" } ] }, "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dnat/add", "value": { "func_name": "dnat", "action": "add", "param": { "tagname": "codex_test", "enabled": "no", "lan_addr": "192.0.2.254", "lan_port": "90,9090-9099", "protocol": "tcp", "interface": "wan1", "wan_port": "90,9090-9099", "src_addr": { "custom": [ "192.168.1.2" ], "object": [ { "type": 0, "gid": "IPGP1", "gp_name": "test001" } ] }, "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dnat", "x-ikuai-action": "add", "x-ikuai-param-example": { "tagname": "codex_test", "enabled": "no", "lan_addr": "192.0.2.254", "lan_port": "90,9090-9099", "protocol": "tcp", "interface": "wan1", "wan_port": "90,9090-9099", "src_addr": { "custom": [ "192.168.1.2" ], "object": [ { "type": 0, "gid": "IPGP1", "gp_name": "test001" } ] }, "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "network/network-dnat.json", "method": "post", "path": "/api/v4.0/network/dnat/rules", "operationId": "createDnatRule", "summary": "添加DNAT规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDnsConfig": { "post": { "tags": [ "DNS服务管理API" ], "summary": "获取DNS配置", "operationId": "call_getDnsConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dns/config`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "dns_config" }, "default": { "TYPE": "dns_config" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/show", "value": { "func_name": "dns", "action": "show", "param": { "TYPE": "dns_config" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "dns_config" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "get", "path": "/api/v4.0/network/dns/config", "operationId": "getDnsConfig", "summary": "获取DNS配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateDnsConfig": { "post": { "tags": [ "DNS服务管理API" ], "summary": "更新DNS配置", "operationId": "call_updateDnsConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/dns/config`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "forbid_dns_4a": 0, "cache_ttl": 300, "cachemode": 0, "proxy_force": 0, "proxy_force_dns": "", "query": "https://doh.pub/dns-query", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "defense": "", "network": "", "query_args_ip": "", "query_head_ip": "" }, "default": { "enabled": "no", "forbid_dns_4a": 0, "cache_ttl": 300, "cachemode": 0, "proxy_force": 0, "proxy_force_dns": "", "query": "https://doh.pub/dns-query", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "defense": "", "network": "", "query_args_ip": "", "query_head_ip": "" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/save", "value": { "func_name": "dns", "action": "save", "param": { "enabled": "no", "forbid_dns_4a": 0, "cache_ttl": 300, "cachemode": 0, "proxy_force": 0, "proxy_force_dns": "", "query": "https://doh.pub/dns-query", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "defense": "", "network": "", "query_args_ip": "", "query_head_ip": "" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "forbid_dns_4a": 0, "cache_ttl": 300, "cachemode": 0, "proxy_force": 0, "proxy_force_dns": "", "query": "https://doh.pub/dns-query", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "defense": "", "network": "", "query_args_ip": "", "query_head_ip": "" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "put", "path": "/api/v4.0/network/dns/config", "operationId": "updateDnsConfig", "summary": "更新DNS配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listDnsProxyRules": { "post": { "tags": [ "DNS服务管理API" ], "summary": "获取DNS代理规则列表", "operationId": "call_listDnsProxyRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dns/proxy/rules`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500" }, "default": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/show", "value": { "func_name": "dns", "action": "show", "param": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "show", "x-ikuai-param-example": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "get", "path": "/api/v4.0/network/dns/proxy/rules", "operationId": "listDnsProxyRules", "summary": "获取DNS代理规则列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createDnsProxyRule": { "post": { "tags": [ "DNS服务管理API" ], "summary": "添加DNS代理规则", "operationId": "call_createDnsProxyRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/dns/proxy/rules`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "domain": "example.invalid", "dns_addr": "192.168.1.100", "enabled": "no", "comment": "codex_test", "src_addr": "192.168.1.0/24", "is_ipv6": 0, "parse_type": "ipv4" }, "default": { "domain": "example.invalid", "dns_addr": "192.168.1.100", "enabled": "no", "comment": "codex_test", "src_addr": "192.168.1.0/24", "is_ipv6": 0, "parse_type": "ipv4" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/add", "value": { "func_name": "dns", "action": "add", "param": { "domain": "example.invalid", "dns_addr": "192.168.1.100", "enabled": "no", "comment": "codex_test", "src_addr": "192.168.1.0/24", "is_ipv6": 0, "parse_type": "ipv4" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "add", "x-ikuai-param-example": { "domain": "example.invalid", "dns_addr": "192.168.1.100", "enabled": "no", "comment": "codex_test", "src_addr": "192.168.1.0/24", "is_ipv6": 0, "parse_type": "ipv4" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "post", "path": "/api/v4.0/network/dns/proxy/rules", "operationId": "createDnsProxyRule", "summary": "添加DNS代理规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDnsCacheStats": { "post": { "tags": [ "DNS服务管理API" ], "summary": "获取DNS缓存状态", "operationId": "call_getDnsCacheStats", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dns/stats`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "dns_cache,dns_cache_total" }, "default": { "TYPE": "dns_cache,dns_cache_total" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/show", "value": { "func_name": "dns", "action": "show", "param": { "TYPE": "dns_cache,dns_cache_total" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "dns_cache,dns_cache_total" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "get", "path": "/api/v4.0/network/dns/stats", "operationId": "getDnsCacheStats", "summary": "获取DNS缓存状态" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listMultiDnsRules": { "post": { "tags": [ "DNS服务管理API" ], "summary": "获取多线DNS策略列表", "operationId": "call_listMultiDnsRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/multi-dns/rules`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500" }, "default": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/show", "value": { "func_name": "dns", "action": "show", "param": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "show", "x-ikuai-param-example": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "get", "path": "/api/v4.0/network/multi-dns/rules", "operationId": "listMultiDnsRules", "summary": "获取多线DNS策略列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createMultiDnsRule": { "post": { "tags": [ "DNS服务管理API" ], "summary": "添加多线DNS策略", "operationId": "call_createMultiDnsRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/multi-dns/rules`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "interface": "wan1", "tagname": "codex_test", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "enabled": "no", "comment": "codex_test" }, "default": { "interface": "wan1", "tagname": "codex_test", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "enabled": "no", "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/add", "value": { "func_name": "dns", "action": "add", "param": { "interface": "wan1", "tagname": "codex_test", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "enabled": "no", "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "add", "x-ikuai-param-example": { "interface": "wan1", "tagname": "codex_test", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "enabled": "no", "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "post", "path": "/api/v4.0/network/multi-dns/rules", "operationId": "createMultiDnsRule", "summary": "添加多线DNS策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listNatRules": { "post": { "tags": [ "NAT规则策略管理API" ], "summary": "获取NAT规则列表", "operationId": "call_listNatRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/nat/rules`\n- 来源文件: `network/network-nat-rule.json`\n- func_name: `nat_rule`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "nat_rule" ], "example": "nat_rule" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "nat_rule/show", "value": { "func_name": "nat_rule", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "nat_rule", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-nat-rule.json", "method": "get", "path": "/api/v4.0/network/nat/rules", "operationId": "listNatRules", "summary": "获取NAT规则列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createNatRule": { "post": { "tags": [ "NAT规则策略管理API" ], "summary": "创建NAT规则", "operationId": "call_createNatRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/nat/rules`\n- 来源文件: `network/network-nat-rule.json`\n- func_name: `nat_rule`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "nat_rule" ], "example": "nat_rule" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "tagname": "codex_test", "enabled": "no", "action": "filter", "iinterface": "lan1", "ointerface": "wan1", "src_addr": { "custom": [ "192.168.1.1" ], "object": [ { "type": 0, "gid": "IPGP1", "gp_name": "test001" } ] }, "dst_addr": { "custom": [ "192.168.2.2" ], "object": [ { "type": 0, "gid": "IPGP5", "gp_name": "test002" } ] }, "nat_addr": "", "nat_port": "", "protocol": "tcp", "comment": "codex_test", "src_port": { "custom": [], "object": [ { "type": 3, "gid": "PORTGP3", "gp_name": "test999" } ] }, "dst_port": { "custom": [], "object": [ { "type": 3, "gid": "PORTGP4", "gp_name": "test1000" } ] } }, "default": { "tagname": "codex_test", "enabled": "no", "action": "filter", "iinterface": "lan1", "ointerface": "wan1", "src_addr": { "custom": [ "192.168.1.1" ], "object": [ { "type": 0, "gid": "IPGP1", "gp_name": "test001" } ] }, "dst_addr": { "custom": [ "192.168.2.2" ], "object": [ { "type": 0, "gid": "IPGP5", "gp_name": "test002" } ] }, "nat_addr": "", "nat_port": "", "protocol": "tcp", "comment": "codex_test", "src_port": { "custom": [], "object": [ { "type": 3, "gid": "PORTGP3", "gp_name": "test999" } ] }, "dst_port": { "custom": [], "object": [ { "type": 3, "gid": "PORTGP4", "gp_name": "test1000" } ] } } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "nat_rule/add", "value": { "func_name": "nat_rule", "action": "add", "param": { "tagname": "codex_test", "enabled": "no", "action": "filter", "iinterface": "lan1", "ointerface": "wan1", "src_addr": { "custom": [ "192.168.1.1" ], "object": [ { "type": 0, "gid": "IPGP1", "gp_name": "test001" } ] }, "dst_addr": { "custom": [ "192.168.2.2" ], "object": [ { "type": 0, "gid": "IPGP5", "gp_name": "test002" } ] }, "nat_addr": "", "nat_port": "", "protocol": "tcp", "comment": "codex_test", "src_port": { "custom": [], "object": [ { "type": 3, "gid": "PORTGP3", "gp_name": "test999" } ] }, "dst_port": { "custom": [], "object": [ { "type": 3, "gid": "PORTGP4", "gp_name": "test1000" } ] } } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "nat_rule", "x-ikuai-action": "add", "x-ikuai-param-example": { "tagname": "codex_test", "enabled": "no", "action": "filter", "iinterface": "lan1", "ointerface": "wan1", "src_addr": { "custom": [ "192.168.1.1" ], "object": [ { "type": 0, "gid": "IPGP1", "gp_name": "test001" } ] }, "dst_addr": { "custom": [ "192.168.2.2" ], "object": [ { "type": 0, "gid": "IPGP5", "gp_name": "test002" } ] }, "nat_addr": "", "nat_port": "", "protocol": "tcp", "comment": "codex_test", "src_port": { "custom": [], "object": [ { "type": 3, "gid": "PORTGP3", "gp_name": "test999" } ] }, "dst_port": { "custom": [], "object": [ { "type": 3, "gid": "PORTGP4", "gp_name": "test1000" } ] } }, "x-ikuai-source": { "spec_file": "network/network-nat-rule.json", "method": "post", "path": "/api/v4.0/network/nat/rules", "operationId": "createNatRule", "summary": "创建NAT规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getPppoeServerConfig": { "post": { "tags": [ "PPPoE服务器管理API" ], "summary": "获取PPPoE服务器配置", "operationId": "call_getPppoeServerConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/pppoe/services`\n- 来源文件: `auth/auth-pppoe.json`\n- func_name: `pppoe_server`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pppoe_server" ], "example": "pppoe_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pppoe_server/show", "value": { "func_name": "pppoe_server", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pppoe_server", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "auth/auth-pppoe.json", "method": "get", "path": "/api/v4.0/network/pppoe/services", "operationId": "getPppoeServerConfig", "summary": "获取PPPoE服务器配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updatePppoeServerConfig": { "post": { "tags": [ "PPPoE服务器管理API" ], "summary": "更新PPPoE服务器配置", "operationId": "call_updatePppoeServerConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/pppoe/services`\n- 来源文件: `auth/auth-pppoe.json`\n- func_name: `pppoe_server`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pppoe_server" ], "example": "pppoe_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "server_name": "iKuai", "force_verify_name": 0, "server_ip": "10.1.1.1", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "authmode": 0, "nas_identifier": "iKuai", "nas_ip_address": "", "radius_ip": "127.0.0.1", "secret": "codex_Test_123", "authport": 1812, "accountport": 1813, "addr_pool": "10.1.1.2-10.1.1.254", "interface": "lan1", "rate_limit_lan": 1, "drop_client": 1, "force_pppoe": 0, "enhance_check": 1, "share_deny": 0, "bind_vlan": 0, "verify_vlan": 1, "bind_iface": 0, "mtu": 1480, "mru": 1480, "lcp_echo_interval": 10, "lcp_echo_failure": 3, "maxconnect": 0, "restart_timer": 0, "restart_week": "", "restart_time": "" }, "default": { "enabled": "no", "server_name": "iKuai", "force_verify_name": 0, "server_ip": "10.1.1.1", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "authmode": 0, "nas_identifier": "iKuai", "nas_ip_address": "", "radius_ip": "127.0.0.1", "secret": "codex_Test_123", "authport": 1812, "accountport": 1813, "addr_pool": "10.1.1.2-10.1.1.254", "interface": "lan1", "rate_limit_lan": 1, "drop_client": 1, "force_pppoe": 0, "enhance_check": 1, "share_deny": 0, "bind_vlan": 0, "verify_vlan": 1, "bind_iface": 0, "mtu": 1480, "mru": 1480, "lcp_echo_interval": 10, "lcp_echo_failure": 3, "maxconnect": 0, "restart_timer": 0, "restart_week": "", "restart_time": "" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pppoe_server/save", "value": { "func_name": "pppoe_server", "action": "save", "param": { "enabled": "no", "server_name": "iKuai", "force_verify_name": 0, "server_ip": "10.1.1.1", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "authmode": 0, "nas_identifier": "iKuai", "nas_ip_address": "", "radius_ip": "127.0.0.1", "secret": "codex_Test_123", "authport": 1812, "accountport": 1813, "addr_pool": "10.1.1.2-10.1.1.254", "interface": "lan1", "rate_limit_lan": 1, "drop_client": 1, "force_pppoe": 0, "enhance_check": 1, "share_deny": 0, "bind_vlan": 0, "verify_vlan": 1, "bind_iface": 0, "mtu": 1480, "mru": 1480, "lcp_echo_interval": 10, "lcp_echo_failure": 3, "maxconnect": 0, "restart_timer": 0, "restart_week": "", "restart_time": "" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pppoe_server", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "server_name": "iKuai", "force_verify_name": 0, "server_ip": "10.1.1.1", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "authmode": 0, "nas_identifier": "iKuai", "nas_ip_address": "", "radius_ip": "127.0.0.1", "secret": "codex_Test_123", "authport": 1812, "accountport": 1813, "addr_pool": "10.1.1.2-10.1.1.254", "interface": "lan1", "rate_limit_lan": 1, "drop_client": 1, "force_pppoe": 0, "enhance_check": 1, "share_deny": 0, "bind_vlan": 0, "verify_vlan": 1, "bind_iface": 0, "mtu": 1480, "mru": 1480, "lcp_echo_interval": 10, "lcp_echo_failure": 3, "maxconnect": 0, "restart_timer": 0, "restart_week": "", "restart_time": "" }, "x-ikuai-source": { "spec_file": "auth/auth-pppoe.json", "method": "put", "path": "/api/v4.0/network/pppoe/services", "operationId": "updatePppoeServerConfig", "summary": "更新PPPoE服务器配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listIpQos": { "post": { "tags": [ "IP地址限速管理API" ], "summary": "获取IP限速列表", "operationId": "call_listIpQos", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/qos/ip`\n- 来源文件: `network/network-qos-ip.json`\n- func_name: `simple_qos`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "simple_qos" ], "example": "simple_qos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "simple_qos/show", "value": { "func_name": "simple_qos", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "simple_qos", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-qos-ip.json", "method": "get", "path": "/api/v4.0/network/qos/ip", "operationId": "listIpQos", "summary": "获取IP限速列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createIpQos": { "post": { "tags": [ "IP地址限速管理API" ], "summary": "创建IP限速规则", "operationId": "call_createIpQos", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/qos/ip`\n- 来源文件: `network/network-qos-ip.json`\n- func_name: `simple_qos`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "simple_qos" ], "example": "simple_qos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "upload": "100", "download": "100", "comment": "codex_test", "enabled": "no", "type": 0, "protocol": "any", "interface": "wan1", "ip_addr": "192.0.2.254", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" }, "default": { "upload": "100", "download": "100", "comment": "codex_test", "enabled": "no", "type": 0, "protocol": "any", "interface": "wan1", "ip_addr": "192.0.2.254", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "simple_qos/add", "value": { "func_name": "simple_qos", "action": "add", "param": { "upload": "100", "download": "100", "comment": "codex_test", "enabled": "no", "type": 0, "protocol": "any", "interface": "wan1", "ip_addr": "192.0.2.254", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "simple_qos", "x-ikuai-action": "add", "x-ikuai-param-example": { "upload": "100", "download": "100", "comment": "codex_test", "enabled": "no", "type": 0, "protocol": "any", "interface": "wan1", "ip_addr": "192.0.2.254", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" }, "x-ikuai-source": { "spec_file": "network/network-qos-ip.json", "method": "post", "path": "/api/v4.0/network/qos/ip", "operationId": "createIpQos", "summary": "创建IP限速规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listMacQos": { "post": { "tags": [ "MAC地址限速管理API" ], "summary": "获取MAC限速列表", "operationId": "call_listMacQos", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/qos/mac`\n- 来源文件: `network/network-qos-mac.json`\n- func_name: `simple_qos`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "simple_qos" ], "example": "simple_qos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "simple_qos/show", "value": { "func_name": "simple_qos", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "simple_qos", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-qos-mac.json", "method": "get", "path": "/api/v4.0/network/qos/mac", "operationId": "listMacQos", "summary": "获取MAC限速列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createMacQos": { "post": { "tags": [ "MAC地址限速管理API" ], "summary": "创建MAC限速规则", "operationId": "call_createMacQos", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/qos/mac`\n- 来源文件: `network/network-qos-mac.json`\n- func_name: `simple_qos`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "simple_qos" ], "example": "simple_qos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "upload": "100", "download": "100", "comment": "codex_test", "enabled": "no", "ip_type": "4", "interface": "wan1", "mac_addr": { "custom": [ "08:9b:4b:00:10:6e" ], "object": [ { "type": 2, "gp_name": "22", "gid": "MACIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" }, "default": { "upload": "100", "download": "100", "comment": "codex_test", "enabled": "no", "ip_type": "4", "interface": "wan1", "mac_addr": { "custom": [ "08:9b:4b:00:10:6e" ], "object": [ { "type": 2, "gp_name": "22", "gid": "MACIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "simple_qos/add", "value": { "func_name": "simple_qos", "action": "add", "param": { "upload": "100", "download": "100", "comment": "codex_test", "enabled": "no", "ip_type": "4", "interface": "wan1", "mac_addr": { "custom": [ "08:9b:4b:00:10:6e" ], "object": [ { "type": 2, "gp_name": "22", "gid": "MACIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "simple_qos", "x-ikuai-action": "add", "x-ikuai-param-example": { "upload": "100", "download": "100", "comment": "codex_test", "enabled": "no", "ip_type": "4", "interface": "wan1", "mac_addr": { "custom": [ "08:9b:4b:00:10:6e" ], "object": [ { "type": 2, "gp_name": "22", "gid": "MACIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" }, "x-ikuai-source": { "spec_file": "network/network-qos-mac.json", "method": "post", "path": "/api/v4.0/network/qos/mac", "operationId": "createMacQos", "summary": "创建MAC限速规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getVlanList": { "post": { "tags": [ "VLAN接口管理API" ], "summary": "获取VLAN接口配置列表", "operationId": "call_getVlanList", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/vlan`\n- 来源文件: `network/network-vlan.json`\n- func_name: `vlan`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "vlan" ], "example": "vlan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "vlan/show", "value": { "func_name": "vlan", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "vlan", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "network/network-vlan.json", "method": "get", "path": "/api/v4.0/network/vlan", "operationId": "getVlanList", "summary": "获取VLAN接口配置列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createVlan": { "post": { "tags": [ "VLAN接口管理API" ], "summary": "新建VLAN接口", "operationId": "call_createVlan", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/network/vlan`\n- 来源文件: `network/network-vlan.json`\n- func_name: `vlan`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "vlan" ], "example": "vlan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "vlan_id": "1001", "vlan_name": "vlan1001", "interface": "lan1", "mac": "02:00:5e:99:99:99", "ip_addr": "192.0.2.254", "netmask": "255.255.255.255", "ip_mask": "", "enabled": "no", "comment": "codex_test" }, "default": { "vlan_id": "1001", "vlan_name": "vlan1001", "interface": "lan1", "mac": "02:00:5e:99:99:99", "ip_addr": "192.0.2.254", "netmask": "255.255.255.255", "ip_mask": "", "enabled": "no", "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "vlan/add", "value": { "func_name": "vlan", "action": "add", "param": { "vlan_id": "1001", "vlan_name": "vlan1001", "interface": "lan1", "mac": "02:00:5e:99:99:99", "ip_addr": "192.0.2.254", "netmask": "255.255.255.255", "ip_mask": "", "enabled": "no", "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "vlan", "x-ikuai-action": "add", "x-ikuai-param-example": { "vlan_id": "1001", "vlan_name": "vlan1001", "interface": "lan1", "mac": "02:00:5e:99:99:99", "ip_addr": "192.0.2.254", "netmask": "255.255.255.255", "ip_mask": "", "enabled": "no", "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "network/network-vlan.json", "method": "post", "path": "/api/v4.0/network/vlan", "operationId": "createVlan", "summary": "新建VLAN接口" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listPortObjects": { "post": { "tags": [ "端口对象管理API" ], "summary": "获取端口对象列表", "operationId": "call_listPortObjects", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/port-objects`\n- 来源文件: `object_group/network-object-port.json`\n- func_name: `route_object_port`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_port" ], "example": "route_object_port" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_port/show", "value": { "func_name": "route_object_port", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_port", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "object_group/network-object-port.json", "method": "get", "path": "/api/v4.0/port-objects", "operationId": "listPortObjects", "summary": "获取端口对象列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createPortObject": { "post": { "tags": [ "端口对象管理API" ], "summary": "创建端口对象", "operationId": "call_createPortObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/port-objects`\n- 来源文件: `object_group/network-object-port.json`\n- func_name: `route_object_port`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_port" ], "example": "route_object_port" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "port": "9000", "comment": "codex_test" }, { "port": "10000-10200", "comment": "codex_test" } ] }, "default": { "group_name": "codex_test", "group_value": [ { "port": "9000", "comment": "codex_test" }, { "port": "10000-10200", "comment": "codex_test" } ] } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_port/add", "value": { "func_name": "route_object_port", "action": "add", "param": { "group_name": "codex_test", "group_value": [ { "port": "9000", "comment": "codex_test" }, { "port": "10000-10200", "comment": "codex_test" } ] } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_port", "x-ikuai-action": "add", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "port": "9000", "comment": "codex_test" }, { "port": "10000-10200", "comment": "codex_test" } ] }, "x-ikuai-source": { "spec_file": "object_group/network-object-port.json", "method": "post", "path": "/api/v4.0/port-objects", "operationId": "createPortObject", "summary": "创建端口对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getPortObjectReferences": { "post": { "tags": [ "端口对象管理API" ], "summary": "查询端口对象引用关系", "operationId": "call_getPortObjectReferences", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/port-objects/ref`\n- 来源文件: `object_group/network-object-port.json`\n- func_name: `route_object_port`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_port" ], "example": "route_object_port" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_port/show", "value": { "func_name": "route_object_port", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_port", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "object_group/network-object-port.json", "method": "get", "path": "/api/v4.0/port-objects/ref", "operationId": "getPortObjectReferences", "summary": "查询端口对象引用关系" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listProtoObjects": { "post": { "tags": [ "协议对象管理API" ], "summary": "获取协议对象列表", "operationId": "call_listProtoObjects", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/proto-objects`\n- 来源文件: `object_group/network-object-proto.json`\n- func_name: `route_object_proto`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_proto" ], "example": "route_object_proto" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_proto/show", "value": { "func_name": "route_object_proto", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_proto", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "object_group/network-object-proto.json", "method": "get", "path": "/api/v4.0/proto-objects", "operationId": "listProtoObjects", "summary": "获取协议对象列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createProtoObject": { "post": { "tags": [ "协议对象管理API" ], "summary": "创建协议对象", "operationId": "call_createProtoObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/proto-objects`\n- 来源文件: `object_group/network-object-proto.json`\n- func_name: `route_object_proto`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_proto" ], "example": "route_object_proto" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "proto": "文件传输", "comment": "codex_test" }, { "proto": "DNS", "comment": "codex_test" } ] }, "default": { "group_name": "codex_test", "group_value": [ { "proto": "文件传输", "comment": "codex_test" }, { "proto": "DNS", "comment": "codex_test" } ] } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_proto/add", "value": { "func_name": "route_object_proto", "action": "add", "param": { "group_name": "codex_test", "group_value": [ { "proto": "文件传输", "comment": "codex_test" }, { "proto": "DNS", "comment": "codex_test" } ] } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_proto", "x-ikuai-action": "add", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "proto": "文件传输", "comment": "codex_test" }, { "proto": "DNS", "comment": "codex_test" } ] }, "x-ikuai-source": { "spec_file": "object_group/network-object-proto.json", "method": "post", "path": "/api/v4.0/proto-objects", "operationId": "createProtoObject", "summary": "创建协议对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getProtoObjectReferences": { "post": { "tags": [ "协议对象管理API" ], "summary": "查询协议对象引用关系", "operationId": "call_getProtoObjectReferences", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/proto-objects/ref`\n- 来源文件: `object_group/network-object-proto.json`\n- func_name: `route_object_proto`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_proto" ], "example": "route_object_proto" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_proto/show", "value": { "func_name": "route_object_proto", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_proto", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "object_group/network-object-proto.json", "method": "get", "path": "/api/v4.0/proto-objects/ref", "operationId": "getProtoObjectReferences", "summary": "查询协议对象引用关系" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listAppProtocols": { "post": { "tags": [ "协议分流策略管理API" ], "summary": "获取所有协议分流策略", "operationId": "call_listAppProtocols", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/routing/app-protocols`\n- 来源文件: `route/network-stream-l7.json`\n- func_name: `stream_layer7`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_layer7" ], "example": "stream_layer7" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_layer7/show", "value": { "func_name": "stream_layer7", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_layer7", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "route/network-stream-l7.json", "method": "get", "path": "/api/v4.0/routing/app-protocols", "operationId": "listAppProtocols", "summary": "获取所有协议分流策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createAppProtocol": { "post": { "tags": [ "协议分流策略管理API" ], "summary": "添加协议分流策略", "operationId": "call_createAppProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/routing/app-protocols`\n- 来源文件: `route/network-stream-l7.json`\n- func_name: `stream_layer7`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_layer7" ], "example": "stream_layer7" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "interface": "wan2", "mode": 0, "prio": 1, "iface_band": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } }, "default": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "interface": "wan2", "mode": 0, "prio": 1, "iface_band": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_layer7/add", "value": { "func_name": "stream_layer7", "action": "add", "param": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "interface": "wan2", "mode": 0, "prio": 1, "iface_band": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_layer7", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "interface": "wan2", "mode": 0, "prio": 1, "iface_band": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } }, "x-ikuai-source": { "spec_file": "route/network-stream-l7.json", "method": "post", "path": "/api/v4.0/routing/app-protocols", "operationId": "createAppProtocol", "summary": "添加协议分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listDomainRules": { "post": { "tags": [ "域名分流策略管理API" ], "summary": "获取所有域名分流策略", "operationId": "call_listDomainRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/routing/domain-rules`\n- 来源文件: `route/network-stream-domain.json`\n- func_name: `stream_domain`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_domain" ], "example": "stream_domain" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_domain/show", "value": { "func_name": "stream_domain", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_domain", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "route/network-stream-domain.json", "method": "get", "path": "/api/v4.0/routing/domain-rules", "operationId": "listDomainRules", "summary": "获取所有域名分流策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createDomainRule": { "post": { "tags": [ "域名分流策略管理API" ], "summary": "添加域名分流策略", "operationId": "call_createDomainRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/routing/domain-rules`\n- 来源文件: `route/network-stream-domain.json`\n- func_name: `stream_domain`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_domain" ], "example": "stream_domain" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "domain": "example.invalid", "interface": "wan2", "prio": 31, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" }, { "type": 2, "gp_name": "22", "gid": "MACIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } }, "default": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "domain": "example.invalid", "interface": "wan2", "prio": 31, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" }, { "type": 2, "gp_name": "22", "gid": "MACIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_domain/add", "value": { "func_name": "stream_domain", "action": "add", "param": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "domain": "example.invalid", "interface": "wan2", "prio": 31, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" }, { "type": 2, "gp_name": "22", "gid": "MACIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_domain", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "domain": "example.invalid", "interface": "wan2", "prio": 31, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" }, { "type": 2, "gp_name": "22", "gid": "MACIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } }, "x-ikuai-source": { "spec_file": "route/network-stream-domain.json", "method": "post", "path": "/api/v4.0/routing/domain-rules", "operationId": "createDomainRule", "summary": "添加域名分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listFiveTupleRules": { "post": { "tags": [ "端口分流策略管理API" ], "summary": "获取所有端口分流策略", "operationId": "call_listFiveTupleRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/routing/five-tuple-rules`\n- 来源文件: `route/network-stream-ipport.json`\n- func_name: `stream_ipport`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_ipport" ], "example": "stream_ipport" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_ipport/show", "value": { "func_name": "stream_ipport", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_ipport", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "route/network-stream-ipport.json", "method": "get", "path": "/api/v4.0/routing/five-tuple-rules", "operationId": "listFiveTupleRules", "summary": "获取所有端口分流策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createFiveTupleRule": { "post": { "tags": [ "端口分流策略管理API" ], "summary": "添加端口分流策略", "operationId": "call_createFiveTupleRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/routing/five-tuple-rules`\n- 来源文件: `route/network-stream-ipport.json`\n- func_name: `stream_ipport`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_ipport" ], "example": "stream_ipport" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "type": 0, "interface": "wan2", "protocol": "tcp", "prio": 31, "mode": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:6e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } }, "default": { "enabled": "no", "tagname": "codex_test", "type": 0, "interface": "wan2", "protocol": "tcp", "prio": 31, "mode": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:6e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_ipport/add", "value": { "func_name": "stream_ipport", "action": "add", "param": { "enabled": "no", "tagname": "codex_test", "type": 0, "interface": "wan2", "protocol": "tcp", "prio": 31, "mode": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:6e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_ipport", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "type": 0, "interface": "wan2", "protocol": "tcp", "prio": 31, "mode": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:6e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } }, "x-ikuai-source": { "spec_file": "route/network-stream-ipport.json", "method": "post", "path": "/api/v4.0/routing/five-tuple-rules", "operationId": "createFiveTupleRule", "summary": "添加端口分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listLoadBalanceRules": { "post": { "tags": [ "多线负载分流策略管理API" ], "summary": "获取所有多线负载分流策略", "operationId": "call_listLoadBalanceRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/routing/load-balance-rules`\n- 来源文件: `route/network-stream-load.json`\n- func_name: `lb_pcc`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "lb_pcc" ], "example": "lb_pcc" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "lb_pcc/show", "value": { "func_name": "lb_pcc", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "lb_pcc", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "route/network-stream-load.json", "method": "get", "path": "/api/v4.0/routing/load-balance-rules", "operationId": "listLoadBalanceRules", "summary": "获取所有多线负载分流策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createLoadBalanceRule": { "post": { "tags": [ "多线负载分流策略管理API" ], "summary": "添加多线负载分流策略", "operationId": "call_createLoadBalanceRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/routing/load-balance-rules`\n- 来源文件: `route/network-stream-load.json`\n- func_name: `lb_pcc`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "lb_pcc" ], "example": "lb_pcc" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "mode": 0, "comment": "codex_test", "isp_name": "all", "interface": "wan2", "weight": "1", "enabled": "no", "tagname": "codex_test" }, "default": { "mode": 0, "comment": "codex_test", "isp_name": "all", "interface": "wan2", "weight": "1", "enabled": "no", "tagname": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "lb_pcc/add", "value": { "func_name": "lb_pcc", "action": "add", "param": { "mode": 0, "comment": "codex_test", "isp_name": "all", "interface": "wan2", "weight": "1", "enabled": "no", "tagname": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "lb_pcc", "x-ikuai-action": "add", "x-ikuai-param-example": { "mode": 0, "comment": "codex_test", "isp_name": "all", "interface": "wan2", "weight": "1", "enabled": "no", "tagname": "codex_test" }, "x-ikuai-source": { "spec_file": "route/network-stream-load.json", "method": "post", "path": "/api/v4.0/routing/load-balance-rules", "operationId": "createLoadBalanceRule", "summary": "添加多线负载分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listStaticRoutes": { "post": { "tags": [ "静态路由策略管理API" ], "summary": "获取所有静态路由策略", "operationId": "call_listStaticRoutes", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/routing/static-routes`\n- 来源文件: `route/network-static-routes.json`\n- func_name: `static_rt`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "static_rt" ], "example": "static_rt" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "static_rt/show", "value": { "func_name": "static_rt", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "static_rt", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "route/network-static-routes.json", "method": "get", "path": "/api/v4.0/routing/static-routes", "operationId": "listStaticRoutes", "summary": "获取所有静态路由策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createStaticRoute": { "post": { "tags": [ "静态路由策略管理API" ], "summary": "添加静态路由策略", "operationId": "call_createStaticRoute", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/routing/static-routes`\n- 来源文件: `route/network-static-routes.json`\n- func_name: `static_rt`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "static_rt" ], "example": "static_rt" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "interface": "lan1", "dst_addr": "192.168.2.0", "netmask": "255.255.255.0", "gateway": "192.0.2.254", "prio": 1, "ip_type": "4" }, "default": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "interface": "lan1", "dst_addr": "192.168.2.0", "netmask": "255.255.255.0", "gateway": "192.0.2.254", "prio": 1, "ip_type": "4" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "static_rt/add", "value": { "func_name": "static_rt", "action": "add", "param": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "interface": "lan1", "dst_addr": "192.168.2.0", "netmask": "255.255.255.0", "gateway": "192.0.2.254", "prio": 1, "ip_type": "4" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "static_rt", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "interface": "lan1", "dst_addr": "192.168.2.0", "netmask": "255.255.255.0", "gateway": "192.0.2.254", "prio": 1, "ip_type": "4" }, "x-ikuai-source": { "spec_file": "route/network-static-routes.json", "method": "post", "path": "/api/v4.0/routing/static-routes", "operationId": "createStaticRoute", "summary": "添加静态路由策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listUpDownRules": { "post": { "tags": [ "上下行分离策略管理API" ], "summary": "获取所有上下行分离策略", "operationId": "call_listUpDownRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/routing/updown`\n- 来源文件: `route/network-stream-updown.json`\n- func_name: `stream_updown`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_updown" ], "example": "stream_updown" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_updown/show", "value": { "func_name": "stream_updown", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_updown", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "route/network-stream-updown.json", "method": "get", "path": "/api/v4.0/routing/updown", "operationId": "listUpDownRules", "summary": "获取所有上下行分离策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createUpDownRule": { "post": { "tags": [ "上下行分离策略管理API" ], "summary": "添加上下行分离策略", "operationId": "call_createUpDownRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/routing/updown`\n- 来源文件: `route/network-stream-updown.json`\n- func_name: `stream_updown`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_updown" ], "example": "stream_updown" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "upiface": "wan1", "downiface": "wan2", "protocol": "tcp", "src_addr": { "custom": [ "192.168.9.169" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" } ] } }, "default": { "enabled": "no", "tagname": "codex_test", "upiface": "wan1", "downiface": "wan2", "protocol": "tcp", "src_addr": { "custom": [ "192.168.9.169" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" } ] } } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_updown/add", "value": { "func_name": "stream_updown", "action": "add", "param": { "enabled": "no", "tagname": "codex_test", "upiface": "wan1", "downiface": "wan2", "protocol": "tcp", "src_addr": { "custom": [ "192.168.9.169" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" } ] } } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_updown", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "upiface": "wan1", "downiface": "wan2", "protocol": "tcp", "src_addr": { "custom": [ "192.168.9.169" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" } ] } }, "x-ikuai-source": { "spec_file": "route/network-stream-updown.json", "method": "post", "path": "/api/v4.0/routing/updown", "operationId": "createUpDownRule", "summary": "添加上下行分离策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getAclRules": { "post": { "tags": [ "ACL访问控制列表API" ], "summary": "获取ACL策略列表", "operationId": "call_getAclRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/acl-rules`\n- 来源文件: `security/security-acl.json`\n- func_name: `acl`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl" ], "example": "acl" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl/show", "value": { "func_name": "acl", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "security/security-acl.json", "method": "get", "path": "/api/v4.0/security/acl-rules", "operationId": "getAclRules", "summary": "获取ACL策略列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createAclRule": { "post": { "tags": [ "ACL访问控制列表API" ], "summary": "创建ACL策略", "operationId": "call_createAclRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/security/acl-rules`\n- 来源文件: `security/security-acl.json`\n- func_name: `acl`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl" ], "example": "acl" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "protocol": "any", "action": "drop", "dir": "forward", "ctdir": 0, "iinterface": "any", "ointerface": "any", "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:6e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" }, { "type": 2, "gp_name": "22", "gid": "MACIP1" } ] }, "src_addr_inv": 0, "dst_addr": "", "dst_addr_inv": 0, "dst_port": "", "src_type": 0, "dst_type": 0, "comment": "codex_test", "enabled": "no", "ip_type": "4", "src6_addr": "", "dst6_addr": "", "src6_mode": 1, "dst6_mode": 0, "src6_suffix": "::abcd::ffff", "dst6_suffix": "", "src_area_code": "", "dst_area_code": "", "prio": 10, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" }, "default": { "protocol": "any", "action": "drop", "dir": "forward", "ctdir": 0, "iinterface": "any", "ointerface": "any", "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:6e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" }, { "type": 2, "gp_name": "22", "gid": "MACIP1" } ] }, "src_addr_inv": 0, "dst_addr": "", "dst_addr_inv": 0, "dst_port": "", "src_type": 0, "dst_type": 0, "comment": "codex_test", "enabled": "no", "ip_type": "4", "src6_addr": "", "dst6_addr": "", "src6_mode": 1, "dst6_mode": 0, "src6_suffix": "::abcd::ffff", "dst6_suffix": "", "src_area_code": "", "dst_area_code": "", "prio": 10, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl/add", "value": { "func_name": "acl", "action": "add", "param": { "protocol": "any", "action": "drop", "dir": "forward", "ctdir": 0, "iinterface": "any", "ointerface": "any", "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:6e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" }, { "type": 2, "gp_name": "22", "gid": "MACIP1" } ] }, "src_addr_inv": 0, "dst_addr": "", "dst_addr_inv": 0, "dst_port": "", "src_type": 0, "dst_type": 0, "comment": "codex_test", "enabled": "no", "ip_type": "4", "src6_addr": "", "dst6_addr": "", "src6_mode": 1, "dst6_mode": 0, "src6_suffix": "::abcd::ffff", "dst6_suffix": "", "src_area_code": "", "dst_area_code": "", "prio": 10, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl", "x-ikuai-action": "add", "x-ikuai-param-example": { "protocol": "any", "action": "drop", "dir": "forward", "ctdir": 0, "iinterface": "any", "ointerface": "any", "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:6e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" }, { "type": 2, "gp_name": "22", "gid": "MACIP1" } ] }, "src_addr_inv": 0, "dst_addr": "", "dst_addr_inv": 0, "dst_port": "", "src_type": 0, "dst_type": 0, "comment": "codex_test", "enabled": "no", "ip_type": "4", "src6_addr": "", "dst6_addr": "", "src6_mode": 1, "dst6_mode": 0, "src6_suffix": "::abcd::ffff", "dst6_suffix": "", "src_area_code": "", "dst_area_code": "", "prio": 10, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" }, "x-ikuai-source": { "spec_file": "security/security-acl.json", "method": "post", "path": "/api/v4.0/security/acl-rules", "operationId": "createAclRule", "summary": "创建ACL策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getSecurityAdvancedConfig": { "post": { "tags": [ "安全中心高级设置API" ], "summary": "获取安全中心高级设置", "operationId": "call_getSecurityAdvancedConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/advanced/config`\n- 来源文件: `security/security-advanced.json`\n- func_name: `advanced`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "advanced" ], "example": "advanced" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "advanced/show", "value": { "func_name": "advanced", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "advanced", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "security/security-advanced.json", "method": "get", "path": "/api/v4.0/security/advanced/config", "operationId": "getSecurityAdvancedConfig", "summary": "获取安全中心高级设置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateSecurityAdvancedConfig": { "post": { "tags": [ "安全中心高级设置API" ], "summary": "更新安全中心高级设置", "operationId": "call_updateSecurityAdvancedConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/advanced/config`\n- 来源文件: `security/security-advanced.json`\n- func_name: `advanced`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "advanced" ], "example": "advanced" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "noping_lan": 0, "noping_wan": 1, "notracert": 0, "hijack_ping": 0, "invalid": 1, "dos_lan": 1, "dos_lan_num": 500, "tcp_mss": 1, "tcp_mss_num": 1460 }, "default": { "noping_lan": 0, "noping_wan": 1, "notracert": 0, "hijack_ping": 0, "invalid": 1, "dos_lan": 1, "dos_lan_num": 500, "tcp_mss": 1, "tcp_mss_num": 1460 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "advanced/save", "value": { "func_name": "advanced", "action": "save", "param": { "noping_lan": 0, "noping_wan": 1, "notracert": 0, "hijack_ping": 0, "invalid": 1, "dos_lan": 1, "dos_lan_num": 500, "tcp_mss": 1, "tcp_mss_num": 1460 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "advanced", "x-ikuai-action": "save", "x-ikuai-param-example": { "noping_lan": 0, "noping_wan": 1, "notracert": 0, "hijack_ping": 0, "invalid": 1, "dos_lan": 1, "dos_lan_num": 500, "tcp_mss": 1, "tcp_mss_num": 1460 }, "x-ikuai-source": { "spec_file": "security/security-advanced.json", "method": "put", "path": "/api/v4.0/security/advanced/config", "operationId": "updateSecurityAdvancedConfig", "summary": "更新安全中心高级设置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getAppProtocolRules": { "post": { "tags": [ "应用协议控制API" ], "summary": "获取应用协议控制策略列表", "operationId": "call_getAppProtocolRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/app-protocols/professional/rules`\n- 来源文件: `security/security-acl-l7.json`\n- func_name: `acl_l7`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_l7" ], "example": "acl_l7" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_l7/show", "value": { "func_name": "acl_l7", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_l7", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "security/security-acl-l7.json", "method": "get", "path": "/api/v4.0/security/app-protocols/professional/rules", "operationId": "getAppProtocolRules", "summary": "获取应用协议控制策略列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createAppProtocolRule": { "post": { "tags": [ "应用协议控制API" ], "summary": "创建应用协议控制策略", "operationId": "call_createAppProtocolRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/security/app-protocols/professional/rules`\n- 来源文件: `security/security-acl-l7.json`\n- func_name: `acl_l7`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_l7" ], "example": "acl_l7" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "comment": "codex_test", "prio": 31, "action": "drop", "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "src_addr": "", "time": { "custom": [ { "start_time": "00:00", "comment": "codex_test", "end_time": "10:00", "type": "weekly", "weekdays": "1" } ] }, "dst_addr": "", "tagname": "codex_test" }, "default": { "enabled": "no", "comment": "codex_test", "prio": 31, "action": "drop", "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "src_addr": "", "time": { "custom": [ { "start_time": "00:00", "comment": "codex_test", "end_time": "10:00", "type": "weekly", "weekdays": "1" } ] }, "dst_addr": "", "tagname": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_l7/add", "value": { "func_name": "acl_l7", "action": "add", "param": { "enabled": "no", "comment": "codex_test", "prio": 31, "action": "drop", "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "src_addr": "", "time": { "custom": [ { "start_time": "00:00", "comment": "codex_test", "end_time": "10:00", "type": "weekly", "weekdays": "1" } ] }, "dst_addr": "", "tagname": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_l7", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "comment": "codex_test", "prio": 31, "action": "drop", "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "src_addr": "", "time": { "custom": [ { "start_time": "00:00", "comment": "codex_test", "end_time": "10:00", "type": "weekly", "weekdays": "1" } ] }, "dst_addr": "", "tagname": "codex_test" }, "x-ikuai-source": { "spec_file": "security/security-acl-l7.json", "method": "post", "path": "/api/v4.0/security/app-protocols/professional/rules", "operationId": "createAppProtocolRule", "summary": "创建应用协议控制策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDomainBlacklistRules": { "post": { "tags": [ "域名黑名单API" ], "summary": "获取域名黑名单策略列表", "operationId": "call_getDomainBlacklistRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/domain-blacklist/rules`\n- 来源文件: `security/security-domain-blacklist.json`\n- func_name: `domain_blacklist`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "domain_blacklist" ], "example": "domain_blacklist" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "domain_blacklist/show", "value": { "func_name": "domain_blacklist", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "domain_blacklist", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "security/security-domain-blacklist.json", "method": "get", "path": "/api/v4.0/security/domain-blacklist/rules", "operationId": "getDomainBlacklistRules", "summary": "获取域名黑名单策略列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createDomainBlacklistRule": { "post": { "tags": [ "域名黑名单API" ], "summary": "创建域名黑名单策略", "operationId": "call_createDomainBlacklistRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/security/domain-blacklist/rules`\n- 来源文件: `security/security-domain-blacklist.json`\n- func_name: `domain_blacklist`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "domain_blacklist" ], "example": "domain_blacklist" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "comment": "codex_test", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "domain_group": "codex_test", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "tagname": "codex_test" }, "default": { "enabled": "no", "comment": "codex_test", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "domain_group": "codex_test", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "tagname": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "domain_blacklist/add", "value": { "func_name": "domain_blacklist", "action": "add", "param": { "enabled": "no", "comment": "codex_test", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "domain_group": "codex_test", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "tagname": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "domain_blacklist", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "comment": "codex_test", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "domain_group": "codex_test", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "tagname": "codex_test" }, "x-ikuai-source": { "spec_file": "security/security-domain-blacklist.json", "method": "post", "path": "/api/v4.0/security/domain-blacklist/rules", "operationId": "createDomainBlacklistRule", "summary": "创建域名黑名单策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getMacAclMode": { "post": { "tags": [ "MAC访问控制API" ], "summary": "获取MAC黑白名单模式", "operationId": "call_getMacAclMode", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/mac-mode`\n- 来源文件: `security/security-acl-mac.json`\n- func_name: `acl_mac`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_mac" ], "example": "acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_mac/show", "value": { "func_name": "acl_mac", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_mac", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "security/security-acl-mac.json", "method": "get", "path": "/api/v4.0/security/mac-mode", "operationId": "getMacAclMode", "summary": "获取MAC黑白名单模式" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateMacAclMode": { "post": { "tags": [ "MAC访问控制API" ], "summary": "设置MAC黑白名单模式", "operationId": "call_updateMacAclMode", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/mac-mode`\n- 来源文件: `security/security-acl-mac.json`\n- func_name: `acl_mac`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_mac" ], "example": "acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "acl_mac": 1 }, "default": { "acl_mac": 1 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_mac/edit", "value": { "func_name": "acl_mac", "action": "edit", "param": { "acl_mac": 1 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_mac", "x-ikuai-action": "edit", "x-ikuai-param-example": { "acl_mac": 1 }, "x-ikuai-source": { "spec_file": "security/security-acl-mac.json", "method": "put", "path": "/api/v4.0/security/mac-mode", "operationId": "updateMacAclMode", "summary": "设置MAC黑白名单模式" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getMacRules": { "post": { "tags": [ "MAC访问控制API" ], "summary": "获取MAC黑白名单策略列表", "operationId": "call_getMacRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/mac-rules`\n- 来源文件: `security/security-acl-mac.json`\n- func_name: `acl_mac`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_mac" ], "example": "acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_mac/show", "value": { "func_name": "acl_mac", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_mac", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "security/security-acl-mac.json", "method": "get", "path": "/api/v4.0/security/mac-rules", "operationId": "getMacRules", "summary": "获取MAC黑白名单策略列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createMacRule": { "post": { "tags": [ "MAC访问控制API" ], "summary": "创建MAC黑白名单策略", "operationId": "call_createMacRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/security/mac-rules`\n- 来源文件: `security/security-acl-mac.json`\n- func_name: `acl_mac`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_mac" ], "example": "acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "mac": "02:00:5e:99:99:99", "enabled": "no", "comment": "codex_test", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" }, "default": { "mac": "02:00:5e:99:99:99", "enabled": "no", "comment": "codex_test", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_mac/add", "value": { "func_name": "acl_mac", "action": "add", "param": { "mac": "02:00:5e:99:99:99", "enabled": "no", "comment": "codex_test", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_mac", "x-ikuai-action": "add", "x-ikuai-param-example": { "mac": "02:00:5e:99:99:99", "enabled": "no", "comment": "codex_test", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test" }, "x-ikuai-source": { "spec_file": "security/security-acl-mac.json", "method": "post", "path": "/api/v4.0/security/mac-rules", "operationId": "createMacRule", "summary": "创建MAC黑白名单策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getPeerconnRules": { "post": { "tags": [ "连接数限制API" ], "summary": "获取连接数限制策略列表", "operationId": "call_getPeerconnRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/peerconn/rules`\n- 来源文件: `security/security-peerconn.json`\n- func_name: `conn_limit`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "conn_limit" ], "example": "conn_limit" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "conn_limit/show", "value": { "func_name": "conn_limit", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "conn_limit", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "security/security-peerconn.json", "method": "get", "path": "/api/v4.0/security/peerconn/rules", "operationId": "getPeerconnRules", "summary": "获取连接数限制策略列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createPeerconnRule": { "post": { "tags": [ "连接数限制API" ], "summary": "创建连接数限制策略", "operationId": "call_createPeerconnRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/security/peerconn/rules`\n- 来源文件: `security/security-peerconn.json`\n- func_name: `conn_limit`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "conn_limit" ], "example": "conn_limit" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "src_addr": { "custom": [ "192.168.88.50", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "comment": "codex_test", "protocol": "udp", "dst_port": { "custom": [ "9000", "10000-20000" ], "object": [ { "gid": "PORTGP26", "gp_name": "ip55", "type": 3 } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "limits": "10000", "tagname": "codex_test" }, "default": { "enabled": "no", "src_addr": { "custom": [ "192.168.88.50", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "comment": "codex_test", "protocol": "udp", "dst_port": { "custom": [ "9000", "10000-20000" ], "object": [ { "gid": "PORTGP26", "gp_name": "ip55", "type": 3 } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "limits": "10000", "tagname": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "conn_limit/add", "value": { "func_name": "conn_limit", "action": "add", "param": { "enabled": "no", "src_addr": { "custom": [ "192.168.88.50", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "comment": "codex_test", "protocol": "udp", "dst_port": { "custom": [ "9000", "10000-20000" ], "object": [ { "gid": "PORTGP26", "gp_name": "ip55", "type": 3 } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "limits": "10000", "tagname": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "conn_limit", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "src_addr": { "custom": [ "192.168.88.50", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "comment": "codex_test", "protocol": "udp", "dst_port": { "custom": [ "9000", "10000-20000" ], "object": [ { "gid": "PORTGP26", "gp_name": "ip55", "type": 3 } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "limits": "10000", "tagname": "codex_test" }, "x-ikuai-source": { "spec_file": "security/security-peerconn.json", "method": "post", "path": "/api/v4.0/security/peerconn/rules", "operationId": "createPeerconnRule", "summary": "创建连接数限制策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getSecondaryRouteConfig": { "post": { "tags": [ "网络分享控制API" ], "summary": "获取网络分享控制策略", "operationId": "call_getSecondaryRouteConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/secondary-route/config`\n- 来源文件: `security/security-l2-route.json`\n- func_name: `acl_l2route`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_l2route" ], "example": "acl_l2route" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_l2route/show", "value": { "func_name": "acl_l2route", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_l2route", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "security/security-l2-route.json", "method": "get", "path": "/api/v4.0/security/secondary-route/config", "operationId": "getSecondaryRouteConfig", "summary": "获取网络分享控制策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateSecondaryRouteConfig": { "post": { "tags": [ "网络分享控制API" ], "summary": "更新网络分享控制策略", "operationId": "call_updateSecondaryRouteConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/secondary-route/config`\n- 来源文件: `security/security-l2-route.json`\n- func_name: `acl_l2route`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_l2route" ], "example": "acl_l2route" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "nol2rt": 0, "nol2rt_ip": { "custom": [ "192.168.9.168" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "ttl_num": 1, "time": "" }, "default": { "nol2rt": 0, "nol2rt_ip": { "custom": [ "192.168.9.168" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "ttl_num": 1, "time": "" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_l2route/save", "value": { "func_name": "acl_l2route", "action": "save", "param": { "nol2rt": 0, "nol2rt_ip": { "custom": [ "192.168.9.168" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "ttl_num": 1, "time": "" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_l2route", "x-ikuai-action": "save", "x-ikuai-param-example": { "nol2rt": 0, "nol2rt_ip": { "custom": [ "192.168.9.168" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "ttl_num": 1, "time": "" }, "x-ikuai-source": { "spec_file": "security/security-l2-route.json", "method": "put", "path": "/api/v4.0/security/secondary-route/config", "operationId": "updateSecondaryRouteConfig", "summary": "更新网络分享控制策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getTerminals": { "post": { "tags": [ "终端名称管理API" ], "summary": "获取终端设备列表", "operationId": "call_getTerminals", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/terminals`\n- 来源文件: `security/security-mac-comment.json`\n- func_name: `mac_comment`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "mac_comment" ], "example": "mac_comment" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "mac_comment/show", "value": { "func_name": "mac_comment", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "mac_comment", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "security/security-mac-comment.json", "method": "get", "path": "/api/v4.0/security/terminals", "operationId": "getTerminals", "summary": "获取终端设备列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createTerminal": { "post": { "tags": [ "终端名称管理API" ], "summary": "创建终端设备名称", "operationId": "call_createTerminal", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/security/terminals`\n- 来源文件: `security/security-mac-comment.json`\n- func_name: `mac_comment`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "mac_comment" ], "example": "mac_comment" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "comment": "codex_test" }, "default": { "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "mac_comment/add", "value": { "func_name": "mac_comment", "action": "add", "param": { "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "mac_comment", "x-ikuai-action": "add", "x-ikuai-param-example": { "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "security/security-mac-comment.json", "method": "post", "path": "/api/v4.0/security/terminals", "operationId": "createTerminal", "summary": "创建终端设备名称" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getUrlBlackRules": { "post": { "tags": [ "URL黑白名单API" ], "summary": "获取URL黑白名单策略列表", "operationId": "call_getUrlBlackRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/url-black/rules`\n- 来源文件: `security/security-url-black.json`\n- func_name: `url_black`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_black" ], "example": "url_black" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_black/show", "value": { "func_name": "url_black", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_black", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "security/security-url-black.json", "method": "get", "path": "/api/v4.0/security/url-black/rules", "operationId": "getUrlBlackRules", "summary": "获取URL黑白名单策略列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createUrlBlackRule": { "post": { "tags": [ "URL黑白名单API" ], "summary": "创建URL黑白名单策略", "operationId": "call_createUrlBlackRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/security/url-black/rules`\n- 来源文件: `security/security-url-black.json`\n- func_name: `url_black`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_black" ], "example": "url_black" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "comment": "codex_test", "domain": "example.invalid", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "mode": "0", "tagname": "codex_test" }, "default": { "enabled": "no", "comment": "codex_test", "domain": "example.invalid", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "mode": "0", "tagname": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_black/add", "value": { "func_name": "url_black", "action": "add", "param": { "enabled": "no", "comment": "codex_test", "domain": "example.invalid", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "mode": "0", "tagname": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_black", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "comment": "codex_test", "domain": "example.invalid", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "mode": "0", "tagname": "codex_test" }, "x-ikuai-source": { "spec_file": "security/security-url-black.json", "method": "post", "path": "/api/v4.0/security/url-black/rules", "operationId": "createUrlBlackRule", "summary": "创建URL黑白名单策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getUrlKeywordRules": { "post": { "tags": [ "URL关键字替换API" ], "summary": "获取URL关键字替换策略列表", "operationId": "call_getUrlKeywordRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/url-keywords/rules`\n- 来源文件: `security/security-url-keywords.json`\n- func_name: `url_keywords`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_keywords" ], "example": "url_keywords" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_keywords/show", "value": { "func_name": "url_keywords", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_keywords", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "security/security-url-keywords.json", "method": "get", "path": "/api/v4.0/security/url-keywords/rules", "operationId": "getUrlKeywordRules", "summary": "获取URL关键字替换策略列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createUrlKeywordRule": { "post": { "tags": [ "URL关键字替换API" ], "summary": "创建URL关键字替换策略", "operationId": "call_createUrlKeywordRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/security/url-keywords/rules`\n- 来源文件: `security/security-url-keywords.json`\n- func_name: `url_keywords`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_keywords" ], "example": "url_keywords" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "comment": "codex_test", "prio": 1, "src_addr": "", "src_url": "192.168.1.253", "ori_keyword": "qwe", "rep_keyword": "456", "mode": "exact", "hit_rate": 100, "id": 1, "enabled": "no", "excluded": "", "tagname": "codex_test" }, "default": { "comment": "codex_test", "prio": 1, "src_addr": "", "src_url": "192.168.1.253", "ori_keyword": "qwe", "rep_keyword": "456", "mode": "exact", "hit_rate": 100, "id": 1, "enabled": "no", "excluded": "", "tagname": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_keywords/add", "value": { "func_name": "url_keywords", "action": "add", "param": { "comment": "codex_test", "prio": 1, "src_addr": "", "src_url": "192.168.1.253", "ori_keyword": "qwe", "rep_keyword": "456", "mode": "exact", "hit_rate": 100, "id": 1, "enabled": "no", "excluded": "", "tagname": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_keywords", "x-ikuai-action": "add", "x-ikuai-param-example": { "comment": "codex_test", "prio": 1, "src_addr": "", "src_url": "192.168.1.253", "ori_keyword": "qwe", "rep_keyword": "456", "mode": "exact", "hit_rate": 100, "id": 1, "enabled": "no", "excluded": "", "tagname": "codex_test" }, "x-ikuai-source": { "spec_file": "security/security-url-keywords.json", "method": "post", "path": "/api/v4.0/security/url-keywords/rules", "operationId": "createUrlKeywordRule", "summary": "创建URL关键字替换策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getUrlRedirectRules": { "post": { "tags": [ "URL跳转API" ], "summary": "获取URL跳转策略列表", "operationId": "call_getUrlRedirectRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/url-redirect/rules`\n- 来源文件: `security/security-url-redirect.json`\n- func_name: `url_redirect`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_redirect" ], "example": "url_redirect" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_redirect/show", "value": { "func_name": "url_redirect", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_redirect", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "security/security-url-redirect.json", "method": "get", "path": "/api/v4.0/security/url-redirect/rules", "operationId": "getUrlRedirectRules", "summary": "获取URL跳转策略列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createUrlRedirectRule": { "post": { "tags": [ "URL跳转API" ], "summary": "创建URL跳转策略", "operationId": "call_createUrlRedirectRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/security/url-redirect/rules`\n- 来源文件: `security/security-url-redirect.json`\n- func_name: `url_redirect`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_redirect" ], "example": "url_redirect" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "prio": 32, "src_url": "192.168.1.253", "dst_url": "192.168.3.169", "mode": "exact", "excluded": "", "hit_rate": 100, "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } }, "default": { "enabled": "no", "tagname": "codex_test", "prio": 32, "src_url": "192.168.1.253", "dst_url": "192.168.3.169", "mode": "exact", "excluded": "", "hit_rate": 100, "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_redirect/add", "value": { "func_name": "url_redirect", "action": "add", "param": { "enabled": "no", "tagname": "codex_test", "prio": 32, "src_url": "192.168.1.253", "dst_url": "192.168.3.169", "mode": "exact", "excluded": "", "hit_rate": 100, "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_redirect", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "prio": 32, "src_url": "192.168.1.253", "dst_url": "192.168.3.169", "mode": "exact", "excluded": "", "hit_rate": 100, "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } }, "x-ikuai-source": { "spec_file": "security/security-url-redirect.json", "method": "post", "path": "/api/v4.0/security/url-redirect/rules", "operationId": "createUrlRedirectRule", "summary": "创建URL跳转策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getUrlReplaceRules": { "post": { "tags": [ "URL参数替换API" ], "summary": "获取URL参数替换策略列表", "operationId": "call_getUrlReplaceRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/url-replace/rules`\n- 来源文件: `security/security-url-replace.json`\n- func_name: `url_replace`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_replace" ], "example": "url_replace" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_replace/show", "value": { "func_name": "url_replace", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_replace", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "security/security-url-replace.json", "method": "get", "path": "/api/v4.0/security/url-replace/rules", "operationId": "getUrlReplaceRules", "summary": "获取URL参数替换策略列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createUrlReplaceRule": { "post": { "tags": [ "URL参数替换API" ], "summary": "创建URL参数替换策略", "operationId": "call_createUrlReplaceRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/security/url-replace/rules`\n- 来源文件: `security/security-url-replace.json`\n- func_name: `url_replace`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_replace" ], "example": "url_replace" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "prio": 1, "excluded": "", "src_url": "192.168.1.253", "mode": "exact", "hit_rate": 100, "rep_keyword": "aa", "param_keyword": "query", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } }, "default": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "prio": 1, "excluded": "", "src_url": "192.168.1.253", "mode": "exact", "hit_rate": 100, "rep_keyword": "aa", "param_keyword": "query", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_replace/add", "value": { "func_name": "url_replace", "action": "add", "param": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "prio": 1, "excluded": "", "src_url": "192.168.1.253", "mode": "exact", "hit_rate": 100, "rep_keyword": "aa", "param_keyword": "query", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_replace", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "prio": 1, "excluded": "", "src_url": "192.168.1.253", "mode": "exact", "hit_rate": 100, "rep_keyword": "aa", "param_keyword": "query", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] } }, "x-ikuai-source": { "spec_file": "security/security-url-replace.json", "method": "post", "path": "/api/v4.0/security/url-replace/rules", "operationId": "createUrlReplaceRule", "summary": "创建URL参数替换策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getAlgConfig": { "post": { "tags": [ "ALG应用层网关管理API" ], "summary": "获取ALG配置", "operationId": "call_getAlgConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/alg`\n- 来源文件: `system/system-alg.json`\n- func_name: `alg`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "alg" ], "example": "alg" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "alg/show", "value": { "func_name": "alg", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "alg", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "system/system-alg.json", "method": "get", "path": "/api/v4.0/system/alg", "operationId": "getAlgConfig", "summary": "获取ALG配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateAlgConfig": { "post": { "tags": [ "ALG应用层网关管理API" ], "summary": "更新ALG配置", "operationId": "call_updateAlgConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/system/alg`\n- 来源文件: `system/system-alg.json`\n- func_name: `alg`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "alg" ], "example": "alg" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "support_ftp": 1, "support_tftp": 1, "support_sip": 1, "support_h323": 1, "ftp_ports": "2121", "sip_ports": "", "tftp_ports": "" }, "default": { "support_ftp": 1, "support_tftp": 1, "support_sip": 1, "support_h323": 1, "ftp_ports": "2121", "sip_ports": "", "tftp_ports": "" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "alg/edit", "value": { "func_name": "alg", "action": "edit", "param": { "support_ftp": 1, "support_tftp": 1, "support_sip": 1, "support_h323": 1, "ftp_ports": "2121", "sip_ports": "", "tftp_ports": "" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "alg", "x-ikuai-action": "edit", "x-ikuai-param-example": { "support_ftp": 1, "support_tftp": 1, "support_sip": 1, "support_h323": 1, "ftp_ports": "2121", "sip_ports": "", "tftp_ports": "" }, "x-ikuai-source": { "spec_file": "system/system-alg.json", "method": "put", "path": "/api/v4.0/system/alg", "operationId": "updateAlgConfig", "summary": "更新ALG配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteBackupSnapshot": { "post": { "tags": [ "系统备份管理API" ], "summary": "删除备份文件", "operationId": "call_deleteBackupSnapshot", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/system/backup`\n- 来源文件: `system/system-backup.json`\n- func_name: `backup`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "backup" ], "example": "backup" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "backup/del", "value": { "func_name": "backup", "action": "del", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "backup", "x-ikuai-action": "del", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "system/system-backup.json", "method": "delete", "path": "/api/v4.0/system/backup", "operationId": "deleteBackupSnapshot", "summary": "删除备份文件" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getBackupSnapshots": { "post": { "tags": [ "系统备份管理API" ], "summary": "获取备份信息", "operationId": "call_getBackupSnapshots", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/backup`\n- 来源文件: `system/system-backup.json`\n- func_name: `backup`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "backup" ], "example": "backup" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "backup/show", "value": { "func_name": "backup", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "backup", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "system/system-backup.json", "method": "get", "path": "/api/v4.0/system/backup", "operationId": "getBackupSnapshots", "summary": "获取备份信息" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createBackupSnapshot": { "post": { "tags": [ "系统备份管理API" ], "summary": "手动备份配置", "operationId": "call_createBackupSnapshot", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/system/backup`\n- 来源文件: `system/system-backup.json`\n- func_name: `backup`\n- action: `backup`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "backup" ], "example": "backup" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "backup" ], "example": "backup" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "backup/backup", "value": { "func_name": "backup", "action": "backup", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "backup", "x-ikuai-action": "backup", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "system/system-backup.json", "method": "post", "path": "/api/v4.0/system/backup", "operationId": "createBackupSnapshot", "summary": "手动备份配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getBackupSettings": { "post": { "tags": [ "系统备份管理API" ], "summary": "获取自动备份策略", "operationId": "call_getBackupSettings", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/backup-auto`\n- 来源文件: `system/system-backup.json`\n- func_name: `backup`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "backup" ], "example": "backup" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "backup/show", "value": { "func_name": "backup", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "backup", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "system/system-backup.json", "method": "get", "path": "/api/v4.0/system/backup-auto", "operationId": "getBackupSettings", "summary": "获取自动备份策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/saveBackupSettings": { "post": { "tags": [ "系统备份管理API" ], "summary": "保存自动备份策略", "operationId": "call_saveBackupSettings", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/system/backup-auto`\n- 来源文件: `system/system-backup.json`\n- func_name: `backup`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "backup" ], "example": "backup" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": 1, "enabled": "no", "strategy": "week", "time": "08:00", "cycle_time": "135", "valid_days": 30 }, "default": { "id": 1, "enabled": "no", "strategy": "week", "time": "08:00", "cycle_time": "135", "valid_days": 30 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "backup/edit", "value": { "func_name": "backup", "action": "edit", "param": { "id": 1, "enabled": "no", "strategy": "week", "time": "08:00", "cycle_time": "135", "valid_days": 30 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "backup", "x-ikuai-action": "edit", "x-ikuai-param-example": { "id": 1, "enabled": "no", "strategy": "week", "time": "08:00", "cycle_time": "135", "valid_days": 30 }, "x-ikuai-source": { "spec_file": "system/system-backup.json", "method": "put", "path": "/api/v4.0/system/backup-auto", "operationId": "saveBackupSettings", "summary": "保存自动备份策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/restoreBackupSnapshot": { "post": { "tags": [ "系统备份管理API" ], "summary": "恢复备份", "operationId": "call_restoreBackupSnapshot", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/system/backup:restore`\n- 来源文件: `system/system-backup.json`\n- func_name: `backup`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "backup" ], "example": "backup" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "srcfile": "codex_missing.bak", "restore_type": 0, "sync_bind_cloud": 0, "cloud_comment": "branch-office-router" }, "default": { "srcfile": "codex_missing.bak", "restore_type": 0, "sync_bind_cloud": 0, "cloud_comment": "branch-office-router" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "backup/add", "value": { "func_name": "backup", "action": "add", "param": { "srcfile": "codex_missing.bak", "restore_type": 0, "sync_bind_cloud": 0, "cloud_comment": "branch-office-router" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "backup", "x-ikuai-action": "add", "x-ikuai-param-example": { "srcfile": "codex_missing.bak", "restore_type": 0, "sync_bind_cloud": 0, "cloud_comment": "branch-office-router" }, "x-ikuai-source": { "spec_file": "system/system-backup.json", "method": "post", "path": "/api/v4.0/system/backup:restore", "operationId": "restoreBackupSnapshot", "summary": "恢复备份" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getSystemBasicConfig": { "post": { "tags": [ "系统基础设置API" ], "summary": "获取系统基础设置", "operationId": "call_getSystemBasicConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/basic/config`\n- 来源文件: `system/system-basic.json`\n- func_name: `basic`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "basic" ], "example": "basic" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "basic/show", "value": { "func_name": "basic", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "basic", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "system/system-basic.json", "method": "get", "path": "/api/v4.0/system/basic/config", "operationId": "getSystemBasicConfig", "summary": "获取系统基础设置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateSystemBasicConfig": { "post": { "tags": [ "系统基础设置API" ], "summary": "更新系统基础设置", "operationId": "call_updateSystemBasicConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/system/basic/config`\n- 来源文件: `system/system-basic.json`\n- func_name: `basic`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "basic" ], "example": "basic" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "hostname": "codex_test", "language": 1, "time_zone": 8, "time_zone_full": "0800", "switch_nat": 1, "switch_ntp": 1, "switch_ntpd": 0, "switch_ntpserver": 0, "ntpserver_list": "", "ntp_sync_cycle": 60, "link_mode": 0, "lan_nat": 1, "backport": "wan1", "listenport": "lan1", "fast_nat": 0 }, "default": { "hostname": "codex_test", "language": 1, "time_zone": 8, "time_zone_full": "0800", "switch_nat": 1, "switch_ntp": 1, "switch_ntpd": 0, "switch_ntpserver": 0, "ntpserver_list": "", "ntp_sync_cycle": 60, "link_mode": 0, "lan_nat": 1, "backport": "wan1", "listenport": "lan1", "fast_nat": 0 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "basic/save", "value": { "func_name": "basic", "action": "save", "param": { "hostname": "codex_test", "language": 1, "time_zone": 8, "time_zone_full": "0800", "switch_nat": 1, "switch_ntp": 1, "switch_ntpd": 0, "switch_ntpserver": 0, "ntpserver_list": "", "ntp_sync_cycle": 60, "link_mode": 0, "lan_nat": 1, "backport": "wan1", "listenport": "lan1", "fast_nat": 0 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "basic", "x-ikuai-action": "save", "x-ikuai-param-example": { "hostname": "codex_test", "language": 1, "time_zone": 8, "time_zone_full": "0800", "switch_nat": 1, "switch_ntp": 1, "switch_ntpd": 0, "switch_ntpserver": 0, "ntpserver_list": "", "ntp_sync_cycle": 60, "link_mode": 0, "lan_nat": 1, "backport": "wan1", "listenport": "lan1", "fast_nat": 0 }, "x-ikuai-source": { "spec_file": "system/system-basic.json", "method": "put", "path": "/api/v4.0/system/basic/config", "operationId": "updateSystemBasicConfig", "summary": "更新系统基础设置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/syncNtpTime": { "post": { "tags": [ "系统基础设置API" ], "summary": "立即进行NTP同步", "operationId": "call_syncNtpTime", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/system/basic/ntp:sync`\n- 来源文件: `system/system-basic.json`\n- func_name: `basic`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "basic" ], "example": "basic" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "basic/add", "value": { "func_name": "basic", "action": "add", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "basic", "x-ikuai-action": "add", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "system/system-basic.json", "method": "post", "path": "/api/v4.0/system/basic/ntp:sync", "operationId": "syncNtpTime", "summary": "立即进行NTP同步" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getCpuFrequency": { "post": { "tags": [ "CPU频率管理API" ], "summary": "获取CPU实时频率", "operationId": "call_getCpuFrequency", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/cpufreq`\n- 来源文件: `system/system-cpufreq.json`\n- func_name: `irqbalance`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "irqbalance" ], "example": "irqbalance" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "cpulist,freqlist,softirq,hardirq,interrupts" }, "default": { "TYPE": "cpulist,freqlist,softirq,hardirq,interrupts" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "irqbalance/show", "value": { "func_name": "irqbalance", "action": "show", "param": { "TYPE": "cpulist,freqlist,softirq,hardirq,interrupts" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "irqbalance", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "cpulist,freqlist,softirq,hardirq,interrupts" }, "x-ikuai-source": { "spec_file": "system/system-cpufreq.json", "method": "get", "path": "/api/v4.0/system/cpufreq", "operationId": "getCpuFrequency", "summary": "获取CPU实时频率" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getCpuFrequencyMode": { "post": { "tags": [ "CPU频率管理API" ], "summary": "获取CPU工作模式", "operationId": "call_getCpuFrequencyMode", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/cpufreq/mode`\n- 来源文件: `system/system-cpufreq.json`\n- func_name: `irqbalance`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "irqbalance" ], "example": "irqbalance" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "cpulist,freqlist,softirq,hardirq,interrupts" }, "default": { "TYPE": "cpulist,freqlist,softirq,hardirq,interrupts" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "irqbalance/show", "value": { "func_name": "irqbalance", "action": "show", "param": { "TYPE": "cpulist,freqlist,softirq,hardirq,interrupts" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "irqbalance", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "cpulist,freqlist,softirq,hardirq,interrupts" }, "x-ikuai-source": { "spec_file": "system/system-cpufreq.json", "method": "get", "path": "/api/v4.0/system/cpufreq/mode", "operationId": "getCpuFrequencyMode", "summary": "获取CPU工作模式" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateCpuFrequencyMode": { "post": { "tags": [ "CPU频率管理API" ], "summary": "配置CPU工作模式", "operationId": "call_updateCpuFrequencyMode", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/system/cpufreq/mode`\n- 来源文件: `system/system-cpufreq.json`\n- func_name: `irqbalance`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "irqbalance" ], "example": "irqbalance" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "turbo": 1, "mode": "performance" }, "default": { "turbo": 1, "mode": "performance" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "irqbalance/edit", "value": { "func_name": "irqbalance", "action": "edit", "param": { "turbo": 1, "mode": "performance" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "irqbalance", "x-ikuai-action": "edit", "x-ikuai-param-example": { "turbo": 1, "mode": "performance" }, "x-ikuai-source": { "spec_file": "system/system-cpufreq.json", "method": "put", "path": "/api/v4.0/system/cpufreq/mode", "operationId": "updateCpuFrequencyMode", "summary": "配置CPU工作模式" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getSystemDisks": { "post": { "tags": [ "系统磁盘信息API" ], "summary": "获取系统磁盘信息", "operationId": "call_getSystemDisks", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/disks`\n- 来源文件: `system/system-disks.json`\n- func_name: `disk_mgmt`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "disk_mgmt" ], "example": "disk_mgmt" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "disk_mgmt/show", "value": { "func_name": "disk_mgmt", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "disk_mgmt", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "system/system-disks.json", "method": "get", "path": "/api/v4.0/system/disks", "operationId": "getSystemDisks", "summary": "获取系统磁盘信息" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getSystemFiles": { "post": { "tags": [ "系统文件管理API" ], "summary": "获取文件列表", "operationId": "call_getSystemFiles", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/files`\n- 来源文件: `system/system-files.json`\n- func_name: `file_mgmt`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "file_mgmt" ], "example": "file_mgmt" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "path": "/" }, "default": { "path": "/" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "file_mgmt/show", "value": { "func_name": "file_mgmt", "action": "show", "param": { "path": "/" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "file_mgmt", "x-ikuai-action": "show", "x-ikuai-param-example": { "path": "/" }, "x-ikuai-source": { "spec_file": "system/system-files.json", "method": "get", "path": "/api/v4.0/system/files", "operationId": "getSystemFiles", "summary": "获取文件列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getKernelParams": { "post": { "tags": [ "内核参数配置API" ], "summary": "获取内核参数配置", "operationId": "call_getKernelParams", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/kernel-params`\n- 来源文件: `system/system-kernel-params.json`\n- func_name: `ik_sysctl`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ik_sysctl" ], "example": "ik_sysctl" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ik_sysctl/show", "value": { "func_name": "ik_sysctl", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ik_sysctl", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "system/system-kernel-params.json", "method": "get", "path": "/api/v4.0/system/kernel-params", "operationId": "getKernelParams", "summary": "获取内核参数配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateKernelParams": { "post": { "tags": [ "内核参数配置API" ], "summary": "更新内核参数配置", "operationId": "call_updateKernelParams", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/system/kernel-params`\n- 来源文件: `system/system-kernel-params.json`\n- func_name: `ik_sysctl`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ik_sysctl" ], "example": "ik_sysctl" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "bbr": 0, "syn_recv_timeout": 5, "syn_send_timeout": 5, "established_timeout": 1800, "fin_wait_timeout": 10, "last_ack_timeout": 10, "close_wait_timeout": 10, "time_wait_timeout": 10, "close_timeout": 5, "udp_timeout": 10, "udp_stream_timeout": 60, "icmp_timeout": 10 }, "default": { "bbr": 0, "syn_recv_timeout": 5, "syn_send_timeout": 5, "established_timeout": 1800, "fin_wait_timeout": 10, "last_ack_timeout": 10, "close_wait_timeout": 10, "time_wait_timeout": 10, "close_timeout": 5, "udp_timeout": 10, "udp_stream_timeout": 60, "icmp_timeout": 10 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ik_sysctl/save", "value": { "func_name": "ik_sysctl", "action": "save", "param": { "bbr": 0, "syn_recv_timeout": 5, "syn_send_timeout": 5, "established_timeout": 1800, "fin_wait_timeout": 10, "last_ack_timeout": 10, "close_wait_timeout": 10, "time_wait_timeout": 10, "close_timeout": 5, "udp_timeout": 10, "udp_stream_timeout": 60, "icmp_timeout": 10 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ik_sysctl", "x-ikuai-action": "save", "x-ikuai-param-example": { "bbr": 0, "syn_recv_timeout": 5, "syn_send_timeout": 5, "established_timeout": 1800, "fin_wait_timeout": 10, "last_ack_timeout": 10, "close_wait_timeout": 10, "time_wait_timeout": 10, "close_timeout": 5, "udp_timeout": 10, "udp_stream_timeout": 60, "icmp_timeout": 10 }, "x-ikuai-source": { "spec_file": "system/system-kernel-params.json", "method": "put", "path": "/api/v4.0/system/kernel-params", "operationId": "updateKernelParams", "summary": "更新内核参数配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listRebootSchedules": { "post": { "tags": [ "系统重启计划管理API" ], "summary": "获取重启计划列表", "operationId": "call_listRebootSchedules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/reboot-schedules`\n- 来源文件: `system/system-reboots.json`\n- func_name: `reboots`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "reboots" ], "example": "reboots" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "reboots/show", "value": { "func_name": "reboots", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "reboots", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "system/system-reboots.json", "method": "get", "path": "/api/v4.0/system/reboot-schedules", "operationId": "listRebootSchedules", "summary": "获取重启计划列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createRebootSchedule": { "post": { "tags": [ "系统重启计划管理API" ], "summary": "添加重启计划", "operationId": "call_createRebootSchedule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/system/reboot-schedules`\n- 来源文件: `system/system-reboots.json`\n- func_name: `reboots`\n- action: `restart`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "reboots" ], "example": "reboots" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "restart" ], "example": "restart" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "event": "reboot", "strategy": "week", "cycle_time": "7", "time": "00:00", "comment": "codex_test" }, "default": { "enabled": "no", "event": "reboot", "strategy": "week", "cycle_time": "7", "time": "00:00", "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "reboots/restart", "value": { "func_name": "reboots", "action": "restart", "param": { "enabled": "no", "event": "reboot", "strategy": "week", "cycle_time": "7", "time": "00:00", "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "reboots", "x-ikuai-action": "restart", "x-ikuai-param-example": { "enabled": "no", "event": "reboot", "strategy": "week", "cycle_time": "7", "time": "00:00", "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "system/system-reboots.json", "method": "post", "path": "/api/v4.0/system/reboot-schedules", "operationId": "createRebootSchedule", "summary": "添加重启计划" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getRemoteAccessConfig": { "post": { "tags": [ "远程访问配置API" ], "summary": "获取远程访问配置", "operationId": "call_getRemoteAccessConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/remote-access`\n- 来源文件: `system/system-remote-access.json`\n- func_name: `remote_access`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "remote_access" ], "example": "remote_access" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "remote_access/show", "value": { "func_name": "remote_access", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "remote_access", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "system/system-remote-access.json", "method": "get", "path": "/api/v4.0/system/remote-access", "operationId": "getRemoteAccessConfig", "summary": "获取远程访问配置" }, "x-ikuai-test": { "result": "business_error", "executed": true, "mutation": false, "http_status": 200, "business_code": 1003, "business_message": "Access denied" } } }, "/Action/call/_operations/updateRemoteAccessConfig": { "post": { "tags": [ "远程访问配置API" ], "summary": "更新远程访问配置", "operationId": "call_updateRemoteAccessConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/system/remote-access`\n- 来源文件: `system/system-remote-access.json`\n- func_name: `remote_access`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "remote_access" ], "example": "remote_access" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "open_telnetd": 0, "open_wanweb": 1, "open_sshd": 1, "sshd_port": 22, "sshd_passwd": "ikuai8.com", "http_port": 80, "https_port": 443, "force_https": 0 }, "default": { "open_telnetd": 0, "open_wanweb": 1, "open_sshd": 1, "sshd_port": 22, "sshd_passwd": "ikuai8.com", "http_port": 80, "https_port": 443, "force_https": 0 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "remote_access/edit", "value": { "func_name": "remote_access", "action": "edit", "param": { "open_telnetd": 0, "open_wanweb": 1, "open_sshd": 1, "sshd_port": 22, "sshd_passwd": "ikuai8.com", "http_port": 80, "https_port": 443, "force_https": 0 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "remote_access", "x-ikuai-action": "edit", "x-ikuai-param-example": { "open_telnetd": 0, "open_wanweb": 1, "open_sshd": 1, "sshd_port": 22, "sshd_passwd": "ikuai8.com", "http_port": 80, "https_port": 443, "force_https": 0 }, "x-ikuai-source": { "spec_file": "system/system-remote-access.json", "method": "put", "path": "/api/v4.0/system/remote-access", "operationId": "updateRemoteAccessConfig", "summary": "更新远程访问配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getUpgradeInfo": { "post": { "tags": [ "系统固件升级API" ], "summary": "获取版本信息", "operationId": "call_getUpgradeInfo", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/upgrade`\n- 来源文件: `system/system-upgrade.json`\n- func_name: `upgrade`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "upgrade" ], "example": "upgrade" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,fileinfo" }, "default": { "TYPE": "data,fileinfo" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "upgrade/show", "value": { "func_name": "upgrade", "action": "show", "param": { "TYPE": "data,fileinfo" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "upgrade", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,fileinfo" }, "x-ikuai-source": { "spec_file": "system/system-upgrade.json", "method": "get", "path": "/api/v4.0/system/upgrade", "operationId": "getUpgradeInfo", "summary": "获取版本信息" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/checkUpgradeVersion": { "post": { "tags": [ "系统固件升级API" ], "summary": "版本检测", "operationId": "call_checkUpgradeVersion", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/system/upgrade:check`\n- 来源文件: `system/system-upgrade.json`\n- func_name: `upgrade`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "upgrade" ], "example": "upgrade" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "upgrade/add", "value": { "func_name": "upgrade", "action": "add", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "upgrade", "x-ikuai-action": "add", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "system/system-upgrade.json", "method": "post", "path": "/api/v4.0/system/upgrade:check", "operationId": "checkUpgradeVersion", "summary": "版本检测" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/startUpgrade": { "post": { "tags": [ "系统固件升级API" ], "summary": "立即升级", "operationId": "call_startUpgrade", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/system/upgrade:start`\n- 来源文件: `system/system-upgrade.json`\n- func_name: `upgrade`\n- action: `start`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "upgrade" ], "example": "upgrade" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "start" ], "example": "start" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "type": "system" }, "default": { "type": "system" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "upgrade/start", "value": { "func_name": "upgrade", "action": "start", "param": { "type": "system" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "upgrade", "x-ikuai-action": "start", "x-ikuai-param-example": { "type": "system" }, "x-ikuai-source": { "spec_file": "system/system-upgrade.json", "method": "post", "path": "/api/v4.0/system/upgrade:start", "operationId": "startUpgrade", "summary": "立即升级" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getUpgradeStatus": { "post": { "tags": [ "系统固件升级API" ], "summary": "获取升级状态", "operationId": "call_getUpgradeStatus", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/upgrade:status`\n- 来源文件: `system/system-upgrade.json`\n- func_name: `upgrade`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "upgrade" ], "example": "upgrade" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,fileinfo" }, "default": { "TYPE": "data,fileinfo" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "upgrade/show", "value": { "func_name": "upgrade", "action": "show", "param": { "TYPE": "data,fileinfo" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "upgrade", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,fileinfo" }, "x-ikuai-source": { "spec_file": "system/system-upgrade.json", "method": "get", "path": "/api/v4.0/system/upgrade:status", "operationId": "getUpgradeStatus", "summary": "获取升级状态" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/getVrrpConfig": { "post": { "tags": [ "VRRP热备管理API" ], "summary": "获取热备配置", "operationId": "call_getVrrpConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/vrrp/config`\n- 来源文件: `system/system-vrrp.json`\n- func_name: `vrrp_config`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "vrrp_config" ], "example": "vrrp_config" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,ht_data,remote_data,remote_ht_data,status,interface,wan_interface" }, "default": { "TYPE": "data,ht_data,remote_data,remote_ht_data,status,interface,wan_interface" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "vrrp_config/show", "value": { "func_name": "vrrp_config", "action": "show", "param": { "TYPE": "data,ht_data,remote_data,remote_ht_data,status,interface,wan_interface" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "vrrp_config", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,ht_data,remote_data,remote_ht_data,status,interface,wan_interface" }, "x-ikuai-source": { "spec_file": "system/system-vrrp.json", "method": "get", "path": "/api/v4.0/system/vrrp/config", "operationId": "getVrrpConfig", "summary": "获取热备配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateVrrpConfig": { "post": { "tags": [ "VRRP热备管理API" ], "summary": "设置热备配置", "operationId": "call_updateVrrpConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/system/vrrp/config`\n- 来源文件: `system/system-vrrp.json`\n- func_name: `vrrp_config`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "vrrp_config" ], "example": "vrrp_config" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "type": 1, "prio": 150, "gateway": "192.0.2.254", "ifnames": "wan1,wan2", "auto_sync": 0, "single_line": 0, "ignore_wanstatus": 1, "interfaces": "wan1,wan2", "virtual_ips": "192.168.1.254,10.0.0.254", "ht_iface": "eth0", "remote_addr": "192.168.1.100" }, "default": { "enabled": "no", "type": 1, "prio": 150, "gateway": "192.0.2.254", "ifnames": "wan1,wan2", "auto_sync": 0, "single_line": 0, "ignore_wanstatus": 1, "interfaces": "wan1,wan2", "virtual_ips": "192.168.1.254,10.0.0.254", "ht_iface": "eth0", "remote_addr": "192.168.1.100" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "vrrp_config/save", "value": { "func_name": "vrrp_config", "action": "save", "param": { "enabled": "no", "type": 1, "prio": 150, "gateway": "192.0.2.254", "ifnames": "wan1,wan2", "auto_sync": 0, "single_line": 0, "ignore_wanstatus": 1, "interfaces": "wan1,wan2", "virtual_ips": "192.168.1.254,10.0.0.254", "ht_iface": "eth0", "remote_addr": "192.168.1.100" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "vrrp_config", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "type": 1, "prio": 150, "gateway": "192.0.2.254", "ifnames": "wan1,wan2", "auto_sync": 0, "single_line": 0, "ignore_wanstatus": 1, "interfaces": "wan1,wan2", "virtual_ips": "192.168.1.254,10.0.0.254", "ht_iface": "eth0", "remote_addr": "192.168.1.100" }, "x-ikuai-source": { "spec_file": "system/system-vrrp.json", "method": "put", "path": "/api/v4.0/system/vrrp/config", "operationId": "updateVrrpConfig", "summary": "设置热备配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/startVrrpService": { "post": { "tags": [ "VRRP热备管理API" ], "summary": "开启热备配置", "operationId": "call_startVrrpService", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/system/vrrp:start`\n- 来源文件: `system/system-vrrp.json`\n- func_name: `vrrp_config`\n- action: `start`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "vrrp_config" ], "example": "vrrp_config" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "start" ], "example": "start" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "vrrp_config/start", "value": { "func_name": "vrrp_config", "action": "start", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "vrrp_config", "x-ikuai-action": "start", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "system/system-vrrp.json", "method": "post", "path": "/api/v4.0/system/vrrp:start", "operationId": "startVrrpService", "summary": "开启热备配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/stopVrrpService": { "post": { "tags": [ "VRRP热备管理API" ], "summary": "关闭热备配置", "operationId": "call_stopVrrpService", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/system/vrrp:stop`\n- 来源文件: `system/system-vrrp.json`\n- func_name: `vrrp_config`\n- action: `stop`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "vrrp_config" ], "example": "vrrp_config" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "stop" ], "example": "stop" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": {}, "default": {} } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "vrrp_config/stop", "value": { "func_name": "vrrp_config", "action": "stop", "param": {} } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "vrrp_config", "x-ikuai-action": "stop", "x-ikuai-param-example": {}, "x-ikuai-source": { "spec_file": "system/system-vrrp.json", "method": "post", "path": "/api/v4.0/system/vrrp:stop", "operationId": "stopVrrpService", "summary": "关闭热备配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listWebAdminAccounts": { "post": { "tags": [ "WEB登录账号与用户组管理API" ], "summary": "获取WEB登录账号列表", "operationId": "call_listWebAdminAccounts", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/web-admin/accounts`\n- 来源文件: `system/system-web-admin-accounts.json`\n- func_name: `webuser`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webuser" ], "example": "webuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webuser/show", "value": { "func_name": "webuser", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webuser", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "system/system-web-admin-accounts.json", "method": "get", "path": "/api/v4.0/system/web-admin/accounts", "operationId": "listWebAdminAccounts", "summary": "获取WEB登录账号列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createWebAdminAccount": { "post": { "tags": [ "WEB登录账号与用户组管理API" ], "summary": "新增WEB登录账号", "operationId": "call_createWebAdminAccount", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/system/web-admin/accounts`\n- 来源文件: `system/system-web-admin-accounts.json`\n- func_name: `webuser`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webuser" ], "example": "webuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "username": "codex_test_user", "passwd": "codex_Test_123", "enabled": "no", "group_id": 1, "force": 0, "interval": 30, "sesstimeout": 120, "comment": "codex_test" }, "default": { "username": "codex_test_user", "passwd": "codex_Test_123", "enabled": "no", "group_id": 1, "force": 0, "interval": 30, "sesstimeout": 120, "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webuser/add", "value": { "func_name": "webuser", "action": "add", "param": { "username": "codex_test_user", "passwd": "codex_Test_123", "enabled": "no", "group_id": 1, "force": 0, "interval": 30, "sesstimeout": 120, "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webuser", "x-ikuai-action": "add", "x-ikuai-param-example": { "username": "codex_test_user", "passwd": "codex_Test_123", "enabled": "no", "group_id": 1, "force": 0, "interval": 30, "sesstimeout": 120, "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "system/system-web-admin-accounts.json", "method": "post", "path": "/api/v4.0/system/web-admin/accounts", "operationId": "createWebAdminAccount", "summary": "新增WEB登录账号" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listWebAdminGroups": { "post": { "tags": [ "WEB登录账号与用户组管理API" ], "summary": "获取WEB登录用户组列表", "operationId": "call_listWebAdminGroups", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/web-admin/groups`\n- 来源文件: `system/system-web-admin-accounts.json`\n- func_name: `webuser`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webuser" ], "example": "webuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webuser/show", "value": { "func_name": "webuser", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webuser", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "system/system-web-admin-accounts.json", "method": "get", "path": "/api/v4.0/system/web-admin/groups", "operationId": "listWebAdminGroups", "summary": "获取WEB登录用户组列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createWebAdminGroup": { "post": { "tags": [ "WEB登录账号与用户组管理API" ], "summary": "新增WEB登录用户组", "operationId": "call_createWebAdminGroup", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/system/web-admin/groups`\n- 来源文件: `system/system-web-admin-accounts.json`\n- func_name: `webuser`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webuser" ], "example": "webuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "ip_addr": "192.0.2.254", "perm_config": "monitoring_center:r,network_configuration:r" }, "default": { "group_name": "codex_test", "ip_addr": "192.0.2.254", "perm_config": "monitoring_center:r,network_configuration:r" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webuser/add", "value": { "func_name": "webuser", "action": "add", "param": { "group_name": "codex_test", "ip_addr": "192.0.2.254", "perm_config": "monitoring_center:r,network_configuration:r" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webuser", "x-ikuai-action": "add", "x-ikuai-param-example": { "group_name": "codex_test", "ip_addr": "192.0.2.254", "perm_config": "monitoring_center:r,network_configuration:r" }, "x-ikuai-source": { "spec_file": "system/system-web-admin-accounts.json", "method": "post", "path": "/api/v4.0/system/web-admin/groups", "operationId": "createWebAdminGroup", "summary": "新增WEB登录用户组" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateWebAdminPassword": { "post": { "tags": [ "WEB登录账号与用户组管理API" ], "summary": "修改WEB登录账号密码", "operationId": "call_updateWebAdminPassword", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/system/web-admin/password`\n- 来源文件: `system/system-web-admin-accounts.json`\n- func_name: `webuser`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webuser" ], "example": "webuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "passwd": "codex_Test_123" }, "default": { "passwd": "codex_Test_123" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webuser/edit", "value": { "func_name": "webuser", "action": "edit", "param": { "passwd": "codex_Test_123" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webuser", "x-ikuai-action": "edit", "x-ikuai-param-example": { "passwd": "codex_Test_123" }, "x-ikuai-source": { "spec_file": "system/system-web-admin-accounts.json", "method": "put", "path": "/api/v4.0/system/web-admin/password", "operationId": "updateWebAdminPassword", "summary": "修改WEB登录账号密码" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getWebAdminAccountPasswdStatus": { "post": { "tags": [ "WEB登录账号与用户组管理API" ], "summary": "查询账号是否需要修改密码", "operationId": "call_getWebAdminAccountPasswdStatus", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/web-admin/password-status`\n- 来源文件: `system/system-web-admin-accounts.json`\n- func_name: `webuser`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webuser" ], "example": "webuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webuser/show", "value": { "func_name": "webuser", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webuser", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "system/system-web-admin-accounts.json", "method": "get", "path": "/api/v4.0/system/web-admin/password-status", "operationId": "getWebAdminAccountPasswdStatus", "summary": "查询账号是否需要修改密码" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listTimeObjects": { "post": { "tags": [ "时间对象管理API" ], "summary": "获取时间对象列表", "operationId": "call_listTimeObjects", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/time-objects`\n- 来源文件: `object_group/network-object-time.json`\n- func_name: `route_object_time`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_time" ], "example": "route_object_time" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_time/show", "value": { "func_name": "route_object_time", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_time", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "object_group/network-object-time.json", "method": "get", "path": "/api/v4.0/time-objects", "operationId": "listTimeObjects", "summary": "获取时间对象列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createTimeObject": { "post": { "tags": [ "时间对象管理API" ], "summary": "创建时间对象", "operationId": "call_createTimeObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/time-objects`\n- 来源文件: `object_group/network-object-time.json`\n- func_name: `route_object_time`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_time" ], "example": "route_object_time" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ] }, "default": { "group_name": "codex_test", "group_value": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ] } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_time/add", "value": { "func_name": "route_object_time", "action": "add", "param": { "group_name": "codex_test", "group_value": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ] } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_time", "x-ikuai-action": "add", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ] }, "x-ikuai-source": { "spec_file": "object_group/network-object-time.json", "method": "post", "path": "/api/v4.0/time-objects", "operationId": "createTimeObject", "summary": "创建时间对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getTimeObjectReferences": { "post": { "tags": [ "时间对象管理API" ], "summary": "查询时间对象引用", "operationId": "call_getTimeObjectReferences", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/time-objects/ref`\n- 来源文件: `object_group/network-object-time.json`\n- func_name: `route_object_time`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_time" ], "example": "route_object_time" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_time/show", "value": { "func_name": "route_object_time", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_time", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "object_group/network-object-time.json", "method": "get", "path": "/api/v4.0/time-objects/ref", "operationId": "getTimeObjectReferences", "summary": "查询时间对象引用" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/listIkev2Clients": { "post": { "tags": [ "IKEv2 VPN客户端管理API" ], "summary": "获取IKEv2客户端列表", "operationId": "call_listIkev2Clients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/ikev2/clients`\n- 来源文件: `vpn/network-ikev2.json`\n- func_name: `ike_client`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ike_client" ], "example": "ike_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ike_client/show", "value": { "func_name": "ike_client", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ike_client", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "vpn/network-ikev2.json", "method": "get", "path": "/api/v4.0/vpn/ikev2/clients", "operationId": "listIkev2Clients", "summary": "获取IKEv2客户端列表" }, "x-ikuai-test": { "result": "business_error", "executed": true, "mutation": false, "http_status": 200, "business_code": 1003, "business_message": "Access denied" } } }, "/Action/call/_operations/createIkev2Client": { "post": { "tags": [ "IKEv2 VPN客户端管理API" ], "summary": "创建IKEv2客户端", "operationId": "call_createIkev2Client", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/vpn/ikev2/clients`\n- 来源文件: `vpn/network-ikev2.json`\n- func_name: `ike_client`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ike_client" ], "example": "ike_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.example.com", "interface": "wan1", "authby": "mschapv2", "secret": "codex_Test_123", "leftid": "localikev2", "rightid": "remoteikev2", "username": "codex_test_user", "passwd": "codex_Test_123", "check_link_mode": 2, "check_link_host": "www.baidu.com" }, "default": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.example.com", "interface": "wan1", "authby": "mschapv2", "secret": "codex_Test_123", "leftid": "localikev2", "rightid": "remoteikev2", "username": "codex_test_user", "passwd": "codex_Test_123", "check_link_mode": 2, "check_link_host": "www.baidu.com" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ike_client/add", "value": { "func_name": "ike_client", "action": "add", "param": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.example.com", "interface": "wan1", "authby": "mschapv2", "secret": "codex_Test_123", "leftid": "localikev2", "rightid": "remoteikev2", "username": "codex_test_user", "passwd": "codex_Test_123", "check_link_mode": 2, "check_link_host": "www.baidu.com" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ike_client", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.example.com", "interface": "wan1", "authby": "mschapv2", "secret": "codex_Test_123", "leftid": "localikev2", "rightid": "remoteikev2", "username": "codex_test_user", "passwd": "codex_Test_123", "check_link_mode": 2, "check_link_host": "www.baidu.com" }, "x-ikuai-source": { "spec_file": "vpn/network-ikev2.json", "method": "post", "path": "/api/v4.0/vpn/ikev2/clients", "operationId": "createIkev2Client", "summary": "创建IKEv2客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getIkev2ServerConfig": { "post": { "tags": [ "IKEv2/IPSec服务器管理API" ], "summary": "获取IKEv2/IPSec服务器配置", "operationId": "call_getIkev2ServerConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/ikev2/services`\n- 来源文件: `vpn/auth-ikev2-server.json`\n- func_name: `ike_server`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ike_server" ], "example": "ike_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ike_server/show", "value": { "func_name": "ike_server", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ike_server", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "vpn/auth-ikev2-server.json", "method": "get", "path": "/api/v4.0/vpn/ikev2/services", "operationId": "getIkev2ServerConfig", "summary": "获取IKEv2/IPSec服务器配置" }, "x-ikuai-test": { "result": "business_error", "executed": true, "mutation": false, "http_status": 200, "business_code": 1003, "business_message": "Access denied" } } }, "/Action/call/_operations/updateIkev2ServerConfig": { "post": { "tags": [ "IKEv2/IPSec服务器管理API" ], "summary": "更新IKEv2/IPSec服务器配置", "operationId": "call_updateIkev2ServerConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/vpn/ikev2/services`\n- 来源文件: `vpn/auth-ikev2-server.json`\n- func_name: `ike_server`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ike_server" ], "example": "ike_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "authby": "mschapv2", "addrpool": "10.6.1.0/24", "secret": "codex_Test_123", "leftid": "vpn.example.com", "rightid": "", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "share_deny": 0, "mtu": 1400, "privatekey": "codex_Test_123", "leftcert": "-----BEGIN#CERTIFICATE-----@MIIDWjCCAkKgAwIBAgIJAOikev2LeftCertDemoMA0GCSqGSIb3DQEBCwUAMDcxCzAJ@BgNVBAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgSUtFdjIg@Q0EwHhcNMjYwMjA2MTAzMTEwWhcNMzYwMjA0MTAzMTEwWjA4MQswCQYDVQQGEwJD@TjEOMAwGA1UECgwFaUt1YWkxGTAXBgNVBAMMEHZwbi5leGFtcGxlLmNvbTCCASIw@DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKikev2LeftCertDemoData11111@2222222222222222222222222222222222222222222222222222222222222222@3333333333333333333333333333333333333333333333333333333333333333@AgMBAAGjUDBOMB0GA1UdDgQWBBRikev2LeftCertDemo111111111111111111111@MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAAaaaabbbbccccdddd@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@-----END#CERTIFICATE-----@" }, "default": { "enabled": "no", "authby": "mschapv2", "addrpool": "10.6.1.0/24", "secret": "codex_Test_123", "leftid": "vpn.example.com", "rightid": "", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "share_deny": 0, "mtu": 1400, "privatekey": "codex_Test_123", "leftcert": "-----BEGIN#CERTIFICATE-----@MIIDWjCCAkKgAwIBAgIJAOikev2LeftCertDemoMA0GCSqGSIb3DQEBCwUAMDcxCzAJ@BgNVBAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgSUtFdjIg@Q0EwHhcNMjYwMjA2MTAzMTEwWhcNMzYwMjA0MTAzMTEwWjA4MQswCQYDVQQGEwJD@TjEOMAwGA1UECgwFaUt1YWkxGTAXBgNVBAMMEHZwbi5leGFtcGxlLmNvbTCCASIw@DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKikev2LeftCertDemoData11111@2222222222222222222222222222222222222222222222222222222222222222@3333333333333333333333333333333333333333333333333333333333333333@AgMBAAGjUDBOMB0GA1UdDgQWBBRikev2LeftCertDemo111111111111111111111@MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAAaaaabbbbccccdddd@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@-----END#CERTIFICATE-----@" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ike_server/save", "value": { "func_name": "ike_server", "action": "save", "param": { "enabled": "no", "authby": "mschapv2", "addrpool": "10.6.1.0/24", "secret": "codex_Test_123", "leftid": "vpn.example.com", "rightid": "", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "share_deny": 0, "mtu": 1400, "privatekey": "codex_Test_123", "leftcert": "-----BEGIN#CERTIFICATE-----@MIIDWjCCAkKgAwIBAgIJAOikev2LeftCertDemoMA0GCSqGSIb3DQEBCwUAMDcxCzAJ@BgNVBAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgSUtFdjIg@Q0EwHhcNMjYwMjA2MTAzMTEwWhcNMzYwMjA0MTAzMTEwWjA4MQswCQYDVQQGEwJD@TjEOMAwGA1UECgwFaUt1YWkxGTAXBgNVBAMMEHZwbi5leGFtcGxlLmNvbTCCASIw@DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKikev2LeftCertDemoData11111@2222222222222222222222222222222222222222222222222222222222222222@3333333333333333333333333333333333333333333333333333333333333333@AgMBAAGjUDBOMB0GA1UdDgQWBBRikev2LeftCertDemo111111111111111111111@MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAAaaaabbbbccccdddd@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@-----END#CERTIFICATE-----@" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ike_server", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "authby": "mschapv2", "addrpool": "10.6.1.0/24", "secret": "codex_Test_123", "leftid": "vpn.example.com", "rightid": "", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "share_deny": 0, "mtu": 1400, "privatekey": "codex_Test_123", "leftcert": "-----BEGIN#CERTIFICATE-----@MIIDWjCCAkKgAwIBAgIJAOikev2LeftCertDemoMA0GCSqGSIb3DQEBCwUAMDcxCzAJ@BgNVBAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgSUtFdjIg@Q0EwHhcNMjYwMjA2MTAzMTEwWhcNMzYwMjA0MTAzMTEwWjA4MQswCQYDVQQGEwJD@TjEOMAwGA1UECgwFaUt1YWkxGTAXBgNVBAMMEHZwbi5leGFtcGxlLmNvbTCCASIw@DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKikev2LeftCertDemoData11111@2222222222222222222222222222222222222222222222222222222222222222@3333333333333333333333333333333333333333333333333333333333333333@AgMBAAGjUDBOMB0GA1UdDgQWBBRikev2LeftCertDemo111111111111111111111@MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAAaaaabbbbccccdddd@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@-----END#CERTIFICATE-----@" }, "x-ikuai-source": { "spec_file": "vpn/auth-ikev2-server.json", "method": "put", "path": "/api/v4.0/vpn/ikev2/services", "operationId": "updateIkev2ServerConfig", "summary": "更新IKEv2/IPSec服务器配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listIpsecClients": { "post": { "tags": [ "IPSEC VPN客户端管理API" ], "summary": "获取IPSEC客户端列表", "operationId": "call_listIpsecClients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/ipsec/clients`\n- 来源文件: `vpn/network-ipsec-vpn.json`\n- func_name: `ipsec-vpn`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ipsec-vpn" ], "example": "ipsec-vpn" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ipsec-vpn/show", "value": { "func_name": "ipsec-vpn", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ipsec-vpn", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "vpn/network-ipsec-vpn.json", "method": "get", "path": "/api/v4.0/vpn/ipsec/clients", "operationId": "listIpsecClients", "summary": "获取IPSEC客户端列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createIpsecClient": { "post": { "tags": [ "IPSEC VPN客户端管理API" ], "summary": "创建IPSEC客户端", "operationId": "call_createIpsecClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/vpn/ipsec/clients`\n- 来源文件: `vpn/network-ipsec-vpn.json`\n- func_name: `ipsec-vpn`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ipsec-vpn" ], "example": "ipsec-vpn" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.ikuai.cn", "authby": "secret", "leftsubnet": "192.0.2.254", "rightsubnet": "192.0.2.254", "interface": "wan1", "enabled": "no", "keyexchange": "ikev2", "aggressive": "0", "ikelifetime": 3, "ike_enc": "aes256", "ike_auth": "sha256", "ike_dh": "modp2048", "secret": "codex_Test_123", "lifetime": 1, "esp_enc": "aes256", "esp_auth": "sha256", "dpdaction": "none", "compress": "0" }, "default": { "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.ikuai.cn", "authby": "secret", "leftsubnet": "192.0.2.254", "rightsubnet": "192.0.2.254", "interface": "wan1", "enabled": "no", "keyexchange": "ikev2", "aggressive": "0", "ikelifetime": 3, "ike_enc": "aes256", "ike_auth": "sha256", "ike_dh": "modp2048", "secret": "codex_Test_123", "lifetime": 1, "esp_enc": "aes256", "esp_auth": "sha256", "dpdaction": "none", "compress": "0" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ipsec-vpn/add", "value": { "func_name": "ipsec-vpn", "action": "add", "param": { "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.ikuai.cn", "authby": "secret", "leftsubnet": "192.0.2.254", "rightsubnet": "192.0.2.254", "interface": "wan1", "enabled": "no", "keyexchange": "ikev2", "aggressive": "0", "ikelifetime": 3, "ike_enc": "aes256", "ike_auth": "sha256", "ike_dh": "modp2048", "secret": "codex_Test_123", "lifetime": 1, "esp_enc": "aes256", "esp_auth": "sha256", "dpdaction": "none", "compress": "0" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ipsec-vpn", "x-ikuai-action": "add", "x-ikuai-param-example": { "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.ikuai.cn", "authby": "secret", "leftsubnet": "192.0.2.254", "rightsubnet": "192.0.2.254", "interface": "wan1", "enabled": "no", "keyexchange": "ikev2", "aggressive": "0", "ikelifetime": 3, "ike_enc": "aes256", "ike_auth": "sha256", "ike_dh": "modp2048", "secret": "codex_Test_123", "lifetime": 1, "esp_enc": "aes256", "esp_auth": "sha256", "dpdaction": "none", "compress": "0" }, "x-ikuai-source": { "spec_file": "vpn/network-ipsec-vpn.json", "method": "post", "path": "/api/v4.0/vpn/ipsec/clients", "operationId": "createIpsecClient", "summary": "创建IPSEC客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listL2tpClients": { "post": { "tags": [ "L2TP VPN客户端管理API" ], "summary": "获取L2TP客户端列表", "operationId": "call_listL2tpClients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/l2tp/clients`\n- 来源文件: `vpn/network-l2tp-client.json`\n- func_name: `l2tp_client`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "l2tp_client" ], "example": "l2tp_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "l2tp_client/show", "value": { "func_name": "l2tp_client", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "l2tp_client", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "vpn/network-l2tp-client.json", "method": "get", "path": "/api/v4.0/vpn/l2tp/clients", "operationId": "listL2tpClients", "summary": "获取L2TP客户端列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createL2tpClient": { "post": { "tags": [ "L2TP VPN客户端管理API" ], "summary": "创建L2TP客户端", "operationId": "call_createL2tpClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/vpn/l2tp/clients`\n- 来源文件: `vpn/network-l2tp-client.json`\n- func_name: `l2tp_client`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "l2tp_client" ], "example": "l2tp_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "server": "vpn.example.com", "server_port": 1701, "username": "codex_test_user", "passwd": "codex_Test_123", "ipsec_secret": "ipseckey123", "interface": "wan1", "leftid": "locall2tp", "rightid": "remotel2tp", "upload": 10000, "download": 50000, "mtu": 1400, "mru": 1400, "check_link_mode": 2, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "timing_rst_week": "1234567", "timing_rst_time": "12:00", "cycle_rst_time": 0 }, "default": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "server": "vpn.example.com", "server_port": 1701, "username": "codex_test_user", "passwd": "codex_Test_123", "ipsec_secret": "ipseckey123", "interface": "wan1", "leftid": "locall2tp", "rightid": "remotel2tp", "upload": 10000, "download": 50000, "mtu": 1400, "mru": 1400, "check_link_mode": 2, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "timing_rst_week": "1234567", "timing_rst_time": "12:00", "cycle_rst_time": 0 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "l2tp_client/add", "value": { "func_name": "l2tp_client", "action": "add", "param": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "server": "vpn.example.com", "server_port": 1701, "username": "codex_test_user", "passwd": "codex_Test_123", "ipsec_secret": "ipseckey123", "interface": "wan1", "leftid": "locall2tp", "rightid": "remotel2tp", "upload": 10000, "download": 50000, "mtu": 1400, "mru": 1400, "check_link_mode": 2, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "timing_rst_week": "1234567", "timing_rst_time": "12:00", "cycle_rst_time": 0 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "l2tp_client", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "server": "vpn.example.com", "server_port": 1701, "username": "codex_test_user", "passwd": "codex_Test_123", "ipsec_secret": "ipseckey123", "interface": "wan1", "leftid": "locall2tp", "rightid": "remotel2tp", "upload": 10000, "download": 50000, "mtu": 1400, "mru": 1400, "check_link_mode": 2, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "timing_rst_week": "1234567", "timing_rst_time": "12:00", "cycle_rst_time": 0 }, "x-ikuai-source": { "spec_file": "vpn/network-l2tp-client.json", "method": "post", "path": "/api/v4.0/vpn/l2tp/clients", "operationId": "createL2tpClient", "summary": "创建L2TP客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getL2tpServerConfig": { "post": { "tags": [ "L2TP服务器管理API" ], "summary": "获取L2TP服务器配置", "operationId": "call_getL2tpServerConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/l2tp/services`\n- 来源文件: `vpn/auth-l2tp.json`\n- func_name: `l2tp_server`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "l2tp_server" ], "example": "l2tp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "l2tp_server/show", "value": { "func_name": "l2tp_server", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "l2tp_server", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "vpn/auth-l2tp.json", "method": "get", "path": "/api/v4.0/vpn/l2tp/services", "operationId": "getL2tpServerConfig", "summary": "获取L2TP服务器配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateL2tpServerConfig": { "post": { "tags": [ "L2TP服务器管理API" ], "summary": "更新L2TP服务器配置", "operationId": "call_updateL2tpServerConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/vpn/l2tp/services`\n- 来源文件: `vpn/auth-l2tp.json`\n- func_name: `l2tp_server`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "l2tp_server" ], "example": "l2tp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "server_ip": "10.1.0.1", "server_port": 1701, "addr_pool": "10.1.0.2-10.1.0.254", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "mtu": 1400, "mru": 1400, "ipsec_secret": "mysecret", "leftid": "vpn.example.com", "rightid": "", "force_ipsec": 1 }, "default": { "enabled": "no", "server_ip": "10.1.0.1", "server_port": 1701, "addr_pool": "10.1.0.2-10.1.0.254", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "mtu": 1400, "mru": 1400, "ipsec_secret": "mysecret", "leftid": "vpn.example.com", "rightid": "", "force_ipsec": 1 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "l2tp_server/save", "value": { "func_name": "l2tp_server", "action": "save", "param": { "enabled": "no", "server_ip": "10.1.0.1", "server_port": 1701, "addr_pool": "10.1.0.2-10.1.0.254", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "mtu": 1400, "mru": 1400, "ipsec_secret": "mysecret", "leftid": "vpn.example.com", "rightid": "", "force_ipsec": 1 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "l2tp_server", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "server_ip": "10.1.0.1", "server_port": 1701, "addr_pool": "10.1.0.2-10.1.0.254", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "mtu": 1400, "mru": 1400, "ipsec_secret": "mysecret", "leftid": "vpn.example.com", "rightid": "", "force_ipsec": 1 }, "x-ikuai-source": { "spec_file": "vpn/auth-l2tp.json", "method": "put", "path": "/api/v4.0/vpn/l2tp/services", "operationId": "updateL2tpServerConfig", "summary": "更新L2TP服务器配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listOpenvpnClients": { "post": { "tags": [ "OpenVPN客户端管理API" ], "summary": "获取OpenVPN客户端列表", "operationId": "call_listOpenvpnClients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/openvpn/clients`\n- 来源文件: `vpn/network-openvpn-client.json`\n- func_name: `openvpn-client`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "openvpn-client" ], "example": "openvpn-client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500" }, "default": { "TYPE": "total,data", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "openvpn-client/show", "value": { "func_name": "openvpn-client", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "openvpn-client", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "vpn/network-openvpn-client.json", "method": "get", "path": "/api/v4.0/vpn/openvpn/clients", "operationId": "listOpenvpnClients", "summary": "获取OpenVPN客户端列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createOpenvpnClient": { "post": { "tags": [ "OpenVPN客户端管理API" ], "summary": "创建OpenVPN客户端", "operationId": "call_createOpenvpnClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/vpn/openvpn/clients`\n- 来源文件: `vpn/network-openvpn-client.json`\n- func_name: `openvpn-client`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "openvpn-client" ], "example": "openvpn-client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.ikuai.cn", "remote_port": 1194, "method": 0, "username": "codex_test_user", "password": "codex_Test_123", "interface": "wan1", "proto": "udp", "dev_type": "tun", "cipher": "AES-256-CBC", "comp_lzo": "1", "tun_mtu": 1400, "ca": "-----BEGIN#CERTIFICATE-----@MIIDQTCCAimgAwIBAgIJAMqVcmi6/37xMA0GCSqGSIb3DQEBCwUAMDcxCzAJBgNV@BAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgRGV2aWNlIENB@MB4XDTI2MDIwNjEwMzExMFoXDTM2MDIwNDEwMzExMFowNzELMAkGA1UEBhMCQ04x@DjAMBgNVBAoMBWlLdWFpMRgwFgYDVQQDDA9pS3VhaSBEZXZpY2UgQ0EwggEiMA0G@CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeCJGD4jX3PY5IdOYRv0gxfYPYikOc@hQkF5XAWQZgFxnuelDEkzl7RCOFVqsnwY/npOzI7VSsyLACPNkOdvyEvO+QGfRli@3zx0EfwRHGhLQbt/TDT0D9IZCab2oswdYjORtXcIe5dT3j2i8M2vv6wnJ7ip8GKu@ahfgJzakBZIRcQyEopTCmNbC5VAdCb/gQ0ezPnogPG6pbxxgE8OJIGH0+IgMFFTv@0wKVOCyHJgZNAZNnzP3yi5SCJvBnfU4wadXDAztGtq5El5l2lBP7s3KH65u0M/46@wo5NHyxZhn+M8S86EE4RkAeHI+1FqJASjW9ivNTRphFZMyW/Q4qbdEtrAgMBAAGj@UDBOMB0GA1UdDgQWBBRYp/q+2podeA2lc3khLBN+RGf+5TAfBgNVHSMEGDAWgBRY@p/q+2podeA2lc3khLBN+RGf+5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA@A4IBAQCHj5mxVYnaQcvMpjpWdXBS6XVpdiRpuqzRoqOYEnhzXOwwqnJ/EkJwa0RH@wFZUZrQC9bbxnIz+9kmlQKoTwtzzd9GVZeb3JeU9fcd/1BJdRLRiqqXw1EW0+QOV@7NCP1NqVMUsornypW1Y0JPcNfcvx/+oQXIIsS3EjOn+ye3ZASSRNi6+4zXNX2l53@8revjpAVnww0FS/zDeFGD9c9n6aYxvLxqXaBgNO3eOb2EAQAuNwncOvXZ9hBY8rz@A9jTuDVM1inhzROPguwt+j2moZedLm8DRgQxHjIkVvIOsq/50ApOVlGBCHjGJsay@tj3+p42yHrbmuCKvE6cCc0m2fhpw@-----END#CERTIFICATE-----@", "accept_push_route": "0", "route": "", "timing_rst_switch": "0", "check_link_mode": 1, "check_link_host": "www.baidu.com", "extra_config": "" }, "default": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.ikuai.cn", "remote_port": 1194, "method": 0, "username": "codex_test_user", "password": "codex_Test_123", "interface": "wan1", "proto": "udp", "dev_type": "tun", "cipher": "AES-256-CBC", "comp_lzo": "1", "tun_mtu": 1400, "ca": "-----BEGIN#CERTIFICATE-----@MIIDQTCCAimgAwIBAgIJAMqVcmi6/37xMA0GCSqGSIb3DQEBCwUAMDcxCzAJBgNV@BAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgRGV2aWNlIENB@MB4XDTI2MDIwNjEwMzExMFoXDTM2MDIwNDEwMzExMFowNzELMAkGA1UEBhMCQ04x@DjAMBgNVBAoMBWlLdWFpMRgwFgYDVQQDDA9pS3VhaSBEZXZpY2UgQ0EwggEiMA0G@CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeCJGD4jX3PY5IdOYRv0gxfYPYikOc@hQkF5XAWQZgFxnuelDEkzl7RCOFVqsnwY/npOzI7VSsyLACPNkOdvyEvO+QGfRli@3zx0EfwRHGhLQbt/TDT0D9IZCab2oswdYjORtXcIe5dT3j2i8M2vv6wnJ7ip8GKu@ahfgJzakBZIRcQyEopTCmNbC5VAdCb/gQ0ezPnogPG6pbxxgE8OJIGH0+IgMFFTv@0wKVOCyHJgZNAZNnzP3yi5SCJvBnfU4wadXDAztGtq5El5l2lBP7s3KH65u0M/46@wo5NHyxZhn+M8S86EE4RkAeHI+1FqJASjW9ivNTRphFZMyW/Q4qbdEtrAgMBAAGj@UDBOMB0GA1UdDgQWBBRYp/q+2podeA2lc3khLBN+RGf+5TAfBgNVHSMEGDAWgBRY@p/q+2podeA2lc3khLBN+RGf+5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA@A4IBAQCHj5mxVYnaQcvMpjpWdXBS6XVpdiRpuqzRoqOYEnhzXOwwqnJ/EkJwa0RH@wFZUZrQC9bbxnIz+9kmlQKoTwtzzd9GVZeb3JeU9fcd/1BJdRLRiqqXw1EW0+QOV@7NCP1NqVMUsornypW1Y0JPcNfcvx/+oQXIIsS3EjOn+ye3ZASSRNi6+4zXNX2l53@8revjpAVnww0FS/zDeFGD9c9n6aYxvLxqXaBgNO3eOb2EAQAuNwncOvXZ9hBY8rz@A9jTuDVM1inhzROPguwt+j2moZedLm8DRgQxHjIkVvIOsq/50ApOVlGBCHjGJsay@tj3+p42yHrbmuCKvE6cCc0m2fhpw@-----END#CERTIFICATE-----@", "accept_push_route": "0", "route": "", "timing_rst_switch": "0", "check_link_mode": 1, "check_link_host": "www.baidu.com", "extra_config": "" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "openvpn-client/add", "value": { "func_name": "openvpn-client", "action": "add", "param": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.ikuai.cn", "remote_port": 1194, "method": 0, "username": "codex_test_user", "password": "codex_Test_123", "interface": "wan1", "proto": "udp", "dev_type": "tun", "cipher": "AES-256-CBC", "comp_lzo": "1", "tun_mtu": 1400, "ca": "-----BEGIN#CERTIFICATE-----@MIIDQTCCAimgAwIBAgIJAMqVcmi6/37xMA0GCSqGSIb3DQEBCwUAMDcxCzAJBgNV@BAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgRGV2aWNlIENB@MB4XDTI2MDIwNjEwMzExMFoXDTM2MDIwNDEwMzExMFowNzELMAkGA1UEBhMCQ04x@DjAMBgNVBAoMBWlLdWFpMRgwFgYDVQQDDA9pS3VhaSBEZXZpY2UgQ0EwggEiMA0G@CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeCJGD4jX3PY5IdOYRv0gxfYPYikOc@hQkF5XAWQZgFxnuelDEkzl7RCOFVqsnwY/npOzI7VSsyLACPNkOdvyEvO+QGfRli@3zx0EfwRHGhLQbt/TDT0D9IZCab2oswdYjORtXcIe5dT3j2i8M2vv6wnJ7ip8GKu@ahfgJzakBZIRcQyEopTCmNbC5VAdCb/gQ0ezPnogPG6pbxxgE8OJIGH0+IgMFFTv@0wKVOCyHJgZNAZNnzP3yi5SCJvBnfU4wadXDAztGtq5El5l2lBP7s3KH65u0M/46@wo5NHyxZhn+M8S86EE4RkAeHI+1FqJASjW9ivNTRphFZMyW/Q4qbdEtrAgMBAAGj@UDBOMB0GA1UdDgQWBBRYp/q+2podeA2lc3khLBN+RGf+5TAfBgNVHSMEGDAWgBRY@p/q+2podeA2lc3khLBN+RGf+5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA@A4IBAQCHj5mxVYnaQcvMpjpWdXBS6XVpdiRpuqzRoqOYEnhzXOwwqnJ/EkJwa0RH@wFZUZrQC9bbxnIz+9kmlQKoTwtzzd9GVZeb3JeU9fcd/1BJdRLRiqqXw1EW0+QOV@7NCP1NqVMUsornypW1Y0JPcNfcvx/+oQXIIsS3EjOn+ye3ZASSRNi6+4zXNX2l53@8revjpAVnww0FS/zDeFGD9c9n6aYxvLxqXaBgNO3eOb2EAQAuNwncOvXZ9hBY8rz@A9jTuDVM1inhzROPguwt+j2moZedLm8DRgQxHjIkVvIOsq/50ApOVlGBCHjGJsay@tj3+p42yHrbmuCKvE6cCc0m2fhpw@-----END#CERTIFICATE-----@", "accept_push_route": "0", "route": "", "timing_rst_switch": "0", "check_link_mode": 1, "check_link_host": "www.baidu.com", "extra_config": "" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "openvpn-client", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.ikuai.cn", "remote_port": 1194, "method": 0, "username": "codex_test_user", "password": "codex_Test_123", "interface": "wan1", "proto": "udp", "dev_type": "tun", "cipher": "AES-256-CBC", "comp_lzo": "1", "tun_mtu": 1400, "ca": "-----BEGIN#CERTIFICATE-----@MIIDQTCCAimgAwIBAgIJAMqVcmi6/37xMA0GCSqGSIb3DQEBCwUAMDcxCzAJBgNV@BAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgRGV2aWNlIENB@MB4XDTI2MDIwNjEwMzExMFoXDTM2MDIwNDEwMzExMFowNzELMAkGA1UEBhMCQ04x@DjAMBgNVBAoMBWlLdWFpMRgwFgYDVQQDDA9pS3VhaSBEZXZpY2UgQ0EwggEiMA0G@CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeCJGD4jX3PY5IdOYRv0gxfYPYikOc@hQkF5XAWQZgFxnuelDEkzl7RCOFVqsnwY/npOzI7VSsyLACPNkOdvyEvO+QGfRli@3zx0EfwRHGhLQbt/TDT0D9IZCab2oswdYjORtXcIe5dT3j2i8M2vv6wnJ7ip8GKu@ahfgJzakBZIRcQyEopTCmNbC5VAdCb/gQ0ezPnogPG6pbxxgE8OJIGH0+IgMFFTv@0wKVOCyHJgZNAZNnzP3yi5SCJvBnfU4wadXDAztGtq5El5l2lBP7s3KH65u0M/46@wo5NHyxZhn+M8S86EE4RkAeHI+1FqJASjW9ivNTRphFZMyW/Q4qbdEtrAgMBAAGj@UDBOMB0GA1UdDgQWBBRYp/q+2podeA2lc3khLBN+RGf+5TAfBgNVHSMEGDAWgBRY@p/q+2podeA2lc3khLBN+RGf+5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA@A4IBAQCHj5mxVYnaQcvMpjpWdXBS6XVpdiRpuqzRoqOYEnhzXOwwqnJ/EkJwa0RH@wFZUZrQC9bbxnIz+9kmlQKoTwtzzd9GVZeb3JeU9fcd/1BJdRLRiqqXw1EW0+QOV@7NCP1NqVMUsornypW1Y0JPcNfcvx/+oQXIIsS3EjOn+ye3ZASSRNi6+4zXNX2l53@8revjpAVnww0FS/zDeFGD9c9n6aYxvLxqXaBgNO3eOb2EAQAuNwncOvXZ9hBY8rz@A9jTuDVM1inhzROPguwt+j2moZedLm8DRgQxHjIkVvIOsq/50ApOVlGBCHjGJsay@tj3+p42yHrbmuCKvE6cCc0m2fhpw@-----END#CERTIFICATE-----@", "accept_push_route": "0", "route": "", "timing_rst_switch": "0", "check_link_mode": 1, "check_link_host": "www.baidu.com", "extra_config": "" }, "x-ikuai-source": { "spec_file": "vpn/network-openvpn-client.json", "method": "post", "path": "/api/v4.0/vpn/openvpn/clients", "operationId": "createOpenvpnClient", "summary": "创建OpenVPN客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getOpenVpnServerConfig": { "post": { "tags": [ "OpenVPN服务器管理API" ], "summary": "获取OpenVPN服务器配置", "operationId": "call_getOpenVpnServerConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/openvpn/services`\n- 来源文件: `vpn/auth-openvpn.json`\n- func_name: `openvpn-server`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "openvpn-server" ], "example": "openvpn-server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "openvpn-server/show", "value": { "func_name": "openvpn-server", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "openvpn-server", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "vpn/auth-openvpn.json", "method": "get", "path": "/api/v4.0/vpn/openvpn/services", "operationId": "getOpenVpnServerConfig", "summary": "获取OpenVPN服务器配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateOpenVpnServerConfig": { "post": { "tags": [ "OpenVPN服务器管理API" ], "summary": "更新OpenVPN服务器配置", "operationId": "call_updateOpenVpnServerConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/vpn/openvpn/services`\n- 来源文件: `vpn/auth-openvpn.json`\n- func_name: `openvpn-server`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "openvpn-server" ], "example": "openvpn-server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "proto": "udp", "port": "1194", "subnet": "10.7.7.0", "mask": "255.255.255.0", "tun_mtu": "1400", "cipher": "BF-CBC", "comp_lzo": "1", "dev_type": "tun", "topology": "subnet", "method": 0, "tls_auth": "-----BEGIN#OpenVPN#Static#key#V1-----@2048#bit#OpenVPN#static#key@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@-----END#OpenVPN#Static#key#V1-----@", "ca": "-----BEGIN#CERTIFICATE-----@MIIDQTCCAimgAwIBAgIJAMqVcmi6/37xMA0GCSqGSIb3DQEBCwUAMDcxCzAJBgNV@BAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgRGV2aWNlIENB@MB4XDTI2MDIwNjEwMzExMFoXDTM2MDIwNDEwMzExMFowNzELMAkGA1UEBhMCQ04x@DjAMBgNVBAoMBWlLdWFpMRgwFgYDVQQDDA9pS3VhaSBEZXZpY2UgQ0EwggEiMA0G@CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeCJGD4jX3PY5IdOYRv0gxfYPYikOc@hQkF5XAWQZgFxnuelDEkzl7RCOFVqsnwY/npOzI7VSsyLACPNkOdvyEvO+QGfRli@3zx0EfwRHGhLQbt/TDT0D9IZCab2oswdYjORtXcIe5dT3j2i8M2vv6wnJ7ip8GKu@ahfgJzakBZIRcQyEopTCmNbC5VAdCb/gQ0ezPnogPG6pbxxgE8OJIGH0+IgMFFTv@0wKVOCyHJgZNAZNnzP3yi5SCJvBnfU4wadXDAztGtq5El5l2lBP7s3KH65u0M/46@wo5NHyxZhn+M8S86EE4RkAeHI+1FqJASjW9ivNTRphFZMyW/Q4qbdEtrAgMBAAGj@UDBOMB0GA1UdDgQWBBRYp/q+2podeA2lc3khLBN+RGf+5TAfBgNVHSMEGDAWgBRY@p/q+2podeA2lc3khLBN+RGf+5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA@A4IBAQCHj5mxVYnaQcvMpjpWdXBS6XVpdiRpuqzRoqOYEnhzXOwwqnJ/EkJwa0RH@wFZUZrQC9bbxnIz+9kmlQKoTwtzzd9GVZeb3JeU9fcd/1BJdRLRiqqXw1EW0+QOV@7NCP1NqVMUsornypW1Y0JPcNfcvx/+oQXIIsS3EjOn+ye3ZASSRNi6+4zXNX2l53@8revjpAVnww0FS/zDeFGD9c9n6aYxvLxqXaBgNO3eOb2EAQAuNwncOvXZ9hBY8rz@A9jTuDVM1inhzROPguwt+j2moZedLm8DRgQxHjIkVvIOsq/50ApOVlGBCHjGJsay@tj3+p42yHrbmuCKvE6cCc0m2fhpw@-----END#CERTIFICATE-----@", "cert": "-----BEGIN#CERTIFICATE-----@MIIDWjCCAkKgAwIBAgIJAOserverCertDemoMA0GCSqGSIb3DQEBCwUAMDcxCzAJ@BgNVBAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgU2VydmVy@Q0EwHhcNMjYwMjA2MTAzMTEwWhcNMzYwMjA0MTAzMTEwWjA6MQswCQYDVQQGEwJD@TjEOMAwGA1UECgwFaUt1YWkxGzAZBgNVBAMMEm9wZW52cG4tc2VydmVyLWNlcnQw@ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCserverCertDemoData@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@AgMBAAGjUDBOMB0GA1UdDgQWBBSserverCertDemo1111111111111111111111@MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAAaabbbbccccdddd@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@-----END#CERTIFICATE-----@", "key": "-----BEGIN#RSA#PRIVATE#KEY-----@MIIEowIBAAKCAQEAsserverPrivateKeyDemoData1111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@3333333333333333333333333333333333333333333333333333333333333333@AoIBAFserverPrivateKeyDemoPayload444444444444444444444444444444444@5555555555555555555555555555555555555555555555555555555555555555@6666666666666666666666666666666666666666666666666666666666666666@-----END#RSA#PRIVATE#KEY-----@", "push_gateway": "0", "push_route": "10.7.0.0/16", "push_dns": "8.8.8.8", "extra_config": "" }, "default": { "enabled": "no", "proto": "udp", "port": "1194", "subnet": "10.7.7.0", "mask": "255.255.255.0", "tun_mtu": "1400", "cipher": "BF-CBC", "comp_lzo": "1", "dev_type": "tun", "topology": "subnet", "method": 0, "tls_auth": "-----BEGIN#OpenVPN#Static#key#V1-----@2048#bit#OpenVPN#static#key@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@-----END#OpenVPN#Static#key#V1-----@", "ca": "-----BEGIN#CERTIFICATE-----@MIIDQTCCAimgAwIBAgIJAMqVcmi6/37xMA0GCSqGSIb3DQEBCwUAMDcxCzAJBgNV@BAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgRGV2aWNlIENB@MB4XDTI2MDIwNjEwMzExMFoXDTM2MDIwNDEwMzExMFowNzELMAkGA1UEBhMCQ04x@DjAMBgNVBAoMBWlLdWFpMRgwFgYDVQQDDA9pS3VhaSBEZXZpY2UgQ0EwggEiMA0G@CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeCJGD4jX3PY5IdOYRv0gxfYPYikOc@hQkF5XAWQZgFxnuelDEkzl7RCOFVqsnwY/npOzI7VSsyLACPNkOdvyEvO+QGfRli@3zx0EfwRHGhLQbt/TDT0D9IZCab2oswdYjORtXcIe5dT3j2i8M2vv6wnJ7ip8GKu@ahfgJzakBZIRcQyEopTCmNbC5VAdCb/gQ0ezPnogPG6pbxxgE8OJIGH0+IgMFFTv@0wKVOCyHJgZNAZNnzP3yi5SCJvBnfU4wadXDAztGtq5El5l2lBP7s3KH65u0M/46@wo5NHyxZhn+M8S86EE4RkAeHI+1FqJASjW9ivNTRphFZMyW/Q4qbdEtrAgMBAAGj@UDBOMB0GA1UdDgQWBBRYp/q+2podeA2lc3khLBN+RGf+5TAfBgNVHSMEGDAWgBRY@p/q+2podeA2lc3khLBN+RGf+5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA@A4IBAQCHj5mxVYnaQcvMpjpWdXBS6XVpdiRpuqzRoqOYEnhzXOwwqnJ/EkJwa0RH@wFZUZrQC9bbxnIz+9kmlQKoTwtzzd9GVZeb3JeU9fcd/1BJdRLRiqqXw1EW0+QOV@7NCP1NqVMUsornypW1Y0JPcNfcvx/+oQXIIsS3EjOn+ye3ZASSRNi6+4zXNX2l53@8revjpAVnww0FS/zDeFGD9c9n6aYxvLxqXaBgNO3eOb2EAQAuNwncOvXZ9hBY8rz@A9jTuDVM1inhzROPguwt+j2moZedLm8DRgQxHjIkVvIOsq/50ApOVlGBCHjGJsay@tj3+p42yHrbmuCKvE6cCc0m2fhpw@-----END#CERTIFICATE-----@", "cert": "-----BEGIN#CERTIFICATE-----@MIIDWjCCAkKgAwIBAgIJAOserverCertDemoMA0GCSqGSIb3DQEBCwUAMDcxCzAJ@BgNVBAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgU2VydmVy@Q0EwHhcNMjYwMjA2MTAzMTEwWhcNMzYwMjA0MTAzMTEwWjA6MQswCQYDVQQGEwJD@TjEOMAwGA1UECgwFaUt1YWkxGzAZBgNVBAMMEm9wZW52cG4tc2VydmVyLWNlcnQw@ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCserverCertDemoData@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@AgMBAAGjUDBOMB0GA1UdDgQWBBSserverCertDemo1111111111111111111111@MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAAaabbbbccccdddd@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@-----END#CERTIFICATE-----@", "key": "-----BEGIN#RSA#PRIVATE#KEY-----@MIIEowIBAAKCAQEAsserverPrivateKeyDemoData1111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@3333333333333333333333333333333333333333333333333333333333333333@AoIBAFserverPrivateKeyDemoPayload444444444444444444444444444444444@5555555555555555555555555555555555555555555555555555555555555555@6666666666666666666666666666666666666666666666666666666666666666@-----END#RSA#PRIVATE#KEY-----@", "push_gateway": "0", "push_route": "10.7.0.0/16", "push_dns": "8.8.8.8", "extra_config": "" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "openvpn-server/save", "value": { "func_name": "openvpn-server", "action": "save", "param": { "enabled": "no", "proto": "udp", "port": "1194", "subnet": "10.7.7.0", "mask": "255.255.255.0", "tun_mtu": "1400", "cipher": "BF-CBC", "comp_lzo": "1", "dev_type": "tun", "topology": "subnet", "method": 0, "tls_auth": "-----BEGIN#OpenVPN#Static#key#V1-----@2048#bit#OpenVPN#static#key@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@-----END#OpenVPN#Static#key#V1-----@", "ca": "-----BEGIN#CERTIFICATE-----@MIIDQTCCAimgAwIBAgIJAMqVcmi6/37xMA0GCSqGSIb3DQEBCwUAMDcxCzAJBgNV@BAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgRGV2aWNlIENB@MB4XDTI2MDIwNjEwMzExMFoXDTM2MDIwNDEwMzExMFowNzELMAkGA1UEBhMCQ04x@DjAMBgNVBAoMBWlLdWFpMRgwFgYDVQQDDA9pS3VhaSBEZXZpY2UgQ0EwggEiMA0G@CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeCJGD4jX3PY5IdOYRv0gxfYPYikOc@hQkF5XAWQZgFxnuelDEkzl7RCOFVqsnwY/npOzI7VSsyLACPNkOdvyEvO+QGfRli@3zx0EfwRHGhLQbt/TDT0D9IZCab2oswdYjORtXcIe5dT3j2i8M2vv6wnJ7ip8GKu@ahfgJzakBZIRcQyEopTCmNbC5VAdCb/gQ0ezPnogPG6pbxxgE8OJIGH0+IgMFFTv@0wKVOCyHJgZNAZNnzP3yi5SCJvBnfU4wadXDAztGtq5El5l2lBP7s3KH65u0M/46@wo5NHyxZhn+M8S86EE4RkAeHI+1FqJASjW9ivNTRphFZMyW/Q4qbdEtrAgMBAAGj@UDBOMB0GA1UdDgQWBBRYp/q+2podeA2lc3khLBN+RGf+5TAfBgNVHSMEGDAWgBRY@p/q+2podeA2lc3khLBN+RGf+5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA@A4IBAQCHj5mxVYnaQcvMpjpWdXBS6XVpdiRpuqzRoqOYEnhzXOwwqnJ/EkJwa0RH@wFZUZrQC9bbxnIz+9kmlQKoTwtzzd9GVZeb3JeU9fcd/1BJdRLRiqqXw1EW0+QOV@7NCP1NqVMUsornypW1Y0JPcNfcvx/+oQXIIsS3EjOn+ye3ZASSRNi6+4zXNX2l53@8revjpAVnww0FS/zDeFGD9c9n6aYxvLxqXaBgNO3eOb2EAQAuNwncOvXZ9hBY8rz@A9jTuDVM1inhzROPguwt+j2moZedLm8DRgQxHjIkVvIOsq/50ApOVlGBCHjGJsay@tj3+p42yHrbmuCKvE6cCc0m2fhpw@-----END#CERTIFICATE-----@", "cert": "-----BEGIN#CERTIFICATE-----@MIIDWjCCAkKgAwIBAgIJAOserverCertDemoMA0GCSqGSIb3DQEBCwUAMDcxCzAJ@BgNVBAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgU2VydmVy@Q0EwHhcNMjYwMjA2MTAzMTEwWhcNMzYwMjA0MTAzMTEwWjA6MQswCQYDVQQGEwJD@TjEOMAwGA1UECgwFaUt1YWkxGzAZBgNVBAMMEm9wZW52cG4tc2VydmVyLWNlcnQw@ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCserverCertDemoData@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@AgMBAAGjUDBOMB0GA1UdDgQWBBSserverCertDemo1111111111111111111111@MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAAaabbbbccccdddd@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@-----END#CERTIFICATE-----@", "key": "-----BEGIN#RSA#PRIVATE#KEY-----@MIIEowIBAAKCAQEAsserverPrivateKeyDemoData1111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@3333333333333333333333333333333333333333333333333333333333333333@AoIBAFserverPrivateKeyDemoPayload444444444444444444444444444444444@5555555555555555555555555555555555555555555555555555555555555555@6666666666666666666666666666666666666666666666666666666666666666@-----END#RSA#PRIVATE#KEY-----@", "push_gateway": "0", "push_route": "10.7.0.0/16", "push_dns": "8.8.8.8", "extra_config": "" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "openvpn-server", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "proto": "udp", "port": "1194", "subnet": "10.7.7.0", "mask": "255.255.255.0", "tun_mtu": "1400", "cipher": "BF-CBC", "comp_lzo": "1", "dev_type": "tun", "topology": "subnet", "method": 0, "tls_auth": "-----BEGIN#OpenVPN#Static#key#V1-----@2048#bit#OpenVPN#static#key@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@11111111111111111111111111111111@-----END#OpenVPN#Static#key#V1-----@", "ca": "-----BEGIN#CERTIFICATE-----@MIIDQTCCAimgAwIBAgIJAMqVcmi6/37xMA0GCSqGSIb3DQEBCwUAMDcxCzAJBgNV@BAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgRGV2aWNlIENB@MB4XDTI2MDIwNjEwMzExMFoXDTM2MDIwNDEwMzExMFowNzELMAkGA1UEBhMCQ04x@DjAMBgNVBAoMBWlLdWFpMRgwFgYDVQQDDA9pS3VhaSBEZXZpY2UgQ0EwggEiMA0G@CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeCJGD4jX3PY5IdOYRv0gxfYPYikOc@hQkF5XAWQZgFxnuelDEkzl7RCOFVqsnwY/npOzI7VSsyLACPNkOdvyEvO+QGfRli@3zx0EfwRHGhLQbt/TDT0D9IZCab2oswdYjORtXcIe5dT3j2i8M2vv6wnJ7ip8GKu@ahfgJzakBZIRcQyEopTCmNbC5VAdCb/gQ0ezPnogPG6pbxxgE8OJIGH0+IgMFFTv@0wKVOCyHJgZNAZNnzP3yi5SCJvBnfU4wadXDAztGtq5El5l2lBP7s3KH65u0M/46@wo5NHyxZhn+M8S86EE4RkAeHI+1FqJASjW9ivNTRphFZMyW/Q4qbdEtrAgMBAAGj@UDBOMB0GA1UdDgQWBBRYp/q+2podeA2lc3khLBN+RGf+5TAfBgNVHSMEGDAWgBRY@p/q+2podeA2lc3khLBN+RGf+5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA@A4IBAQCHj5mxVYnaQcvMpjpWdXBS6XVpdiRpuqzRoqOYEnhzXOwwqnJ/EkJwa0RH@wFZUZrQC9bbxnIz+9kmlQKoTwtzzd9GVZeb3JeU9fcd/1BJdRLRiqqXw1EW0+QOV@7NCP1NqVMUsornypW1Y0JPcNfcvx/+oQXIIsS3EjOn+ye3ZASSRNi6+4zXNX2l53@8revjpAVnww0FS/zDeFGD9c9n6aYxvLxqXaBgNO3eOb2EAQAuNwncOvXZ9hBY8rz@A9jTuDVM1inhzROPguwt+j2moZedLm8DRgQxHjIkVvIOsq/50ApOVlGBCHjGJsay@tj3+p42yHrbmuCKvE6cCc0m2fhpw@-----END#CERTIFICATE-----@", "cert": "-----BEGIN#CERTIFICATE-----@MIIDWjCCAkKgAwIBAgIJAOserverCertDemoMA0GCSqGSIb3DQEBCwUAMDcxCzAJ@BgNVBAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgU2VydmVy@Q0EwHhcNMjYwMjA2MTAzMTEwWhcNMzYwMjA0MTAzMTEwWjA6MQswCQYDVQQGEwJD@TjEOMAwGA1UECgwFaUt1YWkxGzAZBgNVBAMMEm9wZW52cG4tc2VydmVyLWNlcnQw@ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCserverCertDemoData@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@AgMBAAGjUDBOMB0GA1UdDgQWBBSserverCertDemo1111111111111111111111@MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAAaabbbbccccdddd@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@-----END#CERTIFICATE-----@", "key": "-----BEGIN#RSA#PRIVATE#KEY-----@MIIEowIBAAKCAQEAsserverPrivateKeyDemoData1111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@3333333333333333333333333333333333333333333333333333333333333333@AoIBAFserverPrivateKeyDemoPayload444444444444444444444444444444444@5555555555555555555555555555555555555555555555555555555555555555@6666666666666666666666666666666666666666666666666666666666666666@-----END#RSA#PRIVATE#KEY-----@", "push_gateway": "0", "push_route": "10.7.0.0/16", "push_dns": "8.8.8.8", "extra_config": "" }, "x-ikuai-source": { "spec_file": "vpn/auth-openvpn.json", "method": "put", "path": "/api/v4.0/vpn/openvpn/services", "operationId": "updateOpenVpnServerConfig", "summary": "更新OpenVPN服务器配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listPptpClients": { "post": { "tags": [ "PPTP VPN客户端管理API" ], "summary": "获取PPTP客户端列表", "operationId": "call_listPptpClients", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/pptp/clients`\n- 来源文件: `vpn/network-pptp-client.json`\n- func_name: `pptp_client`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pptp_client" ], "example": "pptp_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pptp_client/show", "value": { "func_name": "pptp_client", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pptp_client", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "vpn/network-pptp-client.json", "method": "get", "path": "/api/v4.0/vpn/pptp/clients", "operationId": "listPptpClients", "summary": "获取PPTP客户端列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createPptpClient": { "post": { "tags": [ "PPTP VPN客户端管理API" ], "summary": "创建PPTP客户端", "operationId": "call_createPptpClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/vpn/pptp/clients`\n- 来源文件: `vpn/network-pptp-client.json`\n- func_name: `pptp_client`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pptp_client" ], "example": "pptp_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "server": "vpn.ikuai.cn", "server_port": 1723, "username": "codex_test_user", "passwd": "codex_Test_123", "interface": "wan1", "mtu": 1400, "mru": 1400, "check_link_mode": 2, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "timing_rst_week": "1234567", "timing_rst_time": "12:00", "cycle_rst_time": 0 }, "default": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "server": "vpn.ikuai.cn", "server_port": 1723, "username": "codex_test_user", "passwd": "codex_Test_123", "interface": "wan1", "mtu": 1400, "mru": 1400, "check_link_mode": 2, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "timing_rst_week": "1234567", "timing_rst_time": "12:00", "cycle_rst_time": 0 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pptp_client/add", "value": { "func_name": "pptp_client", "action": "add", "param": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "server": "vpn.ikuai.cn", "server_port": 1723, "username": "codex_test_user", "passwd": "codex_Test_123", "interface": "wan1", "mtu": 1400, "mru": 1400, "check_link_mode": 2, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "timing_rst_week": "1234567", "timing_rst_time": "12:00", "cycle_rst_time": 0 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pptp_client", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "name": "codex_test", "comment": "codex_test", "server": "vpn.ikuai.cn", "server_port": 1723, "username": "codex_test_user", "passwd": "codex_Test_123", "interface": "wan1", "mtu": 1400, "mru": 1400, "check_link_mode": 2, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "timing_rst_week": "1234567", "timing_rst_time": "12:00", "cycle_rst_time": 0 }, "x-ikuai-source": { "spec_file": "vpn/network-pptp-client.json", "method": "post", "path": "/api/v4.0/vpn/pptp/clients", "operationId": "createPptpClient", "summary": "创建PPTP客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getPptpServerConfig": { "post": { "tags": [ "PPTP服务器管理API" ], "summary": "获取PPTP服务器配置", "operationId": "call_getPptpServerConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/pptp/services`\n- 来源文件: `vpn/auth-pptp.json`\n- func_name: `pptp_server`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pptp_server" ], "example": "pptp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data" }, "default": { "TYPE": "data" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pptp_server/show", "value": { "func_name": "pptp_server", "action": "show", "param": { "TYPE": "data" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pptp_server", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data" }, "x-ikuai-source": { "spec_file": "vpn/auth-pptp.json", "method": "get", "path": "/api/v4.0/vpn/pptp/services", "operationId": "getPptpServerConfig", "summary": "获取PPTP服务器配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updatePptpServerConfig": { "post": { "tags": [ "PPTP服务器管理API" ], "summary": "更新PPTP服务器配置", "operationId": "call_updatePptpServerConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/vpn/pptp/services`\n- 来源文件: `vpn/auth-pptp.json`\n- func_name: `pptp_server`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pptp_server" ], "example": "pptp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "addr_pool": "10.0.0.2-10.0.0.254", "open_mppe": 2, "server_ip": "10.0.0.1", "server_port": 1723, "mtu": 1400, "mru": 1400 }, "default": { "enabled": "no", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "addr_pool": "10.0.0.2-10.0.0.254", "open_mppe": 2, "server_ip": "10.0.0.1", "server_port": 1723, "mtu": 1400, "mru": 1400 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pptp_server/save", "value": { "func_name": "pptp_server", "action": "save", "param": { "enabled": "no", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "addr_pool": "10.0.0.2-10.0.0.254", "open_mppe": 2, "server_ip": "10.0.0.1", "server_port": 1723, "mtu": 1400, "mru": 1400 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pptp_server", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "addr_pool": "10.0.0.2-10.0.0.254", "open_mppe": 2, "server_ip": "10.0.0.1", "server_port": 1723, "mtu": 1400, "mru": 1400 }, "x-ikuai-source": { "spec_file": "vpn/auth-pptp.json", "method": "put", "path": "/api/v4.0/vpn/pptp/services", "operationId": "updatePptpServerConfig", "summary": "更新PPTP服务器配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listWireguardInterfaces": { "post": { "tags": [ "WireGuard管理API" ], "summary": "获取WireGuard接口列表", "operationId": "call_listWireguardInterfaces", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/wireguard`\n- 来源文件: `vpn/network-wireguard.json`\n- func_name: `wireguard`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wireguard" ], "example": "wireguard" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wireguard/show", "value": { "func_name": "wireguard", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wireguard", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "vpn/network-wireguard.json", "method": "get", "path": "/api/v4.0/vpn/wireguard", "operationId": "listWireguardInterfaces", "summary": "获取WireGuard接口列表" }, "x-ikuai-test": { "result": "business_error", "executed": true, "mutation": false, "http_status": 200, "business_code": 1003, "business_message": "Access denied" } } }, "/Action/call/_operations/createWireguardInterface": { "post": { "tags": [ "WireGuard管理API" ], "summary": "创建WireGuard接口", "operationId": "call_createWireguardInterface", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/vpn/wireguard`\n- 来源文件: `vpn/network-wireguard.json`\n- func_name: `wireguard`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wireguard" ], "example": "wireguard" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "name": "codex_test", "interface": "auto", "local_privatekey": "privatekey123", "local_publickey": "publickey123", "local_address": "10.0.0.1/24", "local_listenport": 5000, "mtu": 1420 }, "default": { "enabled": "no", "name": "codex_test", "interface": "auto", "local_privatekey": "privatekey123", "local_publickey": "publickey123", "local_address": "10.0.0.1/24", "local_listenport": 5000, "mtu": 1420 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wireguard/add", "value": { "func_name": "wireguard", "action": "add", "param": { "enabled": "no", "name": "codex_test", "interface": "auto", "local_privatekey": "privatekey123", "local_publickey": "publickey123", "local_address": "10.0.0.1/24", "local_listenport": 5000, "mtu": 1420 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wireguard", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "name": "codex_test", "interface": "auto", "local_privatekey": "privatekey123", "local_publickey": "publickey123", "local_address": "10.0.0.1/24", "local_listenport": 5000, "mtu": 1420 }, "x-ikuai-source": { "spec_file": "vpn/network-wireguard.json", "method": "post", "path": "/api/v4.0/vpn/wireguard", "operationId": "createWireguardInterface", "summary": "创建WireGuard接口" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listWirelessAccessRules": { "post": { "tags": [ "无线访问控制管理API" ], "summary": "获取无线黑白名单列表", "operationId": "call_listWirelessAccessRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/wireless/access-control/rules`\n- 来源文件: `wireless/wireless-wls-black.json`\n- func_name: `wls_black`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wls_black" ], "example": "wls_black" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wls_black/show", "value": { "func_name": "wls_black", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wls_black", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "wireless/wireless-wls-black.json", "method": "get", "path": "/api/v4.0/wireless/access-control/rules", "operationId": "listWirelessAccessRules", "summary": "获取无线黑白名单列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createWirelessAccessRule": { "post": { "tags": [ "无线访问控制管理API" ], "summary": "添加无线黑白名单配置", "operationId": "call_createWirelessAccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/wireless/access-control/rules`\n- 来源文件: `wireless/wireless-wls-black.json`\n- func_name: `wls_black`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wls_black" ], "example": "wls_black" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "mode": 0, "lmac": { "custom": [ "08:9b:4b:00:10:6e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "lap": "08:9b:4b:01:00:01", "week": "1234567", "time": "00:00-23:59", "comment": "codex_test" }, "default": { "enabled": "no", "tagname": "codex_test", "mode": 0, "lmac": { "custom": [ "08:9b:4b:00:10:6e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "lap": "08:9b:4b:01:00:01", "week": "1234567", "time": "00:00-23:59", "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wls_black/add", "value": { "func_name": "wls_black", "action": "add", "param": { "enabled": "no", "tagname": "codex_test", "mode": 0, "lmac": { "custom": [ "08:9b:4b:00:10:6e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "lap": "08:9b:4b:01:00:01", "week": "1234567", "time": "00:00-23:59", "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wls_black", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "mode": 0, "lmac": { "custom": [ "08:9b:4b:00:10:6e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "lap": "08:9b:4b:01:00:01", "week": "1234567", "time": "00:00-23:59", "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "wireless/wireless-wls-black.json", "method": "post", "path": "/api/v4.0/wireless/access-control/rules", "operationId": "createWirelessAccessRule", "summary": "添加无线黑白名单配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listWirelessVlanRules": { "post": { "tags": [ "无线终端VLAN管理API" ], "summary": "获取无线终端VLAN列表", "operationId": "call_listWirelessVlanRules", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/wireless/vlan/rules`\n- 来源文件: `wireless/wireless-wls-mvlan.json`\n- func_name: `wls_mvlan`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wls_mvlan" ], "example": "wls_mvlan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500" }, "default": { "TYPE": "data,total", "limit": "0,500" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wls_mvlan/show", "value": { "func_name": "wls_mvlan", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wls_mvlan", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500" }, "x-ikuai-source": { "spec_file": "wireless/wireless-wls-mvlan.json", "method": "get", "path": "/api/v4.0/wireless/vlan/rules", "operationId": "listWirelessVlanRules", "summary": "获取无线终端VLAN列表" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/createWirelessVlanRule": { "post": { "tags": [ "无线终端VLAN管理API" ], "summary": "添加无线终端VLAN配置", "operationId": "call_createWirelessVlanRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/wireless/vlan/rules`\n- 来源文件: `wireless/wireless-wls-mvlan.json`\n- func_name: `wls_mvlan`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wls_mvlan" ], "example": "wls_mvlan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "vlanid": 11, "lmac": { "custom": [ "08:9b:4b:00:10:6e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "comment": "codex_test" }, "default": { "enabled": "no", "tagname": "codex_test", "vlanid": 11, "lmac": { "custom": [ "08:9b:4b:00:10:6e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wls_mvlan/add", "value": { "func_name": "wls_mvlan", "action": "add", "param": { "enabled": "no", "tagname": "codex_test", "vlanid": 11, "lmac": { "custom": [ "08:9b:4b:00:10:6e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wls_mvlan", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "vlanid": 11, "lmac": { "custom": [ "08:9b:4b:00:10:6e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "wireless/wireless-wls-mvlan.json", "method": "post", "path": "/api/v4.0/wireless/vlan/rules", "operationId": "createWirelessVlanRule", "summary": "添加无线终端VLAN配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteFtpUser": { "post": { "tags": [ "FTP服务管理API" ], "summary": "删除FTP用户", "operationId": "call_deleteFtpUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/advanced-service/ftp-users/{id}`\n- 来源文件: `advanced/advanced-ftp-server.json`\n- func_name: `ftp_server`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ftp_server" ], "example": "ftp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ftp_server/del", "value": { "func_name": "ftp_server", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ftp_server", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "advanced/advanced-ftp-server.json", "method": "delete", "path": "/api/v4.0/advanced-service/ftp-users/{id}", "operationId": "deleteFtpUser", "summary": "删除FTP用户" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/toggleFtpUser": { "post": { "tags": [ "FTP服务管理API" ], "summary": "启用/停用FTP用户", "operationId": "call_toggleFtpUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/advanced-service/ftp-users/{id}`\n- 来源文件: `advanced/advanced-ftp-server.json`\n- func_name: `ftp_server`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ftp_server" ], "example": "ftp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ftp_server/edit", "value": { "func_name": "ftp_server", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ftp_server", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "advanced/advanced-ftp-server.json", "method": "patch", "path": "/api/v4.0/advanced-service/ftp-users/{id}", "operationId": "toggleFtpUser", "summary": "启用/停用FTP用户" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateFtpUser": { "post": { "tags": [ "FTP服务管理API" ], "summary": "更新FTP用户", "operationId": "call_updateFtpUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/advanced-service/ftp-users/{id}`\n- 来源文件: `advanced/advanced-ftp-server.json`\n- func_name: `ftp_server`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ftp_server" ], "example": "ftp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "permission": "rw", "home_dir": "/test-001", "upload": 0, "download": 0, "tagname": "codex_test", "id": "99999999" }, "default": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "permission": "rw", "home_dir": "/test-001", "upload": 0, "download": 0, "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ftp_server/save", "value": { "func_name": "ftp_server", "action": "save", "param": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "permission": "rw", "home_dir": "/test-001", "upload": 0, "download": 0, "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ftp_server", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "permission": "rw", "home_dir": "/test-001", "upload": 0, "download": 0, "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "advanced/advanced-ftp-server.json", "method": "put", "path": "/api/v4.0/advanced-service/ftp-users/{id}", "operationId": "updateFtpUser", "summary": "更新FTP用户" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteHttpServerUser": { "post": { "tags": [ "HTTP服务器管理API" ], "summary": "删除HTTP服务器", "operationId": "call_deleteHttpServerUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/advanced-service/http-users/{id}`\n- 来源文件: `advanced/advanced-http-server.json`\n- func_name: `http_server`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "http_server" ], "example": "http_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "http_server/del", "value": { "func_name": "http_server", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "http_server", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "advanced/advanced-http-server.json", "method": "delete", "path": "/api/v4.0/advanced-service/http-users/{id}", "operationId": "deleteHttpServerUser", "summary": "删除HTTP服务器" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/patchHttpServerUser": { "post": { "tags": [ "HTTP服务器管理API" ], "summary": "启用/停用HTTP服务器", "operationId": "call_patchHttpServerUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/advanced-service/http-users/{id}`\n- 来源文件: `advanced/advanced-http-server.json`\n- func_name: `http_server`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "http_server" ], "example": "http_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "http_server/edit", "value": { "func_name": "http_server", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "http_server", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "advanced/advanced-http-server.json", "method": "patch", "path": "/api/v4.0/advanced-service/http-users/{id}", "operationId": "patchHttpServerUser", "summary": "启用/停用HTTP服务器" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateHttpServerUser": { "post": { "tags": [ "HTTP服务器管理API" ], "summary": "更新HTTP服务器", "operationId": "call_updateHttpServerUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/advanced-service/http-users/{id}`\n- 来源文件: `advanced/advanced-http-server.json`\n- func_name: `http_server`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "http_server" ], "example": "http_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "http_port": 8888, "server_name": "", "ssl_on": 0, "autoindex": 0, "download": 0, "home_dir": "/test-001", "access": 1, "id": "99999999" }, "default": { "enabled": "no", "tagname": "codex_test", "http_port": 8888, "server_name": "", "ssl_on": 0, "autoindex": 0, "download": 0, "home_dir": "/test-001", "access": 1, "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "http_server/save", "value": { "func_name": "http_server", "action": "save", "param": { "enabled": "no", "tagname": "codex_test", "http_port": 8888, "server_name": "", "ssl_on": 0, "autoindex": 0, "download": 0, "home_dir": "/test-001", "access": 1, "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "http_server", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "http_port": 8888, "server_name": "", "ssl_on": 0, "autoindex": 0, "download": 0, "home_dir": "/test-001", "access": 1, "id": "99999999" }, "x-ikuai-source": { "spec_file": "advanced/advanced-http-server.json", "method": "put", "path": "/api/v4.0/advanced-service/http-users/{id}", "operationId": "updateHttpServerUser", "summary": "更新HTTP服务器" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteSambaUser": { "post": { "tags": [ "Samba服务管理API" ], "summary": "删除Samba用户", "operationId": "call_deleteSambaUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/advanced-service/samba-users/{id}`\n- 来源文件: `advanced/advanced-samba.json`\n- func_name: `smbd`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "smbd" ], "example": "smbd" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "smbd/del", "value": { "func_name": "smbd", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "smbd", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "advanced/advanced-samba.json", "method": "delete", "path": "/api/v4.0/advanced-service/samba-users/{id}", "operationId": "deleteSambaUser", "summary": "删除Samba用户" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/patchSambaUser": { "post": { "tags": [ "Samba服务管理API" ], "summary": "启用/停用Samba用户", "operationId": "call_patchSambaUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/advanced-service/samba-users/{id}`\n- 来源文件: `advanced/advanced-samba.json`\n- func_name: `smbd`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "smbd" ], "example": "smbd" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "smbd/edit", "value": { "func_name": "smbd", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "smbd", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "advanced/advanced-samba.json", "method": "patch", "path": "/api/v4.0/advanced-service/samba-users/{id}", "operationId": "patchSambaUser", "summary": "启用/停用Samba用户" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateSambaUser": { "post": { "tags": [ "Samba服务管理API" ], "summary": "更新Samba用户", "operationId": "call_updateSambaUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/advanced-service/samba-users/{id}`\n- 来源文件: `advanced/advanced-samba.json`\n- func_name: `smbd`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "smbd" ], "example": "smbd" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "name": "codex_test", "perm": "rw", "guest": "yes", "home_dir": "/test-001", "browseable": "", "tagname": "codex_test", "id": "99999999" }, "default": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "name": "codex_test", "perm": "rw", "guest": "yes", "home_dir": "/test-001", "browseable": "", "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "smbd/save", "value": { "func_name": "smbd", "action": "save", "param": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "name": "codex_test", "perm": "rw", "guest": "yes", "home_dir": "/test-001", "browseable": "", "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "smbd", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "username": "codex_test_user", "passwd": "codex_Test_123", "name": "codex_test", "perm": "rw", "guest": "yes", "home_dir": "/test-001", "browseable": "", "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "advanced/advanced-samba.json", "method": "put", "path": "/api/v4.0/advanced-service/samba-users/{id}", "operationId": "updateSambaUser", "summary": "更新Samba用户" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteAuthUser": { "post": { "tags": [ "认证用户管理API" ], "summary": "断开认证用户", "operationId": "call_deleteAuthUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/auth/online-users/{id}`\n- 来源文件: `auth/online-users.json`\n- func_name: `ppp_online`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ppp_online" ], "example": "ppp_online" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ppp_online/del", "value": { "func_name": "ppp_online", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ppp_online", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "auth/online-users.json", "method": "delete", "path": "/api/v4.0/auth/online-users/{id}", "operationId": "deleteAuthUser", "summary": "断开认证用户" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getAuthUser": { "post": { "tags": [ "认证用户管理API" ], "summary": "获取指定认证用户", "operationId": "call_getAuthUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/auth/online-users/{id}`\n- 来源文件: `auth/online-users.json`\n- func_name: `ppp_online`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ppp_online" ], "example": "ppp_online" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ppp_online/show", "value": { "func_name": "ppp_online", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ppp_online", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "auth/online-users.json", "method": "get", "path": "/api/v4.0/auth/online-users/{id}", "operationId": "getAuthUser", "summary": "获取指定认证用户" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/deletePackage": { "post": { "tags": [ "套餐管理API" ], "summary": "删除套餐", "operationId": "call_deletePackage", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/auth/packages/{id}`\n- 来源文件: `auth/packages.json`\n- func_name: `ppp_package`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ppp_package" ], "example": "ppp_package" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ppp_package/del", "value": { "func_name": "ppp_package", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ppp_package", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "auth/packages.json", "method": "delete", "path": "/api/v4.0/auth/packages/{id}", "operationId": "deletePackage", "summary": "删除套餐" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getPackage": { "post": { "tags": [ "套餐管理API" ], "summary": "获取指定套餐", "operationId": "call_getPackage", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/auth/packages/{id}`\n- 来源文件: `auth/packages.json`\n- func_name: `ppp_package`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ppp_package" ], "example": "ppp_package" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ppp_package/show", "value": { "func_name": "ppp_package", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ppp_package", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "auth/packages.json", "method": "get", "path": "/api/v4.0/auth/packages/{id}", "operationId": "getPackage", "summary": "获取指定套餐" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updatePackage": { "post": { "tags": [ "套餐管理API" ], "summary": "修改套餐", "operationId": "call_updatePackage", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/auth/packages/{id}`\n- 来源文件: `auth/packages.json`\n- func_name: `ppp_package`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ppp_package" ], "example": "ppp_package" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "packname": "升级套餐", "packtime": "6m", "price": 200, "up_speed": 1000, "down_speed": 2000, "comment": "codex_test", "id": "99999999" }, "default": { "packname": "升级套餐", "packtime": "6m", "price": 200, "up_speed": 1000, "down_speed": 2000, "comment": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ppp_package/edit", "value": { "func_name": "ppp_package", "action": "edit", "param": { "packname": "升级套餐", "packtime": "6m", "price": 200, "up_speed": 1000, "down_speed": 2000, "comment": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ppp_package", "x-ikuai-action": "edit", "x-ikuai-param-example": { "packname": "升级套餐", "packtime": "6m", "price": 200, "up_speed": 1000, "down_speed": 2000, "comment": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "auth/packages.json", "method": "put", "path": "/api/v4.0/auth/packages/{id}", "operationId": "updatePackage", "summary": "修改套餐" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deletePPPUser": { "post": { "tags": [ "用户账号管理API" ], "summary": "删除用户账号", "operationId": "call_deletePPPUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/auth/users/{id}`\n- 来源文件: `auth/authusers.json`\n- func_name: `pppuser`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pppuser" ], "example": "pppuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pppuser/del", "value": { "func_name": "pppuser", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pppuser", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "auth/authusers.json", "method": "delete", "path": "/api/v4.0/auth/users/{id}", "operationId": "deletePPPUser", "summary": "删除用户账号" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getPPPUser": { "post": { "tags": [ "用户账号管理API" ], "summary": "获取指定用户账号", "operationId": "call_getPPPUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/auth/users/{id}`\n- 来源文件: `auth/authusers.json`\n- func_name: `pppuser`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pppuser" ], "example": "pppuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pppuser/show", "value": { "func_name": "pppuser", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pppuser", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "auth/authusers.json", "method": "get", "path": "/api/v4.0/auth/users/{id}", "operationId": "getPPPUser", "summary": "获取指定用户账号" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updatePPPUser": { "post": { "tags": [ "用户账号管理API" ], "summary": "修改用户账号", "operationId": "call_updatePPPUser", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/auth/users/{id}`\n- 来源文件: `auth/authusers.json`\n- func_name: `pppuser`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pppuser" ], "example": "pppuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "comment": "codex_test", "expires": 0, "start_time": 1766483024, "share": 2, "auto_mac": 0, "upload": 100, "download": 200, "ip_type": 1, "src_addr": { "object": [ { "gp_name": "000new11", "type": 0, "gid": "IPGP1" } ] }, "mac": "02:00:5e:99:99:99", "address": "", "name": "codex_test", "phone": "", "cardid": "", "pppoev6_wan": "", "packages": 0, "bind_vlanid": "0", "bind_ifname": "any", "auto_vlanid": 0, "id": "99999999" }, "default": { "enabled": "no", "comment": "codex_test", "expires": 0, "start_time": 1766483024, "share": 2, "auto_mac": 0, "upload": 100, "download": 200, "ip_type": 1, "src_addr": { "object": [ { "gp_name": "000new11", "type": 0, "gid": "IPGP1" } ] }, "mac": "02:00:5e:99:99:99", "address": "", "name": "codex_test", "phone": "", "cardid": "", "pppoev6_wan": "", "packages": 0, "bind_vlanid": "0", "bind_ifname": "any", "auto_vlanid": 0, "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pppuser/edit", "value": { "func_name": "pppuser", "action": "edit", "param": { "enabled": "no", "comment": "codex_test", "expires": 0, "start_time": 1766483024, "share": 2, "auto_mac": 0, "upload": 100, "download": 200, "ip_type": 1, "src_addr": { "object": [ { "gp_name": "000new11", "type": 0, "gid": "IPGP1" } ] }, "mac": "02:00:5e:99:99:99", "address": "", "name": "codex_test", "phone": "", "cardid": "", "pppoev6_wan": "", "packages": 0, "bind_vlanid": "0", "bind_ifname": "any", "auto_vlanid": 0, "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pppuser", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "comment": "codex_test", "expires": 0, "start_time": 1766483024, "share": 2, "auto_mac": 0, "upload": 100, "download": 200, "ip_type": 1, "src_addr": { "object": [ { "gp_name": "000new11", "type": 0, "gid": "IPGP1" } ] }, "mac": "02:00:5e:99:99:99", "address": "", "name": "codex_test", "phone": "", "cardid": "", "pppoev6_wan": "", "packages": 0, "bind_vlanid": "0", "bind_ifname": "any", "auto_vlanid": 0, "id": "99999999" }, "x-ikuai-source": { "spec_file": "auth/authusers.json", "method": "put", "path": "/api/v4.0/auth/users/{id}", "operationId": "updatePPPUser", "summary": "修改用户账号" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteDomainObject": { "post": { "tags": [ "域名对象管理API" ], "summary": "删除域名对象", "operationId": "call_deleteDomainObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/domain-objects/{id}`\n- 来源文件: `object_group/network-object-domain.json`\n- func_name: `route_object_domain`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_domain" ], "example": "route_object_domain" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_domain/del", "value": { "func_name": "route_object_domain", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_domain", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-domain.json", "method": "delete", "path": "/api/v4.0/domain-objects/{id}", "operationId": "deleteDomainObject", "summary": "删除域名对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDomainObject": { "post": { "tags": [ "域名对象管理API" ], "summary": "获取指定域名对象", "operationId": "call_getDomainObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/domain-objects/{id}`\n- 来源文件: `object_group/network-object-domain.json`\n- func_name: `route_object_domain`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_domain" ], "example": "route_object_domain" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_domain/show", "value": { "func_name": "route_object_domain", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_domain", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-domain.json", "method": "get", "path": "/api/v4.0/domain-objects/{id}", "operationId": "getDomainObject", "summary": "获取指定域名对象" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateDomainObject": { "post": { "tags": [ "域名对象管理API" ], "summary": "更新域名对象", "operationId": "call_updateDomainObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/domain-objects/{id}`\n- 来源文件: `object_group/network-object-domain.json`\n- func_name: `route_object_domain`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_domain" ], "example": "route_object_domain" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "domain": "example.invalid", "comment": "codex_test" } ], "id": "99999999" }, "default": { "group_name": "codex_test", "group_value": [ { "domain": "example.invalid", "comment": "codex_test" } ], "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_domain/edit", "value": { "func_name": "route_object_domain", "action": "edit", "param": { "group_name": "codex_test", "group_value": [ { "domain": "example.invalid", "comment": "codex_test" } ], "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_domain", "x-ikuai-action": "edit", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "domain": "example.invalid", "comment": "codex_test" } ], "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-domain.json", "method": "put", "path": "/api/v4.0/domain-objects/{id}", "operationId": "updateDomainObject", "summary": "更新域名对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateLanConfig": { "post": { "tags": [ "LAN接口管理API" ], "summary": "更新LAN接口配置", "operationId": "call_updateLanConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/interfaces/lan-config/{id}`\n- 来源文件: `network/network-lan.json`\n- func_name: `lan`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "lan" ], "example": "lan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "bandif": "00:e2:69:00:89:e5,00:e2:69:00:89:e6", "bandmode": 0, "speed": 0, "duplex": 0, "lan_visit": 1, "ip_mask": "192.168.99.1/255.255.255.0", "mac": "02:00:5e:99:99:99", "comment": "codex_test", "linkmode": 4, "policy": 0, "id": "99999999" }, "default": { "bandif": "00:e2:69:00:89:e5,00:e2:69:00:89:e6", "bandmode": 0, "speed": 0, "duplex": 0, "lan_visit": 1, "ip_mask": "192.168.99.1/255.255.255.0", "mac": "02:00:5e:99:99:99", "comment": "codex_test", "linkmode": 4, "policy": 0, "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "lan/save", "value": { "func_name": "lan", "action": "save", "param": { "bandif": "00:e2:69:00:89:e5,00:e2:69:00:89:e6", "bandmode": 0, "speed": 0, "duplex": 0, "lan_visit": 1, "ip_mask": "192.168.99.1/255.255.255.0", "mac": "02:00:5e:99:99:99", "comment": "codex_test", "linkmode": 4, "policy": 0, "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "lan", "x-ikuai-action": "save", "x-ikuai-param-example": { "bandif": "00:e2:69:00:89:e5,00:e2:69:00:89:e6", "bandmode": 0, "speed": 0, "duplex": 0, "lan_visit": 1, "ip_mask": "192.168.99.1/255.255.255.0", "mac": "02:00:5e:99:99:99", "comment": "codex_test", "linkmode": 4, "policy": 0, "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-lan.json", "method": "put", "path": "/api/v4.0/interfaces/lan-config/{id}", "operationId": "updateLanConfig", "summary": "更新LAN接口配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateWanConfig": { "post": { "tags": [ "WAN接口管理API" ], "summary": "更新WAN接口配置", "operationId": "call_updateWanConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/interfaces/wan-config/{id}`\n- 来源文件: `network/network-wan.json`\n- func_name: `wan`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wan" ], "example": "wan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "internet": 0, "bandif": "00:e2:69:00:89:e8", "bandmode": 0, "mac": "02:00:5e:99:99:99", "speed": 0, "duplex": 0, "comment": "codex_test", "default_route": 1, "disc_auto_switch": 1, "link_time": "00:00-23:59", "check_link_mode": 3, "check_link_host": "www.baidu.com", "ip_mask": "192.168.1.100/255.255.255.0", "gateway": "192.0.2.254", "id": "99999999" }, "default": { "internet": 0, "bandif": "00:e2:69:00:89:e8", "bandmode": 0, "mac": "02:00:5e:99:99:99", "speed": 0, "duplex": 0, "comment": "codex_test", "default_route": 1, "disc_auto_switch": 1, "link_time": "00:00-23:59", "check_link_mode": 3, "check_link_host": "www.baidu.com", "ip_mask": "192.168.1.100/255.255.255.0", "gateway": "192.0.2.254", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wan/save", "value": { "func_name": "wan", "action": "save", "param": { "internet": 0, "bandif": "00:e2:69:00:89:e8", "bandmode": 0, "mac": "02:00:5e:99:99:99", "speed": 0, "duplex": 0, "comment": "codex_test", "default_route": 1, "disc_auto_switch": 1, "link_time": "00:00-23:59", "check_link_mode": 3, "check_link_host": "www.baidu.com", "ip_mask": "192.168.1.100/255.255.255.0", "gateway": "192.0.2.254", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wan", "x-ikuai-action": "save", "x-ikuai-param-example": { "internet": 0, "bandif": "00:e2:69:00:89:e8", "bandmode": 0, "mac": "02:00:5e:99:99:99", "speed": 0, "duplex": 0, "comment": "codex_test", "default_route": 1, "disc_auto_switch": 1, "link_time": "00:00-23:59", "check_link_mode": 3, "check_link_host": "www.baidu.com", "ip_mask": "192.168.1.100/255.255.255.0", "gateway": "192.0.2.254", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-wan.json", "method": "put", "path": "/api/v4.0/interfaces/wan-config/{id}", "operationId": "updateWanConfig", "summary": "更新WAN接口配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteIpObject": { "post": { "tags": [ "IP对象管理API" ], "summary": "删除IP对象", "operationId": "call_deleteIpObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/ip-objects/{id}`\n- 来源文件: `object_group/network-object-ip.json`\n- func_name: `route_object_ip`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_ip" ], "example": "route_object_ip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_ip/del", "value": { "func_name": "route_object_ip", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_ip", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-ip.json", "method": "delete", "path": "/api/v4.0/ip-objects/{id}", "operationId": "deleteIpObject", "summary": "删除IP对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getIpObject": { "post": { "tags": [ "IP对象管理API" ], "summary": "获取指定IP对象", "operationId": "call_getIpObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/ip-objects/{id}`\n- 来源文件: `object_group/network-object-ip.json`\n- func_name: `route_object_ip`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_ip" ], "example": "route_object_ip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "ORDER": "desc", "ORDER_BY": "id", "limit": "0,500", "FILTER1": "type,=,0", "id": "99999999" }, "default": { "TYPE": "total,data", "ORDER": "desc", "ORDER_BY": "id", "limit": "0,500", "FILTER1": "type,=,0", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_ip/show", "value": { "func_name": "route_object_ip", "action": "show", "param": { "TYPE": "total,data", "ORDER": "desc", "ORDER_BY": "id", "limit": "0,500", "FILTER1": "type,=,0", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_ip", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "ORDER": "desc", "ORDER_BY": "id", "limit": "0,500", "FILTER1": "type,=,0", "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-ip.json", "method": "get", "path": "/api/v4.0/ip-objects/{id}", "operationId": "getIpObject", "summary": "获取指定IP对象" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateIpObject": { "post": { "tags": [ "IP对象管理API" ], "summary": "更新IP对象", "operationId": "call_updateIpObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/ip-objects/{id}`\n- 来源文件: `object_group/network-object-ip.json`\n- func_name: `route_object_ip`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_ip" ], "example": "route_object_ip" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "ip": "192.0.2.254", "comment": "codex_test" }, { "ip": "192.0.2.254", "comment": "codex_test" } ], "id": "99999999" }, "default": { "group_name": "codex_test", "group_value": [ { "ip": "192.0.2.254", "comment": "codex_test" }, { "ip": "192.0.2.254", "comment": "codex_test" } ], "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_ip/edit", "value": { "func_name": "route_object_ip", "action": "edit", "param": { "group_name": "codex_test", "group_value": [ { "ip": "192.0.2.254", "comment": "codex_test" }, { "ip": "192.0.2.254", "comment": "codex_test" } ], "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_ip", "x-ikuai-action": "edit", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "ip": "192.0.2.254", "comment": "codex_test" }, { "ip": "192.0.2.254", "comment": "codex_test" } ], "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-ip.json", "method": "put", "path": "/api/v4.0/ip-objects/{id}", "operationId": "updateIpObject", "summary": "更新IP对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteIp6Object": { "post": { "tags": [ "IPv6对象管理API" ], "summary": "删除IPv6对象", "operationId": "call_deleteIp6Object", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/ip6-objects/{id}`\n- 来源文件: `object_group/network-object-ip6.json`\n- func_name: `route_object_ip6`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_ip6" ], "example": "route_object_ip6" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_ip6/del", "value": { "func_name": "route_object_ip6", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_ip6", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-ip6.json", "method": "delete", "path": "/api/v4.0/ip6-objects/{id}", "operationId": "deleteIp6Object", "summary": "删除IPv6对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getIp6Object": { "post": { "tags": [ "IPv6对象管理API" ], "summary": "获取指定IPv6对象", "operationId": "call_getIp6Object", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/ip6-objects/{id}`\n- 来源文件: `object_group/network-object-ip6.json`\n- func_name: `route_object_ip6`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_ip6" ], "example": "route_object_ip6" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_ip6/show", "value": { "func_name": "route_object_ip6", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_ip6", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-ip6.json", "method": "get", "path": "/api/v4.0/ip6-objects/{id}", "operationId": "getIp6Object", "summary": "获取指定IPv6对象" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateIp6Object": { "post": { "tags": [ "IPv6对象管理API" ], "summary": "更新IPv6对象", "operationId": "call_updateIp6Object", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/ip6-objects/{id}`\n- 来源文件: `object_group/network-object-ip6.json`\n- func_name: `route_object_ip6`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_ip6" ], "example": "route_object_ip6" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "ipv6": "2408:8207:3050:6360:aab8:e0ff:fe00:f72a", "comment": "codex_test" } ], "id": "99999999" }, "default": { "group_name": "codex_test", "group_value": [ { "ipv6": "2408:8207:3050:6360:aab8:e0ff:fe00:f72a", "comment": "codex_test" } ], "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_ip6/edit", "value": { "func_name": "route_object_ip6", "action": "edit", "param": { "group_name": "codex_test", "group_value": [ { "ipv6": "2408:8207:3050:6360:aab8:e0ff:fe00:f72a", "comment": "codex_test" } ], "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_ip6", "x-ikuai-action": "edit", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "ipv6": "2408:8207:3050:6360:aab8:e0ff:fe00:f72a", "comment": "codex_test" } ], "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-ip6.json", "method": "put", "path": "/api/v4.0/ip6-objects/{id}", "operationId": "updateIp6Object", "summary": "更新IPv6对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteMacObject": { "post": { "tags": [ "MAC对象管理API" ], "summary": "删除MAC对象", "operationId": "call_deleteMacObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/mac-objects/{id}`\n- 来源文件: `object_group/network-object-mac.json`\n- func_name: `route_object_mac`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_mac" ], "example": "route_object_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_mac/del", "value": { "func_name": "route_object_mac", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_mac", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-mac.json", "method": "delete", "path": "/api/v4.0/mac-objects/{id}", "operationId": "deleteMacObject", "summary": "删除MAC对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getMacObject": { "post": { "tags": [ "MAC对象管理API" ], "summary": "获取指定MAC对象", "operationId": "call_getMacObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/mac-objects/{id}`\n- 来源文件: `object_group/network-object-mac.json`\n- func_name: `route_object_mac`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_mac" ], "example": "route_object_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_mac/show", "value": { "func_name": "route_object_mac", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_mac", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-mac.json", "method": "get", "path": "/api/v4.0/mac-objects/{id}", "operationId": "getMacObject", "summary": "获取指定MAC对象" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateMacObject": { "post": { "tags": [ "MAC对象管理API" ], "summary": "更新MAC对象", "operationId": "call_updateMacObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/mac-objects/{id}`\n- 来源文件: `object_group/network-object-mac.json`\n- func_name: `route_object_mac`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_mac" ], "example": "route_object_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "mac": "02:00:5e:99:99:99", "comment": "codex_test" } ], "id": "99999999" }, "default": { "group_name": "codex_test", "group_value": [ { "mac": "02:00:5e:99:99:99", "comment": "codex_test" } ], "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_mac/edit", "value": { "func_name": "route_object_mac", "action": "edit", "param": { "group_name": "codex_test", "group_value": [ { "mac": "02:00:5e:99:99:99", "comment": "codex_test" } ], "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_mac", "x-ikuai-action": "edit", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "mac": "02:00:5e:99:99:99", "comment": "codex_test" } ], "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-mac.json", "method": "put", "path": "/api/v4.0/mac-objects/{id}", "operationId": "updateMacObject", "summary": "更新MAC对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getAPConfig": { "post": { "tags": [ "AC服务管理API" ], "summary": "获取指定AP配置", "operationId": "call_getAPConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/ac/ap-config/{id}`\n- 来源文件: `wireless/ac_status.json`\n- func_name: `ac_status`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ac_status" ], "example": "ac_status" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last", "id": "99999999" }, "default": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ac_status/show", "value": { "func_name": "ac_status", "action": "show", "param": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ac_status", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "ap_status,clt_status,total_count_net_status,total_count_flow,ssid_sta_last,channel_sta_last", "id": "99999999" }, "x-ikuai-source": { "spec_file": "wireless/ac_status.json", "method": "get", "path": "/api/v4.0/network/ac/ap-config/{id}", "operationId": "getAPConfig", "summary": "获取指定AP配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateAPConfig": { "post": { "tags": [ "AC服务管理API" ], "summary": "更新AP配置", "operationId": "call_updateAPConfig", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/ac/ap-config/{id}`\n- 来源文件: `wireless/ac_status.json`\n- func_name: `ac_status`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ac_status" ], "example": "ac_status" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999", "tagname": "codex_test", "comment": "codex_test", "gid": "0", "mlo_radio0": 0, "mlo_radio1": 0, "mlo_radio2": 0, "flicker": "off", "lights": 1, "ssid1": "iKuai172_2G", "ssid2": "", "hide_ssid1": 0, "hide_ssid2": 0, "isolate1": 0, "isolate2": 0, "qos_atf": 0, "load_strategy": 0, "autohide_maxsta": 1, "autohide_resume": 0, "max_pc": 0, "channel": 0, "min_signal": 0, "enc1": "off", "key1": "12345678", "enc2": "off", "key2": "", "ssid1_vlan": "off", "ssid1_vlan_id": 1, "ssid2_vlan": "off", "ssid2_vlan_id": 1, "ssid1_ratelimit": 0, "ssid1_upload": 0, "ssid1_download": 0, "ssid2_ratelimit": 0, "ssid2_upload": 0, "ssid2_download": 0, "auth_server1": "", "auth_port1": 1812, "acct_secret1": "", "slave_auth1": 0, "slave_auth_server1": "", "slave_auth_port1": 1812, "slave_acct_secret1": "", "auth_server2": "", "auth_port2": 1812, "acct_secret2": "", "slave_auth2": 0, "slave_auth_server2": "", "slave_auth_port2": 1812, "slave_acct_secret2": "", "signal_str": 0, "studio_ssid": "", "ssid3": "iKuai172_5G", "ssid4": "", "hide_ssid3": 0, "hide_ssid4": 0, "isolate3": 0, "isolate4": 0, "qos_atf_5g": 0, "load_strategy_5g": 0, "autohide_maxsta_5g": 1, "autohide_resume_5g": 0, "max_pc_5g": 0, "channel_5g": 0, "min_signal_5g": 0, "enc3": "wpa2", "key3": "12345678", "enc4": "off", "key4": "", "ssid3_vlan": "off", "ssid3_vlan_id": 1, "ssid4_vlan": "off", "ssid4_vlan_id": 1, "ssid3_ratelimit": 0, "ssid3_upload": 0, "ssid3_download": 0, "ssid4_ratelimit": 0, "ssid4_upload": 0, "ssid4_download": 0, "auth_server3": "", "auth_port3": 1812, "acct_secret3": "", "slave_auth3": 0, "slave_auth_server3": "", "slave_auth_port3": 1812, "slave_acct_secret3": "", "auth_server4": "", "auth_port4": 1812, "acct_secret4": "", "slave_auth4": 0, "slave_auth_server4": "", "slave_auth_port4": 1812, "slave_acct_secret4": "", "signal_str_5g": 0, "studio_ssid_5g": "", "task_switch1": 0, "task_strategy1": "one", "task_date1": "2018-01-01", "task_time1": "00:00-23:59", "task_switch2": 0, "task_strategy2": "one", "task_date2": "2018-01-01", "task_time2": "00:00-23:59", "task_switch3": 0, "task_strategy3": "one", "task_date3": "2018-01-01", "task_time3": "00:00-23:59", "reboot_strategy": "one", "reboot_date": "2018-01-01", "channel_width_2g": 20, "channel_width_5g": 40, "port1_vlan": "off", "port1_vlan_id": 1, "port2_vlan": "off", "port2_vlan_id": 1, "port3_vlan": "off", "port3_vlan_id": 1, "port4_vlan": "off", "port4_vlan_id": 1, "ap_roaming": 1, "perfer_5g": 1, "studio_mode": 0, "gateway_check": 0, "country": "CN", "ssid_union": 0, "ssid5": "", "ssid6": "", "hide_ssid5": 0, "hide_ssid6": 0, "isolate5": 0, "isolate6": 0, "enc5": "off", "key5": "", "enc6": "off", "key6": "", "ssid5_vlan": "off", "ssid5_vlan_id": 0, "ssid6_vlan": "off", "ssid6_vlan_id": 0, "ssid5_ratelimit": 0, "ssid5_upload": 0, "ssid5_download": 0, "ssid6_ratelimit": 0, "ssid6_upload": 0, "ssid6_download": 0, "auth_server5": "", "auth_port5": 1812, "acct_secret5": "", "slave_auth5": 0, "slave_auth_server5": "", "slave_auth_port5": 1812, "slave_acct_secret5": "", "auth_server6": "", "auth_port6": 1812, "acct_secret6": "", "slave_auth6": 0, "slave_auth_server6": "", "slave_auth_port6": 1812, "slave_acct_secret6": "", "ssid7": "", "ssid8": "", "hide_ssid7": 0, "hide_ssid8": 0, "isolate7": 0, "isolate8": 0, "enc7": "off", "key7": "", "enc8": "off", "key8": "", "ssid7_vlan": "off", "ssid7_vlan_id": 0, "ssid8_vlan": "off", "ssid8_vlan_id": 0, "ssid7_ratelimit": 0, "ssid7_upload": 0, "ssid7_download": 0, "ssid8_ratelimit": 0, "ssid8_upload": 0, "ssid8_download": 0, "auth_server7": "", "auth_port7": 1812, "acct_secret7": "", "slave_auth7": 0, "slave_auth_server7": "", "slave_auth_port7": 1812, "slave_acct_secret7": "", "auth_server8": "", "auth_port8": 1812, "acct_secret8": "", "slave_auth8": 0, "slave_auth_server8": "", "slave_auth_port8": 1812, "slave_acct_secret8": "", "ssid9": "", "ssid10": "", "ssid11": "", "ssid12": "", "hide_ssid9": 0, "hide_ssid10": 0, "hide_ssid11": 0, "hide_ssid12": 0, "isolate9": 0, "isolate10": 0, "isolate11": 0, "isolate12": 0, "enc9": "off", "key9": "", "enc10": "off", "key10": "", "enc11": "off", "key11": "", "enc12": "off", "key12": "", "ssid9_vlan": "off", "ssid9_vlan_id": 1, "ssid10_vlan": "off", "ssid10_vlan_id": 1, "ssid11_vlan": "off", "ssid11_vlan_id": 1, "ssid12_vlan": "off", "ssid12_vlan_id": 1, "ssid9_ratelimit": 0, "ssid9_upload": 0, "ssid9_download": 0, "ssid10_ratelimit": 0, "ssid10_upload": 0, "ssid10_download": 0, "ssid11_ratelimit": 0, "ssid11_upload": 0, "ssid11_download": 0, "ssid12_ratelimit": 0, "ssid12_upload": 0, "ssid12_download": 0, "auth_server9": "", "auth_port9": 1812, "acct_secret9": "", "slave_auth9": 0, "slave_auth_server9": "", "slave_auth_port9": 1812, "slave_acct_secret9": "", "auth_server10": "", "auth_port10": 1812, "acct_secret10": "", "slave_auth10": 0, "slave_auth_server10": "", "slave_auth_port10": 1812, "slave_acct_secret10": "", "auth_server11": "", "auth_port11": 1812, "acct_secret11": "", "slave_auth11": 0, "slave_auth_server11": "", "slave_auth_port11": 1812, "slave_acct_secret11": "", "auth_server12": "", "auth_port12": 1812, "acct_secret12": "", "slave_auth12": 0, "slave_auth_server12": "", "slave_auth_port12": 1812, "slave_acct_secret12": "", "load_strategy_d5g": 0, "autohide_maxsta_d5g": 1, "autohide_resume_d5g": 0, "qos_atf_d5g": 0, "channel_d5g": 0, "min_signal_d5g": 0, "signal_str_d5g": 0, "studio_ssid_d5g": "", "channel_width_d5g": 40, "advanced": 0, "beacon_interval": 200, "beacon_txpower": 0, "rts": 0, "hwmode": "", "dis_legacy": "0", "mgmt_rate": 1000, "advanced_5g": 0, "beacon_interval_5g": 200, "beacon_txpower_5g": 0, "rts_5g": 0, "hwmode_5g": "", "advanced_d5g": 0, "beacon_interval_d5g": 200, "beacon_txpower_d5g": 0, "rts_d5g": 0, "hwmode_d5g": "" }, "default": { "id": "99999999", "tagname": "codex_test", "comment": "codex_test", "gid": "0", "mlo_radio0": 0, "mlo_radio1": 0, "mlo_radio2": 0, "flicker": "off", "lights": 1, "ssid1": "iKuai172_2G", "ssid2": "", "hide_ssid1": 0, "hide_ssid2": 0, "isolate1": 0, "isolate2": 0, "qos_atf": 0, "load_strategy": 0, "autohide_maxsta": 1, "autohide_resume": 0, "max_pc": 0, "channel": 0, "min_signal": 0, "enc1": "off", "key1": "12345678", "enc2": "off", "key2": "", "ssid1_vlan": "off", "ssid1_vlan_id": 1, "ssid2_vlan": "off", "ssid2_vlan_id": 1, "ssid1_ratelimit": 0, "ssid1_upload": 0, "ssid1_download": 0, "ssid2_ratelimit": 0, "ssid2_upload": 0, "ssid2_download": 0, "auth_server1": "", "auth_port1": 1812, "acct_secret1": "", "slave_auth1": 0, "slave_auth_server1": "", "slave_auth_port1": 1812, "slave_acct_secret1": "", "auth_server2": "", "auth_port2": 1812, "acct_secret2": "", "slave_auth2": 0, "slave_auth_server2": "", "slave_auth_port2": 1812, "slave_acct_secret2": "", "signal_str": 0, "studio_ssid": "", "ssid3": "iKuai172_5G", "ssid4": "", "hide_ssid3": 0, "hide_ssid4": 0, "isolate3": 0, "isolate4": 0, "qos_atf_5g": 0, "load_strategy_5g": 0, "autohide_maxsta_5g": 1, "autohide_resume_5g": 0, "max_pc_5g": 0, "channel_5g": 0, "min_signal_5g": 0, "enc3": "wpa2", "key3": "12345678", "enc4": "off", "key4": "", "ssid3_vlan": "off", "ssid3_vlan_id": 1, "ssid4_vlan": "off", "ssid4_vlan_id": 1, "ssid3_ratelimit": 0, "ssid3_upload": 0, "ssid3_download": 0, "ssid4_ratelimit": 0, "ssid4_upload": 0, "ssid4_download": 0, "auth_server3": "", "auth_port3": 1812, "acct_secret3": "", "slave_auth3": 0, "slave_auth_server3": "", "slave_auth_port3": 1812, "slave_acct_secret3": "", "auth_server4": "", "auth_port4": 1812, "acct_secret4": "", "slave_auth4": 0, "slave_auth_server4": "", "slave_auth_port4": 1812, "slave_acct_secret4": "", "signal_str_5g": 0, "studio_ssid_5g": "", "task_switch1": 0, "task_strategy1": "one", "task_date1": "2018-01-01", "task_time1": "00:00-23:59", "task_switch2": 0, "task_strategy2": "one", "task_date2": "2018-01-01", "task_time2": "00:00-23:59", "task_switch3": 0, "task_strategy3": "one", "task_date3": "2018-01-01", "task_time3": "00:00-23:59", "reboot_strategy": "one", "reboot_date": "2018-01-01", "channel_width_2g": 20, "channel_width_5g": 40, "port1_vlan": "off", "port1_vlan_id": 1, "port2_vlan": "off", "port2_vlan_id": 1, "port3_vlan": "off", "port3_vlan_id": 1, "port4_vlan": "off", "port4_vlan_id": 1, "ap_roaming": 1, "perfer_5g": 1, "studio_mode": 0, "gateway_check": 0, "country": "CN", "ssid_union": 0, "ssid5": "", "ssid6": "", "hide_ssid5": 0, "hide_ssid6": 0, "isolate5": 0, "isolate6": 0, "enc5": "off", "key5": "", "enc6": "off", "key6": "", "ssid5_vlan": "off", "ssid5_vlan_id": 0, "ssid6_vlan": "off", "ssid6_vlan_id": 0, "ssid5_ratelimit": 0, "ssid5_upload": 0, "ssid5_download": 0, "ssid6_ratelimit": 0, "ssid6_upload": 0, "ssid6_download": 0, "auth_server5": "", "auth_port5": 1812, "acct_secret5": "", "slave_auth5": 0, "slave_auth_server5": "", "slave_auth_port5": 1812, "slave_acct_secret5": "", "auth_server6": "", "auth_port6": 1812, "acct_secret6": "", "slave_auth6": 0, "slave_auth_server6": "", "slave_auth_port6": 1812, "slave_acct_secret6": "", "ssid7": "", "ssid8": "", "hide_ssid7": 0, "hide_ssid8": 0, "isolate7": 0, "isolate8": 0, "enc7": "off", "key7": "", "enc8": "off", "key8": "", "ssid7_vlan": "off", "ssid7_vlan_id": 0, "ssid8_vlan": "off", "ssid8_vlan_id": 0, "ssid7_ratelimit": 0, "ssid7_upload": 0, "ssid7_download": 0, "ssid8_ratelimit": 0, "ssid8_upload": 0, "ssid8_download": 0, "auth_server7": "", "auth_port7": 1812, "acct_secret7": "", "slave_auth7": 0, "slave_auth_server7": "", "slave_auth_port7": 1812, "slave_acct_secret7": "", "auth_server8": "", "auth_port8": 1812, "acct_secret8": "", "slave_auth8": 0, "slave_auth_server8": "", "slave_auth_port8": 1812, "slave_acct_secret8": "", "ssid9": "", "ssid10": "", "ssid11": "", "ssid12": "", "hide_ssid9": 0, "hide_ssid10": 0, "hide_ssid11": 0, "hide_ssid12": 0, "isolate9": 0, "isolate10": 0, "isolate11": 0, "isolate12": 0, "enc9": "off", "key9": "", "enc10": "off", "key10": "", "enc11": "off", "key11": "", "enc12": "off", "key12": "", "ssid9_vlan": "off", "ssid9_vlan_id": 1, "ssid10_vlan": "off", "ssid10_vlan_id": 1, "ssid11_vlan": "off", "ssid11_vlan_id": 1, "ssid12_vlan": "off", "ssid12_vlan_id": 1, "ssid9_ratelimit": 0, "ssid9_upload": 0, "ssid9_download": 0, "ssid10_ratelimit": 0, "ssid10_upload": 0, "ssid10_download": 0, "ssid11_ratelimit": 0, "ssid11_upload": 0, "ssid11_download": 0, "ssid12_ratelimit": 0, "ssid12_upload": 0, "ssid12_download": 0, "auth_server9": "", "auth_port9": 1812, "acct_secret9": "", "slave_auth9": 0, "slave_auth_server9": "", "slave_auth_port9": 1812, "slave_acct_secret9": "", "auth_server10": "", "auth_port10": 1812, "acct_secret10": "", "slave_auth10": 0, "slave_auth_server10": "", "slave_auth_port10": 1812, "slave_acct_secret10": "", "auth_server11": "", "auth_port11": 1812, "acct_secret11": "", "slave_auth11": 0, "slave_auth_server11": "", "slave_auth_port11": 1812, "slave_acct_secret11": "", "auth_server12": "", "auth_port12": 1812, "acct_secret12": "", "slave_auth12": 0, "slave_auth_server12": "", "slave_auth_port12": 1812, "slave_acct_secret12": "", "load_strategy_d5g": 0, "autohide_maxsta_d5g": 1, "autohide_resume_d5g": 0, "qos_atf_d5g": 0, "channel_d5g": 0, "min_signal_d5g": 0, "signal_str_d5g": 0, "studio_ssid_d5g": "", "channel_width_d5g": 40, "advanced": 0, "beacon_interval": 200, "beacon_txpower": 0, "rts": 0, "hwmode": "", "dis_legacy": "0", "mgmt_rate": 1000, "advanced_5g": 0, "beacon_interval_5g": 200, "beacon_txpower_5g": 0, "rts_5g": 0, "hwmode_5g": "", "advanced_d5g": 0, "beacon_interval_d5g": 200, "beacon_txpower_d5g": 0, "rts_d5g": 0, "hwmode_d5g": "" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ac_status/save", "value": { "func_name": "ac_status", "action": "save", "param": { "id": "99999999", "tagname": "codex_test", "comment": "codex_test", "gid": "0", "mlo_radio0": 0, "mlo_radio1": 0, "mlo_radio2": 0, "flicker": "off", "lights": 1, "ssid1": "iKuai172_2G", "ssid2": "", "hide_ssid1": 0, "hide_ssid2": 0, "isolate1": 0, "isolate2": 0, "qos_atf": 0, "load_strategy": 0, "autohide_maxsta": 1, "autohide_resume": 0, "max_pc": 0, "channel": 0, "min_signal": 0, "enc1": "off", "key1": "12345678", "enc2": "off", "key2": "", "ssid1_vlan": "off", "ssid1_vlan_id": 1, "ssid2_vlan": "off", "ssid2_vlan_id": 1, "ssid1_ratelimit": 0, "ssid1_upload": 0, "ssid1_download": 0, "ssid2_ratelimit": 0, "ssid2_upload": 0, "ssid2_download": 0, "auth_server1": "", "auth_port1": 1812, "acct_secret1": "", "slave_auth1": 0, "slave_auth_server1": "", "slave_auth_port1": 1812, "slave_acct_secret1": "", "auth_server2": "", "auth_port2": 1812, "acct_secret2": "", "slave_auth2": 0, "slave_auth_server2": "", "slave_auth_port2": 1812, "slave_acct_secret2": "", "signal_str": 0, "studio_ssid": "", "ssid3": "iKuai172_5G", "ssid4": "", "hide_ssid3": 0, "hide_ssid4": 0, "isolate3": 0, "isolate4": 0, "qos_atf_5g": 0, "load_strategy_5g": 0, "autohide_maxsta_5g": 1, "autohide_resume_5g": 0, "max_pc_5g": 0, "channel_5g": 0, "min_signal_5g": 0, "enc3": "wpa2", "key3": "12345678", "enc4": "off", "key4": "", "ssid3_vlan": "off", "ssid3_vlan_id": 1, "ssid4_vlan": "off", "ssid4_vlan_id": 1, "ssid3_ratelimit": 0, "ssid3_upload": 0, "ssid3_download": 0, "ssid4_ratelimit": 0, "ssid4_upload": 0, "ssid4_download": 0, "auth_server3": "", "auth_port3": 1812, "acct_secret3": "", "slave_auth3": 0, "slave_auth_server3": "", "slave_auth_port3": 1812, "slave_acct_secret3": "", "auth_server4": "", "auth_port4": 1812, "acct_secret4": "", "slave_auth4": 0, "slave_auth_server4": "", "slave_auth_port4": 1812, "slave_acct_secret4": "", "signal_str_5g": 0, "studio_ssid_5g": "", "task_switch1": 0, "task_strategy1": "one", "task_date1": "2018-01-01", "task_time1": "00:00-23:59", "task_switch2": 0, "task_strategy2": "one", "task_date2": "2018-01-01", "task_time2": "00:00-23:59", "task_switch3": 0, "task_strategy3": "one", "task_date3": "2018-01-01", "task_time3": "00:00-23:59", "reboot_strategy": "one", "reboot_date": "2018-01-01", "channel_width_2g": 20, "channel_width_5g": 40, "port1_vlan": "off", "port1_vlan_id": 1, "port2_vlan": "off", "port2_vlan_id": 1, "port3_vlan": "off", "port3_vlan_id": 1, "port4_vlan": "off", "port4_vlan_id": 1, "ap_roaming": 1, "perfer_5g": 1, "studio_mode": 0, "gateway_check": 0, "country": "CN", "ssid_union": 0, "ssid5": "", "ssid6": "", "hide_ssid5": 0, "hide_ssid6": 0, "isolate5": 0, "isolate6": 0, "enc5": "off", "key5": "", "enc6": "off", "key6": "", "ssid5_vlan": "off", "ssid5_vlan_id": 0, "ssid6_vlan": "off", "ssid6_vlan_id": 0, "ssid5_ratelimit": 0, "ssid5_upload": 0, "ssid5_download": 0, "ssid6_ratelimit": 0, "ssid6_upload": 0, "ssid6_download": 0, "auth_server5": "", "auth_port5": 1812, "acct_secret5": "", "slave_auth5": 0, "slave_auth_server5": "", "slave_auth_port5": 1812, "slave_acct_secret5": "", "auth_server6": "", "auth_port6": 1812, "acct_secret6": "", "slave_auth6": 0, "slave_auth_server6": "", "slave_auth_port6": 1812, "slave_acct_secret6": "", "ssid7": "", "ssid8": "", "hide_ssid7": 0, "hide_ssid8": 0, "isolate7": 0, "isolate8": 0, "enc7": "off", "key7": "", "enc8": "off", "key8": "", "ssid7_vlan": "off", "ssid7_vlan_id": 0, "ssid8_vlan": "off", "ssid8_vlan_id": 0, "ssid7_ratelimit": 0, "ssid7_upload": 0, "ssid7_download": 0, "ssid8_ratelimit": 0, "ssid8_upload": 0, "ssid8_download": 0, "auth_server7": "", "auth_port7": 1812, "acct_secret7": "", "slave_auth7": 0, "slave_auth_server7": "", "slave_auth_port7": 1812, "slave_acct_secret7": "", "auth_server8": "", "auth_port8": 1812, "acct_secret8": "", "slave_auth8": 0, "slave_auth_server8": "", "slave_auth_port8": 1812, "slave_acct_secret8": "", "ssid9": "", "ssid10": "", "ssid11": "", "ssid12": "", "hide_ssid9": 0, "hide_ssid10": 0, "hide_ssid11": 0, "hide_ssid12": 0, "isolate9": 0, "isolate10": 0, "isolate11": 0, "isolate12": 0, "enc9": "off", "key9": "", "enc10": "off", "key10": "", "enc11": "off", "key11": "", "enc12": "off", "key12": "", "ssid9_vlan": "off", "ssid9_vlan_id": 1, "ssid10_vlan": "off", "ssid10_vlan_id": 1, "ssid11_vlan": "off", "ssid11_vlan_id": 1, "ssid12_vlan": "off", "ssid12_vlan_id": 1, "ssid9_ratelimit": 0, "ssid9_upload": 0, "ssid9_download": 0, "ssid10_ratelimit": 0, "ssid10_upload": 0, "ssid10_download": 0, "ssid11_ratelimit": 0, "ssid11_upload": 0, "ssid11_download": 0, "ssid12_ratelimit": 0, "ssid12_upload": 0, "ssid12_download": 0, "auth_server9": "", "auth_port9": 1812, "acct_secret9": "", "slave_auth9": 0, "slave_auth_server9": "", "slave_auth_port9": 1812, "slave_acct_secret9": "", "auth_server10": "", "auth_port10": 1812, "acct_secret10": "", "slave_auth10": 0, "slave_auth_server10": "", "slave_auth_port10": 1812, "slave_acct_secret10": "", "auth_server11": "", "auth_port11": 1812, "acct_secret11": "", "slave_auth11": 0, "slave_auth_server11": "", "slave_auth_port11": 1812, "slave_acct_secret11": "", "auth_server12": "", "auth_port12": 1812, "acct_secret12": "", "slave_auth12": 0, "slave_auth_server12": "", "slave_auth_port12": 1812, "slave_acct_secret12": "", "load_strategy_d5g": 0, "autohide_maxsta_d5g": 1, "autohide_resume_d5g": 0, "qos_atf_d5g": 0, "channel_d5g": 0, "min_signal_d5g": 0, "signal_str_d5g": 0, "studio_ssid_d5g": "", "channel_width_d5g": 40, "advanced": 0, "beacon_interval": 200, "beacon_txpower": 0, "rts": 0, "hwmode": "", "dis_legacy": "0", "mgmt_rate": 1000, "advanced_5g": 0, "beacon_interval_5g": 200, "beacon_txpower_5g": 0, "rts_5g": 0, "hwmode_5g": "", "advanced_d5g": 0, "beacon_interval_d5g": 200, "beacon_txpower_d5g": 0, "rts_d5g": 0, "hwmode_d5g": "" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ac_status", "x-ikuai-action": "save", "x-ikuai-param-example": { "id": "99999999", "tagname": "codex_test", "comment": "codex_test", "gid": "0", "mlo_radio0": 0, "mlo_radio1": 0, "mlo_radio2": 0, "flicker": "off", "lights": 1, "ssid1": "iKuai172_2G", "ssid2": "", "hide_ssid1": 0, "hide_ssid2": 0, "isolate1": 0, "isolate2": 0, "qos_atf": 0, "load_strategy": 0, "autohide_maxsta": 1, "autohide_resume": 0, "max_pc": 0, "channel": 0, "min_signal": 0, "enc1": "off", "key1": "12345678", "enc2": "off", "key2": "", "ssid1_vlan": "off", "ssid1_vlan_id": 1, "ssid2_vlan": "off", "ssid2_vlan_id": 1, "ssid1_ratelimit": 0, "ssid1_upload": 0, "ssid1_download": 0, "ssid2_ratelimit": 0, "ssid2_upload": 0, "ssid2_download": 0, "auth_server1": "", "auth_port1": 1812, "acct_secret1": "", "slave_auth1": 0, "slave_auth_server1": "", "slave_auth_port1": 1812, "slave_acct_secret1": "", "auth_server2": "", "auth_port2": 1812, "acct_secret2": "", "slave_auth2": 0, "slave_auth_server2": "", "slave_auth_port2": 1812, "slave_acct_secret2": "", "signal_str": 0, "studio_ssid": "", "ssid3": "iKuai172_5G", "ssid4": "", "hide_ssid3": 0, "hide_ssid4": 0, "isolate3": 0, "isolate4": 0, "qos_atf_5g": 0, "load_strategy_5g": 0, "autohide_maxsta_5g": 1, "autohide_resume_5g": 0, "max_pc_5g": 0, "channel_5g": 0, "min_signal_5g": 0, "enc3": "wpa2", "key3": "12345678", "enc4": "off", "key4": "", "ssid3_vlan": "off", "ssid3_vlan_id": 1, "ssid4_vlan": "off", "ssid4_vlan_id": 1, "ssid3_ratelimit": 0, "ssid3_upload": 0, "ssid3_download": 0, "ssid4_ratelimit": 0, "ssid4_upload": 0, "ssid4_download": 0, "auth_server3": "", "auth_port3": 1812, "acct_secret3": "", "slave_auth3": 0, "slave_auth_server3": "", "slave_auth_port3": 1812, "slave_acct_secret3": "", "auth_server4": "", "auth_port4": 1812, "acct_secret4": "", "slave_auth4": 0, "slave_auth_server4": "", "slave_auth_port4": 1812, "slave_acct_secret4": "", "signal_str_5g": 0, "studio_ssid_5g": "", "task_switch1": 0, "task_strategy1": "one", "task_date1": "2018-01-01", "task_time1": "00:00-23:59", "task_switch2": 0, "task_strategy2": "one", "task_date2": "2018-01-01", "task_time2": "00:00-23:59", "task_switch3": 0, "task_strategy3": "one", "task_date3": "2018-01-01", "task_time3": "00:00-23:59", "reboot_strategy": "one", "reboot_date": "2018-01-01", "channel_width_2g": 20, "channel_width_5g": 40, "port1_vlan": "off", "port1_vlan_id": 1, "port2_vlan": "off", "port2_vlan_id": 1, "port3_vlan": "off", "port3_vlan_id": 1, "port4_vlan": "off", "port4_vlan_id": 1, "ap_roaming": 1, "perfer_5g": 1, "studio_mode": 0, "gateway_check": 0, "country": "CN", "ssid_union": 0, "ssid5": "", "ssid6": "", "hide_ssid5": 0, "hide_ssid6": 0, "isolate5": 0, "isolate6": 0, "enc5": "off", "key5": "", "enc6": "off", "key6": "", "ssid5_vlan": "off", "ssid5_vlan_id": 0, "ssid6_vlan": "off", "ssid6_vlan_id": 0, "ssid5_ratelimit": 0, "ssid5_upload": 0, "ssid5_download": 0, "ssid6_ratelimit": 0, "ssid6_upload": 0, "ssid6_download": 0, "auth_server5": "", "auth_port5": 1812, "acct_secret5": "", "slave_auth5": 0, "slave_auth_server5": "", "slave_auth_port5": 1812, "slave_acct_secret5": "", "auth_server6": "", "auth_port6": 1812, "acct_secret6": "", "slave_auth6": 0, "slave_auth_server6": "", "slave_auth_port6": 1812, "slave_acct_secret6": "", "ssid7": "", "ssid8": "", "hide_ssid7": 0, "hide_ssid8": 0, "isolate7": 0, "isolate8": 0, "enc7": "off", "key7": "", "enc8": "off", "key8": "", "ssid7_vlan": "off", "ssid7_vlan_id": 0, "ssid8_vlan": "off", "ssid8_vlan_id": 0, "ssid7_ratelimit": 0, "ssid7_upload": 0, "ssid7_download": 0, "ssid8_ratelimit": 0, "ssid8_upload": 0, "ssid8_download": 0, "auth_server7": "", "auth_port7": 1812, "acct_secret7": "", "slave_auth7": 0, "slave_auth_server7": "", "slave_auth_port7": 1812, "slave_acct_secret7": "", "auth_server8": "", "auth_port8": 1812, "acct_secret8": "", "slave_auth8": 0, "slave_auth_server8": "", "slave_auth_port8": 1812, "slave_acct_secret8": "", "ssid9": "", "ssid10": "", "ssid11": "", "ssid12": "", "hide_ssid9": 0, "hide_ssid10": 0, "hide_ssid11": 0, "hide_ssid12": 0, "isolate9": 0, "isolate10": 0, "isolate11": 0, "isolate12": 0, "enc9": "off", "key9": "", "enc10": "off", "key10": "", "enc11": "off", "key11": "", "enc12": "off", "key12": "", "ssid9_vlan": "off", "ssid9_vlan_id": 1, "ssid10_vlan": "off", "ssid10_vlan_id": 1, "ssid11_vlan": "off", "ssid11_vlan_id": 1, "ssid12_vlan": "off", "ssid12_vlan_id": 1, "ssid9_ratelimit": 0, "ssid9_upload": 0, "ssid9_download": 0, "ssid10_ratelimit": 0, "ssid10_upload": 0, "ssid10_download": 0, "ssid11_ratelimit": 0, "ssid11_upload": 0, "ssid11_download": 0, "ssid12_ratelimit": 0, "ssid12_upload": 0, "ssid12_download": 0, "auth_server9": "", "auth_port9": 1812, "acct_secret9": "", "slave_auth9": 0, "slave_auth_server9": "", "slave_auth_port9": 1812, "slave_acct_secret9": "", "auth_server10": "", "auth_port10": 1812, "acct_secret10": "", "slave_auth10": 0, "slave_auth_server10": "", "slave_auth_port10": 1812, "slave_acct_secret10": "", "auth_server11": "", "auth_port11": 1812, "acct_secret11": "", "slave_auth11": 0, "slave_auth_server11": "", "slave_auth_port11": 1812, "slave_acct_secret11": "", "auth_server12": "", "auth_port12": 1812, "acct_secret12": "", "slave_auth12": 0, "slave_auth_server12": "", "slave_auth_port12": 1812, "slave_acct_secret12": "", "load_strategy_d5g": 0, "autohide_maxsta_d5g": 1, "autohide_resume_d5g": 0, "qos_atf_d5g": 0, "channel_d5g": 0, "min_signal_d5g": 0, "signal_str_d5g": 0, "studio_ssid_d5g": "", "channel_width_d5g": 40, "advanced": 0, "beacon_interval": 200, "beacon_txpower": 0, "rts": 0, "hwmode": "", "dis_legacy": "0", "mgmt_rate": 1000, "advanced_5g": 0, "beacon_interval_5g": 200, "beacon_txpower_5g": 0, "rts_5g": 0, "hwmode_5g": "", "advanced_d5g": 0, "beacon_interval_d5g": 200, "beacon_txpower_d5g": 0, "rts_d5g": 0, "hwmode_d5g": "" }, "x-ikuai-source": { "spec_file": "wireless/ac_status.json", "method": "put", "path": "/api/v4.0/network/ac/ap-config/{id}", "operationId": "updateAPConfig", "summary": "更新AP配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteAdvancedProtocol": { "post": { "tags": [ "高级自定义协议管理API" ], "summary": "删除高级自定义协议", "operationId": "call_deleteAdvancedProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/app-protocols/advanced/rules/{id}`\n- 来源文件: `network/network-advanced-protocols.json`\n- func_name: `dprotos`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dprotos" ], "example": "dprotos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dprotos/del", "value": { "func_name": "dprotos", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dprotos", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-advanced-protocols.json", "method": "delete", "path": "/api/v4.0/network/app-protocols/advanced/rules/{id}", "operationId": "deleteAdvancedProtocol", "summary": "删除高级自定义协议" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getAdvancedProtocol": { "post": { "tags": [ "高级自定义协议管理API" ], "summary": "获取指定高级自定义协议详情", "operationId": "call_getAdvancedProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/app-protocols/advanced/rules/{id}`\n- 来源文件: `network/network-advanced-protocols.json`\n- func_name: `dprotos`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dprotos" ], "example": "dprotos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dprotos/show", "value": { "func_name": "dprotos", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dprotos", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-advanced-protocols.json", "method": "get", "path": "/api/v4.0/network/app-protocols/advanced/rules/{id}", "operationId": "getAdvancedProtocol", "summary": "获取指定高级自定义协议详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchAdvancedProtocol": { "post": { "tags": [ "高级自定义协议管理API" ], "summary": "启用/停用高级自定义协议", "operationId": "call_patchAdvancedProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/app-protocols/advanced/rules/{id}`\n- 来源文件: `network/network-advanced-protocols.json`\n- func_name: `dprotos`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dprotos" ], "example": "dprotos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dprotos/edit", "value": { "func_name": "dprotos", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dprotos", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-advanced-protocols.json", "method": "patch", "path": "/api/v4.0/network/app-protocols/advanced/rules/{id}", "operationId": "patchAdvancedProtocol", "summary": "启用/停用高级自定义协议" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateAdvancedProtocol": { "post": { "tags": [ "高级自定义协议管理API" ], "summary": "更新高级自定义协议", "operationId": "call_updateAdvancedProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/app-protocols/advanced/rules/{id}`\n- 来源文件: `network/network-advanced-protocols.json`\n- func_name: `dprotos`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dprotos" ], "example": "dprotos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "class": 0, "appid": 2910001, "comment": "codex_test", "name": "codex_test", "rule": "UHJvdG9jb2w9SFRUUA==", "enabled": "no", "id": "99999999" }, "default": { "class": 0, "appid": 2910001, "comment": "codex_test", "name": "codex_test", "rule": "UHJvdG9jb2w9SFRUUA==", "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dprotos/save", "value": { "func_name": "dprotos", "action": "save", "param": { "class": 0, "appid": 2910001, "comment": "codex_test", "name": "codex_test", "rule": "UHJvdG9jb2w9SFRUUA==", "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dprotos", "x-ikuai-action": "save", "x-ikuai-param-example": { "class": 0, "appid": 2910001, "comment": "codex_test", "name": "codex_test", "rule": "UHJvdG9jb2w9SFRUUA==", "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-advanced-protocols.json", "method": "put", "path": "/api/v4.0/network/app-protocols/advanced/rules/{id}", "operationId": "updateAdvancedProtocol", "summary": "更新高级自定义协议" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteCustomProtocol": { "post": { "tags": [ "自定义协议策略管理API" ], "summary": "删除自定义协议策略", "operationId": "call_deleteCustomProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/app-protocols/custom/rules/{id}`\n- 来源文件: `network/network-protocols.json`\n- func_name: `dprotos`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dprotos" ], "example": "dprotos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dprotos/del", "value": { "func_name": "dprotos", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dprotos", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-protocols.json", "method": "delete", "path": "/api/v4.0/network/app-protocols/custom/rules/{id}", "operationId": "deleteCustomProtocol", "summary": "删除自定义协议策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getCustomProtocol": { "post": { "tags": [ "自定义协议策略管理API" ], "summary": "获取指定自定义协议策略详情", "operationId": "call_getCustomProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/app-protocols/custom/rules/{id}`\n- 来源文件: `network/network-protocols.json`\n- func_name: `dprotos`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dprotos" ], "example": "dprotos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dprotos/show", "value": { "func_name": "dprotos", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dprotos", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-protocols.json", "method": "get", "path": "/api/v4.0/network/app-protocols/custom/rules/{id}", "operationId": "getCustomProtocol", "summary": "获取指定自定义协议策略详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchCustomProtocol": { "post": { "tags": [ "自定义协议策略管理API" ], "summary": "启用/停用自定义协议策略", "operationId": "call_patchCustomProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/app-protocols/custom/rules/{id}`\n- 来源文件: `network/network-protocols.json`\n- func_name: `dprotos`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dprotos" ], "example": "dprotos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dprotos/edit", "value": { "func_name": "dprotos", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dprotos", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-protocols.json", "method": "patch", "path": "/api/v4.0/network/app-protocols/custom/rules/{id}", "operationId": "patchCustomProtocol", "summary": "启用/停用自定义协议策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateCustomProtocol": { "post": { "tags": [ "自定义协议策略管理API" ], "summary": "更新自定义协议策略", "operationId": "call_updateCustomProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/app-protocols/custom/rules/{id}`\n- 来源文件: `network/network-protocols.json`\n- func_name: `dprotos`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dprotos" ], "example": "dprotos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "class": 0, "appid": 1900001, "comment": "codex_test", "name": "codex_test", "protocol": "tcp", "src_addr": { "custom": [ "192.168.9.168" ], "object": [] }, "dst_addr": { "custom": [], "object": [] }, "src_port": "", "dst_port": { "custom": [ "80" ], "object": [] }, "enabled": "no", "id": "99999999" }, "default": { "class": 0, "appid": 1900001, "comment": "codex_test", "name": "codex_test", "protocol": "tcp", "src_addr": { "custom": [ "192.168.9.168" ], "object": [] }, "dst_addr": { "custom": [], "object": [] }, "src_port": "", "dst_port": { "custom": [ "80" ], "object": [] }, "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dprotos/edit", "value": { "func_name": "dprotos", "action": "edit", "param": { "class": 0, "appid": 1900001, "comment": "codex_test", "name": "codex_test", "protocol": "tcp", "src_addr": { "custom": [ "192.168.9.168" ], "object": [] }, "dst_addr": { "custom": [], "object": [] }, "src_port": "", "dst_port": { "custom": [ "80" ], "object": [] }, "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dprotos", "x-ikuai-action": "edit", "x-ikuai-param-example": { "class": 0, "appid": 1900001, "comment": "codex_test", "name": "codex_test", "protocol": "tcp", "src_addr": { "custom": [ "192.168.9.168" ], "object": [] }, "dst_addr": { "custom": [], "object": [] }, "src_port": "", "dst_port": { "custom": [ "80" ], "object": [] }, "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-protocols.json", "method": "put", "path": "/api/v4.0/network/app-protocols/custom/rules/{id}", "operationId": "updateCustomProtocol", "summary": "更新自定义协议策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteDhcpAccessRule": { "post": { "tags": [ "DHCP访问控制管理API" ], "summary": "删除访问控制规则", "operationId": "call_deleteDhcpAccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/dhcp/access-control/rules/{id}`\n- 来源文件: `network/network-dhcp-access.json`\n- func_name: `dhcp_acl_mac`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_acl_mac" ], "example": "dhcp_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_acl_mac/del", "value": { "func_name": "dhcp_acl_mac", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_acl_mac", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-access.json", "method": "delete", "path": "/api/v4.0/network/dhcp/access-control/rules/{id}", "operationId": "deleteDhcpAccessRule", "summary": "删除访问控制规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDhcpAccessRule": { "post": { "tags": [ "DHCP访问控制管理API" ], "summary": "获取指定访问控制规则", "operationId": "call_getDhcpAccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dhcp/access-control/rules/{id}`\n- 来源文件: `network/network-dhcp-access.json`\n- func_name: `dhcp_acl_mac`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_acl_mac" ], "example": "dhcp_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_acl_mac/show", "value": { "func_name": "dhcp_acl_mac", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_acl_mac", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-access.json", "method": "get", "path": "/api/v4.0/network/dhcp/access-control/rules/{id}", "operationId": "getDhcpAccessRule", "summary": "获取指定访问控制规则" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchDhcpAccessRule": { "post": { "tags": [ "DHCP访问控制管理API" ], "summary": "启用/停用访问控制规则", "operationId": "call_patchDhcpAccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/dhcp/access-control/rules/{id}`\n- 来源文件: `network/network-dhcp-access.json`\n- func_name: `dhcp_acl_mac`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_acl_mac" ], "example": "dhcp_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_acl_mac/edit", "value": { "func_name": "dhcp_acl_mac", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_acl_mac", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-access.json", "method": "patch", "path": "/api/v4.0/network/dhcp/access-control/rules/{id}", "operationId": "patchDhcpAccessRule", "summary": "启用/停用访问控制规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateDhcpAccessRule": { "post": { "tags": [ "DHCP访问控制管理API" ], "summary": "更新访问控制规则", "operationId": "call_updateDhcpAccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/dhcp/access-control/rules/{id}`\n- 来源文件: `network/network-dhcp-access.json`\n- func_name: `dhcp_acl_mac`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_acl_mac" ], "example": "dhcp_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "comment": "codex_test", "id": "99999999" }, "default": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "comment": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_acl_mac/edit", "value": { "func_name": "dhcp_acl_mac", "action": "edit", "param": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "comment": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_acl_mac", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "comment": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-access.json", "method": "put", "path": "/api/v4.0/network/dhcp/access-control/rules/{id}", "operationId": "updateDhcpAccessRule", "summary": "更新访问控制规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteDhcpService": { "post": { "tags": [ "DHCP服务管理API" ], "summary": "删除DHCP策略", "operationId": "call_deleteDhcpService", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/dhcp/services/{id}`\n- 来源文件: `network/network-dhcp-server.json`\n- func_name: `dhcp_server`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_server" ], "example": "dhcp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_server/del", "value": { "func_name": "dhcp_server", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_server", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-server.json", "method": "delete", "path": "/api/v4.0/network/dhcp/services/{id}", "operationId": "deleteDhcpService", "summary": "删除DHCP策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDhcpService": { "post": { "tags": [ "DHCP服务管理API" ], "summary": "获取指定DHCP策略", "operationId": "call_getDhcpService", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dhcp/services/{id}`\n- 来源文件: `network/network-dhcp-server.json`\n- func_name: `dhcp_server`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_server" ], "example": "dhcp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_server/show", "value": { "func_name": "dhcp_server", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_server", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-server.json", "method": "get", "path": "/api/v4.0/network/dhcp/services/{id}", "operationId": "getDhcpService", "summary": "获取指定DHCP策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchDhcpService": { "post": { "tags": [ "DHCP服务管理API" ], "summary": "启用/停用DHCP策略", "operationId": "call_patchDhcpService", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/dhcp/services/{id}`\n- 来源文件: `network/network-dhcp-server.json`\n- func_name: `dhcp_server`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_server" ], "example": "dhcp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_server/edit", "value": { "func_name": "dhcp_server", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_server", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-server.json", "method": "patch", "path": "/api/v4.0/network/dhcp/services/{id}", "operationId": "patchDhcpService", "summary": "启用/停用DHCP策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateDhcpService": { "post": { "tags": [ "DHCP服务管理API" ], "summary": "更新DHCP策略", "operationId": "call_updateDhcpService", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/dhcp/services/{id}`\n- 来源文件: `network/network-dhcp-server.json`\n- func_name: `dhcp_server`\n- action: `save`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_server" ], "example": "dhcp_server" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "save" ], "example": "save" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "interface": "lan1", "phy_ifnames": "eth0,veth0", "addr_pool": "192.168.1.100-192.168.1.200", "netmask": "255.255.255.0", "gateway": "192.0.2.254", "lease": 3600, "delay": 600, "check_addr_valid": 1, "check_relay_only": 0, "id": "99999999" }, "default": { "enabled": "no", "tagname": "codex_test", "interface": "lan1", "phy_ifnames": "eth0,veth0", "addr_pool": "192.168.1.100-192.168.1.200", "netmask": "255.255.255.0", "gateway": "192.0.2.254", "lease": 3600, "delay": 600, "check_addr_valid": 1, "check_relay_only": 0, "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_server/save", "value": { "func_name": "dhcp_server", "action": "save", "param": { "enabled": "no", "tagname": "codex_test", "interface": "lan1", "phy_ifnames": "eth0,veth0", "addr_pool": "192.168.1.100-192.168.1.200", "netmask": "255.255.255.0", "gateway": "192.0.2.254", "lease": 3600, "delay": 600, "check_addr_valid": 1, "check_relay_only": 0, "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_server", "x-ikuai-action": "save", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "interface": "lan1", "phy_ifnames": "eth0,veth0", "addr_pool": "192.168.1.100-192.168.1.200", "netmask": "255.255.255.0", "gateway": "192.0.2.254", "lease": 3600, "delay": 600, "check_addr_valid": 1, "check_relay_only": 0, "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-server.json", "method": "put", "path": "/api/v4.0/network/dhcp/services/{id}", "operationId": "updateDhcpService", "summary": "更新DHCP策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteDhcpStatic": { "post": { "tags": [ "DHCP静态分配管理API" ], "summary": "删除静态分配规则", "operationId": "call_deleteDhcpStatic", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/dhcp/static/{id}`\n- 来源文件: `network/network-dhcp-static.json`\n- func_name: `dhcp_static`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_static" ], "example": "dhcp_static" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_static/del", "value": { "func_name": "dhcp_static", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_static", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-static.json", "method": "delete", "path": "/api/v4.0/network/dhcp/static/{id}", "operationId": "deleteDhcpStatic", "summary": "删除静态分配规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDhcpStatic": { "post": { "tags": [ "DHCP静态分配管理API" ], "summary": "获取指定静态分配规则", "operationId": "call_getDhcpStatic", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dhcp/static/{id}`\n- 来源文件: `network/network-dhcp-static.json`\n- func_name: `dhcp_static`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_static" ], "example": "dhcp_static" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_static/show", "value": { "func_name": "dhcp_static", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_static", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-static.json", "method": "get", "path": "/api/v4.0/network/dhcp/static/{id}", "operationId": "getDhcpStatic", "summary": "获取指定静态分配规则" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchDhcpStatic": { "post": { "tags": [ "DHCP静态分配管理API" ], "summary": "启用/停用静态分配规则", "operationId": "call_patchDhcpStatic", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/dhcp/static/{id}`\n- 来源文件: `network/network-dhcp-static.json`\n- func_name: `dhcp_static`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_static" ], "example": "dhcp_static" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_static/edit", "value": { "func_name": "dhcp_static", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_static", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-static.json", "method": "patch", "path": "/api/v4.0/network/dhcp/static/{id}", "operationId": "patchDhcpStatic", "summary": "启用/停用静态分配规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateDhcpStatic": { "post": { "tags": [ "DHCP静态分配管理API" ], "summary": "更新静态分配规则", "operationId": "call_updateDhcpStatic", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/dhcp/static/{id}`\n- 来源文件: `network/network-dhcp-static.json`\n- func_name: `dhcp_static`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp_static" ], "example": "dhcp_static" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "mac": "02:00:5e:99:99:99", "ip_addr": "192.0.2.254", "interface": "lan1", "tagname": "codex_test", "id": "99999999" }, "default": { "enabled": "no", "mac": "02:00:5e:99:99:99", "ip_addr": "192.0.2.254", "interface": "lan1", "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp_static/edit", "value": { "func_name": "dhcp_static", "action": "edit", "param": { "enabled": "no", "mac": "02:00:5e:99:99:99", "ip_addr": "192.0.2.254", "interface": "lan1", "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp_static", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "mac": "02:00:5e:99:99:99", "ip_addr": "192.0.2.254", "interface": "lan1", "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp-static.json", "method": "put", "path": "/api/v4.0/network/dhcp/static/{id}", "operationId": "updateDhcpStatic", "summary": "更新静态分配规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteDhcp6AccessRule": { "post": { "tags": [ "DHCPv6访问控制管理API" ], "summary": "删除DHCPv6访问控制规则", "operationId": "call_deleteDhcp6AccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/dhcp6/access-control/rules/{id}`\n- 来源文件: `network/network-dhcp6-access.json`\n- func_name: `dhcp6_acl_mac`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp6_acl_mac" ], "example": "dhcp6_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp6_acl_mac/del", "value": { "func_name": "dhcp6_acl_mac", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp6_acl_mac", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp6-access.json", "method": "delete", "path": "/api/v4.0/network/dhcp6/access-control/rules/{id}", "operationId": "deleteDhcp6AccessRule", "summary": "删除DHCPv6访问控制规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDhcp6AccessRule": { "post": { "tags": [ "DHCPv6访问控制管理API" ], "summary": "获取指定DHCPv6访问控制规则", "operationId": "call_getDhcp6AccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dhcp6/access-control/rules/{id}`\n- 来源文件: `network/network-dhcp6-access.json`\n- func_name: `dhcp6_acl_mac`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp6_acl_mac" ], "example": "dhcp6_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp6_acl_mac/show", "value": { "func_name": "dhcp6_acl_mac", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp6_acl_mac", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp6-access.json", "method": "get", "path": "/api/v4.0/network/dhcp6/access-control/rules/{id}", "operationId": "getDhcp6AccessRule", "summary": "获取指定DHCPv6访问控制规则" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchDhcp6AccessRule": { "post": { "tags": [ "DHCPv6访问控制管理API" ], "summary": "启用/停用DHCPv6访问控制规则", "operationId": "call_patchDhcp6AccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/dhcp6/access-control/rules/{id}`\n- 来源文件: `network/network-dhcp6-access.json`\n- func_name: `dhcp6_acl_mac`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp6_acl_mac" ], "example": "dhcp6_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp6_acl_mac/edit", "value": { "func_name": "dhcp6_acl_mac", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp6_acl_mac", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp6-access.json", "method": "patch", "path": "/api/v4.0/network/dhcp6/access-control/rules/{id}", "operationId": "patchDhcp6AccessRule", "summary": "启用/停用DHCPv6访问控制规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateDhcp6AccessRule": { "post": { "tags": [ "DHCPv6访问控制管理API" ], "summary": "更新DHCPv6访问控制规则", "operationId": "call_updateDhcp6AccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/dhcp6/access-control/rules/{id}`\n- 来源文件: `network/network-dhcp6-access.json`\n- func_name: `dhcp6_acl_mac`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dhcp6_acl_mac" ], "example": "dhcp6_acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "id": "99999999" }, "default": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dhcp6_acl_mac/edit", "value": { "func_name": "dhcp6_acl_mac", "action": "edit", "param": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dhcp6_acl_mac", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dhcp6-access.json", "method": "put", "path": "/api/v4.0/network/dhcp6/access-control/rules/{id}", "operationId": "updateDhcp6AccessRule", "summary": "更新DHCPv6访问控制规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteDmzRule": { "post": { "tags": [ "DMZ策略管理API" ], "summary": "删除DMZ策略", "operationId": "call_deleteDmzRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/dmz/rules/{id}`\n- 来源文件: `network/network-dmz.json`\n- func_name: `netmap`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "netmap" ], "example": "netmap" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "netmap/del", "value": { "func_name": "netmap", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "netmap", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dmz.json", "method": "delete", "path": "/api/v4.0/network/dmz/rules/{id}", "operationId": "deleteDmzRule", "summary": "删除DMZ策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDmzRule": { "post": { "tags": [ "DMZ策略管理API" ], "summary": "获取指定DMZ策略详情", "operationId": "call_getDmzRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dmz/rules/{id}`\n- 来源文件: `network/network-dmz.json`\n- func_name: `netmap`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "netmap" ], "example": "netmap" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "netmap/show", "value": { "func_name": "netmap", "action": "show", "param": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "netmap", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dmz.json", "method": "get", "path": "/api/v4.0/network/dmz/rules/{id}", "operationId": "getDmzRule", "summary": "获取指定DMZ策略详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchDmzRule": { "post": { "tags": [ "DMZ策略管理API" ], "summary": "启用/停用DMZ策略", "operationId": "call_patchDmzRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/dmz/rules/{id}`\n- 来源文件: `network/network-dmz.json`\n- func_name: `netmap`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "netmap" ], "example": "netmap" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "netmap/edit", "value": { "func_name": "netmap", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "netmap", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dmz.json", "method": "patch", "path": "/api/v4.0/network/dmz/rules/{id}", "operationId": "patchDmzRule", "summary": "启用/停用DMZ策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateDmzRule": { "post": { "tags": [ "DMZ策略管理API" ], "summary": "更新DMZ策略", "operationId": "call_updateDmzRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/dmz/rules/{id}`\n- 来源文件: `network/network-dmz.json`\n- func_name: `netmap`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "netmap" ], "example": "netmap" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999", "tagname": "codex_test", "enabled": "no", "interface": "192.168.100.1", "lan_addr": "192.0.2.254", "protocol": "tcp", "excl_port": "80", "comment": "codex_test" }, "default": { "id": "99999999", "tagname": "codex_test", "enabled": "no", "interface": "192.168.100.1", "lan_addr": "192.0.2.254", "protocol": "tcp", "excl_port": "80", "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "netmap/edit", "value": { "func_name": "netmap", "action": "edit", "param": { "id": "99999999", "tagname": "codex_test", "enabled": "no", "interface": "192.168.100.1", "lan_addr": "192.0.2.254", "protocol": "tcp", "excl_port": "80", "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "netmap", "x-ikuai-action": "edit", "x-ikuai-param-example": { "id": "99999999", "tagname": "codex_test", "enabled": "no", "interface": "192.168.100.1", "lan_addr": "192.0.2.254", "protocol": "tcp", "excl_port": "80", "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "network/network-dmz.json", "method": "put", "path": "/api/v4.0/network/dmz/rules/{id}", "operationId": "updateDmzRule", "summary": "更新DMZ策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteDnatRule": { "post": { "tags": [ "端口映射规则管理API" ], "summary": "删除DNAT规则", "operationId": "call_deleteDnatRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/dnat/rules/{id}`\n- 来源文件: `network/network-dnat.json`\n- func_name: `dnat`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dnat" ], "example": "dnat" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dnat/del", "value": { "func_name": "dnat", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dnat", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dnat.json", "method": "delete", "path": "/api/v4.0/network/dnat/rules/{id}", "operationId": "deleteDnatRule", "summary": "删除DNAT规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDnatRule": { "post": { "tags": [ "端口映射规则管理API" ], "summary": "获取指定DNAT规则详情", "operationId": "call_getDnatRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dnat/rules/{id}`\n- 来源文件: `network/network-dnat.json`\n- func_name: `dnat`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dnat" ], "example": "dnat" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dnat/show", "value": { "func_name": "dnat", "action": "show", "param": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dnat", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total,enabled_total,disabled_total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dnat.json", "method": "get", "path": "/api/v4.0/network/dnat/rules/{id}", "operationId": "getDnatRule", "summary": "获取指定DNAT规则详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchDnatRule": { "post": { "tags": [ "端口映射规则管理API" ], "summary": "启用/停用DNAT规则", "operationId": "call_patchDnatRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/dnat/rules/{id}`\n- 来源文件: `network/network-dnat.json`\n- func_name: `dnat`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dnat" ], "example": "dnat" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dnat/edit", "value": { "func_name": "dnat", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dnat", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dnat.json", "method": "patch", "path": "/api/v4.0/network/dnat/rules/{id}", "operationId": "patchDnatRule", "summary": "启用/停用DNAT规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateDnatRule": { "post": { "tags": [ "端口映射规则管理API" ], "summary": "更新DNAT规则", "operationId": "call_updateDnatRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/dnat/rules/{id}`\n- 来源文件: `network/network-dnat.json`\n- func_name: `dnat`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dnat" ], "example": "dnat" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999", "tagname": "codex_test", "enabled": "no", "lan_addr": "192.0.2.254", "lan_port": "90,9090-9099", "protocol": "tcp", "interface": "wan1", "wan_port": "90,9090-9099", "comment": "codex_test" }, "default": { "id": "99999999", "tagname": "codex_test", "enabled": "no", "lan_addr": "192.0.2.254", "lan_port": "90,9090-9099", "protocol": "tcp", "interface": "wan1", "wan_port": "90,9090-9099", "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dnat/edit", "value": { "func_name": "dnat", "action": "edit", "param": { "id": "99999999", "tagname": "codex_test", "enabled": "no", "lan_addr": "192.0.2.254", "lan_port": "90,9090-9099", "protocol": "tcp", "interface": "wan1", "wan_port": "90,9090-9099", "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dnat", "x-ikuai-action": "edit", "x-ikuai-param-example": { "id": "99999999", "tagname": "codex_test", "enabled": "no", "lan_addr": "192.0.2.254", "lan_port": "90,9090-9099", "protocol": "tcp", "interface": "wan1", "wan_port": "90,9090-9099", "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "network/network-dnat.json", "method": "put", "path": "/api/v4.0/network/dnat/rules/{id}", "operationId": "updateDnatRule", "summary": "更新DNAT规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteDnsProxyRule": { "post": { "tags": [ "DNS服务管理API" ], "summary": "删除DNS代理规则", "operationId": "call_deleteDnsProxyRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/dns/proxy/rules/{id}`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/del", "value": { "func_name": "dns", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "delete", "path": "/api/v4.0/network/dns/proxy/rules/{id}", "operationId": "deleteDnsProxyRule", "summary": "删除DNS代理规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDnsProxyRule": { "post": { "tags": [ "DNS服务管理API" ], "summary": "获取指定DNS代理规则", "operationId": "call_getDnsProxyRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/dns/proxy/rules/{id}`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500", "id": "99999999" }, "default": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/show", "value": { "func_name": "dns", "action": "show", "param": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "show", "x-ikuai-param-example": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "get", "path": "/api/v4.0/network/dns/proxy/rules/{id}", "operationId": "getDnsProxyRule", "summary": "获取指定DNS代理规则" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchDnsProxyRule": { "post": { "tags": [ "DNS服务管理API" ], "summary": "启用/停用DNS代理规则", "operationId": "call_patchDnsProxyRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/dns/proxy/rules/{id}`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/edit", "value": { "func_name": "dns", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "patch", "path": "/api/v4.0/network/dns/proxy/rules/{id}", "operationId": "patchDnsProxyRule", "summary": "启用/停用DNS代理规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateDnsProxyRule": { "post": { "tags": [ "DNS服务管理API" ], "summary": "更新DNS代理规则", "operationId": "call_updateDnsProxyRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/dns/proxy/rules/{id}`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "domain": "example.invalid", "dns_addr": "192.168.1.100", "enabled": "no", "parse_type": "ipv4", "id": "99999999" }, "default": { "domain": "example.invalid", "dns_addr": "192.168.1.100", "enabled": "no", "parse_type": "ipv4", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/edit", "value": { "func_name": "dns", "action": "edit", "param": { "domain": "example.invalid", "dns_addr": "192.168.1.100", "enabled": "no", "parse_type": "ipv4", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "edit", "x-ikuai-param-example": { "domain": "example.invalid", "dns_addr": "192.168.1.100", "enabled": "no", "parse_type": "ipv4", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "put", "path": "/api/v4.0/network/dns/proxy/rules/{id}", "operationId": "updateDnsProxyRule", "summary": "更新DNS代理规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteMultiDnsRule": { "post": { "tags": [ "DNS服务管理API" ], "summary": "删除多线DNS策略", "operationId": "call_deleteMultiDnsRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/multi-dns/rules/{id}`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/del", "value": { "func_name": "dns", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "delete", "path": "/api/v4.0/network/multi-dns/rules/{id}", "operationId": "deleteMultiDnsRule", "summary": "删除多线DNS策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getMultiDnsRule": { "post": { "tags": [ "DNS服务管理API" ], "summary": "获取指定多线DNS策略", "operationId": "call_getMultiDnsRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/multi-dns/rules/{id}`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500", "id": "99999999" }, "default": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/show", "value": { "func_name": "dns", "action": "show", "param": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "show", "x-ikuai-param-example": { "FINDS": "domain,dns_addr,src_addr,comment", "TYPE": "dns_proxy_total,dns_proxy", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "get", "path": "/api/v4.0/network/multi-dns/rules/{id}", "operationId": "getMultiDnsRule", "summary": "获取指定多线DNS策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchMultiDnsRule": { "post": { "tags": [ "DNS服务管理API" ], "summary": "启用/停用多线DNS策略", "operationId": "call_patchMultiDnsRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/multi-dns/rules/{id}`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/edit", "value": { "func_name": "dns", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "patch", "path": "/api/v4.0/network/multi-dns/rules/{id}", "operationId": "patchMultiDnsRule", "summary": "启用/停用多线DNS策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateMultiDnsRule": { "post": { "tags": [ "DNS服务管理API" ], "summary": "更新多线DNS策略", "operationId": "call_updateMultiDnsRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/multi-dns/rules/{id}`\n- 来源文件: `network/network-dns.json`\n- func_name: `dns`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "dns" ], "example": "dns" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "interface": "wan1", "tagname": "codex_test", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "enabled": "no", "comment": "codex_test", "id": "99999999" }, "default": { "interface": "wan1", "tagname": "codex_test", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "enabled": "no", "comment": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "dns/edit", "value": { "func_name": "dns", "action": "edit", "param": { "interface": "wan1", "tagname": "codex_test", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "enabled": "no", "comment": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "dns", "x-ikuai-action": "edit", "x-ikuai-param-example": { "interface": "wan1", "tagname": "codex_test", "dns1": "192.0.2.254", "dns2": "192.0.2.254", "enabled": "no", "comment": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-dns.json", "method": "put", "path": "/api/v4.0/network/multi-dns/rules/{id}", "operationId": "updateMultiDnsRule", "summary": "更新多线DNS策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteNatRule": { "post": { "tags": [ "NAT规则策略管理API" ], "summary": "删除NAT规则", "operationId": "call_deleteNatRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/nat/rules/{id}`\n- 来源文件: `network/network-nat-rule.json`\n- func_name: `nat_rule`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "nat_rule" ], "example": "nat_rule" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "nat_rule/del", "value": { "func_name": "nat_rule", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "nat_rule", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-nat-rule.json", "method": "delete", "path": "/api/v4.0/network/nat/rules/{id}", "operationId": "deleteNatRule", "summary": "删除NAT规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getNatRule": { "post": { "tags": [ "NAT规则策略管理API" ], "summary": "获取指定NAT规则详情", "operationId": "call_getNatRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/nat/rules/{id}`\n- 来源文件: `network/network-nat-rule.json`\n- func_name: `nat_rule`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "nat_rule" ], "example": "nat_rule" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "nat_rule/show", "value": { "func_name": "nat_rule", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "nat_rule", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-nat-rule.json", "method": "get", "path": "/api/v4.0/network/nat/rules/{id}", "operationId": "getNatRule", "summary": "获取指定NAT规则详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchNatRule": { "post": { "tags": [ "NAT规则策略管理API" ], "summary": "启用/停用NAT规则", "operationId": "call_patchNatRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/nat/rules/{id}`\n- 来源文件: `network/network-nat-rule.json`\n- func_name: `nat_rule`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "nat_rule" ], "example": "nat_rule" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "nat_rule/edit", "value": { "func_name": "nat_rule", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "nat_rule", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-nat-rule.json", "method": "patch", "path": "/api/v4.0/network/nat/rules/{id}", "operationId": "patchNatRule", "summary": "启用/停用NAT规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateNatRule": { "post": { "tags": [ "NAT规则策略管理API" ], "summary": "更新NAT规则", "operationId": "call_updateNatRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/nat/rules/{id}`\n- 来源文件: `network/network-nat-rule.json`\n- func_name: `nat_rule`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "nat_rule" ], "example": "nat_rule" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "tagname": "codex_test", "enabled": "no", "action": "filter", "iinterface": "lan1", "ointerface": "wan1", "src_addr_inv": 0, "dst_addr_inv": 0, "id": "99999999" }, "default": { "tagname": "codex_test", "enabled": "no", "action": "filter", "iinterface": "lan1", "ointerface": "wan1", "src_addr_inv": 0, "dst_addr_inv": 0, "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "nat_rule/edit", "value": { "func_name": "nat_rule", "action": "edit", "param": { "tagname": "codex_test", "enabled": "no", "action": "filter", "iinterface": "lan1", "ointerface": "wan1", "src_addr_inv": 0, "dst_addr_inv": 0, "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "nat_rule", "x-ikuai-action": "edit", "x-ikuai-param-example": { "tagname": "codex_test", "enabled": "no", "action": "filter", "iinterface": "lan1", "ointerface": "wan1", "src_addr_inv": 0, "dst_addr_inv": 0, "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-nat-rule.json", "method": "put", "path": "/api/v4.0/network/nat/rules/{id}", "operationId": "updateNatRule", "summary": "更新NAT规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteIpQos": { "post": { "tags": [ "IP地址限速管理API" ], "summary": "删除IP限速规则", "operationId": "call_deleteIpQos", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/qos/ip/{id}`\n- 来源文件: `network/network-qos-ip.json`\n- func_name: `simple_qos`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "simple_qos" ], "example": "simple_qos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "simple_qos/del", "value": { "func_name": "simple_qos", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "simple_qos", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-qos-ip.json", "method": "delete", "path": "/api/v4.0/network/qos/ip/{id}", "operationId": "deleteIpQos", "summary": "删除IP限速规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getIpQos": { "post": { "tags": [ "IP地址限速管理API" ], "summary": "获取指定IP限速规则", "operationId": "call_getIpQos", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/qos/ip/{id}`\n- 来源文件: `network/network-qos-ip.json`\n- func_name: `simple_qos`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "simple_qos" ], "example": "simple_qos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "simple_qos/show", "value": { "func_name": "simple_qos", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "simple_qos", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-qos-ip.json", "method": "get", "path": "/api/v4.0/network/qos/ip/{id}", "operationId": "getIpQos", "summary": "获取指定IP限速规则" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/partialUpdateIpQos": { "post": { "tags": [ "IP地址限速管理API" ], "summary": "启用/停用IP限速规则", "operationId": "call_partialUpdateIpQos", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/qos/ip/{id}`\n- 来源文件: `network/network-qos-ip.json`\n- func_name: `simple_qos`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "simple_qos" ], "example": "simple_qos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "simple_qos/edit", "value": { "func_name": "simple_qos", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "simple_qos", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-qos-ip.json", "method": "patch", "path": "/api/v4.0/network/qos/ip/{id}", "operationId": "partialUpdateIpQos", "summary": "启用/停用IP限速规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateIpQos": { "post": { "tags": [ "IP地址限速管理API" ], "summary": "更新IP限速规则", "operationId": "call_updateIpQos", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/qos/ip/{id}`\n- 来源文件: `network/network-qos-ip.json`\n- func_name: `simple_qos`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "simple_qos" ], "example": "simple_qos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "upload": "200", "download": "200", "comment": "codex_test", "enabled": "no", "type": 0, "protocol": "any", "interface": "wan1", "ip_addr": "192.0.2.254", "src_port": { "custom": [], "object": [] }, "dst_port": { "custom": [], "object": [] }, "tagname": "codex_test", "id": "99999999" }, "default": { "upload": "200", "download": "200", "comment": "codex_test", "enabled": "no", "type": 0, "protocol": "any", "interface": "wan1", "ip_addr": "192.0.2.254", "src_port": { "custom": [], "object": [] }, "dst_port": { "custom": [], "object": [] }, "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "simple_qos/edit", "value": { "func_name": "simple_qos", "action": "edit", "param": { "upload": "200", "download": "200", "comment": "codex_test", "enabled": "no", "type": 0, "protocol": "any", "interface": "wan1", "ip_addr": "192.0.2.254", "src_port": { "custom": [], "object": [] }, "dst_port": { "custom": [], "object": [] }, "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "simple_qos", "x-ikuai-action": "edit", "x-ikuai-param-example": { "upload": "200", "download": "200", "comment": "codex_test", "enabled": "no", "type": 0, "protocol": "any", "interface": "wan1", "ip_addr": "192.0.2.254", "src_port": { "custom": [], "object": [] }, "dst_port": { "custom": [], "object": [] }, "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-qos-ip.json", "method": "put", "path": "/api/v4.0/network/qos/ip/{id}", "operationId": "updateIpQos", "summary": "更新IP限速规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteMacQos": { "post": { "tags": [ "MAC地址限速管理API" ], "summary": "删除MAC限速规则", "operationId": "call_deleteMacQos", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/qos/mac/{id}`\n- 来源文件: `network/network-qos-mac.json`\n- func_name: `simple_qos`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "simple_qos" ], "example": "simple_qos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "simple_qos/del", "value": { "func_name": "simple_qos", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "simple_qos", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-qos-mac.json", "method": "delete", "path": "/api/v4.0/network/qos/mac/{id}", "operationId": "deleteMacQos", "summary": "删除MAC限速规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getMacQos": { "post": { "tags": [ "MAC地址限速管理API" ], "summary": "获取指定MAC限速规则", "operationId": "call_getMacQos", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/qos/mac/{id}`\n- 来源文件: `network/network-qos-mac.json`\n- func_name: `simple_qos`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "simple_qos" ], "example": "simple_qos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "simple_qos/show", "value": { "func_name": "simple_qos", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "simple_qos", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-qos-mac.json", "method": "get", "path": "/api/v4.0/network/qos/mac/{id}", "operationId": "getMacQos", "summary": "获取指定MAC限速规则" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/partialUpdateMacQos": { "post": { "tags": [ "MAC地址限速管理API" ], "summary": "启用/停用MAC限速规则", "operationId": "call_partialUpdateMacQos", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/qos/mac/{id}`\n- 来源文件: `network/network-qos-mac.json`\n- func_name: `simple_qos`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "simple_qos" ], "example": "simple_qos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "simple_qos/edit", "value": { "func_name": "simple_qos", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "simple_qos", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-qos-mac.json", "method": "patch", "path": "/api/v4.0/network/qos/mac/{id}", "operationId": "partialUpdateMacQos", "summary": "启用/停用MAC限速规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateMacQos": { "post": { "tags": [ "MAC地址限速管理API" ], "summary": "更新MAC限速规则", "operationId": "call_updateMacQos", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/qos/mac/{id}`\n- 来源文件: `network/network-qos-mac.json`\n- func_name: `simple_qos`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "simple_qos" ], "example": "simple_qos" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "upload": "200", "download": "200", "comment": "codex_test", "enabled": "no", "ip_type": "4", "interface": "wan1", "mac_addr": { "custom": [ "08:9b:4b:00:10:6f" ] }, "tagname": "codex_test", "id": "99999999" }, "default": { "upload": "200", "download": "200", "comment": "codex_test", "enabled": "no", "ip_type": "4", "interface": "wan1", "mac_addr": { "custom": [ "08:9b:4b:00:10:6f" ] }, "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "simple_qos/edit", "value": { "func_name": "simple_qos", "action": "edit", "param": { "upload": "200", "download": "200", "comment": "codex_test", "enabled": "no", "ip_type": "4", "interface": "wan1", "mac_addr": { "custom": [ "08:9b:4b:00:10:6f" ] }, "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "simple_qos", "x-ikuai-action": "edit", "x-ikuai-param-example": { "upload": "200", "download": "200", "comment": "codex_test", "enabled": "no", "ip_type": "4", "interface": "wan1", "mac_addr": { "custom": [ "08:9b:4b:00:10:6f" ] }, "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-qos-mac.json", "method": "put", "path": "/api/v4.0/network/qos/mac/{id}", "operationId": "updateMacQos", "summary": "更新MAC限速规则" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteVlan": { "post": { "tags": [ "VLAN接口管理API" ], "summary": "删除VLAN接口", "operationId": "call_deleteVlan", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/network/vlan/{id}`\n- 来源文件: `network/network-vlan.json`\n- func_name: `vlan`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "vlan" ], "example": "vlan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "vlan/del", "value": { "func_name": "vlan", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "vlan", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-vlan.json", "method": "delete", "path": "/api/v4.0/network/vlan/{id}", "operationId": "deleteVlan", "summary": "删除VLAN接口" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getVlanById": { "post": { "tags": [ "VLAN接口管理API" ], "summary": "获取单个VLAN接口配置", "operationId": "call_getVlanById", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/network/vlan/{id}`\n- 来源文件: `network/network-vlan.json`\n- func_name: `vlan`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "vlan" ], "example": "vlan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "vlan/show", "value": { "func_name": "vlan", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "vlan", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-vlan.json", "method": "get", "path": "/api/v4.0/network/vlan/{id}", "operationId": "getVlanById", "summary": "获取单个VLAN接口配置" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/toggleVlan": { "post": { "tags": [ "VLAN接口管理API" ], "summary": "启用/停用VLAN接口", "operationId": "call_toggleVlan", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/network/vlan/{id}`\n- 来源文件: `network/network-vlan.json`\n- func_name: `vlan`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "vlan" ], "example": "vlan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "vlan/edit", "value": { "func_name": "vlan", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "vlan", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-vlan.json", "method": "patch", "path": "/api/v4.0/network/vlan/{id}", "operationId": "toggleVlan", "summary": "启用/停用VLAN接口" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateVlan": { "post": { "tags": [ "VLAN接口管理API" ], "summary": "更新VLAN接口配置", "operationId": "call_updateVlan", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/network/vlan/{id}`\n- 来源文件: `network/network-vlan.json`\n- func_name: `vlan`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "vlan" ], "example": "vlan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "vlan_id": "1001", "vlan_name": "vlan1001", "interface": "lan1", "mac": "02:00:5e:99:99:99", "ip_addr": "192.0.2.254", "netmask": "255.255.255.255", "ip_mask": "", "enabled": "no", "comment": "codex_test", "id": "99999999" }, "default": { "vlan_id": "1001", "vlan_name": "vlan1001", "interface": "lan1", "mac": "02:00:5e:99:99:99", "ip_addr": "192.0.2.254", "netmask": "255.255.255.255", "ip_mask": "", "enabled": "no", "comment": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "vlan/edit", "value": { "func_name": "vlan", "action": "edit", "param": { "vlan_id": "1001", "vlan_name": "vlan1001", "interface": "lan1", "mac": "02:00:5e:99:99:99", "ip_addr": "192.0.2.254", "netmask": "255.255.255.255", "ip_mask": "", "enabled": "no", "comment": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "vlan", "x-ikuai-action": "edit", "x-ikuai-param-example": { "vlan_id": "1001", "vlan_name": "vlan1001", "interface": "lan1", "mac": "02:00:5e:99:99:99", "ip_addr": "192.0.2.254", "netmask": "255.255.255.255", "ip_mask": "", "enabled": "no", "comment": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "network/network-vlan.json", "method": "put", "path": "/api/v4.0/network/vlan/{id}", "operationId": "updateVlan", "summary": "更新VLAN接口配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deletePortObject": { "post": { "tags": [ "端口对象管理API" ], "summary": "删除端口对象", "operationId": "call_deletePortObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/port-objects/{id}`\n- 来源文件: `object_group/network-object-port.json`\n- func_name: `route_object_port`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_port" ], "example": "route_object_port" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_port/del", "value": { "func_name": "route_object_port", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_port", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-port.json", "method": "delete", "path": "/api/v4.0/port-objects/{id}", "operationId": "deletePortObject", "summary": "删除端口对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getPortObject": { "post": { "tags": [ "端口对象管理API" ], "summary": "获取指定端口对象", "operationId": "call_getPortObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/port-objects/{id}`\n- 来源文件: `object_group/network-object-port.json`\n- func_name: `route_object_port`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_port" ], "example": "route_object_port" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_port/show", "value": { "func_name": "route_object_port", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_port", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-port.json", "method": "get", "path": "/api/v4.0/port-objects/{id}", "operationId": "getPortObject", "summary": "获取指定端口对象" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updatePortObject": { "post": { "tags": [ "端口对象管理API" ], "summary": "更新端口对象", "operationId": "call_updatePortObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/port-objects/{id}`\n- 来源文件: `object_group/network-object-port.json`\n- func_name: `route_object_port`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_port" ], "example": "route_object_port" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "port": "8080", "comment": "codex_test" } ], "id": "99999999" }, "default": { "group_name": "codex_test", "group_value": [ { "port": "8080", "comment": "codex_test" } ], "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_port/edit", "value": { "func_name": "route_object_port", "action": "edit", "param": { "group_name": "codex_test", "group_value": [ { "port": "8080", "comment": "codex_test" } ], "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_port", "x-ikuai-action": "edit", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "port": "8080", "comment": "codex_test" } ], "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-port.json", "method": "put", "path": "/api/v4.0/port-objects/{id}", "operationId": "updatePortObject", "summary": "更新端口对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteProtoObject": { "post": { "tags": [ "协议对象管理API" ], "summary": "删除协议对象", "operationId": "call_deleteProtoObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/proto-objects/{id}`\n- 来源文件: `object_group/network-object-proto.json`\n- func_name: `route_object_proto`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_proto" ], "example": "route_object_proto" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_proto/del", "value": { "func_name": "route_object_proto", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_proto", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-proto.json", "method": "delete", "path": "/api/v4.0/proto-objects/{id}", "operationId": "deleteProtoObject", "summary": "删除协议对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getProtoObject": { "post": { "tags": [ "协议对象管理API" ], "summary": "获取指定协议对象", "operationId": "call_getProtoObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/proto-objects/{id}`\n- 来源文件: `object_group/network-object-proto.json`\n- func_name: `route_object_proto`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_proto" ], "example": "route_object_proto" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_proto/show", "value": { "func_name": "route_object_proto", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_proto", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-proto.json", "method": "get", "path": "/api/v4.0/proto-objects/{id}", "operationId": "getProtoObject", "summary": "获取指定协议对象" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateProtoObject": { "post": { "tags": [ "协议对象管理API" ], "summary": "更新协议对象", "operationId": "call_updateProtoObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/proto-objects/{id}`\n- 来源文件: `object_group/network-object-proto.json`\n- func_name: `route_object_proto`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_proto" ], "example": "route_object_proto" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "proto": "HTTP", "comment": "codex_test" } ], "id": "99999999" }, "default": { "group_name": "codex_test", "group_value": [ { "proto": "HTTP", "comment": "codex_test" } ], "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_proto/edit", "value": { "func_name": "route_object_proto", "action": "edit", "param": { "group_name": "codex_test", "group_value": [ { "proto": "HTTP", "comment": "codex_test" } ], "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_proto", "x-ikuai-action": "edit", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "proto": "HTTP", "comment": "codex_test" } ], "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-proto.json", "method": "put", "path": "/api/v4.0/proto-objects/{id}", "operationId": "updateProtoObject", "summary": "更新协议对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteAppProtocol": { "post": { "tags": [ "协议分流策略管理API" ], "summary": "删除协议分流策略", "operationId": "call_deleteAppProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/routing/app-protocols/{id}`\n- 来源文件: `route/network-stream-l7.json`\n- func_name: `stream_layer7`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_layer7" ], "example": "stream_layer7" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_layer7/del", "value": { "func_name": "stream_layer7", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_layer7", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-l7.json", "method": "delete", "path": "/api/v4.0/routing/app-protocols/{id}", "operationId": "deleteAppProtocol", "summary": "删除协议分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getAppProtocol": { "post": { "tags": [ "协议分流策略管理API" ], "summary": "获取指定协议分流策略", "operationId": "call_getAppProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/routing/app-protocols/{id}`\n- 来源文件: `route/network-stream-l7.json`\n- func_name: `stream_layer7`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_layer7" ], "example": "stream_layer7" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_layer7/show", "value": { "func_name": "stream_layer7", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_layer7", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-l7.json", "method": "get", "path": "/api/v4.0/routing/app-protocols/{id}", "operationId": "getAppProtocol", "summary": "获取指定协议分流策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateAppProtocolStatus": { "post": { "tags": [ "协议分流策略管理API" ], "summary": "启用/停用协议分流策略", "operationId": "call_updateAppProtocolStatus", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/routing/app-protocols/{id}`\n- 来源文件: `route/network-stream-l7.json`\n- func_name: `stream_layer7`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_layer7" ], "example": "stream_layer7" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_layer7/edit", "value": { "func_name": "stream_layer7", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_layer7", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-l7.json", "method": "patch", "path": "/api/v4.0/routing/app-protocols/{id}", "operationId": "updateAppProtocolStatus", "summary": "启用/停用协议分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateAppProtocol": { "post": { "tags": [ "协议分流策略管理API" ], "summary": "更新协议分流策略", "operationId": "call_updateAppProtocol", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/routing/app-protocols/{id}`\n- 来源文件: `route/network-stream-l7.json`\n- func_name: `stream_layer7`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_layer7" ], "example": "stream_layer7" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "interface": "wan2", "mode": 0, "prio": 1, "iface_band": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" } ] }, "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "iKuai-TimeGroup", "gid": "TIMEGP1" } ] }, "id": "99999999" }, "default": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "interface": "wan2", "mode": 0, "prio": 1, "iface_band": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" } ] }, "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "iKuai-TimeGroup", "gid": "TIMEGP1" } ] }, "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_layer7/edit", "value": { "func_name": "stream_layer7", "action": "edit", "param": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "interface": "wan2", "mode": 0, "prio": 1, "iface_band": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" } ] }, "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "iKuai-TimeGroup", "gid": "TIMEGP1" } ] }, "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_layer7", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "interface": "wan2", "mode": 0, "prio": 1, "iface_band": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" } ] }, "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "iKuai-TimeGroup", "gid": "TIMEGP1" } ] }, "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-l7.json", "method": "put", "path": "/api/v4.0/routing/app-protocols/{id}", "operationId": "updateAppProtocol", "summary": "更新协议分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteDomainRule": { "post": { "tags": [ "域名分流策略管理API" ], "summary": "删除域名分流策略", "operationId": "call_deleteDomainRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/routing/domain-rules/{id}`\n- 来源文件: `route/network-stream-domain.json`\n- func_name: `stream_domain`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_domain" ], "example": "stream_domain" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_domain/del", "value": { "func_name": "stream_domain", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_domain", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-domain.json", "method": "delete", "path": "/api/v4.0/routing/domain-rules/{id}", "operationId": "deleteDomainRule", "summary": "删除域名分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDomainRule": { "post": { "tags": [ "域名分流策略管理API" ], "summary": "获取指定域名分流策略", "operationId": "call_getDomainRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/routing/domain-rules/{id}`\n- 来源文件: `route/network-stream-domain.json`\n- func_name: `stream_domain`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_domain" ], "example": "stream_domain" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_domain/show", "value": { "func_name": "stream_domain", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_domain", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-domain.json", "method": "get", "path": "/api/v4.0/routing/domain-rules/{id}", "operationId": "getDomainRule", "summary": "获取指定域名分流策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateDomainRuleStatus": { "post": { "tags": [ "域名分流策略管理API" ], "summary": "启用/停用域名分流策略", "operationId": "call_updateDomainRuleStatus", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/routing/domain-rules/{id}`\n- 来源文件: `route/network-stream-domain.json`\n- func_name: `stream_domain`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_domain" ], "example": "stream_domain" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_domain/edit", "value": { "func_name": "stream_domain", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_domain", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-domain.json", "method": "patch", "path": "/api/v4.0/routing/domain-rules/{id}", "operationId": "updateDomainRuleStatus", "summary": "启用/停用域名分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateDomainRule": { "post": { "tags": [ "域名分流策略管理API" ], "summary": "更新域名分流策略", "operationId": "call_updateDomainRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/routing/domain-rules/{id}`\n- 来源文件: `route/network-stream-domain.json`\n- func_name: `stream_domain`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_domain" ], "example": "stream_domain" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "domain": "example.invalid", "interface": "wan2", "prio": 31, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" }, { "type": 2, "gp_name": "iKuai-Mac", "gid": "MACIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "iKuai-TimeGroup", "gid": "TIMEGP1" } ] }, "id": "99999999" }, "default": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "domain": "example.invalid", "interface": "wan2", "prio": 31, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" }, { "type": 2, "gp_name": "iKuai-Mac", "gid": "MACIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "iKuai-TimeGroup", "gid": "TIMEGP1" } ] }, "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_domain/edit", "value": { "func_name": "stream_domain", "action": "edit", "param": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "domain": "example.invalid", "interface": "wan2", "prio": 31, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" }, { "type": 2, "gp_name": "iKuai-Mac", "gid": "MACIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "iKuai-TimeGroup", "gid": "TIMEGP1" } ] }, "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_domain", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "domain": "example.invalid", "interface": "wan2", "prio": 31, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" }, { "type": 2, "gp_name": "iKuai-Mac", "gid": "MACIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "iKuai-TimeGroup", "gid": "TIMEGP1" } ] }, "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-domain.json", "method": "put", "path": "/api/v4.0/routing/domain-rules/{id}", "operationId": "updateDomainRule", "summary": "更新域名分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteFiveTupleRule": { "post": { "tags": [ "端口分流策略管理API" ], "summary": "删除端口分流策略", "operationId": "call_deleteFiveTupleRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/routing/five-tuple-rules/{id}`\n- 来源文件: `route/network-stream-ipport.json`\n- func_name: `stream_ipport`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_ipport" ], "example": "stream_ipport" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_ipport/del", "value": { "func_name": "stream_ipport", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_ipport", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-ipport.json", "method": "delete", "path": "/api/v4.0/routing/five-tuple-rules/{id}", "operationId": "deleteFiveTupleRule", "summary": "删除端口分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getFiveTupleRule": { "post": { "tags": [ "端口分流策略管理API" ], "summary": "获取指定端口分流策略", "operationId": "call_getFiveTupleRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/routing/five-tuple-rules/{id}`\n- 来源文件: `route/network-stream-ipport.json`\n- func_name: `stream_ipport`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_ipport" ], "example": "stream_ipport" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_ipport/show", "value": { "func_name": "stream_ipport", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_ipport", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-ipport.json", "method": "get", "path": "/api/v4.0/routing/five-tuple-rules/{id}", "operationId": "getFiveTupleRule", "summary": "获取指定端口分流策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateFiveTupleRuleStatus": { "post": { "tags": [ "端口分流策略管理API" ], "summary": "启用/停用端口分流策略", "operationId": "call_updateFiveTupleRuleStatus", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/routing/five-tuple-rules/{id}`\n- 来源文件: `route/network-stream-ipport.json`\n- func_name: `stream_ipport`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_ipport" ], "example": "stream_ipport" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_ipport/edit", "value": { "func_name": "stream_ipport", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_ipport", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-ipport.json", "method": "patch", "path": "/api/v4.0/routing/five-tuple-rules/{id}", "operationId": "updateFiveTupleRuleStatus", "summary": "启用/停用端口分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateFiveTupleRule": { "post": { "tags": [ "端口分流策略管理API" ], "summary": "更新端口分流策略", "operationId": "call_updateFiveTupleRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/routing/five-tuple-rules/{id}`\n- 来源文件: `route/network-stream-ipport.json`\n- func_name: `stream_ipport`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_ipport" ], "example": "stream_ipport" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "type": 0, "nexthop": "", "interface": "wan2", "protocol": "tcp", "prio": 31, "mode": 0, "iface_band": 0, "src_addr_inv": 0, "dst_addr_inv": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:6e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "dst_addr": {}, "src_port": {}, "dst_port": {}, "dst_type": 0, "area_code": "", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "id": "99999999" }, "default": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "type": 0, "nexthop": "", "interface": "wan2", "protocol": "tcp", "prio": 31, "mode": 0, "iface_band": 0, "src_addr_inv": 0, "dst_addr_inv": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:6e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "dst_addr": {}, "src_port": {}, "dst_port": {}, "dst_type": 0, "area_code": "", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_ipport/edit", "value": { "func_name": "stream_ipport", "action": "edit", "param": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "type": 0, "nexthop": "", "interface": "wan2", "protocol": "tcp", "prio": 31, "mode": 0, "iface_band": 0, "src_addr_inv": 0, "dst_addr_inv": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:6e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "dst_addr": {}, "src_port": {}, "dst_port": {}, "dst_type": 0, "area_code": "", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_ipport", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "type": 0, "nexthop": "", "interface": "wan2", "protocol": "tcp", "prio": 31, "mode": 0, "iface_band": 0, "src_addr_inv": 0, "dst_addr_inv": 0, "src_addr": { "custom": [ "192.168.9.169", "08:9b:4b:00:10:6e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "dst_addr": {}, "src_port": {}, "dst_port": {}, "dst_type": 0, "area_code": "", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-ipport.json", "method": "put", "path": "/api/v4.0/routing/five-tuple-rules/{id}", "operationId": "updateFiveTupleRule", "summary": "更新端口分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteLoadBalanceRule": { "post": { "tags": [ "多线负载分流策略管理API" ], "summary": "删除多线负载分流策略", "operationId": "call_deleteLoadBalanceRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/routing/load-balance-rules/{id}`\n- 来源文件: `route/network-stream-load.json`\n- func_name: `lb_pcc`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "lb_pcc" ], "example": "lb_pcc" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "lb_pcc/del", "value": { "func_name": "lb_pcc", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "lb_pcc", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-load.json", "method": "delete", "path": "/api/v4.0/routing/load-balance-rules/{id}", "operationId": "deleteLoadBalanceRule", "summary": "删除多线负载分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getLoadBalanceRule": { "post": { "tags": [ "多线负载分流策略管理API" ], "summary": "获取指定多线负载分流策略", "operationId": "call_getLoadBalanceRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/routing/load-balance-rules/{id}`\n- 来源文件: `route/network-stream-load.json`\n- func_name: `lb_pcc`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "lb_pcc" ], "example": "lb_pcc" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "lb_pcc/show", "value": { "func_name": "lb_pcc", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "lb_pcc", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-load.json", "method": "get", "path": "/api/v4.0/routing/load-balance-rules/{id}", "operationId": "getLoadBalanceRule", "summary": "获取指定多线负载分流策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateLoadBalanceRuleStatus": { "post": { "tags": [ "多线负载分流策略管理API" ], "summary": "启用/停用多线负载分流策略", "operationId": "call_updateLoadBalanceRuleStatus", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/routing/load-balance-rules/{id}`\n- 来源文件: `route/network-stream-load.json`\n- func_name: `lb_pcc`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "lb_pcc" ], "example": "lb_pcc" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "lb_pcc/edit", "value": { "func_name": "lb_pcc", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "lb_pcc", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-load.json", "method": "patch", "path": "/api/v4.0/routing/load-balance-rules/{id}", "operationId": "updateLoadBalanceRuleStatus", "summary": "启用/停用多线负载分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateLoadBalanceRule": { "post": { "tags": [ "多线负载分流策略管理API" ], "summary": "更新多线负载分流策略", "operationId": "call_updateLoadBalanceRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/routing/load-balance-rules/{id}`\n- 来源文件: `route/network-stream-load.json`\n- func_name: `lb_pcc`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "lb_pcc" ], "example": "lb_pcc" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "tagname": "codex_test", "interface": "wan2", "mode": 0, "enabled": "no", "weight": "1", "isp_name": "all", "id": "99999999" }, "default": { "tagname": "codex_test", "interface": "wan2", "mode": 0, "enabled": "no", "weight": "1", "isp_name": "all", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "lb_pcc/edit", "value": { "func_name": "lb_pcc", "action": "edit", "param": { "tagname": "codex_test", "interface": "wan2", "mode": 0, "enabled": "no", "weight": "1", "isp_name": "all", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "lb_pcc", "x-ikuai-action": "edit", "x-ikuai-param-example": { "tagname": "codex_test", "interface": "wan2", "mode": 0, "enabled": "no", "weight": "1", "isp_name": "all", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-load.json", "method": "put", "path": "/api/v4.0/routing/load-balance-rules/{id}", "operationId": "updateLoadBalanceRule", "summary": "更新多线负载分流策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteStaticRoute": { "post": { "tags": [ "静态路由策略管理API" ], "summary": "删除静态路由策略", "operationId": "call_deleteStaticRoute", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/routing/static-routes/{id}`\n- 来源文件: `route/network-static-routes.json`\n- func_name: `static_rt`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "static_rt" ], "example": "static_rt" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "static_rt/del", "value": { "func_name": "static_rt", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "static_rt", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-static-routes.json", "method": "delete", "path": "/api/v4.0/routing/static-routes/{id}", "operationId": "deleteStaticRoute", "summary": "删除静态路由策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getStaticRoute": { "post": { "tags": [ "静态路由策略管理API" ], "summary": "获取指定静态路由策略", "operationId": "call_getStaticRoute", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/routing/static-routes/{id}`\n- 来源文件: `route/network-static-routes.json`\n- func_name: `static_rt`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "static_rt" ], "example": "static_rt" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "static_rt/show", "value": { "func_name": "static_rt", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "static_rt", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-static-routes.json", "method": "get", "path": "/api/v4.0/routing/static-routes/{id}", "operationId": "getStaticRoute", "summary": "获取指定静态路由策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateStaticRouteStatus": { "post": { "tags": [ "静态路由策略管理API" ], "summary": "启用/停用静态路由策略", "operationId": "call_updateStaticRouteStatus", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/routing/static-routes/{id}`\n- 来源文件: `route/network-static-routes.json`\n- func_name: `static_rt`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "static_rt" ], "example": "static_rt" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "static_rt/edit", "value": { "func_name": "static_rt", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "static_rt", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-static-routes.json", "method": "patch", "path": "/api/v4.0/routing/static-routes/{id}", "operationId": "updateStaticRouteStatus", "summary": "启用/停用静态路由策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateStaticRoute": { "post": { "tags": [ "静态路由策略管理API" ], "summary": "更新静态路由策略", "operationId": "call_updateStaticRoute", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/routing/static-routes/{id}`\n- 来源文件: `route/network-static-routes.json`\n- func_name: `static_rt`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "static_rt" ], "example": "static_rt" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "tagname": "codex_test", "enabled": "no", "interface": "wan1", "dst_addr": "192.168.2.0", "netmask": "255.255.255.0", "ip_type": "4", "prio": 1, "comment": "codex_test", "gateway": "192.0.2.254", "id": "99999999" }, "default": { "tagname": "codex_test", "enabled": "no", "interface": "wan1", "dst_addr": "192.168.2.0", "netmask": "255.255.255.0", "ip_type": "4", "prio": 1, "comment": "codex_test", "gateway": "192.0.2.254", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "static_rt/edit", "value": { "func_name": "static_rt", "action": "edit", "param": { "tagname": "codex_test", "enabled": "no", "interface": "wan1", "dst_addr": "192.168.2.0", "netmask": "255.255.255.0", "ip_type": "4", "prio": 1, "comment": "codex_test", "gateway": "192.0.2.254", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "static_rt", "x-ikuai-action": "edit", "x-ikuai-param-example": { "tagname": "codex_test", "enabled": "no", "interface": "wan1", "dst_addr": "192.168.2.0", "netmask": "255.255.255.0", "ip_type": "4", "prio": 1, "comment": "codex_test", "gateway": "192.0.2.254", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-static-routes.json", "method": "put", "path": "/api/v4.0/routing/static-routes/{id}", "operationId": "updateStaticRoute", "summary": "更新静态路由策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteUpDownRule": { "post": { "tags": [ "上下行分离策略管理API" ], "summary": "删除上下行分离策略", "operationId": "call_deleteUpDownRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/routing/updown/{id}`\n- 来源文件: `route/network-stream-updown.json`\n- func_name: `stream_updown`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_updown" ], "example": "stream_updown" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_updown/del", "value": { "func_name": "stream_updown", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_updown", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-updown.json", "method": "delete", "path": "/api/v4.0/routing/updown/{id}", "operationId": "deleteUpDownRule", "summary": "删除上下行分离策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getUpDownRule": { "post": { "tags": [ "上下行分离策略管理API" ], "summary": "获取指定上下行分离策略", "operationId": "call_getUpDownRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/routing/updown/{id}`\n- 来源文件: `route/network-stream-updown.json`\n- func_name: `stream_updown`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_updown" ], "example": "stream_updown" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_updown/show", "value": { "func_name": "stream_updown", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_updown", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-updown.json", "method": "get", "path": "/api/v4.0/routing/updown/{id}", "operationId": "getUpDownRule", "summary": "获取指定上下行分离策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateUpDownRuleStatus": { "post": { "tags": [ "上下行分离策略管理API" ], "summary": "启用/停用上下行分离策略", "operationId": "call_updateUpDownRuleStatus", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/routing/updown/{id}`\n- 来源文件: `route/network-stream-updown.json`\n- func_name: `stream_updown`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_updown" ], "example": "stream_updown" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_updown/edit", "value": { "func_name": "stream_updown", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_updown", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-updown.json", "method": "patch", "path": "/api/v4.0/routing/updown/{id}", "operationId": "updateUpDownRuleStatus", "summary": "启用/停用上下行分离策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateUpDownRule": { "post": { "tags": [ "上下行分离策略管理API" ], "summary": "更新上下行分离策略", "operationId": "call_updateUpDownRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/routing/updown/{id}`\n- 来源文件: `route/network-stream-updown.json`\n- func_name: `stream_updown`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "stream_updown" ], "example": "stream_updown" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "upiface": "wan1", "downiface": "wan2", "protocol": "tcp", "src_addr": { "custom": [ "192.168.9.169" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" } ] }, "src_port": { "custom": [ "80", "443" ], "object": [ { "type": 3, "gp_name": "iKuai-PortGroup", "gid": "PORTGP1" } ] }, "dst_port": { "custom": [ "8080" ], "object": [ { "type": 3, "gp_name": "iKuai-DstPort", "gid": "PORTGP2" } ] }, "id": "99999999" }, "default": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "upiface": "wan1", "downiface": "wan2", "protocol": "tcp", "src_addr": { "custom": [ "192.168.9.169" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" } ] }, "src_port": { "custom": [ "80", "443" ], "object": [ { "type": 3, "gp_name": "iKuai-PortGroup", "gid": "PORTGP1" } ] }, "dst_port": { "custom": [ "8080" ], "object": [ { "type": 3, "gp_name": "iKuai-DstPort", "gid": "PORTGP2" } ] }, "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "stream_updown/edit", "value": { "func_name": "stream_updown", "action": "edit", "param": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "upiface": "wan1", "downiface": "wan2", "protocol": "tcp", "src_addr": { "custom": [ "192.168.9.169" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" } ] }, "src_port": { "custom": [ "80", "443" ], "object": [ { "type": 3, "gp_name": "iKuai-PortGroup", "gid": "PORTGP1" } ] }, "dst_port": { "custom": [ "8080" ], "object": [ { "type": 3, "gp_name": "iKuai-DstPort", "gid": "PORTGP2" } ] }, "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "stream_updown", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "comment": "codex_test", "upiface": "wan1", "downiface": "wan2", "protocol": "tcp", "src_addr": { "custom": [ "192.168.9.169" ], "object": [ { "type": 0, "gp_name": "iKuai-Group", "gid": "GPIP1" } ] }, "src_port": { "custom": [ "80", "443" ], "object": [ { "type": 3, "gp_name": "iKuai-PortGroup", "gid": "PORTGP1" } ] }, "dst_port": { "custom": [ "8080" ], "object": [ { "type": 3, "gp_name": "iKuai-DstPort", "gid": "PORTGP2" } ] }, "id": "99999999" }, "x-ikuai-source": { "spec_file": "route/network-stream-updown.json", "method": "put", "path": "/api/v4.0/routing/updown/{id}", "operationId": "updateUpDownRule", "summary": "更新上下行分离策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteAclRule": { "post": { "tags": [ "ACL访问控制列表API" ], "summary": "删除ACL策略", "operationId": "call_deleteAclRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/security/acl-rules/{id}`\n- 来源文件: `security/security-acl.json`\n- func_name: `acl`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl" ], "example": "acl" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl/del", "value": { "func_name": "acl", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-acl.json", "method": "delete", "path": "/api/v4.0/security/acl-rules/{id}", "operationId": "deleteAclRule", "summary": "删除ACL策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getAclRule": { "post": { "tags": [ "ACL访问控制列表API" ], "summary": "获取单个ACL策略", "operationId": "call_getAclRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/acl-rules/{id}`\n- 来源文件: `security/security-acl.json`\n- func_name: `acl`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl" ], "example": "acl" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl/show", "value": { "func_name": "acl", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-acl.json", "method": "get", "path": "/api/v4.0/security/acl-rules/{id}", "operationId": "getAclRule", "summary": "获取单个ACL策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/toggleAclRule": { "post": { "tags": [ "ACL访问控制列表API" ], "summary": "启用/停用ACL策略", "operationId": "call_toggleAclRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/security/acl-rules/{id}`\n- 来源文件: `security/security-acl.json`\n- func_name: `acl`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl" ], "example": "acl" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl/edit", "value": { "func_name": "acl", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-acl.json", "method": "patch", "path": "/api/v4.0/security/acl-rules/{id}", "operationId": "toggleAclRule", "summary": "启用/停用ACL策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateAclRule": { "post": { "tags": [ "ACL访问控制列表API" ], "summary": "更新ACL策略", "operationId": "call_updateAclRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/acl-rules/{id}`\n- 来源文件: `security/security-acl.json`\n- func_name: `acl`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl" ], "example": "acl" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "comment": "codex_test", "dir": "forward", "ctdir": 0, "action": "drop", "iinterface": "any", "ointerface": "any", "src_addr": { "custom": [ "192.168.9.169" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "dst_addr": "", "src_addr_inv": 0, "dst_addr_inv": 0, "protocol": "any", "src_port": "", "dst_port": "", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "ip_type": "4", "src6_addr": "", "dst6_addr": "", "src6_mode": 0, "dst6_mode": 0, "src6_suffix": "", "dst6_suffix": "", "src_type": 0, "src_area_code": "", "dst_type": 0, "dst_area_code": "", "prio": 10, "tagname": "codex_test", "id": "99999999" }, "default": { "enabled": "no", "comment": "codex_test", "dir": "forward", "ctdir": 0, "action": "drop", "iinterface": "any", "ointerface": "any", "src_addr": { "custom": [ "192.168.9.169" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "dst_addr": "", "src_addr_inv": 0, "dst_addr_inv": 0, "protocol": "any", "src_port": "", "dst_port": "", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "ip_type": "4", "src6_addr": "", "dst6_addr": "", "src6_mode": 0, "dst6_mode": 0, "src6_suffix": "", "dst6_suffix": "", "src_type": 0, "src_area_code": "", "dst_type": 0, "dst_area_code": "", "prio": 10, "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl/edit", "value": { "func_name": "acl", "action": "edit", "param": { "enabled": "no", "comment": "codex_test", "dir": "forward", "ctdir": 0, "action": "drop", "iinterface": "any", "ointerface": "any", "src_addr": { "custom": [ "192.168.9.169" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "dst_addr": "", "src_addr_inv": 0, "dst_addr_inv": 0, "protocol": "any", "src_port": "", "dst_port": "", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "ip_type": "4", "src6_addr": "", "dst6_addr": "", "src6_mode": 0, "dst6_mode": 0, "src6_suffix": "", "dst6_suffix": "", "src_type": 0, "src_area_code": "", "dst_type": 0, "dst_area_code": "", "prio": 10, "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "comment": "codex_test", "dir": "forward", "ctdir": 0, "action": "drop", "iinterface": "any", "ointerface": "any", "src_addr": { "custom": [ "192.168.9.169" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "dst_addr": "", "src_addr_inv": 0, "dst_addr_inv": 0, "protocol": "any", "src_port": "", "dst_port": "", "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "ip_type": "4", "src6_addr": "", "dst6_addr": "", "src6_mode": 0, "dst6_mode": 0, "src6_suffix": "", "dst6_suffix": "", "src_type": 0, "src_area_code": "", "dst_type": 0, "dst_area_code": "", "prio": 10, "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-acl.json", "method": "put", "path": "/api/v4.0/security/acl-rules/{id}", "operationId": "updateAclRule", "summary": "更新ACL策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteAppProtocolRule": { "post": { "tags": [ "应用协议控制API" ], "summary": "删除应用协议控制策略", "operationId": "call_deleteAppProtocolRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/security/app-protocols/professional/rules/{id}`\n- 来源文件: `security/security-acl-l7.json`\n- func_name: `acl_l7`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_l7" ], "example": "acl_l7" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_l7/del", "value": { "func_name": "acl_l7", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_l7", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-acl-l7.json", "method": "delete", "path": "/api/v4.0/security/app-protocols/professional/rules/{id}", "operationId": "deleteAppProtocolRule", "summary": "删除应用协议控制策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getAppProtocolRule": { "post": { "tags": [ "应用协议控制API" ], "summary": "获取单个应用协议控制策略", "operationId": "call_getAppProtocolRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/app-protocols/professional/rules/{id}`\n- 来源文件: `security/security-acl-l7.json`\n- func_name: `acl_l7`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_l7" ], "example": "acl_l7" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_l7/show", "value": { "func_name": "acl_l7", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_l7", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-acl-l7.json", "method": "get", "path": "/api/v4.0/security/app-protocols/professional/rules/{id}", "operationId": "getAppProtocolRule", "summary": "获取单个应用协议控制策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/toggleAppProtocolRule": { "post": { "tags": [ "应用协议控制API" ], "summary": "启用/停用应用协议控制策略", "operationId": "call_toggleAppProtocolRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/security/app-protocols/professional/rules/{id}`\n- 来源文件: `security/security-acl-l7.json`\n- func_name: `acl_l7`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_l7" ], "example": "acl_l7" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_l7/edit", "value": { "func_name": "acl_l7", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_l7", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-acl-l7.json", "method": "patch", "path": "/api/v4.0/security/app-protocols/professional/rules/{id}", "operationId": "toggleAppProtocolRule", "summary": "启用/停用应用协议控制策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateAppProtocolRule": { "post": { "tags": [ "应用协议控制API" ], "summary": "更新应用协议控制策略", "operationId": "call_updateAppProtocolRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/app-protocols/professional/rules/{id}`\n- 来源文件: `security/security-acl-l7.json`\n- func_name: `acl_l7`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_l7" ], "example": "acl_l7" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "comment": "codex_test", "prio": 31, "action": "drop", "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "src_addr": "", "time": { "custom": [ { "start_time": "00:00", "comment": "codex_test", "end_time": "10:00", "type": "weekly", "weekdays": "1" } ] }, "dst_addr": "", "tagname": "codex_test", "id": "99999999" }, "default": { "enabled": "no", "comment": "codex_test", "prio": 31, "action": "drop", "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "src_addr": "", "time": { "custom": [ { "start_time": "00:00", "comment": "codex_test", "end_time": "10:00", "type": "weekly", "weekdays": "1" } ] }, "dst_addr": "", "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_l7/edit", "value": { "func_name": "acl_l7", "action": "edit", "param": { "enabled": "no", "comment": "codex_test", "prio": 31, "action": "drop", "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "src_addr": "", "time": { "custom": [ { "start_time": "00:00", "comment": "codex_test", "end_time": "10:00", "type": "weekly", "weekdays": "1" } ] }, "dst_addr": "", "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_l7", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "comment": "codex_test", "prio": 31, "action": "drop", "app_proto": { "custom": [ "其它HTTP", "文件传输", "DNS", "Baidu" ] }, "src_addr": "", "time": { "custom": [ { "start_time": "00:00", "comment": "codex_test", "end_time": "10:00", "type": "weekly", "weekdays": "1" } ] }, "dst_addr": "", "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-acl-l7.json", "method": "put", "path": "/api/v4.0/security/app-protocols/professional/rules/{id}", "operationId": "updateAppProtocolRule", "summary": "更新应用协议控制策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteDomainBlacklistRule": { "post": { "tags": [ "域名黑名单API" ], "summary": "删除域名黑名单策略", "operationId": "call_deleteDomainBlacklistRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/security/domain-blacklist/rules/{id}`\n- 来源文件: `security/security-domain-blacklist.json`\n- func_name: `domain_blacklist`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "domain_blacklist" ], "example": "domain_blacklist" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "domain_blacklist/del", "value": { "func_name": "domain_blacklist", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "domain_blacklist", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-domain-blacklist.json", "method": "delete", "path": "/api/v4.0/security/domain-blacklist/rules/{id}", "operationId": "deleteDomainBlacklistRule", "summary": "删除域名黑名单策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getDomainBlacklistRule": { "post": { "tags": [ "域名黑名单API" ], "summary": "获取单个域名黑名单策略", "operationId": "call_getDomainBlacklistRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/domain-blacklist/rules/{id}`\n- 来源文件: `security/security-domain-blacklist.json`\n- func_name: `domain_blacklist`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "domain_blacklist" ], "example": "domain_blacklist" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "domain_blacklist/show", "value": { "func_name": "domain_blacklist", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "domain_blacklist", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-domain-blacklist.json", "method": "get", "path": "/api/v4.0/security/domain-blacklist/rules/{id}", "operationId": "getDomainBlacklistRule", "summary": "获取单个域名黑名单策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/toggleDomainBlacklistRule": { "post": { "tags": [ "域名黑名单API" ], "summary": "启用/停用域名黑名单策略", "operationId": "call_toggleDomainBlacklistRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/security/domain-blacklist/rules/{id}`\n- 来源文件: `security/security-domain-blacklist.json`\n- func_name: `domain_blacklist`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "domain_blacklist" ], "example": "domain_blacklist" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "domain_blacklist/edit", "value": { "func_name": "domain_blacklist", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "domain_blacklist", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-domain-blacklist.json", "method": "patch", "path": "/api/v4.0/security/domain-blacklist/rules/{id}", "operationId": "toggleDomainBlacklistRule", "summary": "启用/停用域名黑名单策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateDomainBlacklistRule": { "post": { "tags": [ "域名黑名单API" ], "summary": "更新域名黑名单策略", "operationId": "call_updateDomainBlacklistRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/domain-blacklist/rules/{id}`\n- 来源文件: `security/security-domain-blacklist.json`\n- func_name: `domain_blacklist`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "domain_blacklist" ], "example": "domain_blacklist" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "domain_group": "codex_test", "id": "99999999" }, "default": { "enabled": "no", "tagname": "codex_test", "domain_group": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "domain_blacklist/edit", "value": { "func_name": "domain_blacklist", "action": "edit", "param": { "enabled": "no", "tagname": "codex_test", "domain_group": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "domain_blacklist", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "domain_group": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-domain-blacklist.json", "method": "put", "path": "/api/v4.0/security/domain-blacklist/rules/{id}", "operationId": "updateDomainBlacklistRule", "summary": "更新域名黑名单策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteMacRule": { "post": { "tags": [ "MAC访问控制API" ], "summary": "删除MAC策略", "operationId": "call_deleteMacRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/security/mac-rules/{id}`\n- 来源文件: `security/security-acl-mac.json`\n- func_name: `acl_mac`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_mac" ], "example": "acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_mac/del", "value": { "func_name": "acl_mac", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_mac", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-acl-mac.json", "method": "delete", "path": "/api/v4.0/security/mac-rules/{id}", "operationId": "deleteMacRule", "summary": "删除MAC策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getMacRule": { "post": { "tags": [ "MAC访问控制API" ], "summary": "获取单个MAC策略", "operationId": "call_getMacRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/mac-rules/{id}`\n- 来源文件: `security/security-acl-mac.json`\n- func_name: `acl_mac`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_mac" ], "example": "acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_mac/show", "value": { "func_name": "acl_mac", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_mac", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-acl-mac.json", "method": "get", "path": "/api/v4.0/security/mac-rules/{id}", "operationId": "getMacRule", "summary": "获取单个MAC策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/toggleMacRule": { "post": { "tags": [ "MAC访问控制API" ], "summary": "启用/停用MAC策略", "operationId": "call_toggleMacRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/security/mac-rules/{id}`\n- 来源文件: `security/security-acl-mac.json`\n- func_name: `acl_mac`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_mac" ], "example": "acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_mac/edit", "value": { "func_name": "acl_mac", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_mac", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-acl-mac.json", "method": "patch", "path": "/api/v4.0/security/mac-rules/{id}", "operationId": "toggleMacRule", "summary": "启用/停用MAC策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateMacRule": { "post": { "tags": [ "MAC访问控制API" ], "summary": "更新MAC策略", "operationId": "call_updateMacRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/mac-rules/{id}`\n- 来源文件: `security/security-acl-mac.json`\n- func_name: `acl_mac`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "acl_mac" ], "example": "acl_mac" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "mac": "02:00:5e:99:99:99", "enabled": "no", "comment": "codex_test", "expires": 0, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test", "id": "99999999" }, "default": { "mac": "02:00:5e:99:99:99", "enabled": "no", "comment": "codex_test", "expires": 0, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "acl_mac/edit", "value": { "func_name": "acl_mac", "action": "edit", "param": { "mac": "02:00:5e:99:99:99", "enabled": "no", "comment": "codex_test", "expires": 0, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "acl_mac", "x-ikuai-action": "edit", "x-ikuai-param-example": { "mac": "02:00:5e:99:99:99", "enabled": "no", "comment": "codex_test", "expires": 0, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-acl-mac.json", "method": "put", "path": "/api/v4.0/security/mac-rules/{id}", "operationId": "updateMacRule", "summary": "更新MAC策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deletePeerconnRule": { "post": { "tags": [ "连接数限制API" ], "summary": "删除连接数限制策略", "operationId": "call_deletePeerconnRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/security/peerconn/rules/{id}`\n- 来源文件: `security/security-peerconn.json`\n- func_name: `conn_limit`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "conn_limit" ], "example": "conn_limit" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "conn_limit/del", "value": { "func_name": "conn_limit", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "conn_limit", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-peerconn.json", "method": "delete", "path": "/api/v4.0/security/peerconn/rules/{id}", "operationId": "deletePeerconnRule", "summary": "删除连接数限制策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getPeerconnRule": { "post": { "tags": [ "连接数限制API" ], "summary": "获取单个连接数限制策略", "operationId": "call_getPeerconnRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/peerconn/rules/{id}`\n- 来源文件: `security/security-peerconn.json`\n- func_name: `conn_limit`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "conn_limit" ], "example": "conn_limit" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "conn_limit/show", "value": { "func_name": "conn_limit", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "conn_limit", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-peerconn.json", "method": "get", "path": "/api/v4.0/security/peerconn/rules/{id}", "operationId": "getPeerconnRule", "summary": "获取单个连接数限制策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/togglePeerconnRule": { "post": { "tags": [ "连接数限制API" ], "summary": "启用/停用连接数限制策略", "operationId": "call_togglePeerconnRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/security/peerconn/rules/{id}`\n- 来源文件: `security/security-peerconn.json`\n- func_name: `conn_limit`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "conn_limit" ], "example": "conn_limit" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "conn_limit/edit", "value": { "func_name": "conn_limit", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "conn_limit", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-peerconn.json", "method": "patch", "path": "/api/v4.0/security/peerconn/rules/{id}", "operationId": "togglePeerconnRule", "summary": "启用/停用连接数限制策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updatePeerconnRule": { "post": { "tags": [ "连接数限制API" ], "summary": "更新连接数限制策略", "operationId": "call_updatePeerconnRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/peerconn/rules/{id}`\n- 来源文件: `security/security-peerconn.json`\n- func_name: `conn_limit`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "conn_limit" ], "example": "conn_limit" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "src_addr": { "custom": [ "192.168.88.50", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "comment": "codex_test", "protocol": "udp", "dst_port": { "custom": [ "9000", "10000-20000" ], "object": [ { "gid": "PORTGP26", "gp_name": "ip55", "type": 3 } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "limits": "10000", "tagname": "codex_test", "id": "99999999" }, "default": { "enabled": "no", "src_addr": { "custom": [ "192.168.88.50", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "comment": "codex_test", "protocol": "udp", "dst_port": { "custom": [ "9000", "10000-20000" ], "object": [ { "gid": "PORTGP26", "gp_name": "ip55", "type": 3 } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "limits": "10000", "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "conn_limit/edit", "value": { "func_name": "conn_limit", "action": "edit", "param": { "enabled": "no", "src_addr": { "custom": [ "192.168.88.50", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "comment": "codex_test", "protocol": "udp", "dst_port": { "custom": [ "9000", "10000-20000" ], "object": [ { "gid": "PORTGP26", "gp_name": "ip55", "type": 3 } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "limits": "10000", "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "conn_limit", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "src_addr": { "custom": [ "192.168.88.50", "08:9b:4b:00:10:1e" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "comment": "codex_test", "protocol": "udp", "dst_port": { "custom": [ "9000", "10000-20000" ], "object": [ { "gid": "PORTGP26", "gp_name": "ip55", "type": 3 } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "limits": "10000", "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-peerconn.json", "method": "put", "path": "/api/v4.0/security/peerconn/rules/{id}", "operationId": "updatePeerconnRule", "summary": "更新连接数限制策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteTerminal": { "post": { "tags": [ "终端名称管理API" ], "summary": "删除终端设备名称", "operationId": "call_deleteTerminal", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/security/terminals/{id}`\n- 来源文件: `security/security-mac-comment.json`\n- func_name: `mac_comment`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "mac_comment" ], "example": "mac_comment" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "mac_comment/del", "value": { "func_name": "mac_comment", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "mac_comment", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-mac-comment.json", "method": "delete", "path": "/api/v4.0/security/terminals/{id}", "operationId": "deleteTerminal", "summary": "删除终端设备名称" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getTerminal": { "post": { "tags": [ "终端名称管理API" ], "summary": "获取单个终端设备名称", "operationId": "call_getTerminal", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/terminals/{id}`\n- 来源文件: `security/security-mac-comment.json`\n- func_name: `mac_comment`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "mac_comment" ], "example": "mac_comment" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "mac_comment/show", "value": { "func_name": "mac_comment", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "mac_comment", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-mac-comment.json", "method": "get", "path": "/api/v4.0/security/terminals/{id}", "operationId": "getTerminal", "summary": "获取单个终端设备名称" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateTerminal": { "post": { "tags": [ "终端名称管理API" ], "summary": "更新终端设备名称", "operationId": "call_updateTerminal", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/terminals/{id}`\n- 来源文件: `security/security-mac-comment.json`\n- func_name: `mac_comment`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "mac_comment" ], "example": "mac_comment" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "id": "99999999" }, "default": { "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "mac_comment/edit", "value": { "func_name": "mac_comment", "action": "edit", "param": { "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "mac_comment", "x-ikuai-action": "edit", "x-ikuai-param-example": { "mac": "02:00:5e:99:99:99", "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-mac-comment.json", "method": "put", "path": "/api/v4.0/security/terminals/{id}", "operationId": "updateTerminal", "summary": "更新终端设备名称" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteUrlBlackRule": { "post": { "tags": [ "URL黑白名单API" ], "summary": "删除URL黑白名单策略", "operationId": "call_deleteUrlBlackRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/security/url-black/rules/{id}`\n- 来源文件: `security/security-url-black.json`\n- func_name: `url_black`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_black" ], "example": "url_black" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_black/del", "value": { "func_name": "url_black", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_black", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-black.json", "method": "delete", "path": "/api/v4.0/security/url-black/rules/{id}", "operationId": "deleteUrlBlackRule", "summary": "删除URL黑白名单策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getUrlBlackRule": { "post": { "tags": [ "URL黑白名单API" ], "summary": "获取单个URL黑白名单策略", "operationId": "call_getUrlBlackRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/url-black/rules/{id}`\n- 来源文件: `security/security-url-black.json`\n- func_name: `url_black`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_black" ], "example": "url_black" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_black/show", "value": { "func_name": "url_black", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_black", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-black.json", "method": "get", "path": "/api/v4.0/security/url-black/rules/{id}", "operationId": "getUrlBlackRule", "summary": "获取单个URL黑白名单策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/toggleUrlBlackRule": { "post": { "tags": [ "URL黑白名单API" ], "summary": "启用/停用URL黑白名单策略", "operationId": "call_toggleUrlBlackRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/security/url-black/rules/{id}`\n- 来源文件: `security/security-url-black.json`\n- func_name: `url_black`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_black" ], "example": "url_black" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_black/edit", "value": { "func_name": "url_black", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_black", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-black.json", "method": "patch", "path": "/api/v4.0/security/url-black/rules/{id}", "operationId": "toggleUrlBlackRule", "summary": "启用/停用URL黑白名单策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateUrlBlackRule": { "post": { "tags": [ "URL黑白名单API" ], "summary": "更新URL黑白名单策略", "operationId": "call_updateUrlBlackRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/url-black/rules/{id}`\n- 来源文件: `security/security-url-black.json`\n- func_name: `url_black`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_black" ], "example": "url_black" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "comment": "codex_test", "domain": "example.invalid", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "mode": "0", "tagname": "codex_test", "id": "99999999" }, "default": { "enabled": "no", "comment": "codex_test", "domain": "example.invalid", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "mode": "0", "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_black/edit", "value": { "func_name": "url_black", "action": "edit", "param": { "enabled": "no", "comment": "codex_test", "domain": "example.invalid", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "mode": "0", "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_black", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "comment": "codex_test", "domain": "example.invalid", "src_addr": { "custom": [ "192.168.9.16" ], "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "time": { "custom": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "mode": "0", "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-black.json", "method": "put", "path": "/api/v4.0/security/url-black/rules/{id}", "operationId": "updateUrlBlackRule", "summary": "更新URL黑白名单策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteUrlKeywordRule": { "post": { "tags": [ "URL关键字替换API" ], "summary": "删除URL关键字替换策略", "operationId": "call_deleteUrlKeywordRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/security/url-keywords/rules/{id}`\n- 来源文件: `security/security-url-keywords.json`\n- func_name: `url_keywords`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_keywords" ], "example": "url_keywords" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_keywords/del", "value": { "func_name": "url_keywords", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_keywords", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-keywords.json", "method": "delete", "path": "/api/v4.0/security/url-keywords/rules/{id}", "operationId": "deleteUrlKeywordRule", "summary": "删除URL关键字替换策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getUrlKeywordRule": { "post": { "tags": [ "URL关键字替换API" ], "summary": "获取单个URL关键字替换策略", "operationId": "call_getUrlKeywordRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/url-keywords/rules/{id}`\n- 来源文件: `security/security-url-keywords.json`\n- func_name: `url_keywords`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_keywords" ], "example": "url_keywords" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_keywords/show", "value": { "func_name": "url_keywords", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_keywords", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-keywords.json", "method": "get", "path": "/api/v4.0/security/url-keywords/rules/{id}", "operationId": "getUrlKeywordRule", "summary": "获取单个URL关键字替换策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/toggleUrlKeywordRule": { "post": { "tags": [ "URL关键字替换API" ], "summary": "启用/停用URL关键字替换策略", "operationId": "call_toggleUrlKeywordRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/security/url-keywords/rules/{id}`\n- 来源文件: `security/security-url-keywords.json`\n- func_name: `url_keywords`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_keywords" ], "example": "url_keywords" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_keywords/edit", "value": { "func_name": "url_keywords", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_keywords", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-keywords.json", "method": "patch", "path": "/api/v4.0/security/url-keywords/rules/{id}", "operationId": "toggleUrlKeywordRule", "summary": "启用/停用URL关键字替换策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateUrlKeywordRule": { "post": { "tags": [ "URL关键字替换API" ], "summary": "更新URL关键字替换策略", "operationId": "call_updateUrlKeywordRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/url-keywords/rules/{id}`\n- 来源文件: `security/security-url-keywords.json`\n- func_name: `url_keywords`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_keywords" ], "example": "url_keywords" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "prio": 1, "src_addr": { "custom": "192.168.1.100", "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "src_url": "192.168.1.253", "ori_keyword": "qwe", "rep_keyword": "456", "mode": "exact", "excluded": "", "hit_rate": 100, "time": { "custom": [ { "type": "weekly", "start_time": "00:00", "end_time": "20:00" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test", "id": "99999999" }, "default": { "enabled": "no", "prio": 1, "src_addr": { "custom": "192.168.1.100", "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "src_url": "192.168.1.253", "ori_keyword": "qwe", "rep_keyword": "456", "mode": "exact", "excluded": "", "hit_rate": 100, "time": { "custom": [ { "type": "weekly", "start_time": "00:00", "end_time": "20:00" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_keywords/edit", "value": { "func_name": "url_keywords", "action": "edit", "param": { "enabled": "no", "prio": 1, "src_addr": { "custom": "192.168.1.100", "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "src_url": "192.168.1.253", "ori_keyword": "qwe", "rep_keyword": "456", "mode": "exact", "excluded": "", "hit_rate": 100, "time": { "custom": [ { "type": "weekly", "start_time": "00:00", "end_time": "20:00" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_keywords", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "prio": 1, "src_addr": { "custom": "192.168.1.100", "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "src_url": "192.168.1.253", "ori_keyword": "qwe", "rep_keyword": "456", "mode": "exact", "excluded": "", "hit_rate": 100, "time": { "custom": [ { "type": "weekly", "start_time": "00:00", "end_time": "20:00" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-keywords.json", "method": "put", "path": "/api/v4.0/security/url-keywords/rules/{id}", "operationId": "updateUrlKeywordRule", "summary": "更新URL关键字替换策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteUrlRedirectRule": { "post": { "tags": [ "URL跳转API" ], "summary": "删除URL跳转策略", "operationId": "call_deleteUrlRedirectRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/security/url-redirect/rules/{id}`\n- 来源文件: `security/security-url-redirect.json`\n- func_name: `url_redirect`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_redirect" ], "example": "url_redirect" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_redirect/del", "value": { "func_name": "url_redirect", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_redirect", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-redirect.json", "method": "delete", "path": "/api/v4.0/security/url-redirect/rules/{id}", "operationId": "deleteUrlRedirectRule", "summary": "删除URL跳转策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getUrlRedirectRule": { "post": { "tags": [ "URL跳转API" ], "summary": "获取单个URL跳转策略", "operationId": "call_getUrlRedirectRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/url-redirect/rules/{id}`\n- 来源文件: `security/security-url-redirect.json`\n- func_name: `url_redirect`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_redirect" ], "example": "url_redirect" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_redirect/show", "value": { "func_name": "url_redirect", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_redirect", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-redirect.json", "method": "get", "path": "/api/v4.0/security/url-redirect/rules/{id}", "operationId": "getUrlRedirectRule", "summary": "获取单个URL跳转策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/toggleUrlRedirectRule": { "post": { "tags": [ "URL跳转API" ], "summary": "启用/停用URL跳转策略", "operationId": "call_toggleUrlRedirectRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/security/url-redirect/rules/{id}`\n- 来源文件: `security/security-url-redirect.json`\n- func_name: `url_redirect`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_redirect" ], "example": "url_redirect" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_redirect/edit", "value": { "func_name": "url_redirect", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_redirect", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-redirect.json", "method": "patch", "path": "/api/v4.0/security/url-redirect/rules/{id}", "operationId": "toggleUrlRedirectRule", "summary": "启用/停用URL跳转策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateUrlRedirectRule": { "post": { "tags": [ "URL跳转API" ], "summary": "更新URL跳转策略", "operationId": "call_updateUrlRedirectRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/url-redirect/rules/{id}`\n- 来源文件: `security/security-url-redirect.json`\n- func_name: `url_redirect`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_redirect" ], "example": "url_redirect" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "tagname": "codex_test", "enabled": "no", "prio": 32, "src_addr": { "custom": "192.168.9.16", "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "src_url": "192.168.1.253", "dst_url": "192.168.3.169", "mode": "exact", "excluded": "", "hit_rate": 100, "time": { "custom": [ { "type": "weekly", "start_time": "00:00", "end_time": "20:00" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "id": "99999999" }, "default": { "tagname": "codex_test", "enabled": "no", "prio": 32, "src_addr": { "custom": "192.168.9.16", "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "src_url": "192.168.1.253", "dst_url": "192.168.3.169", "mode": "exact", "excluded": "", "hit_rate": 100, "time": { "custom": [ { "type": "weekly", "start_time": "00:00", "end_time": "20:00" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_redirect/edit", "value": { "func_name": "url_redirect", "action": "edit", "param": { "tagname": "codex_test", "enabled": "no", "prio": 32, "src_addr": { "custom": "192.168.9.16", "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "src_url": "192.168.1.253", "dst_url": "192.168.3.169", "mode": "exact", "excluded": "", "hit_rate": 100, "time": { "custom": [ { "type": "weekly", "start_time": "00:00", "end_time": "20:00" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_redirect", "x-ikuai-action": "edit", "x-ikuai-param-example": { "tagname": "codex_test", "enabled": "no", "prio": 32, "src_addr": { "custom": "192.168.9.16", "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "src_url": "192.168.1.253", "dst_url": "192.168.3.169", "mode": "exact", "excluded": "", "hit_rate": 100, "time": { "custom": [ { "type": "weekly", "start_time": "00:00", "end_time": "20:00" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-redirect.json", "method": "put", "path": "/api/v4.0/security/url-redirect/rules/{id}", "operationId": "updateUrlRedirectRule", "summary": "更新URL跳转策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteUrlReplaceRule": { "post": { "tags": [ "URL参数替换API" ], "summary": "删除URL参数替换策略", "operationId": "call_deleteUrlReplaceRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/security/url-replace/rules/{id}`\n- 来源文件: `security/security-url-replace.json`\n- func_name: `url_replace`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_replace" ], "example": "url_replace" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_replace/del", "value": { "func_name": "url_replace", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_replace", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-replace.json", "method": "delete", "path": "/api/v4.0/security/url-replace/rules/{id}", "operationId": "deleteUrlReplaceRule", "summary": "删除URL参数替换策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getUrlReplaceRule": { "post": { "tags": [ "URL参数替换API" ], "summary": "获取单个URL参数替换策略", "operationId": "call_getUrlReplaceRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/security/url-replace/rules/{id}`\n- 来源文件: `security/security-url-replace.json`\n- func_name: `url_replace`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_replace" ], "example": "url_replace" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_replace/show", "value": { "func_name": "url_replace", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_replace", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-replace.json", "method": "get", "path": "/api/v4.0/security/url-replace/rules/{id}", "operationId": "getUrlReplaceRule", "summary": "获取单个URL参数替换策略" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/toggleUrlReplaceRule": { "post": { "tags": [ "URL参数替换API" ], "summary": "启用/停用URL参数替换策略", "operationId": "call_toggleUrlReplaceRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/security/url-replace/rules/{id}`\n- 来源文件: `security/security-url-replace.json`\n- func_name: `url_replace`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_replace" ], "example": "url_replace" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_replace/edit", "value": { "func_name": "url_replace", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_replace", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-replace.json", "method": "patch", "path": "/api/v4.0/security/url-replace/rules/{id}", "operationId": "toggleUrlReplaceRule", "summary": "启用/停用URL参数替换策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateUrlReplaceRule": { "post": { "tags": [ "URL参数替换API" ], "summary": "更新URL参数替换策略", "operationId": "call_updateUrlReplaceRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/security/url-replace/rules/{id}`\n- 来源文件: `security/security-url-replace.json`\n- func_name: `url_replace`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "url_replace" ], "example": "url_replace" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "prio": 1, "src_addr": { "custom": "192.168.9.16", "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "src_url": "192.168.1.253", "param_keyword": "query", "rep_keyword": "aa", "mode": "exact", "excluded": "", "hit_rate": 100, "time": { "custom": [ { "type": "weekly", "start_time": "00:00", "end_time": "20:00" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test", "id": "99999999" }, "default": { "enabled": "no", "prio": 1, "src_addr": { "custom": "192.168.9.16", "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "src_url": "192.168.1.253", "param_keyword": "query", "rep_keyword": "aa", "mode": "exact", "excluded": "", "hit_rate": 100, "time": { "custom": [ { "type": "weekly", "start_time": "00:00", "end_time": "20:00" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "url_replace/edit", "value": { "func_name": "url_replace", "action": "edit", "param": { "enabled": "no", "prio": 1, "src_addr": { "custom": "192.168.9.16", "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "src_url": "192.168.1.253", "param_keyword": "query", "rep_keyword": "aa", "mode": "exact", "excluded": "", "hit_rate": 100, "time": { "custom": [ { "type": "weekly", "start_time": "00:00", "end_time": "20:00" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "url_replace", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "prio": 1, "src_addr": { "custom": "192.168.9.16", "object": [ { "type": 0, "gp_name": "11", "gid": "GPIP1" } ] }, "src_url": "192.168.1.253", "param_keyword": "query", "rep_keyword": "aa", "mode": "exact", "excluded": "", "hit_rate": 100, "time": { "custom": [ { "type": "weekly", "start_time": "00:00", "end_time": "20:00" } ], "object": [ { "type": 4, "gp_name": "11", "gid": "TIMEGP1" } ] }, "tagname": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "security/security-url-replace.json", "method": "put", "path": "/api/v4.0/security/url-replace/rules/{id}", "operationId": "updateUrlReplaceRule", "summary": "更新URL参数替换策略" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteRebootSchedule": { "post": { "tags": [ "系统重启计划管理API" ], "summary": "删除重启计划", "operationId": "call_deleteRebootSchedule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/system/reboot-schedules/{id}`\n- 来源文件: `system/system-reboots.json`\n- func_name: `reboots`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "reboots" ], "example": "reboots" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "reboots/del", "value": { "func_name": "reboots", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "reboots", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "system/system-reboots.json", "method": "delete", "path": "/api/v4.0/system/reboot-schedules/{id}", "operationId": "deleteRebootSchedule", "summary": "删除重启计划" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getRebootSchedule": { "post": { "tags": [ "系统重启计划管理API" ], "summary": "获取指定重启计划", "operationId": "call_getRebootSchedule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/reboot-schedules/{id}`\n- 来源文件: `system/system-reboots.json`\n- func_name: `reboots`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "reboots" ], "example": "reboots" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "reboots/show", "value": { "func_name": "reboots", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "reboots", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "system/system-reboots.json", "method": "get", "path": "/api/v4.0/system/reboot-schedules/{id}", "operationId": "getRebootSchedule", "summary": "获取指定重启计划" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchRebootSchedule": { "post": { "tags": [ "系统重启计划管理API" ], "summary": "启用/停用重启计划", "operationId": "call_patchRebootSchedule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/system/reboot-schedules/{id}`\n- 来源文件: `system/system-reboots.json`\n- func_name: `reboots`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "reboots" ], "example": "reboots" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "reboots/edit", "value": { "func_name": "reboots", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "reboots", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "system/system-reboots.json", "method": "patch", "path": "/api/v4.0/system/reboot-schedules/{id}", "operationId": "patchRebootSchedule", "summary": "启用/停用重启计划" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateRebootSchedule": { "post": { "tags": [ "系统重启计划管理API" ], "summary": "更新重启计划", "operationId": "call_updateRebootSchedule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/system/reboot-schedules/{id}`\n- 来源文件: `system/system-reboots.json`\n- func_name: `reboots`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "reboots" ], "example": "reboots" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "event": "reboot", "strategy": "week", "cycle_time": "7", "time": "00:00", "id": "99999999" }, "default": { "enabled": "no", "tagname": "codex_test", "event": "reboot", "strategy": "week", "cycle_time": "7", "time": "00:00", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "reboots/edit", "value": { "func_name": "reboots", "action": "edit", "param": { "enabled": "no", "tagname": "codex_test", "event": "reboot", "strategy": "week", "cycle_time": "7", "time": "00:00", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "reboots", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "event": "reboot", "strategy": "week", "cycle_time": "7", "time": "00:00", "id": "99999999" }, "x-ikuai-source": { "spec_file": "system/system-reboots.json", "method": "put", "path": "/api/v4.0/system/reboot-schedules/{id}", "operationId": "updateRebootSchedule", "summary": "更新重启计划" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteWebAdminAccount": { "post": { "tags": [ "WEB登录账号与用户组管理API" ], "summary": "删除WEB登录账号", "operationId": "call_deleteWebAdminAccount", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/system/web-admin/accounts/{id}`\n- 来源文件: `system/system-web-admin-accounts.json`\n- func_name: `webuser`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webuser" ], "example": "webuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webuser/del", "value": { "func_name": "webuser", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webuser", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "system/system-web-admin-accounts.json", "method": "delete", "path": "/api/v4.0/system/web-admin/accounts/{id}", "operationId": "deleteWebAdminAccount", "summary": "删除WEB登录账号" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getWebAdminAccount": { "post": { "tags": [ "WEB登录账号与用户组管理API" ], "summary": "获取单个WEB登录账号详情", "operationId": "call_getWebAdminAccount", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/web-admin/accounts/{id}`\n- 来源文件: `system/system-web-admin-accounts.json`\n- func_name: `webuser`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webuser" ], "example": "webuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webuser/show", "value": { "func_name": "webuser", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webuser", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "system/system-web-admin-accounts.json", "method": "get", "path": "/api/v4.0/system/web-admin/accounts/{id}", "operationId": "getWebAdminAccount", "summary": "获取单个WEB登录账号详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateWebAdminAccount": { "post": { "tags": [ "WEB登录账号与用户组管理API" ], "summary": "全量修改WEB登录账号", "operationId": "call_updateWebAdminAccount", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/system/web-admin/accounts/{id}`\n- 来源文件: `system/system-web-admin-accounts.json`\n- func_name: `webuser`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webuser" ], "example": "webuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "username": "codex_test_user", "passwd": "codex_Test_123", "enabled": "no", "group_id": 1, "force": 0, "interval": 30, "sesstimeout": 120, "comment": "codex_test", "id": "99999999" }, "default": { "username": "codex_test_user", "passwd": "codex_Test_123", "enabled": "no", "group_id": 1, "force": 0, "interval": 30, "sesstimeout": 120, "comment": "codex_test", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webuser/edit", "value": { "func_name": "webuser", "action": "edit", "param": { "username": "codex_test_user", "passwd": "codex_Test_123", "enabled": "no", "group_id": 1, "force": 0, "interval": 30, "sesstimeout": 120, "comment": "codex_test", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webuser", "x-ikuai-action": "edit", "x-ikuai-param-example": { "username": "codex_test_user", "passwd": "codex_Test_123", "enabled": "no", "group_id": 1, "force": 0, "interval": 30, "sesstimeout": 120, "comment": "codex_test", "id": "99999999" }, "x-ikuai-source": { "spec_file": "system/system-web-admin-accounts.json", "method": "put", "path": "/api/v4.0/system/web-admin/accounts/{id}", "operationId": "updateWebAdminAccount", "summary": "全量修改WEB登录账号" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteWebAdminGroup": { "post": { "tags": [ "WEB登录账号与用户组管理API" ], "summary": "删除WEB登录用户组", "operationId": "call_deleteWebAdminGroup", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/system/web-admin/groups/{id}`\n- 来源文件: `system/system-web-admin-accounts.json`\n- func_name: `webuser`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webuser" ], "example": "webuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webuser/del", "value": { "func_name": "webuser", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webuser", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "system/system-web-admin-accounts.json", "method": "delete", "path": "/api/v4.0/system/web-admin/groups/{id}", "operationId": "deleteWebAdminGroup", "summary": "删除WEB登录用户组" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getWebAdminGroup": { "post": { "tags": [ "WEB登录账号与用户组管理API" ], "summary": "获取单个WEB登录用户组详情", "operationId": "call_getWebAdminGroup", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/system/web-admin/groups/{id}`\n- 来源文件: `system/system-web-admin-accounts.json`\n- func_name: `webuser`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webuser" ], "example": "webuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webuser/show", "value": { "func_name": "webuser", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webuser", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "system/system-web-admin-accounts.json", "method": "get", "path": "/api/v4.0/system/web-admin/groups/{id}", "operationId": "getWebAdminGroup", "summary": "获取单个WEB登录用户组详情" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateWebAdminGroup": { "post": { "tags": [ "WEB登录账号与用户组管理API" ], "summary": "全量修改WEB登录用户组", "operationId": "call_updateWebAdminGroup", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/system/web-admin/groups/{id}`\n- 来源文件: `system/system-web-admin-accounts.json`\n- func_name: `webuser`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "webuser" ], "example": "webuser" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "ip_addr": "192.0.2.254", "perm_config": "monitoring_center:r,network_configuration:r", "id": "99999999" }, "default": { "group_name": "codex_test", "ip_addr": "192.0.2.254", "perm_config": "monitoring_center:r,network_configuration:r", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "webuser/edit", "value": { "func_name": "webuser", "action": "edit", "param": { "group_name": "codex_test", "ip_addr": "192.0.2.254", "perm_config": "monitoring_center:r,network_configuration:r", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "webuser", "x-ikuai-action": "edit", "x-ikuai-param-example": { "group_name": "codex_test", "ip_addr": "192.0.2.254", "perm_config": "monitoring_center:r,network_configuration:r", "id": "99999999" }, "x-ikuai-source": { "spec_file": "system/system-web-admin-accounts.json", "method": "put", "path": "/api/v4.0/system/web-admin/groups/{id}", "operationId": "updateWebAdminGroup", "summary": "全量修改WEB登录用户组" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteTimeObject": { "post": { "tags": [ "时间对象管理API" ], "summary": "删除时间对象", "operationId": "call_deleteTimeObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/time-objects/{id}`\n- 来源文件: `object_group/network-object-time.json`\n- func_name: `route_object_time`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_time" ], "example": "route_object_time" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_time/del", "value": { "func_name": "route_object_time", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_time", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-time.json", "method": "delete", "path": "/api/v4.0/time-objects/{id}", "operationId": "deleteTimeObject", "summary": "删除时间对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getTimeObject": { "post": { "tags": [ "时间对象管理API" ], "summary": "获取指定时间对象", "operationId": "call_getTimeObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/time-objects/{id}`\n- 来源文件: `object_group/network-object-time.json`\n- func_name: `route_object_time`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_time" ], "example": "route_object_time" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_time/show", "value": { "func_name": "route_object_time", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_time", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-time.json", "method": "get", "path": "/api/v4.0/time-objects/{id}", "operationId": "getTimeObject", "summary": "获取指定时间对象" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/updateTimeObject": { "post": { "tags": [ "时间对象管理API" ], "summary": "更新时间对象", "operationId": "call_updateTimeObject", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/time-objects/{id}`\n- 来源文件: `object_group/network-object-time.json`\n- func_name: `route_object_time`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "route_object_time" ], "example": "route_object_time" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "group_name": "codex_test", "group_value": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "id": "99999999" }, "default": { "group_name": "codex_test", "group_value": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "route_object_time/edit", "value": { "func_name": "route_object_time", "action": "edit", "param": { "group_name": "codex_test", "group_value": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "route_object_time", "x-ikuai-action": "edit", "x-ikuai-param-example": { "group_name": "codex_test", "group_value": [ { "type": "weekly", "weekdays": "1234567", "start_time": "00:00", "end_time": "20:00", "comment": "codex_test" }, { "type": "date", "start_time": "2026-05-01T08:00", "end_time": "2026-05-10T08:00", "comment": "codex_test" } ], "id": "99999999" }, "x-ikuai-source": { "spec_file": "object_group/network-object-time.json", "method": "put", "path": "/api/v4.0/time-objects/{id}", "operationId": "updateTimeObject", "summary": "更新时间对象" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteIkev2Client": { "post": { "tags": [ "IKEv2 VPN客户端管理API" ], "summary": "删除IKEv2客户端", "operationId": "call_deleteIkev2Client", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/vpn/ikev2/clients/{id}`\n- 来源文件: `vpn/network-ikev2.json`\n- func_name: `ike_client`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ike_client" ], "example": "ike_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ike_client/del", "value": { "func_name": "ike_client", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ike_client", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-ikev2.json", "method": "delete", "path": "/api/v4.0/vpn/ikev2/clients/{id}", "operationId": "deleteIkev2Client", "summary": "删除IKEv2客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getIkev2Client": { "post": { "tags": [ "IKEv2 VPN客户端管理API" ], "summary": "获取指定IKEv2客户端", "operationId": "call_getIkev2Client", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/ikev2/clients/{id}`\n- 来源文件: `vpn/network-ikev2.json`\n- func_name: `ike_client`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ike_client" ], "example": "ike_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ike_client/show", "value": { "func_name": "ike_client", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ike_client", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-ikev2.json", "method": "get", "path": "/api/v4.0/vpn/ikev2/clients/{id}", "operationId": "getIkev2Client", "summary": "获取指定IKEv2客户端" }, "x-ikuai-test": { "result": "business_error", "executed": true, "mutation": false, "http_status": 200, "business_code": 1003, "business_message": "Access denied" } } }, "/Action/call/_operations/patchIkev2Client": { "post": { "tags": [ "IKEv2 VPN客户端管理API" ], "summary": "启用/停用IKEv2客户端", "operationId": "call_patchIkev2Client", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/vpn/ikev2/clients/{id}`\n- 来源文件: `vpn/network-ikev2.json`\n- func_name: `ike_client`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ike_client" ], "example": "ike_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ike_client/edit", "value": { "func_name": "ike_client", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ike_client", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-ikev2.json", "method": "patch", "path": "/api/v4.0/vpn/ikev2/clients/{id}", "operationId": "patchIkev2Client", "summary": "启用/停用IKEv2客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateIkev2Client": { "post": { "tags": [ "IKEv2 VPN客户端管理API" ], "summary": "更新IKEv2客户端", "operationId": "call_updateIkev2Client", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/vpn/ikev2/clients/{id}`\n- 来源文件: `vpn/network-ikev2.json`\n- func_name: `ike_client`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ike_client" ], "example": "ike_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999", "enabled": "no", "name": "codex_test", "remote_addr": "vpn.example.com", "interface": "wan1", "authby": "mschapv2", "leftid": "localikev2", "check_link_mode": 1, "check_link_host": "www.baidu.com" }, "default": { "id": "99999999", "enabled": "no", "name": "codex_test", "remote_addr": "vpn.example.com", "interface": "wan1", "authby": "mschapv2", "leftid": "localikev2", "check_link_mode": 1, "check_link_host": "www.baidu.com" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ike_client/edit", "value": { "func_name": "ike_client", "action": "edit", "param": { "id": "99999999", "enabled": "no", "name": "codex_test", "remote_addr": "vpn.example.com", "interface": "wan1", "authby": "mschapv2", "leftid": "localikev2", "check_link_mode": 1, "check_link_host": "www.baidu.com" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ike_client", "x-ikuai-action": "edit", "x-ikuai-param-example": { "id": "99999999", "enabled": "no", "name": "codex_test", "remote_addr": "vpn.example.com", "interface": "wan1", "authby": "mschapv2", "leftid": "localikev2", "check_link_mode": 1, "check_link_host": "www.baidu.com" }, "x-ikuai-source": { "spec_file": "vpn/network-ikev2.json", "method": "put", "path": "/api/v4.0/vpn/ikev2/clients/{id}", "operationId": "updateIkev2Client", "summary": "更新IKEv2客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteIpsecClient": { "post": { "tags": [ "IPSEC VPN客户端管理API" ], "summary": "删除IPSEC客户端", "operationId": "call_deleteIpsecClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/vpn/ipsec/clients/{id}`\n- 来源文件: `vpn/network-ipsec-vpn.json`\n- func_name: `ipsec-vpn`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ipsec-vpn" ], "example": "ipsec-vpn" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ipsec-vpn/del", "value": { "func_name": "ipsec-vpn", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ipsec-vpn", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-ipsec-vpn.json", "method": "delete", "path": "/api/v4.0/vpn/ipsec/clients/{id}", "operationId": "deleteIpsecClient", "summary": "删除IPSEC客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getIpsecClient": { "post": { "tags": [ "IPSEC VPN客户端管理API" ], "summary": "获取指定IPSEC客户端", "operationId": "call_getIpsecClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/ipsec/clients/{id}`\n- 来源文件: `vpn/network-ipsec-vpn.json`\n- func_name: `ipsec-vpn`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ipsec-vpn" ], "example": "ipsec-vpn" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ipsec-vpn/show", "value": { "func_name": "ipsec-vpn", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ipsec-vpn", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-ipsec-vpn.json", "method": "get", "path": "/api/v4.0/vpn/ipsec/clients/{id}", "operationId": "getIpsecClient", "summary": "获取指定IPSEC客户端" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchIpsecClient": { "post": { "tags": [ "IPSEC VPN客户端管理API" ], "summary": "启用/停用IPSEC客户端", "operationId": "call_patchIpsecClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/vpn/ipsec/clients/{id}`\n- 来源文件: `vpn/network-ipsec-vpn.json`\n- func_name: `ipsec-vpn`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ipsec-vpn" ], "example": "ipsec-vpn" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ipsec-vpn/edit", "value": { "func_name": "ipsec-vpn", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ipsec-vpn", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-ipsec-vpn.json", "method": "patch", "path": "/api/v4.0/vpn/ipsec/clients/{id}", "operationId": "patchIpsecClient", "summary": "启用/停用IPSEC客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateIpsecClient": { "post": { "tags": [ "IPSEC VPN客户端管理API" ], "summary": "更新IPSEC客户端", "operationId": "call_updateIpsecClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/vpn/ipsec/clients/{id}`\n- 来源文件: `vpn/network-ipsec-vpn.json`\n- func_name: `ipsec-vpn`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "ipsec-vpn" ], "example": "ipsec-vpn" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999", "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.ikuai.cn", "leftsubnet": "192.0.2.254", "rightsubnet": "192.0.2.254", "interface": "wan1", "enabled": "no", "keyexchange": "ikev2", "aggressive": "0", "ikelifetime": 3, "ike_enc": "aes256", "ike_auth": "sha256", "ike_dh": "modp2048", "authby": "secret", "secret": "codex_Test_123", "leftid": "localgateway", "rightid": "remotegateway", "privatekey": "codex_Test_123", "leftcert": "", "rightcert": "", "lifetime": 1, "esp_enc": "aes256", "esp_auth": "sha256", "compress": "0", "dpdaction": "none", "dpddelay": 30, "dpdtimeout": 150 }, "default": { "id": "99999999", "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.ikuai.cn", "leftsubnet": "192.0.2.254", "rightsubnet": "192.0.2.254", "interface": "wan1", "enabled": "no", "keyexchange": "ikev2", "aggressive": "0", "ikelifetime": 3, "ike_enc": "aes256", "ike_auth": "sha256", "ike_dh": "modp2048", "authby": "secret", "secret": "codex_Test_123", "leftid": "localgateway", "rightid": "remotegateway", "privatekey": "codex_Test_123", "leftcert": "", "rightcert": "", "lifetime": 1, "esp_enc": "aes256", "esp_auth": "sha256", "compress": "0", "dpdaction": "none", "dpddelay": 30, "dpdtimeout": 150 } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "ipsec-vpn/edit", "value": { "func_name": "ipsec-vpn", "action": "edit", "param": { "id": "99999999", "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.ikuai.cn", "leftsubnet": "192.0.2.254", "rightsubnet": "192.0.2.254", "interface": "wan1", "enabled": "no", "keyexchange": "ikev2", "aggressive": "0", "ikelifetime": 3, "ike_enc": "aes256", "ike_auth": "sha256", "ike_dh": "modp2048", "authby": "secret", "secret": "codex_Test_123", "leftid": "localgateway", "rightid": "remotegateway", "privatekey": "codex_Test_123", "leftcert": "", "rightcert": "", "lifetime": 1, "esp_enc": "aes256", "esp_auth": "sha256", "compress": "0", "dpdaction": "none", "dpddelay": 30, "dpdtimeout": 150 } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "ipsec-vpn", "x-ikuai-action": "edit", "x-ikuai-param-example": { "id": "99999999", "name": "codex_test", "comment": "codex_test", "remote_addr": "vpn.ikuai.cn", "leftsubnet": "192.0.2.254", "rightsubnet": "192.0.2.254", "interface": "wan1", "enabled": "no", "keyexchange": "ikev2", "aggressive": "0", "ikelifetime": 3, "ike_enc": "aes256", "ike_auth": "sha256", "ike_dh": "modp2048", "authby": "secret", "secret": "codex_Test_123", "leftid": "localgateway", "rightid": "remotegateway", "privatekey": "codex_Test_123", "leftcert": "", "rightcert": "", "lifetime": 1, "esp_enc": "aes256", "esp_auth": "sha256", "compress": "0", "dpdaction": "none", "dpddelay": 30, "dpdtimeout": 150 }, "x-ikuai-source": { "spec_file": "vpn/network-ipsec-vpn.json", "method": "put", "path": "/api/v4.0/vpn/ipsec/clients/{id}", "operationId": "updateIpsecClient", "summary": "更新IPSEC客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteL2tpClient": { "post": { "tags": [ "L2TP VPN客户端管理API" ], "summary": "删除L2TP客户端", "operationId": "call_deleteL2tpClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/vpn/l2tp/clients/{id}`\n- 来源文件: `vpn/network-l2tp-client.json`\n- func_name: `l2tp_client`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "l2tp_client" ], "example": "l2tp_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "l2tp_client/del", "value": { "func_name": "l2tp_client", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "l2tp_client", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-l2tp-client.json", "method": "delete", "path": "/api/v4.0/vpn/l2tp/clients/{id}", "operationId": "deleteL2tpClient", "summary": "删除L2TP客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getL2tpClient": { "post": { "tags": [ "L2TP VPN客户端管理API" ], "summary": "获取指定L2TP客户端", "operationId": "call_getL2tpClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/l2tp/clients/{id}`\n- 来源文件: `vpn/network-l2tp-client.json`\n- func_name: `l2tp_client`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "l2tp_client" ], "example": "l2tp_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "l2tp_client/show", "value": { "func_name": "l2tp_client", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "l2tp_client", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-l2tp-client.json", "method": "get", "path": "/api/v4.0/vpn/l2tp/clients/{id}", "operationId": "getL2tpClient", "summary": "获取指定L2TP客户端" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchL2tpClient": { "post": { "tags": [ "L2TP VPN客户端管理API" ], "summary": "启用/停用L2TP客户端", "operationId": "call_patchL2tpClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/vpn/l2tp/clients/{id}`\n- 来源文件: `vpn/network-l2tp-client.json`\n- func_name: `l2tp_client`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "l2tp_client" ], "example": "l2tp_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "l2tp_client/edit", "value": { "func_name": "l2tp_client", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "l2tp_client", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-l2tp-client.json", "method": "patch", "path": "/api/v4.0/vpn/l2tp/clients/{id}", "operationId": "patchL2tpClient", "summary": "启用/停用L2TP客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateL2tpClient": { "post": { "tags": [ "L2TP VPN客户端管理API" ], "summary": "更新L2TP客户端", "operationId": "call_updateL2tpClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/vpn/l2tp/clients/{id}`\n- 来源文件: `vpn/network-l2tp-client.json`\n- func_name: `l2tp_client`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "l2tp_client" ], "example": "l2tp_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999", "enabled": "no", "name": "codex_test", "server": "vpn.example.com", "server_port": 1701, "username": "codex_test_user", "passwd": "codex_Test_123", "interface": "wan1", "mtu": 1400, "mru": 1400, "check_link_mode": 1, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "cycle_rst_time": 0, "ipsec_secret": "ipseckey123", "leftid": "locall2tp", "rightid": "remotel2tp", "timing_rst_week": "1234567", "timing_rst_time": "12:00", "comment": "codex_test" }, "default": { "id": "99999999", "enabled": "no", "name": "codex_test", "server": "vpn.example.com", "server_port": 1701, "username": "codex_test_user", "passwd": "codex_Test_123", "interface": "wan1", "mtu": 1400, "mru": 1400, "check_link_mode": 1, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "cycle_rst_time": 0, "ipsec_secret": "ipseckey123", "leftid": "locall2tp", "rightid": "remotel2tp", "timing_rst_week": "1234567", "timing_rst_time": "12:00", "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "l2tp_client/edit", "value": { "func_name": "l2tp_client", "action": "edit", "param": { "id": "99999999", "enabled": "no", "name": "codex_test", "server": "vpn.example.com", "server_port": 1701, "username": "codex_test_user", "passwd": "codex_Test_123", "interface": "wan1", "mtu": 1400, "mru": 1400, "check_link_mode": 1, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "cycle_rst_time": 0, "ipsec_secret": "ipseckey123", "leftid": "locall2tp", "rightid": "remotel2tp", "timing_rst_week": "1234567", "timing_rst_time": "12:00", "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "l2tp_client", "x-ikuai-action": "edit", "x-ikuai-param-example": { "id": "99999999", "enabled": "no", "name": "codex_test", "server": "vpn.example.com", "server_port": 1701, "username": "codex_test_user", "passwd": "codex_Test_123", "interface": "wan1", "mtu": 1400, "mru": 1400, "check_link_mode": 1, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "cycle_rst_time": 0, "ipsec_secret": "ipseckey123", "leftid": "locall2tp", "rightid": "remotel2tp", "timing_rst_week": "1234567", "timing_rst_time": "12:00", "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "vpn/network-l2tp-client.json", "method": "put", "path": "/api/v4.0/vpn/l2tp/clients/{id}", "operationId": "updateL2tpClient", "summary": "更新L2TP客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteOpenvpnClient": { "post": { "tags": [ "OpenVPN客户端管理API" ], "summary": "删除OpenVPN客户端", "operationId": "call_deleteOpenvpnClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/vpn/openvpn/clients/{id}`\n- 来源文件: `vpn/network-openvpn-client.json`\n- func_name: `openvpn-client`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "openvpn-client" ], "example": "openvpn-client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "openvpn-client/del", "value": { "func_name": "openvpn-client", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "openvpn-client", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-openvpn-client.json", "method": "delete", "path": "/api/v4.0/vpn/openvpn/clients/{id}", "operationId": "deleteOpenvpnClient", "summary": "删除OpenVPN客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getOpenvpnClient": { "post": { "tags": [ "OpenVPN客户端管理API" ], "summary": "获取指定OpenVPN客户端", "operationId": "call_getOpenvpnClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/openvpn/clients/{id}`\n- 来源文件: `vpn/network-openvpn-client.json`\n- func_name: `openvpn-client`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "openvpn-client" ], "example": "openvpn-client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "openvpn-client/show", "value": { "func_name": "openvpn-client", "action": "show", "param": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "openvpn-client", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "total,data", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-openvpn-client.json", "method": "get", "path": "/api/v4.0/vpn/openvpn/clients/{id}", "operationId": "getOpenvpnClient", "summary": "获取指定OpenVPN客户端" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchOpenvpnClient": { "post": { "tags": [ "OpenVPN客户端管理API" ], "summary": "启用/停用OpenVPN客户端", "operationId": "call_patchOpenvpnClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/vpn/openvpn/clients/{id}`\n- 来源文件: `vpn/network-openvpn-client.json`\n- func_name: `openvpn-client`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "openvpn-client" ], "example": "openvpn-client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "openvpn-client/edit", "value": { "func_name": "openvpn-client", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "openvpn-client", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-openvpn-client.json", "method": "patch", "path": "/api/v4.0/vpn/openvpn/clients/{id}", "operationId": "patchOpenvpnClient", "summary": "启用/停用OpenVPN客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateOpenvpnClient": { "post": { "tags": [ "OpenVPN客户端管理API" ], "summary": "更新OpenVPN客户端", "operationId": "call_updateOpenvpnClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/vpn/openvpn/clients/{id}`\n- 来源文件: `vpn/network-openvpn-client.json`\n- func_name: `openvpn-client`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "openvpn-client" ], "example": "openvpn-client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999", "enabled": "no", "name": "codex_test", "remote_addr": "vpn.ikuai.cn", "remote_port": 1194, "method": 0, "interface": "wan1", "proto": "udp", "dev_type": "tun", "cipher": "AES-256-CBC", "tun_mtu": 1400, "ca": "-----BEGIN#CERTIFICATE-----@MIIDQTCCAimgAwIBAgIJAMqVcmi6/37xMA0GCSqGSIb3DQEBCwUAMDcxCzAJBgNV@BAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgRGV2aWNlIENB@MB4XDTI2MDIwNjEwMzExMFoXDTM2MDIwNDEwMzExMFowNzELMAkGA1UEBhMCQ04x@DjAMBgNVBAoMBWlLdWFpMRgwFgYDVQQDDA9pS3VhaSBEZXZpY2UgQ0EwggEiMA0G@CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeCJGD4jX3PY5IdOYRv0gxfYPYikOc@hQkF5XAWQZgFxnuelDEkzl7RCOFVqsnwY/npOzI7VSsyLACPNkOdvyEvO+QGfRli@3zx0EfwRHGhLQbt/TDT0D9IZCab2oswdYjORtXcIe5dT3j2i8M2vv6wnJ7ip8GKu@ahfgJzakBZIRcQyEopTCmNbC5VAdCb/gQ0ezPnogPG6pbxxgE8OJIGH0+IgMFFTv@0wKVOCyHJgZNAZNnzP3yi5SCJvBnfU4wadXDAztGtq5El5l2lBP7s3KH65u0M/46@wo5NHyxZhn+M8S86EE4RkAeHI+1FqJASjW9ivNTRphFZMyW/Q4qbdEtrAgMBAAGj@UDBOMB0GA1UdDgQWBBRYp/q+2podeA2lc3khLBN+RGf+5TAfBgNVHSMEGDAWgBRY@p/q+2podeA2lc3khLBN+RGf+5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA@A4IBAQCHj5mxVYnaQcvMpjpWdXBS6XVpdiRpuqzRoqOYEnhzXOwwqnJ/EkJwa0RH@wFZUZrQC9bbxnIz+9kmlQKoTwtzzd9GVZeb3JeU9fcd/1BJdRLRiqqXw1EW0+QOV@7NCP1NqVMUsornypW1Y0JPcNfcvx/+oQXIIsS3EjOn+ye3ZASSRNi6+4zXNX2l53@8revjpAVnww0FS/zDeFGD9c9n6aYxvLxqXaBgNO3eOb2EAQAuNwncOvXZ9hBY8rz@A9jTuDVM1inhzROPguwt+j2moZedLm8DRgQxHjIkVvIOsq/50ApOVlGBCHjGJsay@tj3+p42yHrbmuCKvE6cCc0m2fhpw@-----END#CERTIFICATE-----@", "comp_lzo": "1", "accept_push_route": "0", "check_link_mode": 1, "check_link_host": "www.baidu.com", "timing_rst_switch": "0", "tls_auth": "", "cert": "-----BEGIN#CERTIFICATE-----@MIIDWjCCAkKgAwIBAgIJAOclientCertDemoMA0GCSqGSIb3DQEBCwUAMDcxCzAJ@BgNVBAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgQ2xpZW50@Q0EwHhcNMjYwMjA2MTAzMTEwWhcNMzYwMjA0MTAzMTEwWjA6MQswCQYDVQQGEwJD@TjEOMAwGA1UECgwFaUt1YWkxGzAZBgNVBAMMEm9wZW52cG4tY2xpZW50LWNlcnQw@ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCclientCertDemoData@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@AgMBAAGjUDBOMB0GA1UdDgQWBBRclientCertDemo1111111111111111111111@MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAAzzzzyyyyxxxxwwww@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@-----END#CERTIFICATE-----@", "key": "-----BEGIN#RSA#PRIVATE#KEY-----@MIIEowIBAAKCAQEAsclientPrivateKeyDemoData1111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@3333333333333333333333333333333333333333333333333333333333333333@AoIBAFclientPrivateKeyDemoPayload444444444444444444444444444444444@5555555555555555555555555555555555555555555555555555555555555555@6666666666666666666666666666666666666666666666666666666666666666@-----END#RSA#PRIVATE#KEY-----@", "username": "codex_test_user", "password": "codex_Test_123", "extra_config": "", "route": "", "comment": "codex_test", "timing_rst_week": "", "timing_rst_time": "" }, "default": { "id": "99999999", "enabled": "no", "name": "codex_test", "remote_addr": "vpn.ikuai.cn", "remote_port": 1194, "method": 0, "interface": "wan1", "proto": "udp", "dev_type": "tun", "cipher": "AES-256-CBC", "tun_mtu": 1400, "ca": "-----BEGIN#CERTIFICATE-----@MIIDQTCCAimgAwIBAgIJAMqVcmi6/37xMA0GCSqGSIb3DQEBCwUAMDcxCzAJBgNV@BAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgRGV2aWNlIENB@MB4XDTI2MDIwNjEwMzExMFoXDTM2MDIwNDEwMzExMFowNzELMAkGA1UEBhMCQ04x@DjAMBgNVBAoMBWlLdWFpMRgwFgYDVQQDDA9pS3VhaSBEZXZpY2UgQ0EwggEiMA0G@CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeCJGD4jX3PY5IdOYRv0gxfYPYikOc@hQkF5XAWQZgFxnuelDEkzl7RCOFVqsnwY/npOzI7VSsyLACPNkOdvyEvO+QGfRli@3zx0EfwRHGhLQbt/TDT0D9IZCab2oswdYjORtXcIe5dT3j2i8M2vv6wnJ7ip8GKu@ahfgJzakBZIRcQyEopTCmNbC5VAdCb/gQ0ezPnogPG6pbxxgE8OJIGH0+IgMFFTv@0wKVOCyHJgZNAZNnzP3yi5SCJvBnfU4wadXDAztGtq5El5l2lBP7s3KH65u0M/46@wo5NHyxZhn+M8S86EE4RkAeHI+1FqJASjW9ivNTRphFZMyW/Q4qbdEtrAgMBAAGj@UDBOMB0GA1UdDgQWBBRYp/q+2podeA2lc3khLBN+RGf+5TAfBgNVHSMEGDAWgBRY@p/q+2podeA2lc3khLBN+RGf+5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA@A4IBAQCHj5mxVYnaQcvMpjpWdXBS6XVpdiRpuqzRoqOYEnhzXOwwqnJ/EkJwa0RH@wFZUZrQC9bbxnIz+9kmlQKoTwtzzd9GVZeb3JeU9fcd/1BJdRLRiqqXw1EW0+QOV@7NCP1NqVMUsornypW1Y0JPcNfcvx/+oQXIIsS3EjOn+ye3ZASSRNi6+4zXNX2l53@8revjpAVnww0FS/zDeFGD9c9n6aYxvLxqXaBgNO3eOb2EAQAuNwncOvXZ9hBY8rz@A9jTuDVM1inhzROPguwt+j2moZedLm8DRgQxHjIkVvIOsq/50ApOVlGBCHjGJsay@tj3+p42yHrbmuCKvE6cCc0m2fhpw@-----END#CERTIFICATE-----@", "comp_lzo": "1", "accept_push_route": "0", "check_link_mode": 1, "check_link_host": "www.baidu.com", "timing_rst_switch": "0", "tls_auth": "", "cert": "-----BEGIN#CERTIFICATE-----@MIIDWjCCAkKgAwIBAgIJAOclientCertDemoMA0GCSqGSIb3DQEBCwUAMDcxCzAJ@BgNVBAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgQ2xpZW50@Q0EwHhcNMjYwMjA2MTAzMTEwWhcNMzYwMjA0MTAzMTEwWjA6MQswCQYDVQQGEwJD@TjEOMAwGA1UECgwFaUt1YWkxGzAZBgNVBAMMEm9wZW52cG4tY2xpZW50LWNlcnQw@ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCclientCertDemoData@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@AgMBAAGjUDBOMB0GA1UdDgQWBBRclientCertDemo1111111111111111111111@MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAAzzzzyyyyxxxxwwww@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@-----END#CERTIFICATE-----@", "key": "-----BEGIN#RSA#PRIVATE#KEY-----@MIIEowIBAAKCAQEAsclientPrivateKeyDemoData1111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@3333333333333333333333333333333333333333333333333333333333333333@AoIBAFclientPrivateKeyDemoPayload444444444444444444444444444444444@5555555555555555555555555555555555555555555555555555555555555555@6666666666666666666666666666666666666666666666666666666666666666@-----END#RSA#PRIVATE#KEY-----@", "username": "codex_test_user", "password": "codex_Test_123", "extra_config": "", "route": "", "comment": "codex_test", "timing_rst_week": "", "timing_rst_time": "" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "openvpn-client/edit", "value": { "func_name": "openvpn-client", "action": "edit", "param": { "id": "99999999", "enabled": "no", "name": "codex_test", "remote_addr": "vpn.ikuai.cn", "remote_port": 1194, "method": 0, "interface": "wan1", "proto": "udp", "dev_type": "tun", "cipher": "AES-256-CBC", "tun_mtu": 1400, "ca": "-----BEGIN#CERTIFICATE-----@MIIDQTCCAimgAwIBAgIJAMqVcmi6/37xMA0GCSqGSIb3DQEBCwUAMDcxCzAJBgNV@BAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgRGV2aWNlIENB@MB4XDTI2MDIwNjEwMzExMFoXDTM2MDIwNDEwMzExMFowNzELMAkGA1UEBhMCQ04x@DjAMBgNVBAoMBWlLdWFpMRgwFgYDVQQDDA9pS3VhaSBEZXZpY2UgQ0EwggEiMA0G@CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeCJGD4jX3PY5IdOYRv0gxfYPYikOc@hQkF5XAWQZgFxnuelDEkzl7RCOFVqsnwY/npOzI7VSsyLACPNkOdvyEvO+QGfRli@3zx0EfwRHGhLQbt/TDT0D9IZCab2oswdYjORtXcIe5dT3j2i8M2vv6wnJ7ip8GKu@ahfgJzakBZIRcQyEopTCmNbC5VAdCb/gQ0ezPnogPG6pbxxgE8OJIGH0+IgMFFTv@0wKVOCyHJgZNAZNnzP3yi5SCJvBnfU4wadXDAztGtq5El5l2lBP7s3KH65u0M/46@wo5NHyxZhn+M8S86EE4RkAeHI+1FqJASjW9ivNTRphFZMyW/Q4qbdEtrAgMBAAGj@UDBOMB0GA1UdDgQWBBRYp/q+2podeA2lc3khLBN+RGf+5TAfBgNVHSMEGDAWgBRY@p/q+2podeA2lc3khLBN+RGf+5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA@A4IBAQCHj5mxVYnaQcvMpjpWdXBS6XVpdiRpuqzRoqOYEnhzXOwwqnJ/EkJwa0RH@wFZUZrQC9bbxnIz+9kmlQKoTwtzzd9GVZeb3JeU9fcd/1BJdRLRiqqXw1EW0+QOV@7NCP1NqVMUsornypW1Y0JPcNfcvx/+oQXIIsS3EjOn+ye3ZASSRNi6+4zXNX2l53@8revjpAVnww0FS/zDeFGD9c9n6aYxvLxqXaBgNO3eOb2EAQAuNwncOvXZ9hBY8rz@A9jTuDVM1inhzROPguwt+j2moZedLm8DRgQxHjIkVvIOsq/50ApOVlGBCHjGJsay@tj3+p42yHrbmuCKvE6cCc0m2fhpw@-----END#CERTIFICATE-----@", "comp_lzo": "1", "accept_push_route": "0", "check_link_mode": 1, "check_link_host": "www.baidu.com", "timing_rst_switch": "0", "tls_auth": "", "cert": "-----BEGIN#CERTIFICATE-----@MIIDWjCCAkKgAwIBAgIJAOclientCertDemoMA0GCSqGSIb3DQEBCwUAMDcxCzAJ@BgNVBAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgQ2xpZW50@Q0EwHhcNMjYwMjA2MTAzMTEwWhcNMzYwMjA0MTAzMTEwWjA6MQswCQYDVQQGEwJD@TjEOMAwGA1UECgwFaUt1YWkxGzAZBgNVBAMMEm9wZW52cG4tY2xpZW50LWNlcnQw@ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCclientCertDemoData@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@AgMBAAGjUDBOMB0GA1UdDgQWBBRclientCertDemo1111111111111111111111@MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAAzzzzyyyyxxxxwwww@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@-----END#CERTIFICATE-----@", "key": "-----BEGIN#RSA#PRIVATE#KEY-----@MIIEowIBAAKCAQEAsclientPrivateKeyDemoData1111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@3333333333333333333333333333333333333333333333333333333333333333@AoIBAFclientPrivateKeyDemoPayload444444444444444444444444444444444@5555555555555555555555555555555555555555555555555555555555555555@6666666666666666666666666666666666666666666666666666666666666666@-----END#RSA#PRIVATE#KEY-----@", "username": "codex_test_user", "password": "codex_Test_123", "extra_config": "", "route": "", "comment": "codex_test", "timing_rst_week": "", "timing_rst_time": "" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "openvpn-client", "x-ikuai-action": "edit", "x-ikuai-param-example": { "id": "99999999", "enabled": "no", "name": "codex_test", "remote_addr": "vpn.ikuai.cn", "remote_port": 1194, "method": 0, "interface": "wan1", "proto": "udp", "dev_type": "tun", "cipher": "AES-256-CBC", "tun_mtu": 1400, "ca": "-----BEGIN#CERTIFICATE-----@MIIDQTCCAimgAwIBAgIJAMqVcmi6/37xMA0GCSqGSIb3DQEBCwUAMDcxCzAJBgNV@BAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgRGV2aWNlIENB@MB4XDTI2MDIwNjEwMzExMFoXDTM2MDIwNDEwMzExMFowNzELMAkGA1UEBhMCQ04x@DjAMBgNVBAoMBWlLdWFpMRgwFgYDVQQDDA9pS3VhaSBEZXZpY2UgQ0EwggEiMA0G@CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCeCJGD4jX3PY5IdOYRv0gxfYPYikOc@hQkF5XAWQZgFxnuelDEkzl7RCOFVqsnwY/npOzI7VSsyLACPNkOdvyEvO+QGfRli@3zx0EfwRHGhLQbt/TDT0D9IZCab2oswdYjORtXcIe5dT3j2i8M2vv6wnJ7ip8GKu@ahfgJzakBZIRcQyEopTCmNbC5VAdCb/gQ0ezPnogPG6pbxxgE8OJIGH0+IgMFFTv@0wKVOCyHJgZNAZNnzP3yi5SCJvBnfU4wadXDAztGtq5El5l2lBP7s3KH65u0M/46@wo5NHyxZhn+M8S86EE4RkAeHI+1FqJASjW9ivNTRphFZMyW/Q4qbdEtrAgMBAAGj@UDBOMB0GA1UdDgQWBBRYp/q+2podeA2lc3khLBN+RGf+5TAfBgNVHSMEGDAWgBRY@p/q+2podeA2lc3khLBN+RGf+5TAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA@A4IBAQCHj5mxVYnaQcvMpjpWdXBS6XVpdiRpuqzRoqOYEnhzXOwwqnJ/EkJwa0RH@wFZUZrQC9bbxnIz+9kmlQKoTwtzzd9GVZeb3JeU9fcd/1BJdRLRiqqXw1EW0+QOV@7NCP1NqVMUsornypW1Y0JPcNfcvx/+oQXIIsS3EjOn+ye3ZASSRNi6+4zXNX2l53@8revjpAVnww0FS/zDeFGD9c9n6aYxvLxqXaBgNO3eOb2EAQAuNwncOvXZ9hBY8rz@A9jTuDVM1inhzROPguwt+j2moZedLm8DRgQxHjIkVvIOsq/50ApOVlGBCHjGJsay@tj3+p42yHrbmuCKvE6cCc0m2fhpw@-----END#CERTIFICATE-----@", "comp_lzo": "1", "accept_push_route": "0", "check_link_mode": 1, "check_link_host": "www.baidu.com", "timing_rst_switch": "0", "tls_auth": "", "cert": "-----BEGIN#CERTIFICATE-----@MIIDWjCCAkKgAwIBAgIJAOclientCertDemoMA0GCSqGSIb3DQEBCwUAMDcxCzAJ@BgNVBAYTAkNOMQ4wDAYDVQQKDAVpS3VhaTEYMBYGA1UEAwwPaUt1YWkgQ2xpZW50@Q0EwHhcNMjYwMjA2MTAzMTEwWhcNMzYwMjA0MTAzMTEwWjA6MQswCQYDVQQGEwJD@TjEOMAwGA1UECgwFaUt1YWkxGzAZBgNVBAMMEm9wZW52cG4tY2xpZW50LWNlcnQw@ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCclientCertDemoData@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@AgMBAAGjUDBOMB0GA1UdDgQWBBRclientCertDemo1111111111111111111111@MA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAAzzzzyyyyxxxxwwww@1111111111111111111111111111111111111111111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@-----END#CERTIFICATE-----@", "key": "-----BEGIN#RSA#PRIVATE#KEY-----@MIIEowIBAAKCAQEAsclientPrivateKeyDemoData1111111111111111111111111@2222222222222222222222222222222222222222222222222222222222222222@3333333333333333333333333333333333333333333333333333333333333333@AoIBAFclientPrivateKeyDemoPayload444444444444444444444444444444444@5555555555555555555555555555555555555555555555555555555555555555@6666666666666666666666666666666666666666666666666666666666666666@-----END#RSA#PRIVATE#KEY-----@", "username": "codex_test_user", "password": "codex_Test_123", "extra_config": "", "route": "", "comment": "codex_test", "timing_rst_week": "", "timing_rst_time": "" }, "x-ikuai-source": { "spec_file": "vpn/network-openvpn-client.json", "method": "put", "path": "/api/v4.0/vpn/openvpn/clients/{id}", "operationId": "updateOpenvpnClient", "summary": "更新OpenVPN客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deletePptpClient": { "post": { "tags": [ "PPTP VPN客户端管理API" ], "summary": "删除PPTP客户端", "operationId": "call_deletePptpClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/vpn/pptp/clients/{id}`\n- 来源文件: `vpn/network-pptp-client.json`\n- func_name: `pptp_client`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pptp_client" ], "example": "pptp_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pptp_client/del", "value": { "func_name": "pptp_client", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pptp_client", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-pptp-client.json", "method": "delete", "path": "/api/v4.0/vpn/pptp/clients/{id}", "operationId": "deletePptpClient", "summary": "删除PPTP客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getPptpClient": { "post": { "tags": [ "PPTP VPN客户端管理API" ], "summary": "获取指定PPTP客户端", "operationId": "call_getPptpClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/pptp/clients/{id}`\n- 来源文件: `vpn/network-pptp-client.json`\n- func_name: `pptp_client`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pptp_client" ], "example": "pptp_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pptp_client/show", "value": { "func_name": "pptp_client", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pptp_client", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-pptp-client.json", "method": "get", "path": "/api/v4.0/vpn/pptp/clients/{id}", "operationId": "getPptpClient", "summary": "获取指定PPTP客户端" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchPptpClient": { "post": { "tags": [ "PPTP VPN客户端管理API" ], "summary": "启用/停用PPTP客户端", "operationId": "call_patchPptpClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/vpn/pptp/clients/{id}`\n- 来源文件: `vpn/network-pptp-client.json`\n- func_name: `pptp_client`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pptp_client" ], "example": "pptp_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pptp_client/edit", "value": { "func_name": "pptp_client", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pptp_client", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-pptp-client.json", "method": "patch", "path": "/api/v4.0/vpn/pptp/clients/{id}", "operationId": "patchPptpClient", "summary": "启用/停用PPTP客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updatePptpClient": { "post": { "tags": [ "PPTP VPN客户端管理API" ], "summary": "更新PPTP客户端", "operationId": "call_updatePptpClient", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/vpn/pptp/clients/{id}`\n- 来源文件: `vpn/network-pptp-client.json`\n- func_name: `pptp_client`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "pptp_client" ], "example": "pptp_client" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999", "enabled": "no", "name": "codex_test", "server": "vpn.ikuai.cn", "username": "codex_test_user", "passwd": "codex_Test_123", "interface": "wan1", "mtu": 1400, "mru": 1400, "server_port": 1723, "check_link_mode": 1, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "timing_rst_week": "1234567", "timing_rst_time": "12:00", "cycle_rst_time": 0, "comment": "codex_test" }, "default": { "id": "99999999", "enabled": "no", "name": "codex_test", "server": "vpn.ikuai.cn", "username": "codex_test_user", "passwd": "codex_Test_123", "interface": "wan1", "mtu": 1400, "mru": 1400, "server_port": 1723, "check_link_mode": 1, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "timing_rst_week": "1234567", "timing_rst_time": "12:00", "cycle_rst_time": 0, "comment": "codex_test" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "pptp_client/edit", "value": { "func_name": "pptp_client", "action": "edit", "param": { "id": "99999999", "enabled": "no", "name": "codex_test", "server": "vpn.ikuai.cn", "username": "codex_test_user", "passwd": "codex_Test_123", "interface": "wan1", "mtu": 1400, "mru": 1400, "server_port": 1723, "check_link_mode": 1, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "timing_rst_week": "1234567", "timing_rst_time": "12:00", "cycle_rst_time": 0, "comment": "codex_test" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "pptp_client", "x-ikuai-action": "edit", "x-ikuai-param-example": { "id": "99999999", "enabled": "no", "name": "codex_test", "server": "vpn.ikuai.cn", "username": "codex_test_user", "passwd": "codex_Test_123", "interface": "wan1", "mtu": 1400, "mru": 1400, "server_port": 1723, "check_link_mode": 1, "check_link_host": "www.baidu.com", "timing_rst_switch": 0, "timing_rst_week": "1234567", "timing_rst_time": "12:00", "cycle_rst_time": 0, "comment": "codex_test" }, "x-ikuai-source": { "spec_file": "vpn/network-pptp-client.json", "method": "put", "path": "/api/v4.0/vpn/pptp/clients/{id}", "operationId": "updatePptpClient", "summary": "更新PPTP客户端" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteWireguardInterface": { "post": { "tags": [ "WireGuard管理API" ], "summary": "删除WireGuard接口", "operationId": "call_deleteWireguardInterface", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/vpn/wireguard/{wg_id}`\n- 来源文件: `vpn/network-wireguard.json`\n- func_name: `wireguard`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wireguard" ], "example": "wireguard" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "wg_id": "99999999" }, "default": { "wg_id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wireguard/del", "value": { "func_name": "wireguard", "action": "del", "param": { "wg_id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wireguard", "x-ikuai-action": "del", "x-ikuai-param-example": { "wg_id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-wireguard.json", "method": "delete", "path": "/api/v4.0/vpn/wireguard/{wg_id}", "operationId": "deleteWireguardInterface", "summary": "删除WireGuard接口" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getWireguardInterface": { "post": { "tags": [ "WireGuard管理API" ], "summary": "获取指定WireGuard接口", "operationId": "call_getWireguardInterface", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/wireguard/{wg_id}`\n- 来源文件: `vpn/network-wireguard.json`\n- func_name: `wireguard`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wireguard" ], "example": "wireguard" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "wg_id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "wg_id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wireguard/show", "value": { "func_name": "wireguard", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "wg_id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wireguard", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "wg_id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-wireguard.json", "method": "get", "path": "/api/v4.0/vpn/wireguard/{wg_id}", "operationId": "getWireguardInterface", "summary": "获取指定WireGuard接口" }, "x-ikuai-test": { "result": "business_error", "executed": true, "mutation": false, "http_status": 200, "business_code": 1003, "business_message": "Access denied" } } }, "/Action/call/_operations/patchWireguardInterface": { "post": { "tags": [ "WireGuard管理API" ], "summary": "启用/停用WireGuard接口", "operationId": "call_patchWireguardInterface", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/vpn/wireguard/{wg_id}`\n- 来源文件: `vpn/network-wireguard.json`\n- func_name: `wireguard`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wireguard" ], "example": "wireguard" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "wg_id": "99999999" }, "default": { "enabled": "no", "wg_id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wireguard/edit", "value": { "func_name": "wireguard", "action": "edit", "param": { "enabled": "no", "wg_id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wireguard", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "wg_id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-wireguard.json", "method": "patch", "path": "/api/v4.0/vpn/wireguard/{wg_id}", "operationId": "patchWireguardInterface", "summary": "启用/停用WireGuard接口" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateWireguardInterface": { "post": { "tags": [ "WireGuard管理API" ], "summary": "更新WireGuard接口", "operationId": "call_updateWireguardInterface", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/vpn/wireguard/{wg_id}`\n- 来源文件: `vpn/network-wireguard.json`\n- func_name: `wireguard`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wireguard" ], "example": "wireguard" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "name": "codex_test", "interface": "wan1", "local_privatekey": "yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk=", "local_publickey": "HIgo9xNzJMWLKASShiTqIybxZ0U3wGLiUeJ1PKf8ykw=", "local_address": "10.0.0.1/24", "local_listenport": 5000, "mtu": 1420, "wg_id": "99999999" }, "default": { "enabled": "no", "name": "codex_test", "interface": "wan1", "local_privatekey": "yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk=", "local_publickey": "HIgo9xNzJMWLKASShiTqIybxZ0U3wGLiUeJ1PKf8ykw=", "local_address": "10.0.0.1/24", "local_listenport": 5000, "mtu": 1420, "wg_id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wireguard/edit", "value": { "func_name": "wireguard", "action": "edit", "param": { "enabled": "no", "name": "codex_test", "interface": "wan1", "local_privatekey": "yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk=", "local_publickey": "HIgo9xNzJMWLKASShiTqIybxZ0U3wGLiUeJ1PKf8ykw=", "local_address": "10.0.0.1/24", "local_listenport": 5000, "mtu": 1420, "wg_id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wireguard", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "name": "codex_test", "interface": "wan1", "local_privatekey": "yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk=", "local_publickey": "HIgo9xNzJMWLKASShiTqIybxZ0U3wGLiUeJ1PKf8ykw=", "local_address": "10.0.0.1/24", "local_listenport": 5000, "mtu": 1420, "wg_id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-wireguard.json", "method": "put", "path": "/api/v4.0/vpn/wireguard/{wg_id}", "operationId": "updateWireguardInterface", "summary": "更新WireGuard接口" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/listWireguardTunnels": { "post": { "tags": [ "WireGuard管理API" ], "summary": "获取WireGuard隧道列表", "operationId": "call_listWireguardTunnels", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/wireguard/{wg_id}/peers`\n- 来源文件: `vpn/network-wireguard.json`\n- func_name: `wireguard`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wireguard" ], "example": "wireguard" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "wg_id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "wg_id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wireguard/show", "value": { "func_name": "wireguard", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "wg_id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wireguard", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "wg_id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-wireguard.json", "method": "get", "path": "/api/v4.0/vpn/wireguard/{wg_id}/peers", "operationId": "listWireguardTunnels", "summary": "获取WireGuard隧道列表" }, "x-ikuai-test": { "result": "business_error", "executed": true, "mutation": false, "http_status": 200, "business_code": 1003, "business_message": "Access denied" } } }, "/Action/call/_operations/createWireguardTunnel": { "post": { "tags": [ "WireGuard管理API" ], "summary": "创建WireGuard隧道", "operationId": "call_createWireguardTunnel", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `POST /api/v4.0/vpn/wireguard/{wg_id}/peers`\n- 来源文件: `vpn/network-wireguard.json`\n- func_name: `wireguard`\n- action: `add`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wireguard" ], "example": "wireguard" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "add" ], "example": "add" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "comment": "codex_test", "interface": "wan1", "peer_publickey": "peerpublickey123", "presharedkey": "sharedsecret123", "allowips": "192.168.2.0/24", "endpoint": "remote.example.com", "endpoint_port": 5001, "keepalive": 10, "wg_id": "99999999" }, "default": { "enabled": "no", "comment": "codex_test", "interface": "wan1", "peer_publickey": "peerpublickey123", "presharedkey": "sharedsecret123", "allowips": "192.168.2.0/24", "endpoint": "remote.example.com", "endpoint_port": 5001, "keepalive": 10, "wg_id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wireguard/add", "value": { "func_name": "wireguard", "action": "add", "param": { "enabled": "no", "comment": "codex_test", "interface": "wan1", "peer_publickey": "peerpublickey123", "presharedkey": "sharedsecret123", "allowips": "192.168.2.0/24", "endpoint": "remote.example.com", "endpoint_port": 5001, "keepalive": 10, "wg_id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wireguard", "x-ikuai-action": "add", "x-ikuai-param-example": { "enabled": "no", "comment": "codex_test", "interface": "wan1", "peer_publickey": "peerpublickey123", "presharedkey": "sharedsecret123", "allowips": "192.168.2.0/24", "endpoint": "remote.example.com", "endpoint_port": 5001, "keepalive": 10, "wg_id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-wireguard.json", "method": "post", "path": "/api/v4.0/vpn/wireguard/{wg_id}/peers", "operationId": "createWireguardTunnel", "summary": "创建WireGuard隧道" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteWirelessAccessRule": { "post": { "tags": [ "无线访问控制管理API" ], "summary": "删除无线黑白名单", "operationId": "call_deleteWirelessAccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/wireless/access-control/rules/{id}`\n- 来源文件: `wireless/wireless-wls-black.json`\n- func_name: `wls_black`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wls_black" ], "example": "wls_black" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wls_black/del", "value": { "func_name": "wls_black", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wls_black", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "wireless/wireless-wls-black.json", "method": "delete", "path": "/api/v4.0/wireless/access-control/rules/{id}", "operationId": "deleteWirelessAccessRule", "summary": "删除无线黑白名单" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getWirelessAccessRule": { "post": { "tags": [ "无线访问控制管理API" ], "summary": "获取指定无线黑白名单", "operationId": "call_getWirelessAccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/wireless/access-control/rules/{id}`\n- 来源文件: `wireless/wireless-wls-black.json`\n- func_name: `wls_black`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wls_black" ], "example": "wls_black" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wls_black/show", "value": { "func_name": "wls_black", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wls_black", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "wireless/wireless-wls-black.json", "method": "get", "path": "/api/v4.0/wireless/access-control/rules/{id}", "operationId": "getWirelessAccessRule", "summary": "获取指定无线黑白名单" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchWirelessAccessRule": { "post": { "tags": [ "无线访问控制管理API" ], "summary": "启用/停用无线黑白名单", "operationId": "call_patchWirelessAccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/wireless/access-control/rules/{id}`\n- 来源文件: `wireless/wireless-wls-black.json`\n- func_name: `wls_black`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wls_black" ], "example": "wls_black" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wls_black/edit", "value": { "func_name": "wls_black", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wls_black", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "wireless/wireless-wls-black.json", "method": "patch", "path": "/api/v4.0/wireless/access-control/rules/{id}", "operationId": "patchWirelessAccessRule", "summary": "启用/停用无线黑白名单" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateWirelessAccessRule": { "post": { "tags": [ "无线访问控制管理API" ], "summary": "更新无线黑白名单的配置", "operationId": "call_updateWirelessAccessRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/wireless/access-control/rules/{id}`\n- 来源文件: `wireless/wireless-wls-black.json`\n- func_name: `wls_black`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wls_black" ], "example": "wls_black" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "mode": 0, "lmac": { "custom": [ "08:9b:4b:00:10:6e", "08:9b:4b:00:10:0e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "week": "1234567", "time": "00:00-23:59", "id": "99999999" }, "default": { "enabled": "no", "tagname": "codex_test", "mode": 0, "lmac": { "custom": [ "08:9b:4b:00:10:6e", "08:9b:4b:00:10:0e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "week": "1234567", "time": "00:00-23:59", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wls_black/edit", "value": { "func_name": "wls_black", "action": "edit", "param": { "enabled": "no", "tagname": "codex_test", "mode": 0, "lmac": { "custom": [ "08:9b:4b:00:10:6e", "08:9b:4b:00:10:0e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "week": "1234567", "time": "00:00-23:59", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wls_black", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "mode": 0, "lmac": { "custom": [ "08:9b:4b:00:10:6e", "08:9b:4b:00:10:0e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "week": "1234567", "time": "00:00-23:59", "id": "99999999" }, "x-ikuai-source": { "spec_file": "wireless/wireless-wls-black.json", "method": "put", "path": "/api/v4.0/wireless/access-control/rules/{id}", "operationId": "updateWirelessAccessRule", "summary": "更新无线黑白名单的配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteWirelessVlanRule": { "post": { "tags": [ "无线终端VLAN管理API" ], "summary": "删除无线终端VLAN", "operationId": "call_deleteWirelessVlanRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/wireless/vlan/rules/{id}`\n- 来源文件: `wireless/wireless-wls-mvlan.json`\n- func_name: `wls_mvlan`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wls_mvlan" ], "example": "wls_mvlan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "id": "99999999" }, "default": { "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wls_mvlan/del", "value": { "func_name": "wls_mvlan", "action": "del", "param": { "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wls_mvlan", "x-ikuai-action": "del", "x-ikuai-param-example": { "id": "99999999" }, "x-ikuai-source": { "spec_file": "wireless/wireless-wls-mvlan.json", "method": "delete", "path": "/api/v4.0/wireless/vlan/rules/{id}", "operationId": "deleteWirelessVlanRule", "summary": "删除无线终端VLAN" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getWirelessVlanRule": { "post": { "tags": [ "无线终端VLAN管理API" ], "summary": "获取指定无线终端VLAN", "operationId": "call_getWirelessVlanRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/wireless/vlan/rules/{id}`\n- 来源文件: `wireless/wireless-wls-mvlan.json`\n- func_name: `wls_mvlan`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wls_mvlan" ], "example": "wls_mvlan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wls_mvlan/show", "value": { "func_name": "wls_mvlan", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wls_mvlan", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "id": "99999999" }, "x-ikuai-source": { "spec_file": "wireless/wireless-wls-mvlan.json", "method": "get", "path": "/api/v4.0/wireless/vlan/rules/{id}", "operationId": "getWirelessVlanRule", "summary": "获取指定无线终端VLAN" }, "x-ikuai-test": { "result": "success", "executed": true, "mutation": false, "http_status": 200, "business_code": 0, "business_message": "Success" } } }, "/Action/call/_operations/patchWirelessVlanRule": { "post": { "tags": [ "无线终端VLAN管理API" ], "summary": "启用/停用无线终端VLAN", "operationId": "call_patchWirelessVlanRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/wireless/vlan/rules/{id}`\n- 来源文件: `wireless/wireless-wls-mvlan.json`\n- func_name: `wls_mvlan`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wls_mvlan" ], "example": "wls_mvlan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "id": "99999999" }, "default": { "enabled": "no", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wls_mvlan/edit", "value": { "func_name": "wls_mvlan", "action": "edit", "param": { "enabled": "no", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wls_mvlan", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "id": "99999999" }, "x-ikuai-source": { "spec_file": "wireless/wireless-wls-mvlan.json", "method": "patch", "path": "/api/v4.0/wireless/vlan/rules/{id}", "operationId": "patchWirelessVlanRule", "summary": "启用/停用无线终端VLAN" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateWirelessVlanRule": { "post": { "tags": [ "无线终端VLAN管理API" ], "summary": "更新无线终端VLAN的配置", "operationId": "call_updateWirelessVlanRule", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/wireless/vlan/rules/{id}`\n- 来源文件: `wireless/wireless-wls-mvlan.json`\n- func_name: `wls_mvlan`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wls_mvlan" ], "example": "wls_mvlan" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "tagname": "codex_test", "vlanid": 11, "lmac": { "custom": [ "08:9b:4b:00:10:6e", "08:9b:4b:00:10:0e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "id": "99999999" }, "default": { "enabled": "no", "tagname": "codex_test", "vlanid": 11, "lmac": { "custom": [ "08:9b:4b:00:10:6e", "08:9b:4b:00:10:0e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wls_mvlan/edit", "value": { "func_name": "wls_mvlan", "action": "edit", "param": { "enabled": "no", "tagname": "codex_test", "vlanid": 11, "lmac": { "custom": [ "08:9b:4b:00:10:6e", "08:9b:4b:00:10:0e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wls_mvlan", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "tagname": "codex_test", "vlanid": 11, "lmac": { "custom": [ "08:9b:4b:00:10:6e", "08:9b:4b:00:10:0e" ], "object": [ { "type": 2, "gp_name": "mac11", "gid": "MACGP23" } ] }, "lssid": "10095g", "id": "99999999" }, "x-ikuai-source": { "spec_file": "wireless/wireless-wls-mvlan.json", "method": "put", "path": "/api/v4.0/wireless/vlan/rules/{id}", "operationId": "updateWirelessVlanRule", "summary": "更新无线终端VLAN的配置" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/deleteWireguardTunnel": { "post": { "tags": [ "WireGuard管理API" ], "summary": "删除WireGuard隧道", "operationId": "call_deleteWireguardTunnel", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `DELETE /api/v4.0/vpn/wireguard/{wg_id}/peers/{peer_id}`\n- 来源文件: `vpn/network-wireguard.json`\n- func_name: `wireguard`\n- action: `del`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wireguard" ], "example": "wireguard" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "del" ], "example": "del" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "wg_id": "99999999", "peer_id": "99999999" }, "default": { "wg_id": "99999999", "peer_id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wireguard/del", "value": { "func_name": "wireguard", "action": "del", "param": { "wg_id": "99999999", "peer_id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wireguard", "x-ikuai-action": "del", "x-ikuai-param-example": { "wg_id": "99999999", "peer_id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-wireguard.json", "method": "delete", "path": "/api/v4.0/vpn/wireguard/{wg_id}/peers/{peer_id}", "operationId": "deleteWireguardTunnel", "summary": "删除WireGuard隧道" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/getWireguardTunnel": { "post": { "tags": [ "WireGuard管理API" ], "summary": "获取指定WireGuard隧道", "operationId": "call_getWireguardTunnel", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `GET /api/v4.0/vpn/wireguard/{wg_id}/peers/{peer_id}`\n- 来源文件: `vpn/network-wireguard.json`\n- func_name: `wireguard`\n- action: `show`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wireguard" ], "example": "wireguard" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "show" ], "example": "show" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "TYPE": "data,total", "limit": "0,500", "wg_id": "99999999", "peer_id": "99999999" }, "default": { "TYPE": "data,total", "limit": "0,500", "wg_id": "99999999", "peer_id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wireguard/show", "value": { "func_name": "wireguard", "action": "show", "param": { "TYPE": "data,total", "limit": "0,500", "wg_id": "99999999", "peer_id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wireguard", "x-ikuai-action": "show", "x-ikuai-param-example": { "TYPE": "data,total", "limit": "0,500", "wg_id": "99999999", "peer_id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-wireguard.json", "method": "get", "path": "/api/v4.0/vpn/wireguard/{wg_id}/peers/{peer_id}", "operationId": "getWireguardTunnel", "summary": "获取指定WireGuard隧道" }, "x-ikuai-test": { "result": "business_error", "executed": true, "mutation": false, "http_status": 200, "business_code": 1003, "business_message": "Access denied" } } }, "/Action/call/_operations/patchWireguardTunnel": { "post": { "tags": [ "WireGuard管理API" ], "summary": "启用/停用WireGuard隧道", "operationId": "call_patchWireguardTunnel", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PATCH /api/v4.0/vpn/wireguard/{wg_id}/peers/{peer_id}`\n- 来源文件: `vpn/network-wireguard.json`\n- func_name: `wireguard`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wireguard" ], "example": "wireguard" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "wg_id": "99999999", "peer_id": "99999999" }, "default": { "enabled": "no", "wg_id": "99999999", "peer_id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wireguard/edit", "value": { "func_name": "wireguard", "action": "edit", "param": { "enabled": "no", "wg_id": "99999999", "peer_id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wireguard", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "wg_id": "99999999", "peer_id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-wireguard.json", "method": "patch", "path": "/api/v4.0/vpn/wireguard/{wg_id}/peers/{peer_id}", "operationId": "patchWireguardTunnel", "summary": "启用/停用WireGuard隧道" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } }, "/Action/call/_operations/updateWireguardTunnel": { "post": { "tags": [ "WireGuard管理API" ], "summary": "更新WireGuard隧道", "operationId": "call_updateWireguardTunnel", "description": "这是浏览器账密模式的 `/Action/call` 映射文档。\n\n- 实际请求路径: `/Action/call`\n- 来源文档路径: `PUT /api/v4.0/vpn/wireguard/{wg_id}/peers/{peer_id}`\n- 来源文件: `vpn/network-wireguard.json`\n- func_name: `wireguard`\n- action: `edit`\n\n此 OpenAPI path 是为了让每个接口在文档中单独展示;调用设备时仍应 `POST /Action/call`,请求体使用本接口示例中的 JSON。\n\n该接口属于写操作或状态变更操作。批量测试默认不执行写操作。", "security": [ { "IkuaiSessionCookie": [] } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名", "enum": [ "wireguard" ], "example": "wireguard" }, "action": { "type": "string", "description": "爱快前端动作名", "enum": [ "edit" ], "example": "edit" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true, "example": { "enabled": "no", "peer_publickey": "HIgo9xNzJMWLKASShiTqIybxZ0U3wGLiUeJ1PKf8ykw=", "allowips": "192.168.2.0/24", "comment": "codex_test", "interface": "wan1", "keepalive": 10, "wg_id": "99999999", "peer_id": "99999999" }, "default": { "enabled": "no", "peer_publickey": "HIgo9xNzJMWLKASShiTqIybxZ0U3wGLiUeJ1PKf8ykw=", "allowips": "192.168.2.0/24", "comment": "codex_test", "interface": "wan1", "keepalive": 10, "wg_id": "99999999", "peer_id": "99999999" } } }, "additionalProperties": false }, "examples": { "actionCall": { "summary": "wireguard/edit", "value": { "func_name": "wireguard", "action": "edit", "param": { "enabled": "no", "peer_publickey": "HIgo9xNzJMWLKASShiTqIybxZ0U3wGLiUeJ1PKf8ykw=", "allowips": "192.168.2.0/24", "comment": "codex_test", "interface": "wan1", "keepalive": 10, "wg_id": "99999999", "peer_id": "99999999" } } } } } } }, "responses": { "200": { "$ref": "#/components/responses/ActionCallResponse" }, "401": { "$ref": "#/components/responses/Unauthorized" }, "403": { "$ref": "#/components/responses/Forbidden" } }, "x-ikuai-actual-path": "/Action/call", "x-ikuai-func-name": "wireguard", "x-ikuai-action": "edit", "x-ikuai-param-example": { "enabled": "no", "peer_publickey": "HIgo9xNzJMWLKASShiTqIybxZ0U3wGLiUeJ1PKf8ykw=", "allowips": "192.168.2.0/24", "comment": "codex_test", "interface": "wan1", "keepalive": 10, "wg_id": "99999999", "peer_id": "99999999" }, "x-ikuai-source": { "spec_file": "vpn/network-wireguard.json", "method": "put", "path": "/api/v4.0/vpn/wireguard/{wg_id}/peers/{peer_id}", "operationId": "updateWireguardTunnel", "summary": "更新WireGuard隧道" }, "x-ikuai-test": { "result": "implemented_not_executed", "executed": false, "mutation": true, "http_status": null, "business_code": null, "business_message": null } } } }, "components": { "securitySchemes": { "IkuaiSessionCookie": { "type": "apiKey", "in": "cookie", "name": "sessid", "description": "通过 `/Action/login` 建立的浏览器会话 Cookie。不同版本 Cookie 名称可能不同,客户端应复用登录会话。" } }, "schemas": { "LoginRequest": { "type": "object", "required": [ "username", "passwd", "pass" ], "properties": { "username": { "type": "string", "description": "登录用户名" }, "passwd": { "type": "string", "description": "密码 MD5 值" }, "pass": { "type": "string", "description": "密码 MD5 值,前端登录同时发送该字段" }, "remember_password": { "type": "boolean", "default": true } }, "additionalProperties": false }, "ActionCallRequest": { "type": "object", "required": [ "func_name", "action", "param" ], "properties": { "func_name": { "type": "string", "description": "爱快前端模块函数名" }, "action": { "type": "string", "description": "爱快前端动作名" }, "param": { "type": "object", "description": "传给该 func/action 的参数对象。不同接口的 TYPE 和字段不同。", "additionalProperties": true } }, "additionalProperties": false }, "ActionCallResponse": { "type": "object", "description": "爱快 `/Action/call` 返回结构。不同模块可能使用 `results` 或 `Data`,业务码可能在 `code` 或 `Result`。", "properties": { "code": { "type": "integer", "description": "新版业务码,0 通常表示成功" }, "message": { "type": "string", "description": "新版业务消息" }, "Result": { "type": "integer", "description": "旧版业务码,10000/30000 常见成功值" }, "ErrMsg": { "type": "string", "description": "旧版业务消息" }, "results": { "type": "object", "additionalProperties": true }, "Data": { "type": "object", "additionalProperties": true } }, "additionalProperties": true }, "ErrorResponse": { "type": "object", "properties": { "code": { "type": "integer" }, "message": { "type": "string" }, "Result": { "type": "integer" }, "ErrMsg": { "type": "string" } }, "additionalProperties": true } }, "responses": { "LoginResponse": { "description": "登录响应。成功后客户端需要保留 Cookie。", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ActionCallResponse" } } } }, "ActionCallResponse": { "description": "Action/call 响应。HTTP 200 不代表业务成功,需要检查 `code`/`Result`。", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ActionCallResponse" } } } }, "Unauthorized": { "description": "未登录或会话失效", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "Forbidden": { "description": "访问被拒绝。设备管理访问配置未开放 HTTP 时可能返回 403;部分模块也可能业务返回 Access denied。", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } } } }, "x-ikuai-generated-at": "2026-06-07T16:52:23.965302+00:00", "x-ikuai-source": { "docs_dir": "ikuai-doc", "coverage_report": "test-results/ikuai-browser-account-api-coverage.zh-CN.json", "documented_operations": 460, "generated_operation_paths": 460 } }