方法列表
创建接收人
admin
RPC
createMessageRecipient (CreateMessageRecipientRequest) returns (CreateMessageRecipientResponse)
HTTP
POST /MessageRecipientService/createMessageRecipient
输入对象:CreateMessageRecipientRequest:
{ // 关联的管理员ID int64 adminId; // 媒介实例ID int64 messageMediaInstanceId; // 所属分组ID列表 []int64 messageRecipientGroupIds; // 可选项,备注描述 string description; // 用户标识 string user; // 可选项,接收消息的,开始时间 string timeFrom; // 可选项,接收消息的,结束时间 string timeTo; // 关联的CDN边缘节点集群ID列表 []int64 nodeClusterIds; }
输出对象:CreateMessageRecipientResponse:
修改接收人
admin
RPC
updateMessageRecipient (UpdateMessageRecipientRequest) returns (RPCSuccess)
HTTP
POST /MessageRecipientService/updateMessageRecipient
输入对象:UpdateMessageRecipientRequest:
{ int64 messageRecipientId; // 管理员ID int64 adminId; int64 messageMediaInstanceId; []int64 messageRecipientGroupIds; // 描述(备注) string description; // 是否启用 bool isOn; string user; string timeFrom; string timeTo; // 关联的CDN边缘节点集群ID列表 []int64 nodeClusterIds; }
输出对象:RPCSuccess:
{ }
删除接收人
admin
RPC
deleteMessageRecipient (DeleteMessageRecipientRequest) returns (RPCSuccess)
HTTP
POST /MessageRecipientService/deleteMessageRecipient
输入对象:DeleteMessageRecipientRequest:
输出对象:RPCSuccess:
{ }
计算接收人数量
admin
RPC
countAllEnabledMessageRecipients (CountAllEnabledMessageRecipientsRequest) returns (RPCCountResponse)
HTTP
POST /MessageRecipientService/countAllEnabledMessageRecipients
输入对象:CountAllEnabledMessageRecipientsRequest:
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
列出单页接收人
admin
RPC
listEnabledMessageRecipients (ListEnabledMessageRecipientsRequest) returns (ListEnabledMessageRecipientsResponse)
HTTP
POST /MessageRecipientService/listEnabledMessageRecipients
输入对象:ListEnabledMessageRecipientsRequest:
{ // 管理员ID int64 adminId; string mediaType; int64 messageRecipientGroupId; // 关键词 string keyword; // 读取位置 int64 offset; // 数量,通常不能小于0 int64 size; }
输出对象:ListEnabledMessageRecipientsResponse:
查找单个接收人信息
admin
RPC
findEnabledMessageRecipient (FindEnabledMessageRecipientRequest) returns (FindEnabledMessageRecipientResponse)
HTTP
POST /MessageRecipientService/findEnabledMessageRecipient
输入对象:FindEnabledMessageRecipientRequest:
输出对象:FindEnabledMessageRecipientResponse: