All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jsonsource.chatroom.whitelist.user.api.json Maven / Gradle / Ivy

{
	"add": {
		"docs": "http://rongcloud.cn/docs/server.html#chatroom_user_whitelist_add",
		"url": "chatroom/user/whitelist/add",
		"params": {
			"chatroom": {
				"id": "chatroomId01",
				"members": [{
					"id": "memberId01"
				}]
			}
		},
		"response": {
			"success": {
				"code": "200",
				"errorMessage": "成功返回"
			},
			"fail": {
				"20002": {
					"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"
				}
			}
		}
	},
	"remove": {
		"docs": "http://rongcloud.cn/docs/server.html#chatroom_message_priority_remove",
		"url": "chatroom/message/priority/remove",
		"params": {
			"chatroom": {
				"id": "chatroomId01",
				"members": [{
					"id": "memberId01"
				}]
			}
		},
		"response": {
			"success": {
				"code": "200",
				"errorMessage": "成功返回"
			},
			"fail": {
				"20002": {
					"code": "1002",
					"errorMessage": "{{name}} 个数超限, {{name}} >= {{min}} 且 {{name}} <= {{max}}"
				},
				"20003": {
					"code": "1002",
					"errorMessage": "chatroomId 长度超限, chatroomId >= 1 且 chatroomId <= 64 单位: 字节"
				},
				"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"
				}
			}
		}
	},
	"getList": {
		"docs": "http://rongcloud.cn/docs/server.html#chatroom_user_whitelist_query",
		"url": "chatroom/user/whitelist/query",
		"params": {
			"chatroom": {
				"id": "chatroomId01"
			}
		},
		"response": {
			"success": {
				"code": "200",
				"members": [
					"member1",
					"member2"
				]
			},
			"fail": {
				"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