跳到主要内容
版本:latest

SetRewriteLists

批量为多个网站设置伪静态模板文件。

  • 路由POST /site
  • actionSetRewriteLists

输入参数

参数名称必选类型描述
actionString固定值 SetRewriteLists
sitesStringJSON 数组,网站列表 [{"name":"site1"},...]
rewrite_dataString伪静态模板名称

输出参数

参数名称类型描述
-Array设置结果列表,空数组表示无操作

示例

请求

POST /site HTTP/1.1
Host: 192.168.168.213:8888
Content-Type: application/x-www-form-urlencoded

action=SetRewriteLists&sites=[]&rewrite_data=

响应

[]