方法列表
添加终端
admin
RPC
createReportNode (CreateReportNodeRequest) returns (CreateReportNodeResponse)
HTTP
POST /ReportNodeService/createReportNode
输入对象:CreateReportNodeRequest:
输出对象:CreateReportNodeResponse:
删除终端
admin
RPC
deleteReportNode (DeleteReportNodeRequest) returns (RPCSuccess)
HTTP
POST /ReportNodeService/deleteReportNode
输入对象:DeleteReportNodeRequest:
输出对象:RPCSuccess:
{ }
修改终端
admin
RPC
updateReportNode (UpdateReportNodeRequest) returns (RPCSuccess)
HTTP
POST /ReportNodeService/updateReportNode
输入对象:UpdateReportNodeRequest:
输出对象:RPCSuccess:
{ }
计算终端数量
admin
RPC
countAllEnabledReportNodes (CountAllEnabledReportNodesRequest) returns (RPCCountResponse)
HTTP
POST /ReportNodeService/countAllEnabledReportNodes
输入对象:CountAllEnabledReportNodesRequest:
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
列出单页终端
admin
RPC
listEnabledReportNodes (ListEnabledReportNodesRequest) returns (ListEnabledReportNodesResponse)
HTTP
POST /ReportNodeService/listEnabledReportNodes
输入对象:ListEnabledReportNodesRequest:
{ // 关键词 string keyword; int64 reportNodeGroupId; // 读取位置 int64 offset; // 数量,通常不能小于0 int64 size; }
输出对象:ListEnabledReportNodesResponse:
查找单个终端
admin
RPC
findEnabledReportNode (FindEnabledReportNodeRequest) returns (FindEnabledReportNodeResponse)
HTTP
POST /ReportNodeService/findEnabledReportNode
输入对象:FindEnabledReportNodeRequest:
输出对象:FindEnabledReportNodeResponse:
取得最新的版本号
admin
RPC
findLatestReportNodeVersion (FindLatestReportNodeVersionRequest) returns (FindLatestReportNodeVersionResponse)
HTTP
POST /ReportNodeService/findLatestReportNodeVersion
输入对象:FindLatestReportNodeVersionRequest:
{ }
输出对象:FindLatestReportNodeVersionResponse:
计算任务数量
admin
RPC
countAllReportNodeTasks (CountAllReportNodeTasksRequest) returns (RPCCountResponse)
HTTP
POST /ReportNodeService/countAllReportNodeTasks
输入对象:CountAllReportNodeTasksRequest:
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
列出单页任务
admin
RPC
listReportNodeTasks (ListReportNodeTasksRequest) returns (ListReportNodeTasksResponse)
HTTP
POST /ReportNodeService/listReportNodeTasks
输入对象:ListReportNodeTasksRequest:
{ string role; // 集群ID int64 nodeClusterId; string type; // 读取位置 int64 offset; // 数量,通常不能小于0 int64 size; }
输出对象:ListReportNodeTasksResponse:
修改全局设置
admin
RPC
updateReportNodeGlobalSetting (UpdateReportNodeGlobalSetting) returns (RPCSuccess)
HTTP
POST /ReportNodeService/updateReportNodeGlobalSetting
输入对象:UpdateReportNodeGlobalSetting:
输出对象:RPCSuccess:
{ }
读取全局设置
report
admin
RPC
readReportNodeGlobalSetting (ReadReportNodeGlobalSettingRequest) returns (ReadReportNodeGlobalSettingResponse)
HTTP
POST /ReportNodeService/readReportNodeGlobalSetting
输入对象:ReadReportNodeGlobalSettingRequest:
输出对象:ReadReportNodeGlobalSettingResponse: