get_sites_log_path
获取指定网站的 Web 日志存储路径。
- 路由:
POST /site - action:
get_sites_log_path
输入参数
| 参数名称 | 必选 | 类型 | 描述 |
|---|---|---|---|
| action | 是 | String | 固定值 get_sites_log_path |
| siteName | 是 | String | 网站域名 |
输出参数
| 参数名称 | 类型 | 描述 |
|---|---|---|
| - | String | 日志目录路径,如 /www/wwwlogs |
示例
请求
POST /site HTTP/1.1
Host: 192.168.168.213:8888
Content-Type: application/x-www-form-urlencoded
action=get_sites_log_path&siteName=testapi.bt.local
响应
/www/wwwlogs