方法列表
创建路径规则
admin
RPC
createHTTPLocation (CreateHTTPLocationRequest) returns (CreateHTTPLocationResponse)
HTTP
POST /HTTPLocationService/createHTTPLocation
输入对象:CreateHTTPLocationRequest:
输出对象:CreateHTTPLocationResponse:
修改路径规则
admin
RPC
updateHTTPLocation (UpdateHTTPLocationRequest) returns (RPCSuccess)
HTTP
POST /HTTPLocationService/updateHTTPLocation
输入对象:UpdateHTTPLocationRequest:
{ int64 locationId; // 名称 string name; // 描述(备注) string description; string pattern; // 是否启用 bool isOn; bool isBreak; bytes condsJSON; []string domains; }
输出对象:RPCSuccess:
{ }
查找路径规则配置
admin
RPC
findEnabledHTTPLocationConfig (FindEnabledHTTPLocationConfigRequest) returns (FindEnabledHTTPLocationConfigResponse)
HTTP
POST /HTTPLocationService/findEnabledHTTPLocationConfig
输入对象:FindEnabledHTTPLocationConfigRequest:
输出对象:FindEnabledHTTPLocationConfigResponse:
删除路径规则
admin
RPC
deleteHTTPLocation (DeleteHTTPLocationRequest) returns (RPCSuccess)
HTTP
POST /HTTPLocationService/deleteHTTPLocation
输入对象:DeleteHTTPLocationRequest:
输出对象:RPCSuccess:
{ }
查找反向代理设置
admin
user
RPC
findAndInitHTTPLocationReverseProxyConfig (FindAndInitHTTPLocationReverseProxyConfigRequest) returns (FindAndInitHTTPLocationReverseProxyConfigResponse)
HTTP
POST /HTTPLocationService/findAndInitHTTPLocationReverseProxyConfig
输入对象:FindAndInitHTTPLocationReverseProxyConfigRequest:
输出对象:FindAndInitHTTPLocationReverseProxyConfigResponse:
初始化Web设置
admin
user
RPC
findAndInitHTTPLocationWebConfig (FindAndInitHTTPLocationWebConfigRequest) returns (FindAndInitHTTPLocationWebConfigResponse)
HTTP
POST /HTTPLocationService/findAndInitHTTPLocationWebConfig
输入对象:FindAndInitHTTPLocationWebConfigRequest:
输出对象:FindAndInitHTTPLocationWebConfigResponse:
修改反向代理设置
admin
RPC
updateHTTPLocationReverseProxy (UpdateHTTPLocationReverseProxyRequest) returns (RPCSuccess)
HTTP
POST /HTTPLocationService/updateHTTPLocationReverseProxy
输入对象:UpdateHTTPLocationReverseProxyRequest:
输出对象:RPCSuccess:
{ }