方法列表
创建分组
admin
user
RPC
createNSDomainGroup (CreateNSDomainGroupRequest) returns (CreateNSDomainGroupResponse)
HTTP
POST /NSDomainGroupService/createNSDomainGroup
输入对象:CreateNSDomainGroupRequest:
{ // 名称 string name; }
输出对象:CreateNSDomainGroupResponse:
修改分组
admin
user
RPC
updateNSDomainGroup (UpdateNSDomainGroupRequest) returns (RPCSuccess)
HTTP
POST /NSDomainGroupService/updateNSDomainGroup
输入对象:UpdateNSDomainGroupRequest:
{ int64 nsDomainGroupId; // 名称 string name; // 是否启用 bool isOn; }
输出对象:RPCSuccess:
{ }
删除分组
admin
user
RPC
deleteNSDomainGroup (DeleteNSDomainGroupRequest) returns (RPCSuccess)
HTTP
POST /NSDomainGroupService/deleteNSDomainGroup
输入对象:DeleteNSDomainGroupRequest:
输出对象:RPCSuccess:
{ }
查询所有分组
admin
user
RPC
findAllNSDomainGroups (FindAllNSDomainGroupsRequest) returns (FindAllNSDomainGroupsResponse)
HTTP
POST /NSDomainGroupService/findAllNSDomainGroups
输入对象:FindAllNSDomainGroupsRequest:
{ // 用户ID int64 userId; }
输出对象:FindAllNSDomainGroupsResponse:
查询可用分组数量
admin
user
RPC
countAllAvailableNSDomainGroups (CountAllAvailableNSDomainGroupsRequest) returns (RPCCountResponse)
HTTP
POST /NSDomainGroupService/countAllAvailableNSDomainGroups
输入对象:CountAllAvailableNSDomainGroupsRequest:
{ // 用户ID int64 userId; }
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
查询所有启用分组
admin
user
RPC
findAllAvailableNSDomainGroups (FindAllAvailableNSDomainGroupsRequest) returns (FindAllAvailableNSDomainGroupsResponse)
HTTP
POST /NSDomainGroupService/findAllAvailableNSDomainGroups
输入对象:FindAllAvailableNSDomainGroupsRequest:
{ // 用户ID int64 userId; }
输出对象:FindAllAvailableNSDomainGroupsResponse:
查找单个分组
admin
user
RPC
findNSDomainGroup (FindNSDomainGroupRequest) returns (FindNSDomainGroupResponse)
HTTP
POST /NSDomainGroupService/findNSDomainGroup
输入对象:FindNSDomainGroupRequest:
输出对象:FindNSDomainGroupResponse: