
jsonsource.broadcast.api.json Maven / Gradle / Ivy
{
"send": {
"docs": "http://www.rongcloud.cn/docs/server.html#message_broadcast",
"url": "/message/broadcast",
"params": {
"message": {
"conversationType": 1,
"from": "2191",
"objectName": "RC:TxtMsg",
"content": {
"content":"hello"
},
"pushContent": "this is a push",
"pushData": {
"pushData":"hello"
},
"os": "ios",
"contentAvailable": 0
}
},
"response": {
"success": {
"code": 200
},
"fail": {
"20003": {
"code": "1002",
"errorMessage": "{{name}} 长度超限, {{name}} >= {{min}} 且 {{name}} <= {{max}} 单位: 字节"
},
"20005": {
"code": "1002",
"errorMessage": "{{name}} 参数为必传项"
},
"20001": {
"code": "1002",
"errorMessage": "参数类型不正确,请检查参数类型,应该为 Object 传入为 {{currentType}} "
},
"1004": {
"code": "1004",
"errorMessage": "签名错误, 请排查 Appkey、Secret 是否正确"
},
"1008": {
"code": "1008",
"errorMessage": "调用频率超限,每秒钟限制 100 次,调整频率上限请移步至专有云 http://www.rongcloud.cn/pricing#pay"
}
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy