https://xxxxxx/v4/im_msg_audit_mgr/add_cloud_audit_keywords?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
参数 | 说明 |
xxxxxx | 当前仅支持新加坡,SDKAppID 所在国家/地区对应的专属域名: 新加坡: adminapisgp.im.qcloud.com其他数据中心暂不支持。 |
v4/im_msg_audit_mgr/add_cloud_audit_keywords | 请求接口。 |
sdkappid | 创建应用时 Chat 控制台分配的 SDKAppID。 |
identifier | |
usersig | |
random | 请输入随机的32位无符号整数,取值范围0 - 4294967295。 |
contenttype | 请求格式固定值为 json。 |
{"SdkAppId":1400187352,"LibID":"1cd0d0ed-0e2c-4d35-ae86-2a1a8697706d","UserKeywords":[{"Content":"xyz123456test1","Label":"Ad"}]}
字段 | 类型 | 属性 | 说明 |
SdkAppId | Integer | 必填 | 应用 ID。 |
LibID | String | 必填 | |
UserKeywords | Array | 必填 | 待添加的敏感词数组。 |
Content | String | 必填 | 敏感词内容。 |
Label | String | 选填 | 敏感词分类: Normal/Illegal/Abuse/Polity/Ad/Porn/Sexy/Terror/Composite。 |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0,"RequestId": "321ea546-46bd-45ae-b0e0-321c8ac6a3b0"}
字段 | 类型 | 说明 |
ActionStatus | String | 请求处理的结果: OK:表示处理成功。 FAIL:表示失败。 |
ErrorCode | Integer | 错误码: 0:表示成功。 非0:表示失败。 |
ErrorInfo | String | 错误信息。 |
RequestId | String | 当前请求唯一标识。 |
错误码 | 描述 |
2001 | 服务器内部错误。 |
2002 | 暂不支持该命令字。 |
2003 | 请求参数无效。 |
2004 | 该请求没有权限。 |
2015 | 未开启审核服务。 |
2016 | 添加脏词超过每次请求的限制。 |
文档反馈