方法列表
创建Page
admin
user
RPC
createHTTPPage (CreateHTTPPageRequest) returns (CreateHTTPPageResponse)
HTTP
POST /HTTPPageService/createHTTPPage
输入对象:CreateHTTPPageRequest:
{ // 状态码列表 []string statusList; // 页面类型:html|url|redirectURL string bodyType; // 读取或者跳转的URL string url; // HTML内容 string body; // 新的状态码 int32 newStatus; // 例外URL列表 bytes exceptURLPatternsJSON; // 限制URL列表 bytes onlyURLPatternsJSON; }
输出对象:CreateHTTPPageResponse:
修改Page
admin
user
RPC
updateHTTPPage (UpdateHTTPPageRequest) returns (RPCSuccess)
HTTP
POST /HTTPPageService/updateHTTPPage
输入对象:UpdateHTTPPageRequest:
{ int64 httpPageId; []string statusList; // 页面类型:html|url|redirectURL string bodyType; string url; string body; int32 newStatus; // 例外URL列表 bytes exceptURLPatternsJSON; // 限制URL列表 bytes onlyURLPatternsJSON; }
输出对象:RPCSuccess:
{ }
查找单个Page配置
admin
user
RPC
findEnabledHTTPPageConfig (FindEnabledHTTPPageConfigRequest) returns (FindEnabledHTTPPageConfigResponse)
HTTP
POST /HTTPPageService/findEnabledHTTPPageConfig
输入对象:FindEnabledHTTPPageConfigRequest:
输出对象:FindEnabledHTTPPageConfigResponse: