调用 ListActivityRobotCommentRepository
接口,获取指定直播间的机器人评论库列表。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息详见公共参数。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListActivityRobotCommentRepository | 接口名称。当前 API 的名称为 ListActivityRobotCommentRepository 。 |
Version | String | 是 | 2023-08-01 | 接口版本。当前 API 的版本为 2023-08-01 。 |
ActivityId | Long | 是 |
| 直播间 ID。您可通过调用 ListActivityAPI 接口获取 ID。 说明 使用子账号调用接口时,确保该直播间对子账号可见。有关如何配置子账号的可见范围,详见子账号管理。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
RobotCommentConfigs | Array of RobotCommentConfigs | - | 机器人评论库列表。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
RobotCommentRepositoryId | Long | 1770****81233 | 机器人评论库 ID。 |
RobotCommentRepositoryName | String | 商品评论库 | 机器人评论库的名称。 |
IsRobotEnable | Integer |
| 是否开启机器人评论库。取值如下:
|
RobotSendUnit | Long |
| 每当直播间内有 说明 直播间内每分钟最多支持自动发送 60 条机器人评论。 |
RobotSendNum | Long |
| 每当直播间内有 说明 直播间内每分钟最多支持自动发送 60 条机器人评论。 |
GET https://livesaas.volcengineapi.com/?Action=ListActivityRobotCommentRepository&Version=2023-08-01&ActivityId=1770****81234
{ "ResponseMetadata": { "RequestId": "20230604110420****100232280022D31", "Action": "ListActivityRobotCommentRepository", "Version": "2023-08-01", "Service": "livesaas", "Region": "cn-north-1", "SystemTime": 1697446406 }, "Result": { "RobotCommentConfigs": [ { "RobotCommentRepositoryId": 1770****81233, "IsRobotEnable": 1, "RobotSendUnit": 30, "RobotSendNum": 5, "RobotCommentRepositoryName": "商品评论库" } ] } }