文字上报接口
接口调用说明
http请求方式:POST
https://apiext.huya.com/inspection/textReport?appId=APPID&extUuid=EXTUUID
header参数:
| 参数名称 | 类型 | 备注 |
|---|---|---|
| authorization | string | 请求凭证(详细请查看小程序API接入说明) |
POST参数(使用JSON方式提交):
| 参数名称 | 类型 | 备注 |
|---|---|---|
| profileId | string | 主播唯一标识(unionId) ; |
| content | string | 文字内容 |
http正常返回参数说明:
| 参数名称 | 类型 | 备注 |
|---|---|---|
| status | number | 业务状态码 |
| msg | string | 响应描述 |
| data | object | 上报结果 |
| --ret | int | 上报结果,1为正常,非1代表禁止 |
| --msgList | array | 上报结果描述 |
业务状态码说明(status):
| 参数名称 | 说明 |
|---|---|
| 0 | 成功 |
| 大于0 | 调用失败 |