调用 ListRobotNickNames
接口,获取指定直播间内添加的机器人昵称列表。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息详见公共参数。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListRobotNickNames | 接口名称。当前 API 的名称为 ListRobotNickNames 。 |
Version | String | 是 | 2023-08-01 | 接口版本。当前 API 的版本为 2023-08-01 。 |
ActivityId | Long | 是 |
| 直播间 ID。您可通过调用 ListActivityAPI 接口获取 ID。 说明 使用子账号调用接口时,确保该直播间对子账号可见。有关如何配置子账号的可见范围,详见子账号管理。 |
NameContent | String | 否 | A | 机器人昵称。长度为 1 到 60 个字符。支持模糊搜索,英文大小写不敏感。例如,当参数值为 A 时,返回昵称 A 、昵称 abc 等机器人昵称。 |
PageNumber | Integer | 否 |
| 分页查询页码。默认值为 说明 最多支持返回 200 条查询结果,即 |
PageSize | Integer | 否 |
| 分页查询数量。默认值为 说明 最多支持返回 200 条查询结果,即 |
RobotCommentRepositoryId | Long | 否 |
| 机器人评论库 ID。您可通过调用 AddActivityRobotCommentRepository 接口获取 ID。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
PageNumber | Integer | 1 | 分页查询页码。 |
PageSize | Integer | 10 | 分页查询数量。 |
TotalItemCount | Integer | 1 | 查询结果总数。 |
RobotNickNames | Array of RobotNickNames | - | 机器人昵称列表。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Id | Long | 44**33 | 机器人昵称 ID。 |
NikeName | String | 机器人 A | 机器人昵称。 |
GET https://livesaas.volcengineapi.com/?Action=ListRobotNickNames&Version=2023-08-01&ActivityId=1770****81234&NameContent=A&PageNumber=1&PageSize=10&RobotCommentRepositoryId=1770****81233
{ "ResponseMetadata": { "RequestId": "20230604110420****100232280022D31", "Action": "ListRobotNickNames", "Version": "2023-08-01", "Service": "livesaas", "Region": "cn-north-1", "SystemTime": 1697446406 }, "Result": { "PageNumber": 1, "PageSize": 10, "TotalItemCount": 1, "RobotNickNames": [ { "Id": 44**33, "NikeName": "机器人 A" } ] } }