方法列表
创建消息媒介实例
admin
RPC
createMessageMediaInstance (CreateMessageMediaInstanceRequest) returns (CreateMessageMediaInstanceResponse)
HTTP
POST /MessageMediaInstanceService/createMessageMediaInstance
输入对象:CreateMessageMediaInstanceRequest:
输出对象:CreateMessageMediaInstanceResponse:
修改消息媒介实例
admin
RPC
updateMessageMediaInstance (UpdateMessageMediaInstanceRequest) returns (RPCSuccess)
HTTP
POST /MessageMediaInstanceService/updateMessageMediaInstance
输入对象:UpdateMessageMediaInstanceRequest:
输出对象:RPCSuccess:
{ }
删除消息媒介实例
admin
RPC
deleteMessageMediaInstance (DeleteMessageMediaInstanceRequest) returns (RPCSuccess)
HTTP
POST /MessageMediaInstanceService/deleteMessageMediaInstance
输入对象:DeleteMessageMediaInstanceRequest:
输出对象:RPCSuccess:
{ }
计算消息媒介实例数量
admin
RPC
countAllEnabledMessageMediaInstances (CountAllEnabledMessageMediaInstancesRequest) returns (RPCCountResponse)
HTTP
POST /MessageMediaInstanceService/countAllEnabledMessageMediaInstances
输入对象:CountAllEnabledMessageMediaInstancesRequest:
{ string mediaType; // 关键词 string keyword; }
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
列出单页消息媒介实例
admin
RPC
listEnabledMessageMediaInstances (ListEnabledMessageMediaInstancesRequest) returns (ListEnabledMessageMediaInstancesResponse)
HTTP
POST /MessageMediaInstanceService/listEnabledMessageMediaInstances
输入对象:ListEnabledMessageMediaInstancesRequest:
{ string mediaType; // 关键词 string keyword; // 读取位置 int64 offset; // 数量,通常不能小于0 int64 size; }
输出对象:ListEnabledMessageMediaInstancesResponse:
查找单个消息媒介实例信息
admin
RPC
findEnabledMessageMediaInstance (FindEnabledMessageMediaInstanceRequest) returns (FindEnabledMessageMediaInstanceResponse)
HTTP
POST /MessageMediaInstanceService/findEnabledMessageMediaInstance
输入对象:FindEnabledMessageMediaInstanceRequest:
输出对象:FindEnabledMessageMediaInstanceResponse: