'1.0',
'info' => ['style' => 'RPC', 'product' => 'imp', 'version' => '2021-06-30'],
'directories' => [
[
'children' => ['GetAuthToken'],
'type' => 'directory',
'title' => '长连接',
'id' => 294495,
],
[
'children' => [
[
'children' => ['ListLiveRooms', 'ListLiveRoomsById'],
'type' => 'directory',
'title' => '获取直播列表',
'id' => 294516,
],
[
'children' => ['GetLiveRoomStatistics', 'GetLiveRoomUserStatistics'],
'type' => 'directory',
'title' => '直播数据统计',
'id' => 294513,
],
[
'children' => ['GetLiveRecord', 'CreateLiveRecordSliceFile', 'ListLiveFiles', 'DeleteLiveFilesById'],
'type' => 'directory',
'title' => '直播录制',
'id' => 294519,
],
'CreateLiveRoom',
'DeleteLiveRoom',
'PublishLiveRoom',
'UpdateLiveRoom',
'StopLiveRoom',
'GetLiveRoom',
],
'type' => 'directory',
'title' => '直播',
'id' => 294506,
],
[
'children' => ['CreateClass', 'DeleteClass', 'StopClass', 'UpdateClass', 'GetClassDetail', 'ListClasses', 'GetClassRecord', 'UpdateShareScreenLayout'],
'type' => 'directory',
'title' => '课堂',
'id' => 294497,
],
[
'children' => ['CreateRoom', 'DeleteRoom', 'UpdateRoom', 'KickRoomUser', 'SetUserAdmin', 'CancelUserAdmin', 'GetRoom', 'ListRooms', 'ListRoomUsers'],
'type' => 'directory',
'title' => '房间',
'id' => 294524,
],
[
'children' => [
[
'children' => ['CreateSensitiveWord', 'DeleteSensitiveWord', 'ListSensitiveWord'],
'type' => 'directory',
'title' => '敏感词',
'id' => 294535,
],
[
'children' => ['CancelBanAllComment', 'CancelBanComment', 'BanAllComment', 'BanComment'],
'type' => 'directory',
'title' => '禁言',
'id' => 294539,
],
[
'children' => ['SendCustomMessageToAll', 'SendCustomMessageToUsers', 'SendComment', 'DeleteComment', 'ListComments'],
'type' => 'directory',
'title' => '消息管理',
'id' => 294544,
],
],
'type' => 'directory',
'title' => '消息',
'id' => 294534,
],
[
'children' => ['DeleteConference', 'RemoveMember', 'GetConference', 'ListConferenceUsers'],
'type' => 'directory',
'title' => '连麦',
'id' => 294551,
],
[
'children' => ['GetStandardRoomJumpUrl'],
'type' => 'directory',
'title' => '低代码服务',
'id' => 294556,
],
[
'children' => ['DescribeMeterImpWatchLiveTimeByLiveId', 'DescribeMeterImpPlayBackTimeByLiveId'],
'type' => 'directory',
'title' => '用量查询',
'id' => 294565,
],
[
'children' => ['CreateLive', 'DeleteLive', 'PublishLive', 'UpdateLive', 'StopLive', 'GetLive'],
'type' => 'directory',
'title' => '直播(旧)',
'id' => 294558,
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'BanAllComment' => [
'summary' => '调用BanAllComment接口,禁言房间内所有用户。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识,由调用CreateRoom返回。', 'description' => '房间的唯一标识,在调用CreateRoom时返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '用户在房间内的唯一标识', 'description' => '操作人的用户ID,用于表示谁执行了全员禁言操作。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => ['title' => '操作成功标识', 'description' => '获取全员禁言的调用结果。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Forbidden.Chat.NoPermissionToOperate', 'errorMessage' => 'The user has no permission to operate.', 'description' => '您没有权限进行此项操作。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n true\\n","errorExample":""}]',
'title' => '全员禁言',
'extraInfo' => '检查用户是否有权限禁言全员,若无权限则报错误Forbidden.Comment.NoPermissionToOperate。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:BanAllComment',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'BanComment' => [
'summary' => '调用BanComment接口,实现对房间内某特定用户实施禁言操作。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识,由调用CreateRoom返回。', 'description' => '房间的唯一标识,在调用CreateRoom时返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '用户在房间内的唯一标识', 'description' => '操作人的用户ID,用于表示谁执行了禁言操作。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
[
'name' => 'BanCommentUser',
'in' => 'formData',
'schema' => ['title' => '被禁言的用户在房间内的唯一标识', 'description' => '被禁言的用户ID。', 'type' => 'string', 'required' => true, 'example' => 'er****h'],
],
[
'name' => 'BanCommentTime',
'in' => 'formData',
'schema' => ['title' => '禁言时长(秒)', 'description' => '禁言时长,单位:秒。'."\n"
."\n"
.'- 如果不填写该字段,默认禁言30秒。'."\n"
."\n"
.'- 传0表示永久禁言。'."\n"
."\n"
.'- 最大值不得超过24小时,如果超过,会被限制为24小时。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => ['title' => '操作是否成功', 'description' => '获取禁言操作调用结果,true代表禁言成功,false代表禁言失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Forbidden.Chat.NoPermissionToOperate', 'errorMessage' => 'The user has no permission to operate.', 'description' => '您没有权限进行此项操作。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n true\\n","errorExample":""}]',
'title' => '禁言',
'extraInfo' => '该接口仅限拥有禁言权限的用户调用,否则报错Forbidden.Comment.NoPermissionToOperate。',
'changeSet' => [],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:BanComment',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CancelBanAllComment' => [
'summary' => '调用CancelBanAllComment接口,取消房间内全员禁言的限制。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识,由调用CreateRoom返回。', 'description' => '房间的唯一标识,在调用CreateRoom时返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '用户在房间内的唯一标识', 'description' => '操作人的用户ID,用于表示谁执行了取消全员禁言操作。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => ['title' => '操作成功标识', 'description' => '获取取消全员禁言的调用结果。true表示取消全员禁言成功,false表示取消全员禁言失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Forbidden.Chat.NoPermissionToOperate', 'errorMessage' => 'The user has no permission to operate.', 'description' => '您没有权限进行此项操作。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n true\\n","errorExample":""}]',
'title' => '取消全员禁言',
'extraInfo' => '检查用户是否有权限取消全员禁言,若无权限则报错误Forbidden.Comment.NoPermissionToOperate。',
'changeSet' => [
['createdAt' => '2021-08-11T08:00:58.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2021-08-11T08:00:58.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelBanAllComment'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:CancelBanAllComment',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CancelBanComment' => [
'summary' => '调用CancelBanComment接口,取消对房间内某特定用户的禁言。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识,由调用CreateRoom返回。', 'description' => '房间的唯一标识,在调用CreateRoom时返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '用户在房间内的唯一标识', 'description' => '操作人的用户ID,用于表示谁执行了取消禁言的操作。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
[
'name' => 'BanCommentUser',
'in' => 'formData',
'schema' => ['title' => '取消禁言的用户唯一标识', 'description' => '被取消禁言的用户ID。', 'type' => 'string', 'required' => true, 'example' => 'er****h'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => ['title' => '操作成功标识', 'description' => '调用CancelBanComment的返回结果。true代表取消禁言成功,false代表取消禁言失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Forbidden.Chat.NoPermissionToOperate', 'errorMessage' => 'The user has no permission to operate.', 'description' => '您没有权限进行此项操作。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n true\\n","errorExample":""}]',
'title' => '取消禁言',
'extraInfo' => '该接口仅限拥有取消禁言权限的用户调用,否则报错Forbidden.Comment.NoPermissionToOperate。',
'changeSet' => [
['createdAt' => '2021-08-11T08:00:58.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2021-08-11T08:00:58.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelBanComment'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:CancelBanComment',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CancelUserAdmin' => [
'summary' => '调用CancelUserAdmin接口,取消房间内某特定用户管理员身份,变成普通观众。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,由6位小写字母、数字组成。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识,由字母、数字、符号.和-组成,最大长度36位。', 'description' => '房间的唯一标识,在调用CreateRoom时返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '用户ID', 'description' => '被取消管理员的用户ID。', 'type' => 'string', 'required' => true, 'example' => 'er****h'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '取消用户管理员',
'description' => '房主不能被操作。如果用户不存在或者已经是普通用户,默认返回成功。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelUserAdmin'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:CancelUserAdmin',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CreateClass' => [
'summary' => '调用CreateClass创建课程。可用于学生上课,职场培训等场景,包含连麦、直播、白板、聊天等功能。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'Title',
'in' => 'formData',
'schema' => ['title' => '课堂标题', 'description' => '课程标题,支持中英文,最大长度32个字符。', 'type' => 'string', 'required' => true, 'example' => 'ClassTitle001'],
],
[
'name' => 'CreateUserId',
'in' => 'formData',
'schema' => ['title' => '创建人用户ID。', 'description' => '创建人用户ID,仅支持英文和数字,最大长度36个字符。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
[
'name' => 'CreateNickname',
'in' => 'formData',
'schema' => ['title' => '创建人用户昵称。', 'description' => '创建人用户昵称,支持中英文,最大长度32个字符。', 'type' => 'string', 'required' => true, 'example' => 'nickname001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => 'API请求的返回结果结构体。',
'description' => '创建课程的返回结果。',
'type' => 'object',
'properties' => [
'ClassId' => ['title' => '课堂唯一标识。', 'description' => '课程唯一标识。', 'type' => 'string', 'example' => 'A55-****-Y34O'],
'Title' => ['title' => '课堂标题。', 'description' => '课程标题。', 'type' => 'string', 'example' => 'PPT制作培训'],
'CreateUserId' => ['title' => '创建人ID。', 'description' => '创建人用户ID。', 'type' => 'string', 'example' => '34***45'],
'CreateNickname' => ['title' => '创建人昵称。', 'description' => '创建人昵称。', 'type' => 'string', 'example' => '随风'],
'Status' => ['title' => '课堂状态,0:未开始 1:上课中 2:已下课。', 'description' => '课程状态。取值:'."\n"
.'- 0:未开始'."\n"
.'- 1:上课中'."\n"
.'- 2:已下课。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'RoomId' => ['title' => '房间ID', 'description' => '房间ID。可用于查询房间详情信息,和端上SDK接入时作为参数传入。', 'type' => 'string', 'example' => 'AE35-****-T95F'],
'LiveId' => ['title' => '直播的唯一标识ID。', 'description' => '直播ID。可用于查询直播详情,和端上调用直播相关接口时作为参数传入。', 'type' => 'string', 'example' => 'b7f2****ebb3'],
'ConfId' => ['title' => '连麦会议唯一标识。', 'description' => '连麦会议ID。可用于RTC入会,获取会议详情。', 'type' => 'string', 'example' => 'fb0f-****-4cb1'],
'WhiteboardId' => ['title' => '白板ID', 'description' => '白板ID。可用于查询白板信息,和端上接入白板SDK时作为参数传入。', 'type' => 'string', 'example' => 'fgej**2'],
'WhiteboardRecordId' => ['title' => '白板录制ID', 'description' => '白板录制记录ID。可用于端上获取白板录制内容并播放。', 'type' => 'string', 'example' => 'eofg**rt'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Invalid.Live.ConfigNotFound', 'errorMessage' => 'The live push domain and pull domain config not found.', 'description' => '直播的推拉流未配置,请登录控制台应用配置页面完成配置。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"ClassId\\": \\"A55-****-Y34O\\",\\n \\"Title\\": \\"PPT制作培训\\",\\n \\"CreateUserId\\": \\"34***45\\",\\n \\"CreateNickname\\": \\"随风\\",\\n \\"Status\\": 2,\\n \\"RoomId\\": \\"AE35-****-T95F\\",\\n \\"LiveId\\": \\"b7f2****ebb3\\",\\n \\"ConfId\\": \\"fb0f-****-4cb1\\",\\n \\"WhiteboardId\\": \\"fgej**2\\",\\n \\"WhiteboardRecordId\\": \\"eofg**rt\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n A55-****-Y34O\\n PPT制作培训\\n 34***45\\n 随风\\n 2\\n AE35-****-T95F\\n b7f2****ebb3\\n fb0f-****-4cb1\\n fgej**2\\n eofg**rt\\n \\n","errorExample":""}]',
'title' => '创建课程',
'changeSet' => [
['createdAt' => '2022-07-15T03:18:17.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2021-10-18T06:21:09.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-09-26T13:08:30.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateClass'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imp:CreateClass',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CreateLive' => [
'summary' => '创建状态为未开播的新直播。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'description' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间ID,最大长度36个字符,传空值,则随机生成一个房间ID。', 'description' => '房间唯一标识,最大长度36个字符。', 'type' => 'string', 'required' => true, 'example' => 'AE35-****-T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '创建直播用户。', 'description' => '创建直播用户,在AppId下单独唯一。小写英文、数字、下划线(_)和小数点(.)组成,最大长度32个字符。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播资源的唯一标识ID,缺省时系统自动生成36位随机uuid字符串。', 'description' => '直播资源的唯一标识ID,传空值时,系统自动生成36位随机UUID字符串。', 'type' => 'string', 'required' => false, 'example' => 'b7f2****ebb3'],
],
[
'name' => 'Title',
'in' => 'formData',
'schema' => ['title' => '直播标题,支持中英文,最大长度256位。', 'description' => '直播标题,支持中英文,最大长度256个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is a title.'],
],
[
'name' => 'Introduction',
'in' => 'formData',
'schema' => ['title' => '直播简介,支持中英文,最大长度2048位。', 'description' => '直播简介,支持中英文,最大长度2048个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is an intro.'],
],
[
'name' => 'AnchorId',
'in' => 'formData',
'schema' => ['title' => '主播ID,支持中英文,最大长度128位,缺省时主播为当前创建直播用户。', 'description' => '主播ID,支持中英文,最大长度128个字符。传空值时,主播为当前创建直播用户。', 'type' => 'string', 'required' => false, 'example' => 'as****hs'],
],
[
'name' => 'CodeLevel',
'in' => 'formData',
'schema' => ['title' => '直播推流码率,缺省时默认为3。取值: -1:流畅lld。 1:标清lsd。 2:高清lhd。 3:超清lud。', 'description' => '直播推流码率,缺省时默认为3。取值:'."\n"
.'* **-1**:流畅lld。'."\n"
.'* **1**:标清lsd。'."\n"
.'* **2**:高清lhd。'."\n"
.'* **3**:超清lud。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'description' => '创建直播的返回结果。',
'type' => 'object',
'properties' => [
'LiveId' => ['title' => '直播的唯一标识ID。', 'description' => '直播的唯一标识ID。', 'type' => 'string', 'example' => 'b7f2****ebb3'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Forbidden.Room.LiveAlreadyExist', 'errorMessage' => 'The live instance already exists.', 'description' => '直播实例已存在。'],
['errorCode' => 'Invalid.Live.ConfigNotFound', 'errorMessage' => 'The live push domain and pull domain config not found.', 'description' => '直播的推拉流未配置,请登录控制台应用配置页面完成配置。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"LiveId\\": \\"b7f2****ebb3\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n b7f2****ebb3\\n \\n ","errorExample":""}]',
'title' => '创建直播',
'changeSet' => [
['createdAt' => '2022-08-10T03:10:30.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2021-07-08T11:46:28.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLive'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imp:CreateLive',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CreateLiveRecordSliceFile' => [
'summary' => '调用CreateLiveRecordSliceFile创建直播录制片段文件。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,由6位小写字母、数字组成。', 'type' => 'string', 'required' => true, 'example' => 'lq****cu'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播ID。', 'description' => '直播ID。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'StartTime',
'in' => 'formData',
'schema' => ['title' => '片段开始时间,时间戳,单位为毫秒。', 'description' => '片段开始时间,时间戳,单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1577836800000'],
],
[
'name' => 'EndTime',
'in' => 'formData',
'schema' => ['title' => '片段结束时间,时间戳,单位为毫秒。', 'description' => '片段结束时间,时间戳,单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1577836800000'],
],
[
'name' => 'FileName',
'in' => 'formData',
'schema' => ['title' => '自定义文件名称。', 'description' => '自定义文件名称。', 'type' => 'string', 'required' => true, 'example' => 'sliceFile'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'ER52****O9CA'],
'Result' => [
'title' => '创建场景化直播返回的结果。',
'description' => '创建场景化直播返回的结果。',
'type' => 'object',
'properties' => [
'SliceRecordUrl' => ['title' => '片段录制文件的地址。', 'description' => '片段录制文件的地址。', 'type' => 'string', 'example' => 'http://demo-app-playback.com/**.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Invalid.Live.RecordContentExceed', 'errorMessage' => 'The record content between StartTime and EndTime is exceeded, please narrow down the range.', 'description' => '超出最大的录制片段文件的时间范围,请缩小开始时间和结束时间之间的范围。'],
['errorCode' => 'Invalid.Live.RecordContentTooShort', 'errorMessage' => 'The record time between StartTime and EndTime is too short, please enlarger the range.', 'description' => '开始时间和结束时间的间隔太短,请扩大时间范围。'],
['errorCode' => 'Invalid.Live.RecordEndTimeMismatch', 'errorMessage' => 'Specified end time does not math the specified start time.', 'description' => '开始时间和结束时间不匹配。'],
['errorCode' => 'Invalid.Live.RecordInvalidBucket', 'errorMessage' => 'The oss bucket is invalid.', 'description' => 'oss的bucket配置无效。'],
['errorCode' => 'Invalid.Live.RecordLiveNotFound', 'errorMessage' => 'The live is not found.', 'description' => '直播记录不存在,请检查输入的直播id是否有效。'],
['errorCode' => 'Invalid.Live.RecordLiveStreamNotFound', 'errorMessage' => 'The live stream info is not found.', 'description' => '该直播没有有效的推流信息。'],
['errorCode' => 'Invalid.Live.RecordNoContent', 'errorMessage' => 'The record has no content, please check the live record toggle.', 'description' => '没有回放的内容,请检查是否开启了录制开关生成了有效的录制文件。'],
['errorCode' => 'Invalid.Live.RecordPlaybackDomainNotFound', 'errorMessage' => 'The record playback domain is not found, please open the liveRecordToggle in imp console and config playback domain.', 'description' => '未找到回看域名,请检查是否打开了录制转回看的开关,已经配置了回看域名。'],
['errorCode' => 'Invalid.Live.WrongRecordOssConfig', 'errorMessage' => 'Specified oss config is wrong.', 'description' => '指定的oss配置有误,请检查oss配置。'],
['errorCode' => 'Invalid.Scene.LiveNotExist', 'errorMessage' => 'The live record does not exist. Please check again.', 'description' => '直播记录不存在,请检查后重试。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ER52****O9CA\\",\\n \\"Result\\": {\\n \\"SliceRecordUrl\\": \\"http://demo-app-playback.com/**.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\"\\n }\\n}","type":"json"}]',
'title' => '创建直播录制片段文件',
'changeSet' => [
['createdAt' => '2022-07-19T02:42:38.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2022-07-05T08:39:43.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLiveRecordSliceFile'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:CreateLiveRecordSliceFile',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CreateLiveRoom' => [
'summary' => '调用CreateLiveRoom创建状态为未开播的新直播。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'Title',
'in' => 'formData',
'schema' => ['title' => '标题,支持中英文,最大长度32位。', 'description' => '直播标题,支持中英文,最大长度32位。', 'type' => 'string', 'required' => true, 'example' => 'Title001'],
],
[
'name' => 'Notice',
'in' => 'formData',
'schema' => ['title' => '公告,支持中英文,最大长度256位。', 'description' => '直播公告,支持中英文,最大长度256位。', 'type' => 'string', 'required' => false, 'example' => 'Notice001'],
],
[
'name' => 'CoverUrl',
'in' => 'formData',
'schema' => ['title' => '封面,支持图片地址链接格式', 'description' => '直播封面,支持图片地址链接格式,最大长度256位。', 'type' => 'string', 'required' => false, 'example' => 'http://***.png'],
],
[
'name' => 'Extension',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '拓展字段,按需传递,需要额外记录的房间属性。最大支持4096个字节。',
'description' => '拓展字段,按需传递,需要额外记录的直播属性。最大长度4096位。',
'type' => 'object',
'required' => false,
'additionalProperties' => ['type' => 'string', 'required' => false, 'example' => 'test001', 'description' => ''],
'example' => 'AE35****T95F',
],
],
[
'name' => 'AnchorId',
'in' => 'formData',
'schema' => ['title' => '主播id,仅支持英文和数字,最大长度36位。', 'description' => '主播ID,仅支持英文和数字,最大长度36位。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
[
'name' => 'AnchorNick',
'in' => 'formData',
'schema' => ['title' => '主播昵称。', 'description' => '主播昵称,支持中英文,最大长度32位。', 'type' => 'string', 'required' => false, 'example' => 'User001'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '操作人ID。', 'description' => '操作人ID,仅支持英文和数字,最大长度36位。', 'type' => 'string', 'required' => false, 'example' => 'as****hs'],
],
[
'name' => 'EnableLinkMic',
'in' => 'formData',
'schema' => ['title' => '是否开启连麦。', 'description' => '是否开启连麦功能,默认为false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '创建场景化直播返回的结果。',
'description' => '创建直播返回的结果。',
'type' => 'object',
'properties' => [
'AppId' => ['title' => '应用ID。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'example' => '7m***q'],
'RoomId' => ['title' => '房间ID。', 'description' => '房间的唯一标识ID。用于进出房间等相关接口的使用。', 'type' => 'string', 'example' => 'AE35-****-T95F'],
'LiveId' => ['title' => '直播ID。', 'description' => '直播的唯一标识ID。', 'type' => 'string', 'example' => 'b7f2****ebb3'],
'ChatId' => ['title' => '聊天ID。', 'description' => '弹幕的唯一标识。用户发送消息等相关接口的使用。', 'type' => 'string', 'example' => '09***f8'],
'Title' => ['title' => '标题。', 'description' => '直播标题。', 'type' => 'string', 'example' => 'Title001'],
'Notice' => ['title' => '公告。', 'description' => '直播公告。', 'type' => 'string', 'example' => 'Notice001'],
'CoverUrl' => ['title' => '封面。', 'description' => '直播封面。', 'type' => 'string', 'example' => 'http://***.png'],
'AnchorId' => ['title' => '主播ID。', 'description' => '主播ID。', 'type' => 'string', 'example' => 'as****hs'],
'PlaybackUrl' => ['title' => '直播回放地址。', 'description' => '直播回放地址。直播开始时生成,直播结束后可以观看。', 'type' => 'string', 'example' => 'http://demo-app-playback.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'PushUrl' => ['title' => '直播推流地址。', 'description' => '直播推流地址。', 'type' => 'string', 'example' => 'rtmp://demo-app-push.com/live/e620****a8e3?auth_key=e620****a8e3'],
'LiveUrl' => ['title' => '直播拉流地址。', 'description' => '直播播流地址。', 'type' => 'string', 'example' => 'http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.flv?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'PluginInstanceInfoList' => [
'title' => '活跃插件列表。',
'description' => '活跃插件列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'PluginType' => ['title' => '插件唯一标识,取值:live-直播,wb-白板,chat-聊天,rtc。', 'description' => '插件唯一标识,取值:'."\n"
.'- **live**:直播。'."\n"
.'- **wb**:白板。'."\n"
.'- **chat**:聊天。'."\n"
.'- **rtc**:音视频通信。', 'type' => 'string', 'example' => 'live'],
'PluginId' => ['title' => '插件实例唯一标识。', 'description' => '插件实例唯一标识。', 'type' => 'string', 'example' => 'HASU-****-ASHD'],
'CreateTime' => ['title' => '插件实例创建时间戳,单位:毫秒。', 'description' => '插件实例创建时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624589848000'],
'Extension' => [
'title' => '插件拓展字段。',
'description' => '插件拓展字段。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => 'test001', 'description' => '插件拓展信息。'],
],
],
'description' => '',
],
],
'Extension' => [
'title' => '直播拓展字段。',
'description' => '直播拓展字段。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => 'test001', 'description' => '直播拓展信息。'],
],
'AnchorNick' => ['title' => '主播昵称。', 'description' => '主播昵称。', 'type' => 'string', 'example' => 'User001'],
'HlsUrl' => ['title' => '原画HLS播放地址。', 'description' => '原画HLS播放地址。', 'type' => 'string', 'example' => 'http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'ArtcInfo' => [
'title' => 'RTS低延迟播流信息。',
'description' => 'RTS低延迟播流信息。',
'type' => 'object',
'properties' => [
'ArtcUrl' => ['title' => 'RTS原码流地址,推荐移动端使用。', 'description' => 'RTS原码流地址,推荐移动端使用。', 'type' => 'string', 'example' => 'artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'ArtcH5Url' => ['title' => 'RTS转码流地址,推荐web端使用。', 'description' => 'RTS转码流地址,推荐Web端使用。', 'type' => 'string', 'example' => 'artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3_origin-RTS?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Invalid.Live.ConfigNotFound', 'errorMessage' => 'The live push domain and pull domain config not found.', 'description' => '直播的推拉流未配置,请登录控制台应用配置页面完成配置。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"AppId\\": \\"7m***q\\",\\n \\"RoomId\\": \\"AE35-****-T95F\\",\\n \\"LiveId\\": \\"b7f2****ebb3\\",\\n \\"ChatId\\": \\"09***f8\\",\\n \\"Title\\": \\"Title001\\",\\n \\"Notice\\": \\"Notice001\\",\\n \\"CoverUrl\\": \\"http://***.png\\",\\n \\"AnchorId\\": \\"as****hs\\",\\n \\"PlaybackUrl\\": \\"http://demo-app-playback.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"PushUrl\\": \\"rtmp://demo-app-push.com/live/e620****a8e3?auth_key=e620****a8e3\\",\\n \\"LiveUrl\\": \\"http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.flv?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"PluginInstanceInfoList\\": [\\n {\\n \\"PluginType\\": \\"live\\",\\n \\"PluginId\\": \\"HASU-****-ASHD\\",\\n \\"CreateTime\\": 1624589848000,\\n \\"Extension\\": {\\n \\"key\\": \\"test001\\"\\n }\\n }\\n ],\\n \\"Extension\\": {\\n \\"key\\": \\"test001\\"\\n },\\n \\"AnchorNick\\": \\"User001\\",\\n \\"HlsUrl\\": \\"http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"ArtcInfo\\": {\\n \\"ArtcUrl\\": \\"artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"ArtcH5Url\\": \\"artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3_origin-RTS?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n 7m***q\\n AE35-****-T95F\\n b7f2****ebb3\\n 09***f8\\n Title001\\n Notice001\\n http://***.png\\n as****hs\\n http://demo-app-playback.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n rtmp://demo-app-push.com/live/e620****a8e3?auth_key=e620****a8e3\\n http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.flv?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n \\n live\\n HASU-****-ASHD\\n 1624589848000\\n \\n test001\\n \\n \\n \\n test001\\n \\n User001\\n http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n \\n artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3_origin-RTS?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n \\n \\n","errorExample":""}]',
'title' => '创建直播',
'description' => '低代码音频工厂问题咨询、支持服务,可搜索钉钉群号10570030108入群咨询专家。',
'changeSet' => [
['createdAt' => '2022-06-09T06:16:31.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLiveRoom'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imp:CreateLiveRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CreateRoom' => [
'summary' => '调用CreateRoom创建一个房间,用户可以在房间内使用直播、白板、音视频通信等功能。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'TemplateId',
'in' => 'formData',
'schema' => ['title' => '房间模板唯一标识,当前支持的取值:default,传空默认为default。', 'description' => '模板ID。取值:'."\n"
."\n"
.'- **default**:默认。'."\n"
."\n"
.'传空值,则默认为**default**。'."\n", 'type' => 'string', 'required' => false, 'example' => 'default'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识,由字母、数字、符号.和-组成,最大长度36位,传空则随机生成一个房间id。', 'description' => '房间ID,最大长度36个字符,传空值,则随机生成一个房间ID。', 'type' => 'string', 'required' => false, 'example' => 'AE35-****-T95F'],
],
[
'name' => 'Title',
'in' => 'formData',
'schema' => ['title' => '房间标题,支持中英文,最大长度32位。', 'description' => '房间标题,支持中英文和数字,最大长度32个字符。', 'type' => 'string', 'required' => true, 'example' => 'RoomTitle001'],
],
[
'name' => 'Notice',
'in' => 'formData',
'schema' => ['title' => '房间公告,支持中英文,最大长度256位。', 'description' => '房间公告,支持中英文和数字以及常用符号,最大长度256个字符。', 'type' => 'string', 'required' => false, 'example' => 'RoomNotice001'],
],
[
'name' => 'RoomOwnerId',
'in' => 'formData',
'schema' => ['title' => '房主用户id,仅支持英文和数字,最大长度36位。', 'description' => '房主ID,仅支持英文和数字,最大长度36个字符。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
[
'name' => 'Extension',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '拓展字段,按需传递,需要额外记录的房间属性。',
'description' => '拓展字段,按需传递,需要额外记录的房间属性。所有字段键-值长度总和不超过2048字节。',
'type' => 'object',
'required' => false,
'additionalProperties' => ['type' => 'string', 'required' => false, 'example' => 'test001', 'description' => ''],
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => 'API请求的返回结果结构体。',
'description' => '创建房间的返回结果。',
'type' => 'object',
'properties' => [
'RoomId' => ['title' => '房间id', 'description' => '房间ID。', 'type' => 'string', 'example' => 'AE35-****-T95F'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidRoomId.Room.AlreadyExist', 'errorMessage' => 'Room is already exist.', 'description' => '房间已存在。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"RoomId\\": \\"AE35-****-T95F\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n AE35-****-T95F\\n \\n","errorExample":""}]',
'title' => '创建房间',
'changeSet' => [
['createdAt' => '2021-07-08T11:46:29.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRoom'],
],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'imp:CreateRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CreateSensitiveWord' => [
'summary' => '自定义敏感词。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'WordList',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => '敏感词列表,敏感词支持中文、字母数字,暂不支持英文敏感词,一次最多可以创建100个敏感词,单个敏感词的长度不得超过20个字符。',
'type' => 'array',
'items' => ['description' => '需要添加的敏感词。敏感词支持中文、字母数字,暂不支持英文敏感词,一次最多可以创建100个敏感词,单个敏感词的长度不得超过20个字符。', 'type' => 'string', 'required' => true, 'example' => '测试敏感词'],
'required' => true,
'docRequired' => false,
'maxItems' => 100,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '调用发送直播间弹幕的返回结果。',
'description' => '调用创建敏感词的返回结果。',
'type' => 'object',
'properties' => [
'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
],
'example' => '0io**Fs6Q384',
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidAppId.Error', 'errorMessage' => 'The specified AppId is invalid.', 'description' => 'AppId错误或已停用,请检查应用启用状态。'],
['errorCode' => 'Forbidden.SensitiveWordCount.ExceedLimit', 'errorMessage' => 'The total count of sensitive word exceeds the limit.', 'description' => '当前应用下可添加的敏感词数量已经达到上限。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"Success\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n ER52****O9CA\\n \\n true\\n \\n","errorExample":""}]',
'title' => '自定义敏感词',
'description' => '## QPS限制'."\n"
.'该接口的QPS限制为单用户10次/秒。'."\n"
."\n"
.'## 使用限制'."\n"
.'单个应用下最多可以自定义1000个敏感词。'."\n",
'changeSet' => [
['createdAt' => '2022-04-18T07:19:56.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2022-04-18T07:19:56.000Z', 'description' => '错误码发生变更、请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSensitiveWord'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:CreateSensitiveWord',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteClass' => [
'summary' => '调用DeleteClass删除课程。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'ClassId',
'in' => 'formData',
'schema' => ['title' => '课堂唯一标识。', 'description' => '课程唯一标识。', 'type' => 'string', 'required' => true, 'example' => 'A55-****-Y34O'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '操作人用户ID,仅支持中英文数字,下划线,中划线,1~36个字符。', 'description' => '操作人用户ID,仅支持中英文数字,下划线(_),中划线(-),长度为1~36个字符。', 'type' => 'string', 'required' => false, 'example' => 'as****hs'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '删除课程',
'changeSet' => [
['createdAt' => '2021-09-28T06:01:25.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteClass'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imp:DeleteClass',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteComment' => [
'summary' => '调用DeleteComment删除弹幕消息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '直播间唯一标识,在调用CreateRoom返回。', 'description' => '房间的唯一标识,在调用CreateRoom时返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '删除的操作人ID。', 'description' => '操作人的用户ID,用于表示谁执行了删除弹幕消息的操作。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
[
'name' => 'CommentIdList',
'in' => 'formData',
'style' => 'flat',
'schema' => [
'title' => '需要删除的弹幕id列表',
'description' => '需要删除的弹幕消息ID的列表。列表的最大长度不得超过100。',
'type' => 'array',
'items' => ['description' => '弹幕消息ID,在调用SendComment时返回。', 'type' => 'string', 'required' => true, 'example' => '09***f8'],
'required' => true,
'example' => 'Hello, World',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '调用删除直播间弹幕的返回结果。',
'description' => '调用删除房间弹幕消息的返回结果。',
'type' => 'object',
'properties' => [
'DeleteResult' => ['title' => '删除的结果', 'description' => '删除的结果。其中true表示删除成功,false表示删除失败。', 'type' => 'boolean', 'example' => 'true'],
],
'example' => '0io**Fs6Q384',
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"DeleteResult\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n true\\n \\n","errorExample":""}]',
'title' => '删除弹幕消息',
'changeSet' => [
['createdAt' => '2021-10-18T06:31:24.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteComment'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:DeleteComment',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteConference' => [
'summary' => '调用DeleteConference结束连麦。一般用于管理后台结束,或长时间未退出时的强制结束。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '租户名', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间ID,最大长度36位', 'description' => '房间ID,由创建房间接口返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35-****-T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '创建会议用户ID', 'description' => '操作者用户ID,仅支持英文和数字,最大长度36个字符。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
[
'name' => 'ConferenceId',
'in' => 'formData',
'schema' => ['title' => '会议资源的唯一标识ID', 'description' => '连麦资源的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'fb0f-****-4cb1'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-****-CB92E68F4CD8'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidConferenceId.Rtc.DataNotExist', 'errorMessage' => 'The specified parameter conferenceId does not exist in our records.', 'description' => '传入ConferenceId无效。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16A96B9A-****-CB92E68F4CD8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 16A96B9A-****-CB92E68F4CD8\\n","errorExample":""}]',
'title' => '结束连麦',
'changeSet' => [
['createdAt' => '2021-08-10T08:32:44.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteConference'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imp:DeleteConference',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteLive' => [
'summary' => '删除直播记录。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播资源的唯一标识ID', 'description' => '直播资源的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidLiveId.Live.NotFound', 'errorMessage' => 'The live broadcast does not exist.', 'description' => '直播不存在。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n ","errorExample":""}]',
'title' => '删除直播',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLive'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imp:DeleteLive',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteLiveFilesById' => [
'summary' => '调用DeleteLiveFilesById接口删除该直播的录制文件。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用ID。', 'description' => '应用ID。', 'type' => 'string', 'required' => true, 'example' => 'lq**xy'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播ID。', 'description' => '直播ID。', 'type' => 'string', 'required' => true, 'example' => 'acbder-**-34uh'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => ['title' => '返回结果。', 'description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": true\\n}","type":"json"}]',
'title' => '根据直播ID删除该直播的录制文件',
'description' => '该接口适用于2022年2月18号之后开通低代码音视频工厂的客户,且适用于开启了直播录制功能,有录制文件生成的场景。',
'changeSet' => [
['createdAt' => '2022-08-09T15:17:43.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLiveFilesById'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:DeleteLiveFilesById',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteLiveRoom' => [
'summary' => '调用DeleteLiveRoom删除直播记录。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播ID。', 'description' => '直播的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '操作人ID。', 'description' => '操作人ID,仅支持英文和数字,最大长度36位。', 'type' => 'string', 'required' => false, 'example' => 'as****hs'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Forbidden.Scene.LiveStillStreaming', 'errorMessage' => 'Live is still streaming and cannot be deleted.', 'description' => '直播进行中,无法被删除。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '删除直播',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLiveRoom'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imp:DeleteLiveRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteRoom' => [
'summary' => '调用DeleteRoom删除指定房间,删除后房间无法继续使用。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识,由字母、数字、符号.和-组成,最大长度36位。', 'description' => '房间ID,由字母、数字、下划线(_)和小数点(.)组成,最大长度36个字符。', 'type' => 'string', 'required' => true, 'example' => 'AE35-****-T95F'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidRoomId.Room.NotExist', 'errorMessage' => 'Room does not exist.', 'description' => '房间不存在,请检查。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '删除房间',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRoom'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imp:DeleteRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DeleteSensitiveWord' => [
'summary' => '调用DeleteSensitiveWord删除敏感词。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '弹幕发送者的用户ID,最大长度不超过32个字节。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'WordList',
'in' => 'formData',
'style' => 'json',
'schema' => [
'description' => '要删除敏感词列表。仅有被创建过的敏感词才会被正确删除。',
'type' => 'array',
'items' => ['description' => '需要删除的敏感词。', 'type' => 'string', 'required' => false, 'example' => '测试敏感词'],
'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '调用发送直播间弹幕的返回结果。',
'description' => '调用删除敏感词的返回结果。',
'type' => 'object',
'properties' => [
'Success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
],
'example' => '0io**Fs6Q384',
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"Success\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n true\\n \\n","errorExample":""}]',
'title' => '删除敏感词',
'description' => '## QPS限制'."\n"
.'该接口的QPS限制为单用户10次/秒。',
'changeSet' => [
['createdAt' => '2022-04-18T07:19:56.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSensitiveWord'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:DeleteSensitiveWord',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribeMeterImpPlayBackTimeByLiveId' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'query',
'schema' => ['description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'LiveId',
'in' => 'query',
'schema' => ['description' => '直播资源的唯一标识ID,传空值时,系统自动生成36位随机UUID字符串。'."\n"
."\n", 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
[
'name' => 'StartTs',
'in' => 'query',
'schema' => ['description' => '查询的开始时间,使用UNIX时间戳表示,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1632153600'],
],
[
'name' => 'EndTs',
'in' => 'query',
'schema' => ['description' => '查询的结束时间,使用UNIX时间戳表示,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1637302350'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Data' => [
'description' => '查询回看时长返回结果。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'WatchTime' => ['description' => '回看时长,单位分钟。', 'type' => 'integer', 'format' => 'int64', 'example' => '32'],
],
'description' => '',
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Meter.ParamError', 'errorMessage' => 'Param Error:%s,Please Check Again.', 'description' => '参数错误,请参照接口文档修改后重试。'],
],
403 => [
['errorCode' => 'Meter.AuthError', 'errorMessage' => 'Authentication Failed,Please Try Again.', 'description' => '鉴权失败,用户无权限执行该操作。'],
],
500 => [
['errorCode' => 'Meter.ServerInternalError', 'errorMessage' => 'The Request Processing Has Failed Due To Some Unknown Error.', 'description' => '内部错误,建议重试。'],
['errorCode' => 'Meter.DataSourceQueryError', 'errorMessage' => 'Data Source Error:%s,Please Try Again.', 'description' => '数据源异常,建议重试。'],
],
502 => [
['errorCode' => 'Meter.ReadyTsError', 'errorMessage' => 'Get ReadyTs Failed,Please Try Again.', 'description' => '获取数据准备时间异常,建议重试。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Data\\": [\\n {\\n \\"WatchTime\\": 32\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询指定直播资源的回看时长',
'summary' => '调用DescribeMeterImpPlayBackTimeByLiveId查询指定直播资源的回看时长。',
'description' => '根据时间范围和直播资源唯一标识ID获取回放时长。',
'requestParamsDescription' => '最大查询范围31天,可查询3个月内的数据。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMeterImpPlayBackTimeByLiveId'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:DescribeMeterImpPlayBackTimeByLiveId',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'DescribeMeterImpWatchLiveTimeByLiveId' => [
'methods' => ['get', 'post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'query',
'schema' => ['description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'LiveId',
'in' => 'query',
'schema' => ['description' => '直播资源的唯一标识ID,传空值时,系统自动生成36位随机UUID字符串。', 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Data' => [
'description' => '查询观看时长返回结果。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'WatchTimeInLatency' => ['description' => '普通延迟观看时长,如采用rtmp、flv、hls等协议观看,单位分钟。', 'type' => 'integer', 'format' => 'int64', 'example' => '32'],
'WatchTimeInLowLatency' => ['description' => '低延迟观看时长,如rts,单位分钟。', 'type' => 'integer', 'format' => 'int64', 'example' => '43'],
],
'description' => '',
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Meter.ParamError', 'errorMessage' => 'Param Error:%s,Please Check Again.', 'description' => '参数错误,请参照接口文档修改后重试。'],
],
403 => [
['errorCode' => 'Meter.AuthError', 'errorMessage' => 'Authentication Failed,Please Try Again.', 'description' => '鉴权失败,用户无权限执行该操作。'],
],
500 => [
['errorCode' => 'Meter.ServerInternalError', 'errorMessage' => 'The Request Processing Has Failed Due To Some Unknown Error.', 'description' => '内部错误,建议重试。'],
['errorCode' => 'Meter.DataSourceQueryError', 'errorMessage' => 'Data Source Error:%s,Please Try Again.', 'description' => '数据源异常,建议重试。'],
],
502 => [
['errorCode' => 'Meter.ReadyTsError', 'errorMessage' => 'Get ReadyTs Failed,Please Try Again.', 'description' => '获取数据准备时间异常,建议重试。'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Data\\": [\\n {\\n \\"WatchTimeInLatency\\": 32,\\n \\"WatchTimeInLowLatency\\": 43\\n }\\n ]\\n}","type":"json"}]',
'title' => '根据直播唯一标识查看观看时长',
'summary' => '调用DescribeMeterImpWatchLiveTimeByLiveId查看观看时长相关数据,包含普通延迟观看时长,低延迟观看时长。',
'description' => '根据直播资源的唯一标识ID查询普通延迟观看时长,低延迟观看时长。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMeterImpWatchLiveTimeByLiveId'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:DescribeMeterImpWatchLiveTimeByLiveId',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetAuthToken' => [
'summary' => '调用GetAuthToken获取长连接建连Token,客户端可以用此Token通过LWP协议和各个原子能力进行长连接通信。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '用户的应用ID,在控制台创建应用时生成', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'AppKey',
'in' => 'formData',
'schema' => ['title' => '终端设备类型,通过控制台创建和查询', 'description' => '通过控制台创建和查询。小写英文和数字,长度32个字符。', 'type' => 'string', 'required' => true, 'example' => '06***9c'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '用户UserId,在AppId下单独唯一', 'description' => '用户UserId,用户自定义,在AppId下单独唯一。小写英文、数字、下划线(_)和小数点(.)组成,最大长度32个字符。不同的用户需要使用不同的UserId。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
[
'name' => 'DeviceId',
'in' => 'formData',
'schema' => ['title' => '终端设备ID', 'description' => '终端设备ID,唯一代表一个用户终端设备,用户自定义。小写英文、数字、下划线(_)和短横线(-)组成,最大长度64个字符。不同终端设备需要使用不同的DeviceId,建议从终端设备获取并传入给服务端。', 'type' => 'string', 'required' => true, 'example' => 'a494caec-***-695ef345db77'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'description' => '获取Token的参数返回结果。',
'type' => 'object',
'properties' => [
'AccessToken' => ['title' => '用于长连接建连的token', 'description' => '用于长连接建连的Token。', 'type' => 'string', 'example' => 'oauth_cloud_key:***-b0YY5Gy6Q'],
'RefreshToken' => ['title' => '更新Token,若AccessToken过期,则可以使用RefreshToken再次获取新Token', 'description' => '更新Token,若AccessToken过期,则可以使用RefreshToken再次获取新Token。', 'type' => 'string', 'example' => 'oauth_cloud_key:****-Q62xggOTdgk3gw='],
'AccessTokenExpiredTime' => ['title' => '登录token过期时间(毫秒)', 'description' => '登录Token过期时间,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '86400000'],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"AccessToken\\": \\"oauth_cloud_key:***-b0YY5Gy6Q\\",\\n \\"RefreshToken\\": \\"oauth_cloud_key:****-Q62xggOTdgk3gw=\\",\\n \\"AccessTokenExpiredTime\\": 86400000\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n oauth_cloud_key:***-b0YY5Gy6Q\\n oauth_cloud_key:****-Q62xggOTdgk3gw=\\n 86400000\\n \\n","errorExample":""}]',
'title' => '获取长连接建连Token',
'description' => '该接口一般使用流程是客户端获取UserId、DeviceId信息,然后传入到服务端,服务端使用该接口获取鉴权Token,并返回给客户端。不同的用户需要使用不同的UserId,不同的终端设备需要使用不同的DeviceId。',
'changeSet' => [
['createdAt' => '2021-07-08T11:46:29.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAuthToken'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetAuthToken',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetClassDetail' => [
'summary' => '调用GetClassDetail获取课程详情。可用于查询课程状态,以及相关联的直播,连麦,白板等ID信息。通过这些ID,可进一步查询对应的直播,连麦,白板的详情。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'ClassId',
'in' => 'formData',
'schema' => ['title' => '课堂唯一标识,由调用CreateClass返回。', 'description' => '课程唯一标识,由调用CreateClass返回。', 'type' => 'string', 'required' => true, 'example' => 'A55-****-Y34O'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '操作人用户ID。', 'description' => '操作人用户ID,仅支持英文字母和数字,长度最多36个字符。', 'type' => 'string', 'required' => false, 'example' => 'as****hs'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => 'API请求的返回结果结构体。',
'description' => '获取课堂详情的返回结果。',
'type' => 'object',
'properties' => [
'ClassId' => ['title' => '课堂唯一标识,由调用CreateClass返回。', 'description' => '课程唯一标识。', 'type' => 'string', 'example' => 'A55-****-Y34O'],
'Title' => ['title' => '课堂标题。', 'description' => '课程标题,支持中英文,最大长度32个字符。', 'type' => 'string', 'example' => 'ClassTitle001'],
'CreateUserId' => ['title' => '创建人ID。', 'description' => '创建人用户ID,仅支持英文和数字,最大长度36个字符。', 'type' => 'string', 'example' => 'as****hs'],
'CreateNickname' => ['title' => '创建人昵称。', 'description' => '创建人用户昵称,支持中英文,最大长度32个字符。', 'type' => 'string', 'example' => 'nickname001'],
'Status' => ['title' => '课堂状态,0:未开始 1:上课中 2:已下课。', 'description' => '课程状态。取值:'."\n"
.'- 0:未开始'."\n"
.'- 1:上课中'."\n"
.'- 2:已下课。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'StartTime' => ['title' => '开始上课时间戳,毫秒。', 'description' => '开始上课时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1632794405000'],
'EndTime' => ['title' => '下课时间戳,毫秒。', 'description' => '下课时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1632797405000'],
'RoomId' => ['title' => '房间ID', 'description' => '房间ID。可用于查询房间详情信息,和端上SDK接入时作为参数传入。', 'type' => 'string', 'example' => 'AE35-****-T95F'],
'LiveId' => ['title' => '直播的唯一标识ID。', 'description' => '直播ID。可用于查询直播详情,和端上调用直播相关接口时作为参数传入。', 'type' => 'string', 'example' => 'b7f2****ebb3'],
'ConfId' => ['title' => '连麦会议唯一标识。', 'description' => '连麦会议ID。可用于RTC入会,获取会议详情。', 'type' => 'string', 'example' => 'fb0f-****-4cb1'],
'WhiteboardId' => ['title' => '白板ID', 'description' => '白板ID。可用于查询白板信息,和端上接入白板SDK时作为参数传入。', 'type' => 'string', 'example' => 'fgej**2'],
'WhiteboardRecordId' => ['title' => '白板录制ID', 'description' => '白板录制ID。可用于端上获取白板录制内容并播放。', 'type' => 'string', 'example' => 'eofg**rt'],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"ClassId\\": \\"A55-****-Y34O\\",\\n \\"Title\\": \\"ClassTitle001\\",\\n \\"CreateUserId\\": \\"as****hs\\",\\n \\"CreateNickname\\": \\"nickname001\\",\\n \\"Status\\": 2,\\n \\"StartTime\\": 1632794405000,\\n \\"EndTime\\": 1632797405000,\\n \\"RoomId\\": \\"AE35-****-T95F\\",\\n \\"LiveId\\": \\"b7f2****ebb3\\",\\n \\"ConfId\\": \\"fb0f-****-4cb1\\",\\n \\"WhiteboardId\\": \\"fgej**2\\",\\n \\"WhiteboardRecordId\\": \\"eofg**rt\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n A55-****-Y34O\\n ClassTitle001\\n as****hs\\n nickname001\\n 2\\n 1632794405000\\n 1632797405000\\n AE35-****-T95F\\n b7f2****ebb3\\n fb0f-****-4cb1\\n fgej**2\\n eofg**rt\\n \\n","errorExample":""}]',
'title' => '获取课程详情',
'changeSet' => [
['createdAt' => '2021-10-18T06:21:09.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-09-26T13:08:30.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetClassDetail'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetClassDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetClassRecord' => [
'summary' => '调用GetClassRecord获取课程录制信息。可用于课程结束后获取回放地址,如果课程未结束,结果为空。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => 'lq****cu'],
],
[
'name' => 'ClassId',
'in' => 'formData',
'schema' => ['title' => '课程唯一标识,由调用CreateClass返回。', 'description' => '课程唯一标识,由调用CreateClass返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '操作人用户ID。', 'description' => '操作人用户ID,仅支持英文字母和数字,长度最多36个字符。', 'type' => 'string', 'required' => false, 'example' => '34**29'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => 'API请求的返回结果结构体。',
'description' => 'API请求的返回结果结构体。',
'type' => 'object',
'properties' => [
'PlaybackUrlMap' => [
'description' => '回放地址集合。key值代表回放视频类型,取值m3u8, mp4, flv,当前仅提供m3u8类型。',
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'http://***.aliyuncs.com/***8fc5-***f8****.webm?****77650&***xzSQU***', 'description' => '回放URL。'],
'description' => '地址列表。',
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"PlaybackUrlMap\\": {\\n \\"key\\": [\\n \\"http://***.aliyuncs.com/***8fc5-***f8****.webm?****77650&***xzSQU***\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n \\n http://***.aliyuncs.com/***8fc5-***f8****.webm?****77650&***xzSQU***\\n \\n \\n","errorExample":""}]',
'title' => '获取课程录制信息',
'changeSet' => [
['createdAt' => '2021-12-28T13:01:19.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetClassRecord'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:GetClassRecord',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetConference' => [
'summary' => '调用GetConference查询指定连麦信息,包含连麦标题和连麦状态。也可查询连麦结束后的录制地址。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ConferenceId',
'in' => 'formData',
'schema' => ['title' => '会议资源唯一标识。', 'description' => '连麦唯一标识。由字母、数字和短横线(-)组成,长度为36个字符。', 'type' => 'string', 'required' => true, 'example' => 'fb0f-****-4cb1'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '返回结果',
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'ConferenceId' => ['title' => '会议资源唯一标识。', 'description' => '连麦唯一标识,由调用CreateConference返回。由字母、数字和短横线(-)组成,长度为36个字符。', 'type' => 'string', 'example' => 'fb0f-****-4cb1'],
'Title' => ['title' => '会议标题。', 'description' => '会议标题,支持中英文,最大长度128个字符。', 'type' => 'string', 'example' => 'This is a Title'],
'Status' => ['title' => '会议状态。', 'description' => '状态。取值:'."\n"
.'- **Init**:未开始。 '."\n"
.'- **Start**:连麦中。'."\n"
.'- **End**:连麦结束。', 'type' => 'string', 'example' => 'Init'],
'RoomId' => ['title' => '房间ID。', 'description' => '房间唯一标识,最大长度36个字符。', 'type' => 'string', 'example' => 'AE35-****-T95F'],
'UserId' => ['title' => '创建会议用户。', 'description' => '创建连麦的用户,在AppId下单独唯一。英文字母、数字、下划线(_)、短横线(-)、小数点(.)和@组成。长度为1到36个字符。', 'type' => 'string', 'example' => 'as****hs'],
'AppId' => ['title' => '租户名', 'description' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'example' => '7m***q'],
'CreateTime' => ['title' => '会议创建时间戳,单位:毫秒。', 'description' => '连麦创建时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624589848000'],
'PlaybackUrl' => ['title' => '录制回放地址,m3u8格式,会议结束后10秒才会生成。', 'description' => '录制回放地址,m3u8格式,连麦结束后10秒才会生成。', 'type' => 'string', 'example' => 'http://xxxx.com/b7f29c02-****-40fd-****-e8d06a8aebb3_merged.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
],
'example' => 'true',
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"ConferenceId\\": \\"fb0f-****-4cb1\\",\\n \\"Title\\": \\"This is a Title\\",\\n \\"Status\\": \\"Init\\",\\n \\"RoomId\\": \\"AE35-****-T95F\\",\\n \\"UserId\\": \\"as****hs\\",\\n \\"AppId\\": \\"7m***q\\",\\n \\"CreateTime\\": 1624589848000,\\n \\"PlaybackUrl\\": \\"http://xxxx.com/b7f29c02-****-40fd-****-e8d06a8aebb3_merged.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n fb0f-****-4cb1\\n This is a Title\\n Init\\n AE35-****-T95F\\n as****hs\\n 7m***q\\n 1624589848000\\n http://xxxx.com/b7f29c02-****-40fd-****-e8d06a8aebb3_merged.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n \\n","errorExample":""}]',
'title' => '查询连麦详情',
'changeSet' => [
['createdAt' => '2021-08-10T08:32:46.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConference'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetConference',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetLive' => [
'summary' => '查询与指定直播相关联的信息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播资源的唯一标识ID', 'description' => '直播资源的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'description' => '查询直播详情的返回结果。',
'type' => 'object',
'properties' => [
'AnchorId' => ['title' => '主播ID', 'description' => '主播ID。', 'type' => 'string', 'example' => 'as****hs'],
'LiveId' => ['title' => '直播资源的唯一标识ID', 'description' => '直播资源的唯一标识ID。', 'type' => 'string', 'example' => 'b7f2****ebb3'],
'Title' => ['title' => '直播标题', 'description' => '直播标题。', 'type' => 'string', 'example' => 'This is a title.'],
'PlaybackUrl' => ['title' => '直播回放地址', 'description' => '直播回放地址。直播开始时生成,直播结束后可以观看。', 'type' => 'string', 'example' => 'http://demo-app-playback.com/live/b7f2****ebb3.m3u8?auth_key=e620****a8e3'],
'CreateTime' => ['title' => '直播创建时间(毫秒ms)', 'description' => '直播创建时间,单位:毫秒。直播开始后生成。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259500000'],
'EndTime' => ['title' => '直播结束时间(毫秒ms)', 'description' => '直播结束时间,单位:毫秒。直播结束后生成。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259500000'],
'Duration' => ['title' => '直播持续时间(毫秒ms)', 'description' => '直播持续时间,单位:毫秒。直播结束后生成。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'],
'PushUrl' => ['title' => '直播推流地址', 'description' => '直播推流地址。', 'type' => 'string', 'example' => 'rtmp://demo-app-push.com/live/e620****a8e3?auth_key=e620****a8e3'],
'LiveUrl' => ['title' => '直播拉流地址', 'description' => '直播拉流地址。', 'type' => 'string', 'example' => 'http://demo-app-live.com/live/e620****a8e3.flv?auth_key=e620****a8e3'],
'Status' => ['title' => '直播状态:Created-已创建,未开播,Living-直播中,End-直播结束', 'description' => '直播状态。取值:'."\n"
.'* **Created**:已创建,未开始直播。'."\n"
.'* **Living**:直播中。'."\n"
.'* **End**:直播结束。', 'type' => 'string', 'example' => 'Created'],
'Introduction' => ['title' => '直播简介', 'description' => '直播简介。', 'type' => 'string', 'example' => 'This is an introduction.'],
'RoomId' => ['title' => '房间id', 'description' => '房间ID。', 'type' => 'string', 'example' => 'AE35-****-T95F'],
'AppId' => ['title' => '租户名', 'description' => '租户名。', 'type' => 'string', 'example' => '7m***q'],
'UserId' => ['title' => '创建直播用户', 'description' => '创建直播用户。', 'type' => 'string', 'example' => 'as****hs'],
'CodeLevel' => ['title' => '直播推送分辨率 -1:lld 1:lsd 2:lhd 3:lud', 'description' => '直播推流码率。取值:'."\n"
.'* **-1**:流畅,分辨率:宽度自适应,高度:360;编码格式:H.264。'."\n"
.'* **1**:标清,分辨率:宽度自适应,高度:432;编码格式:H.264。'."\n"
.'* **2**:高清,分辨率:宽度自适应,高度:648;编码格式:H.264。'."\n"
.'* **3**:超清,分辨率:宽度自适应,高度:1080;编码格式:H.264。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PlayUrlInfoList' => [
'title' => '多分辨率多协议播放信息',
'description' => '多分辨率多协议播放信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CodeLevel' => ['title' => '直播拉取分辨率 -1:lld 1:lsd 2:lhd 3:lud', 'description' => '直播推流码率。取值:'."\n"
.'* **-1**:流畅,分辨率:宽度自适应,高度:360;编码格式:H.264。'."\n"
.'* **1**:标清,分辨率:宽度自适应,高度:432;编码格式:H.264。'."\n"
.'* **2**:高清,分辨率:宽度自适应,高度:648;编码格式:H.264。'."\n"
.'* **3**:超清,分辨率:宽度自适应,高度:1080;编码格式:H.264。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'FlvUrl' => ['title' => 'flv拉流地址', 'description' => 'FLV拉流地址。', 'type' => 'string', 'example' => 'http://demo-app-live.com/live/b7f2****ebb3.flv?auth_key=e620****a8e3'],
'HlsUrl' => ['title' => 'hls拉流地址', 'description' => 'HLS拉流地址。', 'type' => 'string', 'example' => 'http://demo-app-live.com/live/b7f2****ebb3.m3u8?auth_key=e620****a8e3'],
'RtmpUrl' => ['title' => 'rtmp拉流地址', 'description' => 'RTMP拉流地址。', 'type' => 'string', 'example' => 'rtmp://demo-app-live.com/live/b7f2****ebb3?auth_key=e620****a8e3'],
],
'description' => '',
],
],
'CoverUrl' => ['title' => '封面图片', 'description' => '封面图片。', 'type' => 'string', 'example' => 'http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.png'],
'UserDefineField' => ['title' => '用户自定义数据存储', 'description' => '用户自定义数据存储。', 'type' => 'string', 'example' => '{"selfData":"example"}'],
'HlsUrl' => ['title' => 'hls播放地址', 'description' => '原画HLS播放地址。', 'type' => 'string', 'example' => 'http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'ArtcInfo' => [
'title' => 'rts播流信息',
'description' => 'RTS低延迟播流信息。',
'type' => 'object',
'properties' => [
'ArtcUrl' => ['title' => '源码地址', 'description' => 'RTS原码流地址,推荐移动端使用。', 'type' => 'string', 'example' => 'artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'ArtcH5Url' => ['title' => '原画转码地址', 'description' => 'RTS转码流地址,推荐web端使用。', 'type' => 'string', 'example' => 'artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3_origin-RTS?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"AnchorId\\": \\"as****hs\\",\\n \\"LiveId\\": \\"b7f2****ebb3\\",\\n \\"Title\\": \\"This is a title.\\",\\n \\"PlaybackUrl\\": \\"http://demo-app-playback.com/live/b7f2****ebb3.m3u8?auth_key=e620****a8e3\\",\\n \\"CreateTime\\": 1624259500000,\\n \\"EndTime\\": 1624259500000,\\n \\"Duration\\": 10000,\\n \\"PushUrl\\": \\"rtmp://demo-app-push.com/live/e620****a8e3?auth_key=e620****a8e3\\",\\n \\"LiveUrl\\": \\"http://demo-app-live.com/live/e620****a8e3.flv?auth_key=e620****a8e3\\",\\n \\"Status\\": \\"Created\\",\\n \\"Introduction\\": \\"This is an introduction.\\",\\n \\"RoomId\\": \\"AE35-****-T95F\\",\\n \\"AppId\\": \\"7m***q\\",\\n \\"UserId\\": \\"as****hs\\",\\n \\"CodeLevel\\": 1,\\n \\"PlayUrlInfoList\\": [\\n {\\n \\"CodeLevel\\": 1,\\n \\"FlvUrl\\": \\"http://demo-app-live.com/live/b7f2****ebb3.flv?auth_key=e620****a8e3\\",\\n \\"HlsUrl\\": \\"http://demo-app-live.com/live/b7f2****ebb3.m3u8?auth_key=e620****a8e3\\",\\n \\"RtmpUrl\\": \\"rtmp://demo-app-live.com/live/b7f2****ebb3?auth_key=e620****a8e3\\"\\n }\\n ],\\n \\"CoverUrl\\": \\"http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.png\\",\\n \\"UserDefineField\\": \\"{\\\\\\"selfData\\\\\\":\\\\\\"example\\\\\\"}\\",\\n \\"HlsUrl\\": \\"http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"ArtcInfo\\": {\\n \\"ArtcUrl\\": \\"artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"ArtcH5Url\\": \\"artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3_origin-RTS?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n as****hs\\n b7f2****ebb3\\n This is a title.\\n http://demo-app-playback.com/live/b7f2****ebb3.m3u8?auth_key=e620****a8e3\\n 1624259500000\\n 1624259500000\\n 10000\\n rtmp://demo-app-push.com/live/e620****a8e3?auth_key=e620****a8e3\\n http://demo-app-live.com/live/e620****a8e3.flv?auth_key=e620****a8e3\\n Created\\n This is an introduction.\\n AE35-****-T95F\\n 7m***q\\n as****hs\\n 1\\n \\n 1\\n http://demo-app-live.com/live/b7f2****ebb3.flv?auth_key=e620****a8e3\\n http://demo-app-live.com/live/b7f2****ebb3.m3u8?auth_key=e620****a8e3\\n rtmp://demo-app-live.com/live/b7f2****ebb3?auth_key=e620****a8e3\\n \\n \\n ","errorExample":""}]',
'title' => '查询直播详情',
'changeSet' => [
['createdAt' => '2021-10-18T12:34:52.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-07-08T11:46:29.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '5000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLive'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetLive',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetLiveRecord' => [
'summary' => '调用GetLiveRecord获取直播录制信息。可用于直播结束后获取回放地址,如果直播未结束,结果为空。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,由6位小写字母、数字组成,由控制台创建后获取。', 'type' => 'string', 'required' => true, 'example' => 'lq****cu'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播唯一标识,由调用CreateLiveRoom返回。', 'description' => '直播唯一标识,由调用CreateLiveRoom返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '操作人用户ID。', 'description' => '操作人用户ID。', 'type' => 'string', 'required' => false, 'example' => '34**29'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08F'],
'Result' => [
'title' => 'API请求的返回结果结构体。',
'description' => 'API请求的返回结果结构体。',
'type' => 'object',
'properties' => [
'PlaybackUrlMap' => [
'description' => '回放地址集合。key值代表回放视频类型,取值m3u8, mp4, flv,当前仅提供m3u8类型。',
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'http://demo.aliyundoc.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3', 'description' => '回放URL。'],
'description' => '地址列表。',
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08F\\",\\n \\"Result\\": {\\n \\"PlaybackUrlMap\\": {\\n \\"key\\": [\\n \\"http://demo.aliyundoc.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n \\n http://***.aliyundoc.nm/***8fc5-***f8****.webm?****77650&***xzSQU***\\n \\n \\n","errorExample":""}]',
'title' => '获取直播录制信息',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLiveRecord'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:GetLiveRecord',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetLiveRoom' => [
'summary' => '调用GetLiveRoom查询指定直播相关信息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播ID。', 'description' => '直播的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '创建场景化直播返回的结果。',
'description' => '查询直播详情返回的结果。',
'type' => 'object',
'properties' => [
'AppId' => ['title' => '应用ID。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'example' => '7m***q'],
'LiveId' => ['title' => '直播ID。', 'description' => '直播的唯一标识ID。', 'type' => 'string', 'example' => 'b7f2****ebb3'],
'Status' => ['title' => '直播状态,0-在播 1-下播。', 'description' => '直播状态。取值:'."\n"
.'* **0**:已创建,未开始直播。'."\n"
.'* **1**:直播中。'."\n"
.'* **2**:直播结束。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RoomId' => ['title' => '房间ID。', 'description' => '房间的唯一标识ID。', 'type' => 'string', 'example' => 'AE35-****-T95F'],
'ChatId' => ['title' => '聊天ID。', 'description' => '弹幕的唯一标识。', 'type' => 'string', 'example' => '09***f8'],
'Title' => ['title' => '标题。', 'description' => '直播标题。', 'type' => 'string', 'example' => 'Title001'],
'Notice' => ['title' => '公告。', 'description' => '直播公告。', 'type' => 'string', 'example' => 'Notice001'],
'CoverUrl' => ['title' => '封面。', 'description' => '直播封面。', 'type' => 'string', 'example' => 'http://***.png'],
'AnchorId' => ['title' => '主播ID。', 'description' => '主播ID。', 'type' => 'string', 'example' => 'as****hs'],
'Uv' => ['title' => '访问用户数。', 'description' => '访问用户数,同个访客多次访问直播间仅计算一个UV。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'OnlineCount' => ['title' => '在线用户数。', 'description' => '在线用户数。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
'PlaybackUrl' => ['title' => '直播回放地址。', 'description' => '直播回放地址。直播开始时生成,直播结束后可以观看。', 'type' => 'string', 'example' => 'http://demo-app-playback.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'PlaybackUrlHttps' => ['title' => 'https协议的直播回放地址', 'description' => 'https协议的直播回放地址。', 'type' => 'string', 'example' => 'https://demo-app-playback.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'CreateTime' => ['title' => '直播创建时间,单位:毫秒。', 'description' => '直播创建时间,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259500000'],
'EndTime' => ['title' => '直播结束时间,单位:毫秒。', 'description' => '直播结束时间,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259500000'],
'PushUrl' => ['title' => '直播推流地址。', 'description' => '直播推流地址。', 'type' => 'string', 'example' => 'rtmp://demo-app-push.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'LiveUrl' => ['title' => '直播拉流地址。', 'description' => '直播播流地址。', 'type' => 'string', 'example' => 'http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.flv?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'LiveUrlHttps' => ['title' => 'https协议的直播拉流地址。', 'description' => 'https协议的直播拉流地址。', 'type' => 'string', 'example' => 'https://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.flv?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'PluginInstanceInfoList' => [
'title' => '活跃插件列表。',
'description' => '活跃插件列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'PluginType' => ['title' => '插件唯一标识,取值:live-直播,wb-白板,chat-聊天,rtc。', 'description' => '插件唯一标识,取值:'."\n"
.'- **live**:直播。'."\n"
.'- **wb**:白板。'."\n"
.'- **chat**:聊天。'."\n"
.'- **rtc**:音视频通信。', 'type' => 'string', 'example' => 'live'],
'PluginId' => ['title' => '插件实例唯一标识。', 'description' => '插件实例唯一标识。', 'type' => 'string', 'example' => 'HASU-****-ASHD'],
'CreateTime' => ['title' => '插件实例创建时间戳,单位:毫秒。', 'description' => '插件实例创建时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624589848000'],
'Extension' => [
'title' => '插件拓展字段。',
'description' => '插件拓展字段。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => 'test001', 'description' => '插件拓展信息。'],
],
],
'description' => '',
],
],
'Extension' => [
'title' => '直播拓展字段。',
'description' => '直播拓展字段。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => 'test001', 'description' => '直播拓展信息。'],
],
'Pv' => ['title' => '访问用户人次。', 'description' => '访问用户人次,访客对同一直播间的多次访问,PV累加。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'AnchorNick' => ['title' => '主播昵称', 'description' => '主播昵称。', 'type' => 'string', 'example' => 'User001'],
'StartTime' => ['title' => '直播开始时间,单位:毫秒。', 'description' => '直播开始时间,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259500000'],
'HlsUrl' => ['title' => '原画HLS播放地址。', 'description' => '原画HLS播放地址。', 'type' => 'string', 'example' => 'http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'HlsUrlHttps' => ['title' => 'https协议的原画HLS播放地址。', 'description' => 'https协议的原画HLS播放地址。', 'type' => 'string', 'example' => 'https://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'RtmpUrl' => ['title' => 'rtmp协议的播放地址', 'description' => 'rtmp协议的播放地址。', 'type' => 'string', 'example' => 'rtmp://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'ArtcInfo' => [
'title' => 'RTS低延迟播流信息。',
'description' => 'RTS低延迟播流信息。',
'type' => 'object',
'properties' => [
'ArtcUrl' => ['title' => 'RTS原码流地址,推荐移动端使用。', 'description' => 'RTS原码流地址,推荐移动端使用。', 'type' => 'string', 'example' => 'artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'ArtcH5Url' => ['title' => 'RTS转码流地址,推荐web端使用。', 'description' => 'RTS转码流地址,推荐Web端使用。', 'type' => 'string', 'example' => 'artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3_origin-RTS?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
],
],
'EnableLinkMic' => ['title' => '是否开启连麦。', 'description' => '是否开启连麦。', 'type' => 'boolean', 'example' => 'true:开启连麦。false:未开启连麦。'],
'ConfId' => ['title' => '连麦会议唯一标识。', 'description' => '连麦会议唯一标识。', 'type' => 'string', 'example' => 'fb0f-****-4cb1'],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"AppId\\": \\"7m***q\\",\\n \\"LiveId\\": \\"b7f2****ebb3\\",\\n \\"Status\\": 1,\\n \\"RoomId\\": \\"AE35-****-T95F\\",\\n \\"ChatId\\": \\"09***f8\\",\\n \\"Title\\": \\"Title001\\",\\n \\"Notice\\": \\"Notice001\\",\\n \\"CoverUrl\\": \\"http://***.png\\",\\n \\"AnchorId\\": \\"as****hs\\",\\n \\"Uv\\": 100,\\n \\"OnlineCount\\": 50,\\n \\"PlaybackUrl\\": \\"http://demo-app-playback.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"PlaybackUrlHttps\\": \\"https://demo-app-playback.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"CreateTime\\": 1624259500000,\\n \\"EndTime\\": 1624259500000,\\n \\"PushUrl\\": \\"rtmp://demo-app-push.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"LiveUrl\\": \\"http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.flv?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"LiveUrlHttps\\": \\"https://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.flv?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"PluginInstanceInfoList\\": [\\n {\\n \\"PluginType\\": \\"live\\",\\n \\"PluginId\\": \\"HASU-****-ASHD\\",\\n \\"CreateTime\\": 1624589848000,\\n \\"Extension\\": {\\n \\"key\\": \\"test001\\"\\n }\\n }\\n ],\\n \\"Extension\\": {\\n \\"key\\": \\"test001\\"\\n },\\n \\"Pv\\": 200,\\n \\"AnchorNick\\": \\"User001\\",\\n \\"StartTime\\": 1624259500000,\\n \\"HlsUrl\\": \\"http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"HlsUrlHttps\\": \\"https://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"RtmpUrl\\": \\"rtmp://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"ArtcInfo\\": {\\n \\"ArtcUrl\\": \\"artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"ArtcH5Url\\": \\"artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3_origin-RTS?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\"\\n },\\n \\"EnableLinkMic\\": true,\\n \\"ConfId\\": \\"fb0f-****-4cb1\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n 7m***q\\n b7f2****ebb3\\n 1\\n AE35-****-T95F\\n 09***f8\\n Title001\\n Notice001\\n http://***.png\\n as****hs\\n 100\\n 50\\n http://demo-app-playback.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n https://demo-app-playback.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n 1624259500000\\n 1624259500000\\n rtmp://demo-app-push.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.flv?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n https://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.flv?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n \\n live\\n HASU-****-ASHD\\n 1624589848000\\n \\n test001\\n \\n \\n \\n test001\\n \\n 200\\n User001\\n 1624259500000\\n http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n https://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.m3u8?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n rtmp://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n \\n artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n artc://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3_origin-RTS?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n \\n \\n","errorExample":""}]',
'title' => '查询直播详情',
'changeSet' => [
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLiveRoom'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetLiveRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetLiveRoomStatistics' => [
'summary' => '调用GetLiveRoomStatistics查询与指定直播相关的数据统计信息。后续计划迁入新方案,不推荐使用。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播ID。', 'description' => '直播资源的唯一标识ID。'."\n", 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '创建场景化直播返回的结果。',
'description' => '查询直播统计数据返回的结果。',
'type' => 'object',
'properties' => [
'LiveId' => ['title' => '直播ID。', 'description' => '直播资源的唯一标识ID。'."\n", 'type' => 'string', 'example' => 'b7f2****ebb3'],
'Status' => ['title' => '直播状态,0-已创建 1-直播中 2-已关闭。', 'description' => '直播状态。取值:'."\n"
.'* **0**:已创建,未开始直播。'."\n"
.'* **1**:直播中。'."\n"
.'* **2**:直播结束。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Uv' => ['title' => '访问用户数。', 'description' => '访问用户数,同个访客多次访问直播间仅计算一个UV。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'Pv' => ['title' => '访问用户人次。', 'description' => '访问用户人次,访客对同一直播间的多次访问,PV累加。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'MessageCount' => ['title' => '互动消息数。', 'description' => '互动消息数。', 'type' => 'integer', 'format' => 'int64', 'example' => '500'],
'StartTime' => ['title' => '直播开始时间,单位:毫秒。', 'description' => '直播开始时间,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259500000'],
'EndTime' => ['title' => '直播结束时间,单位:毫秒。', 'description' => '直播结束时间,单位:毫秒。直播结束后生成。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259500000'],
'WatchLiveTime' => ['title' => '总观看时长,单位:毫秒。', 'description' => '所有用户总观看时长,单位:毫秒。在直播中可获取该信息,数据延迟时间为几分钟;在2022.6.24 00:00:00之前创建的直播,需要在直播结束后生成。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000000'],
'LikeCount' => ['title' => '点赞数。', 'description' => '点赞数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'OnlineCount' => ['title' => '在线用户数。', 'description' => '在线用户数。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"LiveId\\": \\"b7f2****ebb3\\",\\n \\"Status\\": 1,\\n \\"Uv\\": 100,\\n \\"Pv\\": 200,\\n \\"MessageCount\\": 500,\\n \\"StartTime\\": 1624259500000,\\n \\"EndTime\\": 1624259500000,\\n \\"WatchLiveTime\\": 10000000,\\n \\"LikeCount\\": 100,\\n \\"OnlineCount\\": 50\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n b7f2****ebb3\\n 1\\n 100\\n 200\\n 500\\n 1624259500000\\n 1624259500000\\n 10000000\\n 100\\n 50\\n \\n","errorExample":""}]',
'title' => '查询直播统计数据',
'changeSet' => [
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLiveRoomStatistics'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:GetLiveRoomStatistics',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetLiveRoomUserStatistics' => [
'summary' => '调用GetLiveRoomUserStatistics分页查询与指定直播相关的用户观看数据。后续计划迁入新方案,不推荐使用。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播ID。', 'description' => '直播资源的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
'schema' => ['title' => '查询页码,从1开始,传空默认查询第1页。', 'description' => '查询页码,从1开始,参数为空默认查询第1页。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '每页显示个数,最大支持50,参数为空默认显示个数为10。', 'description' => '每页显示个数,最大支持50,参数为空默认显示个数为10。', 'type' => 'string', 'required' => false, 'example' => '25'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '创建场景化直播返回的结果。',
'description' => '分页查询直播用户数据统计的结果。',
'type' => 'object',
'properties' => [
'LiveId' => ['title' => '直播ID。', 'description' => '直播资源的唯一标识ID。', 'type' => 'string', 'example' => 'b7f2****ebb3'],
'TotalCount' => ['title' => '用户总数', 'description' => '观看用户总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'PageTotal' => ['title' => '用户总页数。', 'description' => '观看用户总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'HasMore' => ['title' => '是否还有下一页。', 'description' => '是否还有下一页。', 'type' => 'boolean', 'example' => 'true'],
'UserStatisticsList' => [
'title' => '用户观看数据列表。',
'description' => '用户观看数据列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'UserId' => ['title' => '用户ID。', 'description' => '用户ID。', 'type' => 'string', 'example' => 'User001'],
'WatchLiveTime' => ['title' => '观看时长,单位:毫秒。', 'description' => '观看时长,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '100000'],
'CommentCount' => ['description' => '该用户发送的弹幕消息数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'LikeCount' => ['description' => '该用户的点赞数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
'description' => '',
],
'example' => '10000000',
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"LiveId\\": \\"b7f2****ebb3\\",\\n \\"TotalCount\\": 100,\\n \\"PageTotal\\": 10,\\n \\"HasMore\\": true,\\n \\"UserStatisticsList\\": [\\n {\\n \\"UserId\\": \\"User001\\",\\n \\"WatchLiveTime\\": 100000,\\n \\"CommentCount\\": 100,\\n \\"LikeCount\\": 100\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n b7f2****ebb3\\n 100\\n 10\\n true\\n \\n User001\\n 100000\\n 100\\n 100\\n \\n \\n","errorExample":""}]',
'title' => '分页查询直播用户数据统计',
'description' => '观众的直播观看时长是用户观看时长的累加(包括多次观看,多设备观看),如果最终计算结果大于直播总时长,会按照直播总时长记录。',
'changeSet' => [
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLiveRoomUserStatistics'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:GetLiveRoomUserStatistics',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetRoom' => [
'summary' => '调用GetRoom查询指定房间信息,包含房间信息和使用中的原子能力信息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识,由字母、数字、符号.和-组成,最大长度36位。', 'description' => '房间ID,由字母、数字、小数点(.)和短横线(-)组成,最大长度36个字符。', 'type' => 'string', 'required' => true, 'example' => 'AE35-****-T95F'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '查询房间信息返回结果。',
'description' => '查询房间的返回结果。',
'type' => 'object',
'properties' => [
'RoomInfo' => [
'title' => '房间信息。',
'description' => '房间信息。',
'type' => 'object',
'properties' => [
'RoomId' => ['title' => '房间唯一标识。', 'description' => '房间唯一标识。', 'type' => 'string', 'example' => 'AE35-****-T95F'],
'Title' => ['title' => '房间标题。', 'description' => '房间标题。', 'type' => 'string', 'example' => 'RoomTitle001'],
'CreateTime' => ['title' => '房间创建时间戳,单位:毫秒。', 'description' => '房间创建时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624589848000'],
'Notice' => ['title' => '房间公告。', 'description' => '房间公告。', 'type' => 'string', 'example' => 'RoomNotice001'],
'RoomOwnerId' => ['title' => '房主用户id。', 'description' => '房主用户ID。', 'type' => 'string', 'example' => 'as****hs'],
'Uv' => ['title' => '访问用户数。', 'description' => '访问用户数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'OnlineCount' => ['title' => '在线用户数。', 'description' => '在线用户数。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
'PluginInstanceInfoList' => [
'title' => '活跃插件列表。',
'description' => '活跃插件列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'PluginType' => ['title' => '插件唯一标识,取值:live-直播,wb-白板,chat-聊天,rtc。', 'description' => '插件唯一标识,取值:'."\n"
.'- **live**:直播。'."\n"
.'- **wb**:白板。'."\n"
.'- **chat**:聊天。'."\n"
.'- **RTC**:音视频通信。', 'type' => 'string', 'example' => 'live'],
'PluginId' => ['title' => '插件实例唯一标识。', 'description' => '插件实例唯一标识。', 'type' => 'string', 'example' => 'HASU-****-ASHD'],
'CreateTime' => ['title' => '插件实例创建时间戳,单位:毫秒。', 'description' => '插件实例创建时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624589848000'],
'Extension' => [
'title' => '插件拓展字段。',
'description' => '插件拓展字段。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '插件拓展信息。', 'example' => 'test001'],
],
],
'description' => '',
],
],
'AppId' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'example' => 'lq****cu'],
'TemplateId' => ['title' => '创建房间使用的模板id。', 'description' => '创建房间使用的模板ID。', 'type' => 'string', 'example' => 'default'],
'Extension' => [
'title' => '房间拓展字段。',
'description' => '房间拓展字段。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => 'test001', 'description' => '房间拓展信息。'],
],
'Pv' => ['title' => '访问用户人次。', 'description' => '访问用户人次。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'AdminIdList' => [
'title' => '管理员ID列表。',
'description' => '管理员ID列表。',
'type' => 'array',
'items' => ['description' => '管理员ID。', 'type' => 'string', 'example' => 'as****hs'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidRoomId.Room.NotExist', 'errorMessage' => 'Room does not exist.', 'description' => '房间不存在,请检查。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"RoomInfo\\": {\\n \\"RoomId\\": \\"AE35-****-T95F\\",\\n \\"Title\\": \\"RoomTitle001\\",\\n \\"CreateTime\\": 1624589848000,\\n \\"Notice\\": \\"RoomNotice001\\",\\n \\"RoomOwnerId\\": \\"as****hs\\",\\n \\"Uv\\": 100,\\n \\"OnlineCount\\": 50,\\n \\"PluginInstanceInfoList\\": [\\n {\\n \\"PluginType\\": \\"live\\",\\n \\"PluginId\\": \\"HASU-****-ASHD\\",\\n \\"CreateTime\\": 1624589848000,\\n \\"Extension\\": {\\n \\"key\\": \\"test001\\"\\n }\\n }\\n ],\\n \\"AppId\\": \\"lq****cu\\",\\n \\"TemplateId\\": \\"default\\",\\n \\"Extension\\": {\\n \\"key\\": \\"test001\\"\\n },\\n \\"Pv\\": 200,\\n \\"AdminIdList\\": [\\n \\"as****hs\\"\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n \\n AE35-****-T95F\\n RoomTitle001\\n 1624589848000\\n RoomNotice001\\n as****hs\\n 100\\n 50\\n \\n live\\n HASU-****-ASHD\\n 1624589848000\\n \\n test001\\n \\n \\n lq****cu\\n default\\n \\n test001\\n \\n 200\\n as****hs\\n \\n \\n","errorExample":""}]',
'title' => '查询房间详情',
'changeSet' => [
['createdAt' => '2021-07-08T11:46:28.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRoom'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'GetStandardRoomJumpUrl' => [
'summary' => '调用GetStandardRoomJumpUrl获取低代码服务跳转链接。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '用户的应用ID,在控制台创建应用时生成', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '用户UserId,在AppId下单独唯一', 'description' => '用户UserId,在AppId下单独唯一。小写英文、数字、下划线(_)和小数点(.)组成,最大长度32个字符。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
[
'name' => 'AppKey',
'in' => 'formData',
'schema' => ['title' => '终端设备类型,通过控制台创建和查询', 'description' => '终端设备类型,通过控制台创建和查询。小写英文和数字,长度32个字符。', 'type' => 'string', 'required' => true, 'example' => '06***9c'],
],
[
'name' => 'Platform',
'in' => 'formData',
'schema' => ['title' => '平台:win, mac, android, ios, web', 'description' => '选择获取链接的平台类型。取值:'."\n"
."\n"
.'- win:Windows端。'."\n"
."\n"
.'- web: Web端。'."\n"
.'- mac:Mac端。', 'type' => 'string', 'required' => true, 'example' => 'web'],
],
[
'name' => 'BizType',
'in' => 'formData',
'schema' => ['title' => '业务类型:互动直播live,互动课堂class', 'description' => '业务场景类型。取值:'."\n"
."\n"
.'- live:互动直播。'."\n"
."\n"
.'- class:互动课堂。', 'type' => 'string', 'required' => true, 'example' => 'live'],
],
[
'name' => 'BizId',
'in' => 'formData',
'schema' => ['title' => '资源ID:根据业务类型来定,比如直播ID,课堂ID等', 'description' => '资源ID。根据业务场景类型来定:'."\n"
."\n"
.'- 互动直播场景传入直播ID(LiveId)。'."\n"
.'- 互动课堂场景传入课程ID(ClassId)。', 'type' => 'string', 'required' => true, 'example' => 'b7f2-****-ebb3'],
],
[
'name' => 'UserNick',
'in' => 'formData',
'schema' => ['title' => '用户昵称', 'description' => '用户用于显示的昵称,英文大小写字母、汉字、数字、下划线(_)、短横线(-)、小数点(.)和@组成。长度为1到36个字符。', 'type' => 'string', 'required' => true, 'example' => 'James'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '16A96B9A-****-CB92E68F4CD8'],
'Result' => [
'description' => '调用获取低代码服务跳转链接的接口返回结果。',
'type' => 'object',
'properties' => [
'StandardRoomJumpUrl' => ['title' => '样板间跳转协议地址', 'description' => '低代码服务跳转协议地址。', 'type' => 'string', 'example' => 'http://xxx.com/standard_live?appId=l***u&userId=jm6&userAuthSession=0c179505-6d14-**-88a888d849ec&roomId=b807bd2a-**-96e1-c5753f13a5eb&appKey=63***3d&callback=https%3A%2F%2Fxxx.com%2Fapi%2Flogin%2FcheckUserAuthSession'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter.StandardRoom.LowCodeDomainNotConfig', 'errorMessage' => 'This app is not configured with a low-code domain name.', 'description' => '该应用没有配置低代码域名。'],
['errorCode' => 'InvalidAppId.StandardRoom.CnameNotConfig', 'errorMessage' => 'The low-code integration service does not have a CNAME configured.', 'description' => '低代码集成服务没有配置CNAME。'],
['errorCode' => 'InvalidParameter.StandardRoom.AppKeyNotMatch', 'errorMessage' => 'The parameter AppId and the parameter AppKey do not match.', 'description' => '传入参数AppId和AppKey不匹配。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16A96B9A-****-CB92E68F4CD8\\",\\n \\"Result\\": {\\n \\"StandardRoomJumpUrl\\": \\"http://xxx.com/standard_live?appId=l***u&userId=jm6&userAuthSession=0c179505-6d14-**-88a888d849ec&roomId=b807bd2a-**-96e1-c5753f13a5eb&appKey=63***3d&callback=https%3A%2F%2Fxxx.com%2Fapi%2Flogin%2FcheckUserAuthSession\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 16A96B9A-****-CB92E68F4CD8\\n \\n http://xxx.com/standard_live?appId=l***u&userId=jm6&userAuthSession=0c179505-6d14-**-88a888d849ec&roomId=b807bd2a-**-96e1-c5753f13a5eb&appKey=63***3d&callback=https%3A%2F%2Fxxx.com%2Fapi%2Flogin%2FcheckUserAuthSession\\n \\n","errorExample":""}]',
'title' => '获取低代码服务跳转链接',
'changeSet' => [
['createdAt' => '2022-06-28T08:57:52.000Z', 'description' => '错误码发生变更'],
['createdAt' => '2021-09-07T03:50:48.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetStandardRoomJumpUrl'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetStandardRoomJumpUrl',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'KickRoomUser' => [
'summary' => '调用KickRoomUser接口,实现对房间内某特定用户实施踢出房间操作。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,由6位小写字母、数字组成。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识,由字母、数字、符号.和-组成,最大长度36位,传空则随机生成一个房间id。', 'description' => '房间的唯一标识,在调用CreateRoom时返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '操作人的用户ID,用于表示谁执行了踢人操作。', 'description' => '操作人的用户ID,用于表示谁执行了踢人操作。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
[
'name' => 'KickUser',
'in' => 'formData',
'schema' => ['title' => '被踢出房间的用户ID。', 'description' => '被踢出房间的用户ID。', 'type' => 'string', 'required' => true, 'example' => 'er****h'],
],
[
'name' => 'BlockTime',
'in' => 'formData',
'schema' => ['description' => '踢出房间时长,有效时间内不能再次进入房间,单位:秒。'."\n"
."\n"
.'- 如果不填写该字段,默认踢出300秒。'."\n"
."\n"
.'- 传0表示永久踢出房间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '300'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '踢出房间用户',
'changeSet' => [
['createdAt' => '2022-03-23T02:11:15.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'KickRoomUser'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:KickRoomUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListClasses' => [
'summary' => '调用ListClasses获取课程列表。可基于应用ID和课程状态,分页查询应用对应的所有课程列表。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,由6位小写字母、数字组成。', 'type' => 'string', 'required' => true, 'example' => 'lq****cu'],
],
[
'name' => 'Status',
'in' => 'formData',
'schema' => ['title' => '课程状态,0-未开课 1-上课中 2-已下课,不传则返回所有课程。', 'description' => '课程状态'."\n"
."\n"
.'- 0-未开课 '."\n"
.'- 1-上课中 '."\n"
.'- 2-已下课'."\n"
.'- 不传则返回所有课程。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
'schema' => ['title' => '查询页码,从1开始,传空默认查询第1页。', 'description' => '查询页码,从1开始,传空默认查询第1页。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '每页显示个数,最大支持50,参数为空默认显示个数为10。', 'description' => '每页显示个数,最大支持50,参数为空默认显示个数为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '25'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'ER52****O9CA'],
'Result' => [
'title' => '创建课程返回的结果。',
'description' => '查询课程列表返回的结果。',
'type' => 'object',
'properties' => [
'TotalCount' => ['title' => '课程总数。', 'description' => '课程总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
'PageTotal' => ['title' => '课程总页数。', 'description' => '课程总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'HasMore' => ['title' => '是否还有下一页。', 'description' => '是否还有下一页。', 'type' => 'boolean', 'example' => 'true'],
'ClassList' => [
'title' => '课程列表信息。',
'description' => '课程列表信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ClassId' => ['title' => '课堂唯一标识,由调用CreateClass返回。', 'description' => '课程唯一标识。', 'type' => 'string', 'example' => 'AE35****T95F'],
'Title' => ['title' => '课堂标题。', 'description' => '课程标题,支持中英文,最大长度32个字符。', 'type' => 'string', 'example' => 'PPT制作培训'],
'CreateUserId' => ['title' => '创建人ID。', 'description' => '创建人用户ID,仅支持英文和数字,最大长度36个字符。', 'type' => 'string', 'example' => '34***45'],
'CreateNickname' => ['title' => '创建人昵称。', 'description' => '创建人用户昵称,支持中英文,最大长度32个字符。', 'type' => 'string', 'example' => '随风'],
'Status' => ['title' => '课堂状态,0:未开始 1:上课中 2:已下课。', 'description' => '课堂状态'."\n"
."\n"
.'- 0:未开始 '."\n"
.'- 1:上课中 '."\n"
.'- 2:已下课。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'StartTime' => ['title' => '开始上课时间戳,毫秒。', 'description' => '开始上课时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '16****450'],
'EndTime' => ['title' => '下课时间戳,毫秒。', 'description' => '下课时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '16****950'],
'RoomId' => ['title' => '房间ID', 'description' => '房间ID。可用于查询房间详情信息,和端上SDK接入时作为参数传入。', 'type' => 'string', 'example' => 'AE35-****-T95F'],
'LiveId' => ['title' => '直播的唯一标识ID。', 'description' => '直播ID。可用于查询直播详情,和端上调用直播相关接口时作为参数传入。', 'type' => 'string', 'example' => 'b7f2****ebb3'],
'ConfId' => ['title' => '连麦会议唯一标识。', 'description' => '连麦会议ID。可用于RTC入会,获取会议详情。', 'type' => 'string', 'example' => 'fb0f-****-4cb1'],
'WhiteboardId' => ['title' => '白板ID', 'description' => '白板ID。可用于查询白板信息,和端上接入白板SDK时作为参数传入。', 'type' => 'string', 'example' => 'fgej**2'],
'WhiteboardRecordId' => ['title' => '白板录制ID', 'description' => '白板录制ID。可用于端上获取白板录制内容并播放。', 'type' => 'string', 'example' => 'eofg**rt'],
],
'description' => '',
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ER52****O9CA\\",\\n \\"Result\\": {\\n \\"TotalCount\\": 1000,\\n \\"PageTotal\\": 100,\\n \\"HasMore\\": true,\\n \\"ClassList\\": [\\n {\\n \\"ClassId\\": \\"AE35****T95F\\",\\n \\"Title\\": \\"PPT制作培训\\",\\n \\"CreateUserId\\": \\"34***45\\",\\n \\"CreateNickname\\": \\"随风\\",\\n \\"Status\\": 2,\\n \\"StartTime\\": 0,\\n \\"EndTime\\": 0,\\n \\"RoomId\\": \\"AE35-****-T95F\\",\\n \\"LiveId\\": \\"b7f2****ebb3\\",\\n \\"ConfId\\": \\"fb0f-****-4cb1\\",\\n \\"WhiteboardId\\": \\"fgej**2\\",\\n \\"WhiteboardRecordId\\": \\"eofg**rt\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n ER52****O9CA\\n \\n 1000\\n 100\\n true\\n \\n AE35****T95F\\n PPT制作培训\\n 34***45\\n 随风\\n 2\\n AE35-****-T95F\\n b7f2****ebb3\\n fb0f-****-4cb1\\n fgej**2\\n eofg**rt\\n \\n \\n","errorExample":""}]',
'title' => '获取课程列表',
'changeSet' => [
['createdAt' => '2021-11-18T06:15:49.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListClasses'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:ListClasses',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListComments' => [
'summary' => '调用ListComments批量查询弹幕消息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间的唯一标识,在调用CreateRoom时返回。', 'description' => '房间的唯一标识,在调用CreateRoom时返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '操作人用户ID,表示谁执行了查询弹幕消息列表的操作。', 'description' => '操作人用户ID,表示谁执行了批量查询弹幕消息的操作。', 'type' => 'string', 'required' => false, 'example' => '62**59'],
],
[
'name' => 'CreatorId',
'in' => 'formData',
'schema' => ['title' => '弹幕创建者ID。', 'description' => '弹幕的创建者ID。', 'type' => 'string', 'required' => false, 'example' => '10**13'],
],
[
'name' => 'PageNum',
'in' => 'formData',
'schema' => ['title' => '查询弹幕消息列表的分页页数。应该从1开始,每次分页拉取时递增。', 'description' => '批量查询弹幕消息的分页页数。要求从1开始,每次分页拉取时递增加1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '查询弹幕消息列表的分页大小。最小不得小于1,最大不得超过100。如果超过100,会被截断为前100条。', 'description' => '批量查询弹幕消息的分页大小。最小不得小于1,最大不得超过100。如果超过100,会被截断为前100条。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '50'],
],
[
'name' => 'SortType',
'in' => 'formData',
'schema' => ['title' => '查询弹幕消息列表的排序方式。取值仅限0和1,其中0表示按照弹幕消息创建时间递增的顺序拉取,1表示按照弹幕消息创建时间递减的时间拉取。', 'description' => '批量查询弹幕消息的排序方式。取值仅限0和1。'."\n"
."\n"
.'- **0**:按照弹幕消息创建时间递减的顺序查询。'."\n"
."\n"
.'- **1**:按照弹幕消息创建时间递增的顺序查询。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'ER52****O9CA'],
'Result' => [
'title' => '调用查询弹幕消息列表的返回结果。',
'description' => '调用批量查询弹幕消息的返回结果。',
'type' => 'object',
'properties' => [
'CommentVOList' => [
'title' => '弹幕消息列表。',
'description' => '弹幕消息列表。',
'type' => 'array',
'items' => [
'description' => '弹幕消息信息。',
'type' => 'object',
'properties' => [
'AppId' => ['title' => '应用ID。', 'description' => '应用ID。', 'type' => 'string', 'example' => '7m***q'],
'RoomId' => ['title' => '房间ID。', 'description' => '房间ID。', 'type' => 'string', 'example' => 'AE35****T95F'],
'CommentId' => ['title' => '弹幕消息的唯一ID标识。', 'description' => '弹幕消息的唯一ID标识。', 'type' => 'string', 'example' => '09***f8'],
'SenderId' => ['title' => '弹幕消息的发送者ID标识。', 'description' => '弹幕消息的发送者ID标识。', 'type' => 'string', 'example' => '62**59'],
'SenderNick' => ['title' => '弹幕消息发送者的昵称。', 'description' => '弹幕消息发送者的昵称。', 'type' => 'string', 'example' => 'Tom'],
'CreateAt' => ['title' => '弹幕消息的创建时间,Unix时间戳,单位:毫秒。', 'description' => '弹幕消息的创建时间,Unix时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628438400000'],
'Content' => ['title' => '弹幕消息的内容。', 'description' => '弹幕消息的内容。', 'type' => 'string', 'example' => 'Hello,World'],
'Extension' => [
'title' => '扩展字段。',
'description' => '扩展字段。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => 'value', 'description' => '扩展字段。'],
],
],
],
],
'HasMore' => ['title' => '是否还有下一页数据。true表示还有,false表示没有。', 'description' => '是否还有下一页数据。true表示还有,false表示没有。', 'type' => 'boolean', 'example' => 'true'],
'TotalCount' => ['title' => '弹幕消息的总数。', 'description' => '批量查询弹幕消息的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'PageTotal' => ['title' => '分页查询弹幕消息列表的总页数。', 'description' => '分页查询弹幕消息列表的总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
'example' => '0io**Fs6Q384',
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"ER52****O9CA\\",\\n \\"Result\\": {\\n \\"CommentVOList\\": [\\n {\\n \\"AppId\\": \\"7m***q\\",\\n \\"RoomId\\": \\"AE35****T95F\\",\\n \\"CommentId\\": \\"09***f8\\",\\n \\"SenderId\\": \\"62**59\\",\\n \\"SenderNick\\": \\"Tom\\",\\n \\"CreateAt\\": 1628438400000,\\n \\"Content\\": \\"Hello,World\\",\\n \\"Extension\\": {\\n \\"key\\": \\"value\\"\\n }\\n }\\n ],\\n \\"HasMore\\": true,\\n \\"TotalCount\\": 100,\\n \\"PageTotal\\": 2\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n ER52****O9CA\\n \\n \\n 7m***q\\n AE35****T95F\\n 09***f8\\n 62**59\\n Tom\\n 1628438400000\\n Hello,World\\n \\n value\\n \\n \\n true\\n 100\\n 2\\n \\n","errorExample":""}]',
'title' => '批量查询弹幕消息',
'changeSet' => [
['createdAt' => '2022-07-12T15:45:33.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2021-10-25T08:50:18.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListComments'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:ListComments',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListConferenceUsers' => [
'summary' => '调用ListConferenceUsers分页查询连麦用户信息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'ConferenceId',
'in' => 'formData',
'schema' => ['title' => '会议唯一标识符', 'description' => '连麦唯一标识。由字母、数字和短横线(-)组成,长度为36个字符。', 'type' => 'string', 'required' => true, 'example' => 'fb0f-****-4cb1'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
'schema' => ['title' => '查询页码,从第1页开始。', 'description' => '查询页码,从第1页开始。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '每页显示个数,最大显示个数为100。', 'description' => '每页显示个数,最大支持100。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '返回结果',
'description' => '分页查询连麦用户信息的返回结果。',
'type' => 'object',
'properties' => [
'ConferenceUserList' => [
'title' => '会议用户列表。',
'description' => '连麦用户列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'UserId' => ['title' => '用户ID。', 'description' => '用户ID。', 'type' => 'string', 'example' => '4*****9'],
'Status' => ['title' => '用户状态。', 'description' => '用户状态。取值:'."\n"
."\n"
.'- **Init**:初始状态。'."\n"
."\n"
.'- **OnJoining**:呼叫中。'."\n"
."\n"
.'- **Active**:连麦中。'."\n"
."\n"
.'- **JoinFail**:连麦失败。'."\n"
."\n"
.'- **Kicked**:被踢出。'."\n"
."\n"
.'- **Leave**:离开连麦。'."\n", 'type' => 'string', 'example' => 'active'],
],
'description' => '',
],
'example' => 'myApp',
],
'HasMore' => ['title' => '是否还有数据', 'description' => '是否还有数据。', 'type' => 'boolean', 'example' => 'true'],
'TotalCount' => ['title' => '总条目数', 'description' => '总条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'PageTotal' => ['title' => '总页数', 'description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
'example' => 'true',
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"ConferenceUserList\\": [\\n {\\n \\"UserId\\": \\"4*****9\\",\\n \\"Status\\": \\"active\\"\\n }\\n ],\\n \\"HasMore\\": true,\\n \\"TotalCount\\": 100,\\n \\"PageTotal\\": 100\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n \\n 4*****9\\n active\\n \\n true\\n 100\\n 100\\n \\n","errorExample":""}]',
'title' => '查询连麦用户列表',
'changeSet' => [
['createdAt' => '2021-08-10T08:32:44.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConferenceUsers'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:ListConferenceUsers',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListLiveFiles' => [
'summary' => '调用ListLiveFiles获取直播录制文件列表信息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用ID。', 'description' => '应用ID。', 'type' => 'string', 'required' => true, 'example' => 'lq**xy'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播ID。', 'description' => '直播ID。', 'type' => 'string', 'required' => true, 'example' => 'acbder-**-34uh'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '返回结果。',
'description' => '返回结果。',
'type' => 'object',
'properties' => [
'FileList' => [
'title' => '文件列表。',
'description' => '文件列表。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'FileName' => ['title' => '文件名称。', 'description' => '文件名称。', 'type' => 'string', 'example' => '12345/**/1.ts'],
'Url' => ['title' => '文件下载地址。', 'description' => '文件下载地址,有效期为7天。', 'type' => 'string', 'example' => 'https://aliyundoc.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3/1.ts'],
],
'description' => '',
],
],
],
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"FileList\\": [\\n {\\n \\"FileName\\": \\"12345/**/1.ts\\",\\n \\"Url\\": \\"https://aliyundoc.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3/1.ts\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '获取直播录制文件列表',
'description' => '该接口适用于2022年2月18号之后开通低代码音视频工厂的客户,且适用于开启了直播录制功能,有录制文件生成的场景。',
'changeSet' => [
['createdAt' => '2022-08-09T15:17:43.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLiveFiles'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:ListLiveFiles',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListLiveRooms' => [
'summary' => '调用ListLiveRooms分页查询直播信息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'Status',
'in' => 'formData',
'schema' => ['title' => '直播状态,0-在播 1-下播,不传则返回所有直播。', 'description' => '直播状态。取值:'."\n"
.'* **0**:已创建,未开始直播。'."\n"
.'* **1**:直播中。'."\n"
.'* **2**:直播结束。'."\n"
.'* **3或空**:所有状态。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
'schema' => ['title' => '查询页码,从1开始,传空默认查询第1页。', 'description' => '查询页码,从1开始,参数为空默认查询第1页。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '每页显示个数,最大支持50,参数为空默认显示个数为10。', 'description' => '每页显示个数,最大支持50,参数为空默认显示个数为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '创建场景化直播返回的结果。',
'description' => '分页查询直播信息返回的结果。',
'type' => 'object',
'properties' => [
'TotalCount' => ['title' => '直播总数。', 'description' => '直播总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'PageTotal' => ['title' => '直播总页数。', 'description' => '直播总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'HasMore' => ['title' => '是否还有下一页。', 'description' => '是否还有下一页。', 'type' => 'boolean', 'example' => 'true'],
'LiveList' => [
'title' => '直播列表信息。',
'description' => '直播列表信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'AppId' => ['title' => '应用ID。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'example' => '7m***q'],
'LiveId' => ['title' => '直播ID。', 'description' => '直播的唯一标识ID。', 'type' => 'string', 'example' => 'b7f2****ebb3'],
'Status' => ['title' => '直播状态,0-在播 1-下播。', 'description' => '直播状态。取值:'."\n"
.'* **0**:已创建,未开始直播。'."\n"
.'* **1**:直播中。'."\n"
.'* **2**:直播结束。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RoomId' => ['title' => '房间ID。', 'description' => '房间的唯一标识。', 'type' => 'string', 'example' => 'AE35-****-T95F'],
'ChatId' => ['title' => '聊天ID。', 'description' => '弹幕的唯一标识。', 'type' => 'string', 'example' => '09***f8'],
'Title' => ['title' => '标题。', 'description' => '直播标题。', 'type' => 'string', 'example' => 'Title001'],
'Notice' => ['title' => '公告。', 'description' => '直播公告。', 'type' => 'string', 'example' => 'Notice001'],
'CoverUrl' => ['title' => '封面。', 'description' => '直播封面。', 'type' => 'string', 'example' => 'http://***.png'],
'AnchorId' => ['title' => '主播ID。', 'description' => '主播ID。', 'type' => 'string', 'example' => 'as****hs'],
'Uv' => ['title' => '访问用户数。', 'description' => '访问用户数,同个访客多次访问直播间仅计算一个UV。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'Extension' => [
'title' => '直播拓展字段。',
'description' => '直播拓展字段。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => 'test001', 'description' => '直播拓展信息。'],
],
'AnchorNick' => ['title' => '主播昵称。', 'description' => '主播昵称。', 'type' => 'string', 'example' => 'User001'],
'Pv' => ['title' => '访问用户人次。', 'description' => '访问用户人次,访客对同一直播间的多次访问,PV累加。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'OnlineCount' => ['title' => '在线用户数。', 'description' => '在线用户数。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
'CreateTime' => ['title' => '直播的创建时间。单位为ms。', 'description' => '直播的创建时间。单位为ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259500000'],
'StartTime' => ['title' => '直播的开始时间。单位为ms。', 'description' => '直播的开始时间。单位为ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259600000'],
'EndTime' => ['title' => '直播的结束时间。单位为ms。', 'description' => '直播的结束时间。单位为ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259800000'],
],
'description' => '',
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"TotalCount\\": 100,\\n \\"PageTotal\\": 10,\\n \\"HasMore\\": true,\\n \\"LiveList\\": [\\n {\\n \\"AppId\\": \\"7m***q\\",\\n \\"LiveId\\": \\"b7f2****ebb3\\",\\n \\"Status\\": 1,\\n \\"RoomId\\": \\"AE35-****-T95F\\",\\n \\"ChatId\\": \\"09***f8\\",\\n \\"Title\\": \\"Title001\\",\\n \\"Notice\\": \\"Notice001\\",\\n \\"CoverUrl\\": \\"http://***.png\\",\\n \\"AnchorId\\": \\"as****hs\\",\\n \\"Uv\\": 100,\\n \\"Extension\\": {\\n \\"key\\": \\"test001\\"\\n },\\n \\"AnchorNick\\": \\"User001\\",\\n \\"Pv\\": 200,\\n \\"OnlineCount\\": 50,\\n \\"CreateTime\\": 1624259500000,\\n \\"StartTime\\": 1624259600000,\\n \\"EndTime\\": 1624259800000\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n 100\\n 10\\n true\\n \\n 7m***q\\n b7f2****ebb3\\n 1\\n AE35-****-T95F\\n 09***f8\\n Title001\\n Notice001\\n http://***.png\\n as****hs\\n 100\\n \\n test001\\n \\n User001\\n 200\\n 50\\n \\n \\n","errorExample":""}]',
'title' => '批量查询直播信息',
'changeSet' => [
['createdAt' => '2022-06-28T06:43:00.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLiveRooms'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imp:ListLiveRooms',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListLiveRoomsById' => [
'summary' => '调用ListLiveRoomsById根据传入的直播ID批量查询指定的直播信息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'LiveIdList',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '直播ID列表。',
'description' => '直播ID列表。',
'type' => 'array',
'items' => ['description' => '直播ID。数量最大为20。', 'type' => 'string', 'required' => false, 'example' => '["b7f2****ebb3"]'],
'required' => true,
'example' => '0',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '创建场景化直播返回的结果。',
'description' => '批量查询直播信息返回的结果。',
'type' => 'object',
'properties' => [
'LiveList' => [
'title' => '直播列表信息。',
'description' => '直播列表信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'AppId' => ['title' => '应用ID。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'example' => '7m***q'],
'LiveId' => ['title' => '直播ID。', 'description' => '直播ID。', 'type' => 'string', 'example' => 'b7f2****ebb3'],
'Status' => ['title' => '直播状态,0-在播 1-下播。', 'description' => '直播状态。取值:'."\n"
.'* **0**:已创建,未开始直播。'."\n"
.'* **1**:直播中。'."\n"
.'* **2**:直播结束。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RoomId' => ['title' => '房间ID。', 'description' => '房间ID。', 'type' => 'string', 'example' => 'AE35-****-T95F'],
'ChatId' => ['title' => '聊天ID。', 'description' => '弹幕ID。', 'type' => 'string', 'example' => '09***f8'],
'Title' => ['title' => '标题。', 'description' => '直播标题。', 'type' => 'string', 'example' => 'Title001'],
'Notice' => ['title' => '公告。', 'description' => '直播公告。', 'type' => 'string', 'example' => 'Notice001'],
'CoverUrl' => ['title' => '封面。', 'description' => '直播封面。', 'type' => 'string', 'example' => 'http://***.png'],
'AnchorId' => ['title' => '主播ID。', 'description' => '主播ID。', 'type' => 'string', 'example' => 'as****hs'],
'Uv' => ['title' => '访问用户数。', 'description' => '访问用户数,同个访客多次访问直播间仅计算一个UV。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'Extension' => [
'title' => '直播拓展字段。',
'description' => '直播拓展字段。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => 'test001', 'description' => '直播拓展信息。'],
],
'AnchorNick' => ['title' => '主播昵称。', 'description' => '主播昵称。', 'type' => 'string', 'example' => 'User001'],
'Pv' => ['title' => '访问用户人次。', 'description' => '访问用户人次,访客对同一直播间的多次访问,PV累加。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'OnlineCount' => ['title' => '在线用户数。', 'description' => '在线用户数。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
'CreateTime' => ['title' => '直播的创建时间。单位为ms。', 'description' => '直播的创建时间。单位为ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259500000'],
'StartTime' => ['title' => '直播的开始时间。单位为ms。', 'description' => '直播的开始时间。单位为ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259500000'],
'EndTime' => ['title' => '直播的结束时间。单位为ms。', 'description' => '直播的结束时间。单位为ms。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624259500000'],
],
'description' => '',
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"LiveList\\": [\\n {\\n \\"AppId\\": \\"7m***q\\",\\n \\"LiveId\\": \\"b7f2****ebb3\\",\\n \\"Status\\": 1,\\n \\"RoomId\\": \\"AE35-****-T95F\\",\\n \\"ChatId\\": \\"09***f8\\",\\n \\"Title\\": \\"Title001\\",\\n \\"Notice\\": \\"Notice001\\",\\n \\"CoverUrl\\": \\"http://***.png\\",\\n \\"AnchorId\\": \\"as****hs\\",\\n \\"Uv\\": 100,\\n \\"Extension\\": {\\n \\"key\\": \\"test001\\"\\n },\\n \\"AnchorNick\\": \\"User001\\",\\n \\"Pv\\": 200,\\n \\"OnlineCount\\": 50,\\n \\"CreateTime\\": 1624259500000,\\n \\"StartTime\\": 1624259500000,\\n \\"EndTime\\": 1624259500000\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n \\n 7m***q\\n b7f2****ebb3\\n 1\\n AE35-****-T95F\\n 09***f8\\n RoomTitle001\\n RoomNotice001\\n http://***.png\\n as****hs\\n 100\\n \\n test001\\n \\n User001\\n 200\\n 50\\n \\n \\n","errorExample":""}]',
'title' => '根据直播ID批量查询直播信息',
'description' => '> 调用本接口最多可查询20条直播信息。',
'changeSet' => [
['createdAt' => '2022-07-14T09:55:28.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLiveRoomsById'],
],
],
'ramActions' => [
[
'operationType' => 'list',
'ramAction' => [
'action' => 'imp:ListLiveRoomsById',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListRoomUsers' => [
'summary' => '调用ListRoomUsers分页查询房间内的实时用户列表。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
'schema' => ['title' => '查询页码,从1开始,传空默认查询第1页。', 'description' => '查询页码,从1开始,传空默认查询第1页。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '每页显示个数,最大支持50,参数为空默认显示个数为10。', 'description' => '每页显示个数,最大支持100,参数为空默认显示个数为50。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'exclusiveMaximum' => false, 'minimum' => '1', 'example' => '10'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间ID,最大长度36个字符。', 'description' => '房间ID,由字母、数字、下划线(_)和小数点(.)组成,最大长度36个字符。', 'type' => 'string', 'required' => true, 'example' => 'AE35-****-T95F'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => 'API请求的返回结果结构体。',
'description' => '分页查询房间用户列表返回的结果。',
'type' => 'object',
'properties' => [
'TotalCount' => ['title' => '该房间的用户总数。', 'description' => '房间内的用户总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
'PageTotal' => ['title' => '该房间的用户总页数。', 'description' => '房间内的用户总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'HasMore' => ['title' => '是否还有下一页用户列表。', 'description' => '是否还有下一页用户列表。', 'type' => 'boolean', 'example' => 'true'],
'RoomUserList' => [
'title' => '房间用户列表信息。',
'description' => '房间用户列表信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'UserId' => ['title' => '用户唯一标识。', 'description' => '用户唯一标识。', 'type' => 'string', 'example' => 'as****hs'],
'Nick' => ['title' => '用户昵称。', 'description' => '用户昵称。', 'type' => 'string', 'example' => 'User001'],
'Extension' => [
'title' => '用户拓展字段。',
'description' => '用户扩展字段。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => 'test001', 'description' => '用户扩展信息。'],
],
],
'description' => '',
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"TotalCount\\": 1000,\\n \\"PageTotal\\": 100,\\n \\"HasMore\\": true,\\n \\"RoomUserList\\": [\\n {\\n \\"UserId\\": \\"as****hs\\",\\n \\"Nick\\": \\"User001\\",\\n \\"Extension\\": {\\n \\"key\\": \\"test001\\"\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n 1000\\n 100\\n true\\n \\n as****hs\\n User001\\n \\n test001\\n \\n \\n \\n","errorExample":""}]',
'title' => '查询房间用户列表',
'changeSet' => [
['createdAt' => '2021-12-01T08:59:45.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRoomUsers'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:ListRoomUsers',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListRooms' => [
'summary' => '调用ListRooms查询应用下的房间列表,包含每个房间的信息和正在使用的原子能力信息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
'schema' => ['title' => '查询页码,从1开始,传空默认查询第1页。', 'description' => '查询页码,从1开始,参数为空默认查询第1页。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '每页显示个数,最大支持50,参数为空默认显示个数为10。', 'description' => '每页显示个数,最大支持50,参数为空默认显示个数为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'exclusiveMaximum' => false, 'minimum' => '1', 'example' => '10'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => 'API请求的返回结果结构体。',
'description' => '查询房间列表的返回结果。',
'type' => 'object',
'properties' => [
'TotalCount' => ['title' => '该应用的房间总数。', 'description' => '房间总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
'PageTotal' => ['title' => '该应用的房间总页数。', 'description' => '房间列表总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'HasMore' => ['title' => '是否还有下一页房间列表。', 'description' => '是否还有下一页。', 'type' => 'boolean', 'example' => 'true'],
'RoomInfoList' => [
'title' => '房间列表信息。',
'description' => '房间列表。',
'type' => 'array',
'items' => [
'description' => '房间对象。',
'type' => 'object',
'properties' => [
'RoomId' => ['title' => '房间唯一标识。', 'description' => '房间ID,由字母、数字、小数点(.)和短横线(-)组成,最大长度36个字符。', 'type' => 'string', 'example' => 'AE35-****-T95F'],
'Title' => ['title' => '房间标题。', 'description' => '房间标题。', 'type' => 'string', 'example' => 'RoomTitle001'],
'RoomOwnerId' => ['title' => '房主用户id。', 'description' => '房主ID。', 'type' => 'string', 'example' => 'as****hs'],
'Notice' => ['title' => '房间公告。', 'description' => '房间公告。', 'type' => 'string', 'example' => 'RoomNotice001'],
'Uv' => ['title' => '用户访问数。', 'description' => '用户访问数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'OnlineCount' => ['title' => '用户在线数。', 'description' => '用户在线数。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
'PluginInstanceInfoList' => [
'title' => '活跃插件列表。',
'description' => '活跃插件列表。',
'type' => 'array',
'items' => [
'description' => '活跃插件对象。',
'type' => 'object',
'properties' => [
'PluginType' => ['title' => '插件唯一标识,取值:live-直播,wb-白板,chat-聊天,rtc。', 'description' => '插件类型。取值:'."\n"
.'- **live**:直播。'."\n"
.'- **chat**:聊天。'."\n"
.'- **rtc**:实时音视频通讯。'."\n"
.'- **wb**:白板。', 'type' => 'string', 'example' => 'live'],
'PluginId' => ['title' => '插件实例唯一标识。', 'description' => '插件实例ID。', 'type' => 'string', 'example' => 'H63U-****-AS7D'],
'CreateTime' => ['title' => '插件实例创建时间戳,单位:毫秒。', 'description' => '插件实例创建时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1624589848000'],
'Extension' => [
'title' => '插件拓展字段。',
'description' => '插件拓展字段。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '拓展字段值。', 'example' => 'test001'],
],
],
],
],
'CreateTime' => ['title' => '房间创建时间戳,单位:毫秒。', 'description' => '房间创建时间戳。', 'type' => 'string', 'example' => '1624589848000'],
'AppId' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'example' => '7m***q'],
'TemplateId' => ['title' => '创建房间使用的模板id。', 'description' => '创建房间使用的模板ID。', 'type' => 'string', 'example' => 'default'],
'Extension' => [
'title' => '房间拓展字段。',
'description' => '房间拓展字段。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '拓展字段值。', 'example' => 'test001'],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Forbidden.Room.InvalidPageNumber', 'errorMessage' => 'PageNumber is invalid.', 'description' => 'PageNumber非法。'],
['errorCode' => 'Forbidden.Room.InvalidPageSize', 'errorMessage' => 'PageSize exceeds maximum limit.', 'description' => 'PageSize过大,超出限制。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"TotalCount\\": 1000,\\n \\"PageTotal\\": 100,\\n \\"HasMore\\": true,\\n \\"RoomInfoList\\": [\\n {\\n \\"RoomId\\": \\"AE35-****-T95F\\",\\n \\"Title\\": \\"RoomTitle001\\",\\n \\"RoomOwnerId\\": \\"as****hs\\",\\n \\"Notice\\": \\"RoomNotice001\\",\\n \\"Uv\\": 100,\\n \\"OnlineCount\\": 50,\\n \\"PluginInstanceInfoList\\": [\\n {\\n \\"PluginType\\": \\"live\\",\\n \\"PluginId\\": \\"H63U-****-AS7D\\",\\n \\"CreateTime\\": 1624589848000,\\n \\"Extension\\": {\\n \\"key\\": \\"test001\\"\\n }\\n }\\n ],\\n \\"CreateTime\\": \\"1624589848000\\",\\n \\"AppId\\": \\"7m***q\\",\\n \\"TemplateId\\": \\"default\\",\\n \\"Extension\\": {\\n \\"key\\": \\"test001\\"\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n 1000\\n 100\\n true\\n \\n AE35-****-T95F\\n RoomTitle001\\n as****hs\\n RoomNotice001\\n 100\\n 50\\n \\n live\\n H63U-****-AS7D\\n 1624589848000\\n \\n test001\\n \\n \\n 1624589848000\\n 7m***q\\n default\\n \\n test001\\n \\n \\n \\n","errorExample":""}]',
'title' => '查询房间列表',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRooms'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:ListRooms',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListSensitiveWord' => [
'summary' => '调用ListSensitiveWord查询敏感词。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '弹幕发送者的用户ID,最大长度不超过32个字节。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'PageNum',
'in' => 'formData',
'schema' => ['description' => '分页查询的当前页,从1开始,每次分页查询时递增加1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['description' => '单次分页查询的大小。如果不填,默认为100,如果超过100,则被限制为100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '100', 'default' => '100'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '调用发送直播间弹幕的返回结果。',
'description' => '调用查询敏感词的返回结果。',
'type' => 'object',
'properties' => [
'WordList' => [
'description' => '敏感词的列表。',
'type' => 'array',
'items' => ['description' => '示例敏感词。', 'type' => 'string', 'example' => '测试敏感词'],
],
'TotalCount' => ['description' => '总共添加的敏感词总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
'example' => '0io**Fs6Q384',
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidAppId.Error', 'errorMessage' => 'The specified AppId is invalid.', 'description' => 'AppId错误或已停用,请检查应用启用状态。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"WordList\\": [\\n \\"测试敏感词\\"\\n ],\\n \\"TotalCount\\": 100\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n 测试敏感词\\n 100\\n \\n","errorExample":""}]',
'title' => '查询敏感词',
'description' => '## QPS限制'."\n"
.'该接口的QPS限制为单用户10次/秒。',
'changeSet' => [
['createdAt' => '2022-05-30T02:28:22.000Z', 'description' => '错误码发生变更、请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-04-18T07:19:56.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSensitiveWord'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:ListSensitiveWord',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'PublishLive' => [
'summary' => '发布直播,将直播状态转变为直播中,并获取推拉流地址。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播资源的唯一标识ID', 'description' => '直播资源的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '当前用户Id', 'description' => '用户UserId,在AppId下单独唯一。小写英文、数字、下划线(_)和小数点(.)组成,最大长度32个字符。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'description' => '发布直播的返回结果。',
'type' => 'object',
'properties' => [
'LiveId' => ['title' => '直播资源的唯一标识ID', 'description' => '直播资源的唯一标识ID。', 'type' => 'string', 'example' => 'b7f2****ebb3'],
'AnchorId' => ['title' => '主播ID', 'description' => '主播ID。', 'type' => 'string', 'example' => 'as****hs'],
'Status' => ['title' => '直播状态:Created-已创建未开播,Living-直播中,End-直播结束', 'description' => '直播状态。类型为字符串,取值:'."\n"
.'* **1**:直播中。', 'type' => 'string', 'example' => '1'],
'PushUrl' => ['title' => '直播推流地址', 'description' => '直播推流地址。', 'type' => 'string', 'example' => 'rtmp://demo-app-push.com/live/b7f2****ebb3?auth_key=e620****a8e3'],
'LiveUrl' => ['title' => '直播拉流地址', 'description' => '直播拉流地址。', 'type' => 'string', 'example' => 'http://demo-app-live.com/live/b7f2****ebb3.flv?auth_key=e620****a8e3'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidLiveId.Live.NotFound', 'errorMessage' => 'The live broadcast does not exist.', 'description' => '直播不存在。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"LiveId\\": \\"b7f2****ebb3\\",\\n \\"AnchorId\\": \\"as****hs\\",\\n \\"Status\\": \\"1\\",\\n \\"PushUrl\\": \\"rtmp://demo-app-push.com/live/b7f2****ebb3?auth_key=e620****a8e3\\",\\n \\"LiveUrl\\": \\"http://demo-app-live.com/live/b7f2****ebb3.flv?auth_key=e620****a8e3\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n b7f2****ebb3\\n as****hs\\n 1\\n rtmp://demo-app-push.com/live/b7f2****ebb3?auth_key=e620****a8e3\\n http://demo-app-live.com/live/b7f2****ebb3.flv?auth_key=e620****a8e3\\n \\n","errorExample":""}]',
'title' => '发布直播',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishLive'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:PublishLive',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'PublishLiveRoom' => [
'summary' => '调用PublishLiveRoom发布直播,将直播状态转变为直播中,并获取推拉流地址。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播ID。', 'description' => '直播的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '操作人ID。', 'description' => '操作人ID,仅支持英文和数字,最大长度36位。', 'type' => 'string', 'required' => false, 'example' => 'as****hs'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '创建场景化直播返回的结果。',
'description' => '创建场景化直播返回的结果。',
'type' => 'object',
'properties' => [
'LiveId' => ['title' => '直播ID。', 'description' => '直播ID。', 'type' => 'string', 'example' => 'b7f2****ebb3'],
'LiveUrl' => ['title' => '直播拉流地址。', 'description' => '直播播流地址。', 'type' => 'string', 'example' => 'http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.flv?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
'PushUrl' => ['title' => '直播推流地址。', 'description' => '直播推流地址。', 'type' => 'string', 'example' => 'rtmp://demo-app-push.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Invalid.Live.StatusNotMatch', 'errorMessage' => 'The live status not match.', 'description' => '直播状态不匹配,只有未开始的直播才能发布,已经结束或者删除的直播不能再次发布。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"LiveId\\": \\"b7f2****ebb3\\",\\n \\"LiveUrl\\": \\"http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.flv?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\",\\n \\"PushUrl\\": \\"rtmp://demo-app-push.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n ER52****O9CA\\n \\n b7f2****ebb3\\n http://demo-app-live.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3.flv?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n rtmp://demo-app-push.com/live/b7f29c02-****-40fd-****-e8d06a8aebb3?auth_key=1627522726-0-0-******e620b363d4cf8a8e3\\n \\n","errorExample":""}]',
'title' => '发布直播',
'changeSet' => [
['createdAt' => '2022-05-30T06:05:13.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishLiveRoom'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:PublishLiveRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'RemoveMember' => [
'summary' => '调用RemoveMember将指定用户从连麦中踢出。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'ConferenceId',
'in' => 'formData',
'schema' => ['title' => '会议唯一标识', 'description' => '连麦唯一标识。由字母、数字和短横线(-)组成,长度为36个字符。', 'type' => 'string', 'required' => true, 'example' => 'fb0f-****-4cb1'],
],
[
'name' => 'ToUserId',
'in' => 'formData',
'schema' => ['title' => '被邀请用户ID', 'description' => '被踢者用户ID,在AppId下单独唯一。英文字母、数字、下划线(_)、短横线(-)、小数点(.)和@组成。长度为1到36个字符。', 'type' => 'string', 'required' => true, 'example' => '45***9'],
],
[
'name' => 'FromUserId',
'in' => 'formData',
'schema' => ['title' => '邀请者用户ID', 'description' => '踢人者用户ID,在AppId下单独唯一。英文字母、数字、下划线(_)、短横线(-)、小数点(.)和@组成。长度为1到36个字符。', 'type' => 'string', 'required' => true, 'example' => '23***7'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'Forbidden.Rtc.UserNoPermission', 'errorMessage' => 'The user is not authorized to operate on the specified resource.', 'description' => '非创建者无法执行该操作。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '踢人',
'changeSet' => [
['createdAt' => '2021-08-10T08:32:44.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveMember'],
],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'imp:RemoveMember',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'SendComment' => [
'summary' => '调用SendComment发送弹幕消息,该弹幕消息会推送给房间内所有在线人员。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '直播间唯一标识,在调用CreateRoom返回。', 'description' => '房间的唯一标识,在调用CreateRoom时返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'SenderId',
'in' => 'formData',
'schema' => ['title' => '弹幕发送者的用户ID,最大长度不超过32个字节。', 'description' => '弹幕消息发送者的用户ID,最大长度不超过32个字节。', 'type' => 'string', 'required' => true, 'example' => '62**59'],
],
[
'name' => 'SenderNick',
'in' => 'formData',
'schema' => ['title' => '弹幕消息发送者的昵称。', 'description' => '弹幕消息的发送者昵称,最大长度不得超过128个字节。如果为空,则采用弹幕消息发送者的用户ID在进入房间时注册的昵称。如果对应昵称仍然为空,则显示为空。', 'type' => 'string', 'required' => false, 'example' => 'Tom'],
],
[
'name' => 'Content',
'in' => 'formData',
'schema' => ['title' => '发送的文本内容。最大的长度不超过256个字节。', 'description' => '弹幕消息的内容。最大的长度不超过256个字节。', 'type' => 'string', 'required' => true, 'example' => 'Hello, World'],
],
[
'name' => 'Extension',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '扩展字段,服务端仅做透传。',
'description' => '扩展字段,key-value形式,服务端会把拓展字段信息一并推送到客户端。',
'type' => 'object',
'required' => false,
'additionalProperties' => ['type' => 'string', 'example' => 'value', 'description' => ''],
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => '调用发送直播间弹幕的返回结果。',
'description' => '调用发送房间弹幕消息的返回结果。',
'type' => 'object',
'properties' => [
'CommentVO' => [
'title' => '返回的弹幕数据模型。',
'description' => '返回的弹幕消息数据模型。',
'type' => 'object',
'properties' => [
'CommentId' => ['title' => '弹幕的唯一ID。', 'description' => '弹幕消息的唯一ID。', 'type' => 'string', 'example' => '09***f8'],
'SenderId' => ['title' => '弹幕的发送者ID标识。', 'description' => '弹幕消息发送者的用户ID。', 'type' => 'string', 'example' => '62**59'],
'SenderNick' => ['title' => '弹幕发送者的昵称。', 'description' => '弹幕消息发送者的昵称。', 'type' => 'string', 'example' => 'Tom'],
'CreateAt' => ['title' => '弹幕的创建时间,Unix时间戳,单位:毫秒。', 'description' => '弹幕消息的创建时间,Unix时间戳,单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1628438400000'],
'Content' => ['title' => '弹幕的内容。', 'description' => '弹幕消息的内容。', 'type' => 'string', 'example' => 'Hello,World'],
'Extension' => [
'title' => '扩展字段。',
'description' => '扩展字段,key-value形式,其值等同于请求时传递的Extension参数。',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => 'value', 'description' => '扩展字段key-value键值对中,value的示例值。'],
],
],
'example' => '0io**Fs6Q384',
],
],
'example' => '0io**Fs6Q384',
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Forbidden.Chat.HasBeenBanned', 'errorMessage' => 'The user is banned from posting a comment.', 'description' => '您已被管理员禁言。'],
['errorCode' => 'Forbidden.Chat.SendCommentFrequencyLimited', 'errorMessage' => 'The frequency of SendComment for this user is limited.', 'description' => '用户发送弹幕消息频率过快,请稍后再试。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"CommentVO\\": {\\n \\"CommentId\\": \\"09***f8\\",\\n \\"SenderId\\": \\"62**59\\",\\n \\"SenderNick\\": \\"Tom\\",\\n \\"CreateAt\\": 1628438400000,\\n \\"Content\\": \\"Hello,World\\",\\n \\"Extension\\": {\\n \\"key\\": \\"value\\"\\n }\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n \\n 09***f8\\n 62**59\\n Tom\\n 1628438400000\\n Hello,World\\n \\n value\\n \\n \\n \\n","errorExample":""}]',
'title' => '发送弹幕消息',
'changeSet' => [
['createdAt' => '2021-08-11T08:00:58.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2021-08-11T08:00:58.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendComment'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:SendComment',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'SendCustomMessageToAll' => [
'summary' => '调用SendCustomMessageToAll向房间中全部在线成员发送自定义消息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识,由调用CreateRoom返回。', 'description' => '房间的唯一标识,在调用CreateRoom时返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35-****-T95F'],
],
[
'name' => 'Body',
'in' => 'formData',
'schema' => ['title' => '消息体内容。', 'description' => '自定义消息体的内容,大小不超过2048个字节。', 'type' => 'string', 'required' => true, 'example' => 'Hello, World'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => 'API请求的返回结果结构体。',
'description' => '调用发送自定义消息的返回结果。',
'type' => 'object',
'properties' => [
'MessageId' => ['title' => '消息的唯一ID标识。由数字、大小写字母组成,长度不超过20。', 'description' => '自定义消息的唯一ID标识。由数字、大小写字母组成,最大长度20个字符。', 'type' => 'string', 'example' => '0io**Fs6Q384'],
],
'example' => '0io**Fs6Q384',
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"MessageId\\": \\"0io**Fs6Q384\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n 0io**Fs6Q384\\n \\n","errorExample":""}]',
'title' => '发送自定义消息',
'changeSet' => [
['createdAt' => '2021-08-04T08:35:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendCustomMessageToAll'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:SendCustomMessageToAll',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'SendCustomMessageToUsers' => [
'summary' => '调用SendCustomMessageToUsers向房间中的指定成员发送自定义消息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识,由调用CreateRoom返回。', 'description' => '房间的唯一标识,在调用CreateRoom时返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35-****-T95F'],
],
[
'name' => 'Body',
'in' => 'formData',
'schema' => ['title' => '消息体内容。', 'description' => '自定义消息体的内容,大小不超过2048个字节。', 'type' => 'string', 'required' => true, 'example' => 'Hello, World'],
],
[
'name' => 'ReceiverList',
'in' => 'formData',
'style' => 'flat',
'schema' => [
'title' => '消息指定的接收人ID列表。',
'description' => '自定义消息的接收人用户ID列表,最大长度不超过100。',
'type' => 'array',
'items' => ['description' => '自定义消息的接收人用户ID列表。最多可输入100个用户ID。', 'type' => 'string', 'required' => true, 'example' => '["34**29"]'],
'required' => true,
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
'Result' => [
'title' => 'API请求的返回结果结构体。',
'description' => '调用指定房间成员发送自定义消息的返回结果。',
'type' => 'object',
'properties' => [
'MessageId' => ['title' => '消息的唯一ID标识。由数字、大小写字母组成,长度不超过20。', 'description' => '自定义消息的唯一ID标识。由数字、大小写字母组成,最大长度20个字符。', 'type' => 'string', 'example' => '0io**Fs6Q384'],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\",\\n \\"Result\\": {\\n \\"MessageId\\": \\"0io**Fs6Q384\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n \\n 0io**Fs6Q384\\n \\n","errorExample":""}]',
'title' => '指定房间成员发送自定义消息',
'changeSet' => [
['createdAt' => '2021-08-04T08:35:38.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendCustomMessageToUsers'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:SendCustomMessageToUsers',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'SetUserAdmin' => [
'summary' => '调用SetUserAdmin接口,设置房间内某特定用户为管理员。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,由6位小写字母、数字组成。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识,由字母、数字、符号.和-组成,最大长度36位。', 'description' => '房间的唯一标识,在调用CreateRoom时返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '用户ID', 'description' => '被设置为管理员的用户ID。', 'type' => 'string', 'required' => true, 'example' => 'er****h'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'Forbidden.Room.AdminNumberOverLimit', 'errorMessage' => 'Room admin number exceeds limit.', 'description' => '房间管理员数量超过上限。'],
['errorCode' => 'Forbidden.Room.OwnerCannotBeAdmin', 'errorMessage' => 'Room owner cannot be admin.', 'description' => '房主不能成为管理员。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '设置用户管理员',
'description' => '房主不能被操作。单房间管理员数量上限5人。管理员拥有踢人、禁言/取消禁言、修改房间信息的权限。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetUserAdmin'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:SetUserAdmin',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'StopClass' => [
'summary' => '调用StopClass执行结束课程动作,会修改课程状态为已下课。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'ClassId',
'in' => 'formData',
'schema' => ['title' => '课堂唯一标识。', 'description' => '课程唯一标识。', 'type' => 'string', 'required' => true, 'example' => 'A55-****-Y34O'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '操作者用户ID。', 'description' => '操作者用户ID,仅支持英文和数字,最大长度36个字符。', 'type' => 'string', 'required' => false, 'example' => 'as****hs'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '结束课程',
'changeSet' => [
['createdAt' => '2021-09-26T13:08:30.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopClass'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:StopClass',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'StopLive' => [
'summary' => '停止指定直播,直播状态改变为直播结束。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '租户名', 'description' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间ID,最大长度36位', 'description' => '房间ID,支持英文和数字,最大长度36个字符。', 'type' => 'string', 'required' => true, 'example' => 'AE35-****-T95F'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '创建直播用户ID', 'description' => '创建直播的UserId,在AppId下单独唯一。小写英文、数字、下划线(_)和小数点(.)组成,最大长度32个字符。', 'type' => 'string', 'required' => true, 'example' => 'as****hs'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播资源的唯一标识ID', 'description' => '直播资源的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidLiveId.Live.NotFound', 'errorMessage' => 'The live broadcast does not exist.', 'description' => '直播不存在。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n ","errorExample":""}]',
'title' => '停止直播',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopLive'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:StopLive',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'StopLiveRoom' => [
'summary' => '调用StopLiveRoom停止指定直播,直播状态改变为直播结束。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播ID。', 'description' => '直播的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '操作人ID。', 'description' => '操作人ID,仅支持英文和数字,最大长度36位。', 'type' => 'string', 'required' => false, 'example' => 'as****hs'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'Forbidden.Live.PermissionDenied', 'errorMessage' => 'The permission is denied.', 'description' => '该操作不被允许,请稍后重试。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '停止直播',
'changeSet' => [
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => 'OpenAPI 下线'],
['createdAt' => '2021-09-26T03:45:26.000Z', 'description' => '错误码发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopLiveRoom'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:StopLiveRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'UpdateClass' => [
'summary' => '调用UpdateClass更新课程。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'ClassId',
'in' => 'formData',
'schema' => ['title' => '课堂唯一标识。', 'description' => '课程唯一标识。', 'type' => 'string', 'required' => true, 'example' => 'A55-****-Y34O'],
],
[
'name' => 'Title',
'in' => 'formData',
'schema' => ['title' => '课堂标题,1~32个字符。', 'description' => '课程标题,支持中英文,最大长度32个字符。', 'type' => 'string', 'required' => false, 'example' => 'ClassTitle001'],
],
[
'name' => 'CreateUserId',
'in' => 'formData',
'schema' => ['title' => '创建人用户ID,仅支持中英文数字,下划线,中划线,1~36个字符。', 'description' => '创建人用户ID,仅支持英文和数字,最大长度36个字符。', 'type' => 'string', 'required' => false, 'example' => 'as****hs'],
],
[
'name' => 'CreateNickname',
'in' => 'formData',
'schema' => ['title' => '创建人用户昵称,1~32个字符。', 'description' => '创建人用户昵称,支持中英文,最大长度32个字符。', 'type' => 'string', 'required' => false, 'example' => 'nickname001'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '更新课程',
'changeSet' => [
['createdAt' => '2021-09-28T06:01:25.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateClass'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:UpdateClass',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'UpdateLive' => [
'summary' => '更新指定直播相关信息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播资源的唯一标识ID', 'description' => '直播资源的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
[
'name' => 'Title',
'in' => 'formData',
'schema' => ['title' => '直播标题,支持中英文,最大长度256位', 'description' => '直播标题,支持中英文,最大长度256个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is a title.'],
],
[
'name' => 'Introduction',
'in' => 'formData',
'schema' => ['title' => '直播简介,支持中英文,最大长度2048位', 'description' => '直播简介,支持中英文,最大长度2048个字符。', 'type' => 'string', 'required' => false, 'example' => 'This is an introduction.'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => '请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidLiveId.Live.NotFound', 'errorMessage' => 'The live broadcast does not exist.', 'description' => '直播不存在。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n ","errorExample":""}]',
'title' => '更新直播信息',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLive'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:UpdateLive',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'UpdateLiveRoom' => [
'summary' => '调用UpdateLiveRoom更新指定直播相关信息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '用户的应用ID,在控制台创建应用时生成。包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'Title',
'in' => 'formData',
'schema' => ['title' => '标题,支持中英文,最大长度32位。', 'description' => '直播标题,支持中英文,最大长度32位。', 'type' => 'string', 'required' => false, 'example' => 'Title001'],
],
[
'name' => 'Notice',
'in' => 'formData',
'schema' => ['title' => '公告,支持中英文,最大长度256位。', 'description' => '直播公告,支持中英文,最大长度256位。', 'type' => 'string', 'required' => false, 'example' => 'Notice001'],
],
[
'name' => 'CoverUrl',
'in' => 'formData',
'schema' => ['title' => '封面,支持图片地址链接格式', 'description' => '直播封面,支持图片地址链接格式,最大长度256位。', 'type' => 'string', 'required' => false, 'example' => 'http://***.png'],
],
[
'name' => 'Extension',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '拓展字段,按需传递,需要额外记录的房间属性。',
'description' => '拓展字段,按需传递,需要额外记录的房间属性。',
'type' => 'object',
'required' => false,
'additionalProperties' => ['type' => 'string', 'required' => false, 'example' => 'test001', 'description' => ''],
'example' => 'AE35****T95F',
],
],
[
'name' => 'AnchorId',
'in' => 'formData',
'schema' => ['title' => '主播id,仅支持英文和数字,最大长度36位。', 'description' => '主播ID,仅支持英文和数字,最大长度36位。', 'type' => 'string', 'required' => false, 'example' => 'as****hs'],
],
[
'name' => 'AnchorNick',
'in' => 'formData',
'schema' => ['title' => '主播昵称。', 'description' => '主播昵称,支持中英文,最大长度32位。', 'type' => 'string', 'required' => false, 'example' => 'User001'],
],
[
'name' => 'UserId',
'in' => 'formData',
'schema' => ['title' => '操作人ID。', 'description' => '操作人ID,仅支持英文和数字,最大长度36位。', 'type' => 'string', 'required' => false, 'example' => 'user001'],
],
[
'name' => 'LiveId',
'in' => 'formData',
'schema' => ['title' => '直播ID。', 'description' => '直播的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'b7f2****ebb3'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '更新直播信息',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLiveRoom'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:UpdateLiveRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'UpdateRoom' => [
'summary' => '调用UpdateRoom更新房间所有可修改信息。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,可以包含小写字母、数字,长度为6个字符。', 'type' => 'string', 'required' => true, 'example' => '7m***q'],
],
[
'name' => 'RoomId',
'in' => 'formData',
'schema' => ['title' => '房间唯一标识。', 'description' => '房间ID,可以包含英文字母、数字、下划线(_)和小数点(.),最大长度36个字符。', 'type' => 'string', 'required' => true, 'example' => 'AE35-****-T95F'],
],
[
'name' => 'Title',
'in' => 'formData',
'schema' => ['title' => '房间标题,支持中英文,最大长度32位。', 'description' => '房间标题,支持中英文,最大长度32个字符。', 'type' => 'string', 'required' => false, 'example' => 'RoomTitle001'],
],
[
'name' => 'Notice',
'in' => 'formData',
'schema' => ['title' => '房间公告,支持中英文,最大长度256位。', 'description' => '房间公告,支持中英文,最大长度256个字符。', 'type' => 'string', 'required' => false, 'example' => 'RoomNotice001'],
],
[
'name' => 'RoomOwnerId',
'in' => 'formData',
'schema' => ['title' => '房主用户id,仅支持英文和数字,最大长度36位。', 'description' => '房主ID,仅支持英文和数字,最大长度36个字符。', 'type' => 'string', 'required' => false, 'example' => 'as****hs'],
],
[
'name' => 'Extension',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '拓展字段,按需传递,需要额外记录的房间属性。',
'description' => '拓展字段,按需传递,需要额外记录的房间属性。',
'type' => 'object',
'required' => false,
'additionalProperties' => ['type' => 'string', 'required' => false, 'example' => 'test001', 'description' => ''],
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidRoomId.Room.NotExist', 'errorMessage' => 'Room does not exist.', 'description' => '房间不存在,请检查。'],
['errorCode' => 'Forbidden.Room.Deleted', 'errorMessage' => 'Room has been deleted.', 'description' => '房间已被删除。'],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '更新房间信息',
'changeSet' => [
['createdAt' => '2021-07-08T11:46:27.000Z', 'description' => '请求参数发生变更'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRoom'],
],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:UpdateRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'UpdateShareScreenLayout' => [
'summary' => '调用UpdateShareScreenLayout更新共享屏幕布局。可用于课堂场景,直播画面中共享屏幕画面叠加老师摄像头画面。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'AppId',
'in' => 'formData',
'schema' => ['title' => '应用唯一标识,由6位小写字母、数字组成。', 'description' => '应用唯一标识,由6位小写字母、数字组成。', 'type' => 'string', 'required' => true, 'example' => 'lq****cu'],
],
[
'name' => 'ClassId',
'in' => 'formData',
'schema' => ['title' => '课堂唯一标识,由调用CreateClass返回。', 'description' => '课堂唯一标识,由调用CreateClass返回。', 'type' => 'string', 'required' => true, 'example' => 'AE35****T95F'],
],
[
'name' => 'EnableOverlay',
'in' => 'formData',
'schema' => ['title' => '是否开启叠加老师画面', 'description' => '是否开启叠加老师画面', 'type' => 'boolean', 'required' => true, 'example' => 'true'],
],
[
'name' => 'OverlayX',
'in' => 'formData',
'schema' => ['title' => '叠加画面X坐标,归一化为1', 'description' => '叠加画面X坐标,起点为左上角,归一化为1', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.7576'],
],
[
'name' => 'OverlayY',
'in' => 'formData',
'schema' => ['title' => '叠加画面Y坐标,归一化为1', 'description' => '叠加画面Y坐标,起点为左上角,归一化为1', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.7576'],
],
[
'name' => 'OverlayWidth',
'in' => 'formData',
'schema' => ['title' => '叠加画面宽度,归一化为1', 'description' => '叠加画面宽度,归一化为1', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.2361'],
],
[
'name' => 'OverlayHeight',
'in' => 'formData',
'schema' => ['title' => '叠加画面高度,归一化为1', 'description' => '叠加画面高度,归一化为1', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0.2361'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FE22D613-D3C6-4A58-87CA-F21FC85AA08E'],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n FE22D613-D3C6-4A58-87CA-F21FC85AA08E\\n","errorExample":""}]',
'title' => '更新共享屏幕布局',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateShareScreenLayout'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'imp:UpdateShareScreenLayout',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
],
'endpoints' => [
['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'imp.aliyuncs.com', 'endpoint' => 'imp.aliyuncs.com', 'vpc' => ''],
],
'errorCodes' => [
['code' => 'BusinessExist', 'message' => 'Business exist, do not repeated submission.', 'http_code' => 400, 'description' => '请勿重复提交请求。'],
['code' => 'EntityNotExist.Role', 'message' => 'The role for imp does not exist.', 'http_code' => 403, 'description' => '无SLR角色。'],
['code' => 'Forbidden.App.Delete', 'message' => 'App is running and cannot be deleted.', 'http_code' => 403, 'description' => '应用还在运行中,无法删除。'],
['code' => 'Forbidden.AppTemplate.Delete', 'message' => 'AppTemplate is attached and cannot be deleted.', 'http_code' => 403, 'description' => '应用模板已被绑定,不允许被删除。'],
['code' => 'Forbidden.Chat.HasBeenBanned', 'message' => 'The user is banned from posting a comment.', 'http_code' => 400, 'description' => '您已被管理员禁言。'],
['code' => 'Forbidden.Chat.NoPermissionToOperate', 'message' => 'The user has no permission to operate.', 'http_code' => 400, 'description' => '您没有权限进行此项操作。'],
['code' => 'Forbidden.Chat.SendCommentFrequencyLimited', 'message' => 'The frequency of SendComment for this user is limited.', 'http_code' => 400, 'description' => '用户发送弹幕消息频率过快,请稍后再试。'],
['code' => 'Forbidden.Class.PermissionDenied', 'message' => 'The operation is denied. Please check it again.', 'http_code' => 400, 'description' => '用户无权进行此操作,请检查后重试。'],
['code' => 'Forbidden.CreateApp.ExceedLimit', 'message' => 'The account has exceeded created app count.', 'http_code' => 403, 'description' => '该账户创建的应用已经超过上限。'],
['code' => 'Forbidden.Live.CdnDomainOwnerVerifyFailed', 'message' => 'Owner verification of the live playback CDN domain failed.', 'http_code' => 403, 'description' => '域名所有者校验失败。'],
['code' => 'Forbidden.Live.DomainMapping', 'message' => 'Push and pull domain does not match.', 'http_code' => 403, 'description' => '推流和拉流地址映射错误。'],
['code' => 'Forbidden.Live.DomainNotRegistration', 'message' => 'The domain name is not registered.', 'http_code' => 403, 'description' => '域名未备案。'],
['code' => 'Forbidden.Live.DomainOverLimit', 'message' => 'The maximum number of domains is exceeded.', 'http_code' => 403, 'description' => '视频直播服务添加域名的个数超出限制。'],
['code' => 'Forbidden.Live.DomainOwnerVerifyFailed', 'message' => 'Owner verification of the root domain failed.', 'http_code' => 403, 'description' => '直播域名Owner验证失败。'],
['code' => 'Forbidden.Live.IllegalOperation', 'message' => 'This operation is illegal, please ensure that the live domain belongs to you.', 'http_code' => 403, 'description' => '操作权限不足,请检查该直播域名是否归属当前账号。'],
['code' => 'Forbidden.Live.PermissionDenied', 'message' => 'The permission is denied.', 'http_code' => 403, 'description' => '该操作不被允许,请稍后重试。'],
['code' => 'Forbidden.PermissionDenied', 'message' => 'User has no permission to operate.', 'http_code' => 400, 'description' => '用户无权进行此操作。'],
['code' => 'Forbidden.Resource.ExceedLimit', 'message' => 'The resource has exceeded limit.', 'http_code' => 400, 'description' => '资源不足,创建失败。'],
['code' => 'Forbidden.Room.%sNotOpen', 'message' => 'The %s service has not been activated. Please check again.', 'http_code' => 400, 'description' => '服务尚未开通,请检查后重试。'],
['code' => 'Forbidden.Room.%sNumberExceed', 'message' => 'The maximum number of active %s instance is exceeded.', 'http_code' => 400, 'description' => '活跃插件实例超出上限。'],
['code' => 'Forbidden.Room.AdminNumberOverLimit', 'message' => 'Room admin number exceeds limit.', 'http_code' => 400, 'description' => '房间管理员数量超过上限。'],
['code' => 'Forbidden.Room.Deleted', 'message' => 'Room has been deleted.', 'http_code' => 400, 'description' => '房间已被删除。'],
['code' => 'Forbidden.Room.InvalidPageNumber', 'message' => 'PageNumber is invalid.', 'http_code' => 400, 'description' => 'PageNumber非法。'],
['code' => 'Forbidden.Room.InvalidPageSize', 'message' => 'PageSize exceeds maximum limit.', 'http_code' => 400, 'description' => 'PageSize过大,超出限制。'],
['code' => 'Forbidden.Room.LiveAlreadyExist', 'message' => 'The live instance already exists.', 'http_code' => 400, 'description' => '直播实例已存在。'],
['code' => 'Forbidden.Room.OwnerCannotBeAdmin', 'message' => 'Room owner cannot be admin.', 'http_code' => 400, 'description' => '房主不能成为管理员。'],
['code' => 'Forbidden.Rtc.ApplyOverLimit', 'message' => 'The maximum number of users requesting to enable mic is exceeded.', 'http_code' => 400, 'description' => '申请连麦人数已经超过人数限制。'],
['code' => 'Forbidden.Rtc.UserNoPermission', 'message' => 'The user is not authorized to operate on the specified resource.', 'http_code' => 403, 'description' => '非创建者无法执行该操作。'],
['code' => 'Forbidden.Scene.LiveStillStreaming', 'message' => 'Live is still streaming and cannot be deleted.', 'http_code' => 400, 'description' => '直播进行中,无法被删除。'],
['code' => 'Forbidden.SensitiveWordCount.ExceedLimit', 'message' => 'The total count of sensitive word exceeds the limit.', 'http_code' => 400, 'description' => '当前应用下可添加的敏感词数量已经达到上限。'],
['code' => 'Forbidden.Url', 'message' => 'The specified Url is invalid.', 'http_code' => 403, 'description' => 'url有风险,此次请求拒绝。'],
['code' => 'Illegal.CloudAccount', 'message' => 'The cloud account is not authorized to perform this operation.', 'http_code' => 403, 'description' => '云账号权限不足。'],
['code' => 'Illegal.CreateSLRPermission', 'message' => 'The cloud account is not authorized to create SLR.', 'http_code' => 403, 'description' => '创建SLR时无权限,一般存在于子账号无RAM权限时。'],
['code' => 'Illegal.RamPermission', 'message' => 'The cloud account is not authorized to operate on the specified resource.', 'http_code' => 403, 'description' => '云账号RAM鉴权失败。'],
['code' => 'IllegalState.Rtc.ConferenceClosed', 'message' => 'The conference has ended.', 'http_code' => 400, 'description' => '会议已经结束。'],
['code' => 'IMPService.NotFound', 'message' => 'Your account has not opened IMP service yet.', 'http_code' => 403, 'description' => '此账务未开通IMP服务。'],
['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => '内部错误,建议重试,如果多次重试报错请提交工单。'],
['code' => 'InternalError.StandardRoom.DeleteStandardRoomError', 'message' => 'Failed to delete the standard room.', 'http_code' => 500, 'description' => '样板间删除失败。'],
['code' => 'InternalError.StandardRoom.DeployStandardRoomError', 'message' => 'Failed to deploy the standard room.', 'http_code' => 500, 'description' => '样板间部署失败。'],
['code' => 'InternalError.StandardRoom.SetStandardRoomHttpsListenerError', 'message' => 'Failed to set httpsListener for the standard room.', 'http_code' => 500, 'description' => '样板间的HTTPS监听设置失败。'],
['code' => 'Invalid.Live.AuditCallbackUrl', 'message' => 'The live audit callback URL is invalid.', 'http_code' => 400, 'description' => '无效审核回调配置。'],
['code' => 'Invalid.Live.AuditOssUrl', 'message' => 'The live audit OSS URL is invalid.', 'http_code' => 400, 'description' => '无效审核oss链接。'],
['code' => 'Invalid.Live.BucketNotFound', 'message' => 'The bucket does not belong to you.', 'http_code' => 400, 'description' => 'oss的bucekt不归属于你,请更换oss的bucekt。'],
['code' => 'Invalid.Live.CdnDomainName', 'message' => 'The live playback CDN domain name is invalid.', 'http_code' => 400, 'description' => 'cdn配置错误,无效域名。'],
['code' => 'Invalid.Live.ConfigNotFound', 'message' => 'The live push domain and pull domain config not found.', 'http_code' => 400, 'description' => '直播的推拉流未配置,请登录控制台应用配置页面完成配置。'],
['code' => 'Invalid.Live.DomainNotFound', 'message' => 'Push or pull domain name is not found.', 'http_code' => 400, 'description' => '推流或者播流域名没有找到,请更换域名,可以检查推流和播流域名是否被其他账号使用在低代码音视频工厂或者视频直播控制台。'],
['code' => 'Invalid.Live.PlaybackDomainBeenOccupied', 'message' => 'Playback domain has bean occupied by other app or user, please use other domain.', 'http_code' => 400, 'description' => '回看域名已经被使用于其他的应用或者账户,请更换域名。'],
['code' => 'Invalid.Live.PlaybackOssUrl', 'message' => 'The live playback OSS URL is invalid.', 'http_code' => 400, 'description' => '无效oss地址。'],
['code' => 'Invalid.Live.PullDomainBeenOccupied', 'message' => 'Pull domain has bean occupied by other app or user, please use other domain.', 'http_code' => 400, 'description' => '一个播流域名只能用于一个应用,播流域名已经被其他应用或者账户使用,请更换播流域名。'],
['code' => 'Invalid.Live.PullOrPushDomainBeenOccupied', 'message' => 'Pull domain or push domain has bean occupied by other app or user, please use other domains.', 'http_code' => 400, 'description' => '推流或者播流域名已被其他应用或者账户使用,请更换域名。'],
['code' => 'Invalid.Live.PushDomainBeenOccupied', 'message' => 'Push domain has bean occupied by other app or user, please use other domain.', 'http_code' => 400, 'description' => '一个推流域名只能用于一个应用,该推流域名已经被其他应用或者账户使用,请更换推流域名。'],
['code' => 'Invalid.Live.RecordContentExceed', 'message' => 'The record content between StartTime and EndTime is exceeded, please narrow down the range.', 'http_code' => 400, 'description' => '超出最大的录制片段文件的时间范围,请缩小开始时间和结束时间之间的范围。'],
['code' => 'Invalid.Live.RecordContentTooShort', 'message' => 'The record time between StartTime and EndTime is too short, please enlarger the range.', 'http_code' => 400, 'description' => '开始时间和结束时间的间隔太短,请扩大时间范围。'],
['code' => 'Invalid.Live.RecordEndTimeMismatch', 'message' => 'Specified end time does not math the specified start time.', 'http_code' => 400, 'description' => '开始时间和结束时间不匹配。'],
['code' => 'Invalid.Live.RecordInvalidBucket', 'message' => 'The oss bucket is invalid.', 'http_code' => 400, 'description' => 'oss的bucket配置无效。'],
['code' => 'Invalid.Live.RecordLiveNotFound', 'message' => 'The live is not found.', 'http_code' => 400, 'description' => '直播记录不存在,请检查输入的直播id是否有效。'],
['code' => 'Invalid.Live.RecordLiveStreamNotFound', 'message' => 'The live stream info is not found.', 'http_code' => 400, 'description' => '该直播没有有效的推流信息。'],
['code' => 'Invalid.Live.RecordNoContent', 'message' => 'The record has no content, please check the live record toggle.', 'http_code' => 400, 'description' => '没有回放的内容,请检查是否开启了录制开关生成了有效的录制文件。'],
['code' => 'Invalid.Live.RecordPlaybackDomainNotFound', 'message' => 'The record playback domain is not found, please open the liveRecordToggle in imp console and config playback domain.', 'http_code' => 400, 'description' => '未找到回看域名,请检查是否打开了录制转回看的开关,已经配置了回看域名。'],
['code' => 'Invalid.Live.StatusNotMatch', 'message' => 'The live status not match.', 'http_code' => 400, 'description' => '直播状态不匹配,只有未开始的直播才能发布,已经结束或者删除的直播不能再次发布。'],
['code' => 'Invalid.Live.StreamsCallbackUrl', 'message' => 'The live streams callback URL is invalid.', 'http_code' => 400, 'description' => '流回调地址配置错误。'],
['code' => 'Invalid.Live.WrongRecordOssConfig', 'message' => 'Specified oss config is wrong.', 'http_code' => 400, 'description' => '指定的oss配置有误,请检查oss配置。'],
['code' => 'Invalid.Scene.ClassNotExist', 'message' => 'Class does not exist. Please check it again.', 'http_code' => 400, 'description' => '课程不存在或已删除。'],
['code' => 'Invalid.Scene.LiveNotExist', 'message' => 'The live record does not exist. Please check again.', 'http_code' => 400, 'description' => '直播记录不存在,请检查后重试。'],
['code' => 'Invalid.SSLPri', 'message' => 'The SSLPri you provided is malformed.', 'http_code' => 400, 'description' => '请求参数私钥格式错误。'],
['code' => 'Invalid.SSLPub', 'message' => 'The SSLPub you provided is malformed.', 'http_code' => 400, 'description' => '请求参数证书格式错误。'],
['code' => 'InvalidAccountType.PartnerNotSupport', 'message' => 'The specified AccountType is not supported.', 'http_code' => 400, 'description' => '目前不支持partner类型账号调用。'],
['code' => 'InvalidAppId.Error', 'message' => 'The specified AppId is invalid.', 'http_code' => 400, 'description' => 'AppId错误或已停用,请检查应用启用状态。'],
['code' => 'InvalidAppId.NotFound', 'message' => 'The specified AppId does not exist.', 'http_code' => 404, 'description' => 'AppId不存在。'],
['code' => 'InvalidAppId.Rtc.DataNotExist', 'message' => 'The specified parameter appId does not exist in our records.', 'http_code' => 400, 'description' => '传入AppId无效。'],
['code' => 'InvalidAppId.StandardRoom.CnameNotConfig', 'message' => 'The low-code integration service does not have a CNAME configured.', 'http_code' => 400, 'description' => '低代码集成服务没有配置CNAME。'],
['code' => 'InvalidAppId.StandardRoom.StandardRoomNotFound', 'message' => 'The specified parameter appId does not exist in our standard room records.', 'http_code' => 400, 'description' => '该样板间不存在。'],
['code' => 'InvalidAppTemplateId.App.NotFound', 'message' => 'The specified AppTemplateId does not exist.', 'http_code' => 404, 'description' => 'AppTemplateId不存在。'],
['code' => 'InvalidCallerType.NotSupport', 'message' => 'The specified CallerType is not supported.', 'http_code' => 400, 'description' => '不支持的调用类型。'],
['code' => 'InvalidCommonParam.Error', 'message' => 'The parameter is invalid.', 'http_code' => 400, 'description' => '公共入参解析校验失败。'],
['code' => 'InvalidConferenceId.Rtc.DataNotExist', 'message' => 'The specified parameter conferenceId does not exist in our records.', 'http_code' => 400, 'description' => '传入ConferenceId无效。'],
['code' => 'InvalidDomain.StandardRoom.DomainNotMatch', 'message' => 'The specified parameter domain does not match the domain bound to the certificate.', 'http_code' => 400, 'description' => '传入域名与证书绑定的域名不一致。'],
['code' => 'InvalidFormat.StandardRoom.CertificateNotFormatted', 'message' => 'The specified parameter ServerCertificate is incorrectly formatted.', 'http_code' => 400, 'description' => '上传的证书格式不正确。'],
['code' => 'InvalidLiveId.Live.NotFound', 'message' => 'The live broadcast does not exist.', 'http_code' => 400, 'description' => '直播不存在。'],
['code' => 'InvalidParam.%s', 'message' => 'The specified %s is invalid. Please check it again.', 'http_code' => 400, 'description' => '参数错误,请检查后重试。'],
['code' => 'InvalidParameter.StandardRoom.AppKeyNotMatch', 'message' => 'The parameter AppId and the parameter AppKey do not match.', 'http_code' => 400, 'description' => '传入参数AppId和AppKey不匹配。'],
['code' => 'InvalidParameter.StandardRoom.BatchQueryAllNotFound', 'message' => 'Batch query found no standard room.', 'http_code' => 400, 'description' => '批量查询的所有样板间都不存在。'],
['code' => 'InvalidParameter.StandardRoom.DomainNameAlreadyConfig', 'message' => 'The domain name has already been configured.', 'http_code' => 400, 'description' => '该域名已经被配置其他应用。'],
['code' => 'InvalidParameter.StandardRoom.InvalidICPLicense', 'message' => 'Specified Domain has not got ICP license, or the ICP license does not belong to Aliyun.', 'http_code' => 400, 'description' => '此域名未获得ICP许可,或该ICP许可不属于阿里云。'],
['code' => 'InvalidParameter.StandardRoom.LowCodeDomainNotConfig', 'message' => 'This app is not configured with a low-code domain name.', 'http_code' => 400, 'description' => '该应用没有配置低代码域名。'],
['code' => 'InvalidQuerySize.StandardRoom.BatchQuerySizeExceeded', 'message' => 'The batch query size is exceeded.', 'http_code' => 400, 'description' => '批量查询的数量超出限制。'],
['code' => 'InvalidRam.Param', 'message' => 'The parameter is invalid.', 'http_code' => 400, 'description' => '用于RAM鉴权的参数错误。'],
['code' => 'InvalidRoomId.Room.AlreadyExist', 'message' => 'Room is already exist.', 'http_code' => 400, 'description' => '房间已存在。'],
['code' => 'InvalidRoomId.Room.NotExist', 'message' => 'Room does not exist.', 'http_code' => 400, 'description' => '房间不存在,请检查。'],
['code' => 'InvalidStatus.StandardRoom.StatusNotMatch', 'message' => 'The standard room status is inconsistent with the expected status.', 'http_code' => 400, 'description' => '样板间当前状态与本操作的期望状态不一致。'],
['code' => 'InvalidTemplate.Rtc.DataNotExist', 'message' => 'The recording function is not enabled in the application.', 'http_code' => 400, 'description' => 'App未开启录制功能。'],
['code' => 'Meter.AuthError', 'message' => 'Authentication Failed,Please Try Again.', 'http_code' => 403, 'description' => '鉴权失败,用户无权限执行该操作。'],
['code' => 'Meter.DataSourceQueryError', 'message' => 'Data Source Error:%s,Please Try Again.', 'http_code' => 500, 'description' => '数据源异常,建议重试。'],
['code' => 'Meter.ParamError', 'message' => 'Param Error:%s,Please Check Again.', 'http_code' => 400, 'description' => '参数错误,请参照接口文档修改后重试。'],
['code' => 'Meter.ReadyTsError', 'message' => 'Get ReadyTs Failed,Please Try Again.', 'http_code' => 502, 'description' => '获取数据准备时间异常,建议重试。'],
['code' => 'Meter.ServerInternalError', 'message' => 'The Request Processing Has Failed Due To Some Unknown Error.', 'http_code' => 500, 'description' => '内部错误,建议重试。'],
['code' => 'MissMatch.Certificate', 'message' => 'The certificate is not match the private key.', 'http_code' => 400, 'description' => '证书与私钥不匹配。'],
['code' => 'SensitiveContent.%s', 'message' => 'The specified %s contains sensitive contents. Please check.', 'http_code' => 400, 'description' => '输入信息含有敏感内容,请检查。'],
['code' => 'Unmatched.App.AppTemplateId', 'message' => 'The specified AppTemplateId does not match the template that is attached to the app.', 'http_code' => 400, 'description' => 'AppTemplateId与应用所绑定的模板不匹配。'],
],
'changeSet' => [
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'ListLiveRooms'],
],
'createdAt' => '2022-10-17T02:12:12.000Z',
'description' => '增加直播的时间信息。',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'GetStandardRoomJumpUrl'],
],
'createdAt' => '2022-10-17T02:12:11.000Z',
'description' => '新增AppId与AppKey不匹配和低代码域名服务未配置CNAME的错误码。',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'CreateLive'],
],
'createdAt' => '2022-08-10T03:10:40.000Z',
'description' => '增加错误码。',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'DeleteLiveFilesById'],
['description' => 'OpenAPI 下线', 'api' => 'ListLiveFiles'],
],
'createdAt' => '2022-08-09T15:18:06.000Z',
'description' => '新增直播录制文件获取和删除接口',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateLiveRecordSliceFile'],
],
'createdAt' => '2022-07-19T02:42:48.000Z',
'description' => '优化描述',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'CreateClass'],
],
'createdAt' => '2022-07-15T03:18:29.000Z',
'description' => '增加错误码。',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'ListLiveRoomsById'],
],
'createdAt' => '2022-07-14T09:55:42.000Z',
'description' => '增加时间参数',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'DeleteCommentByCreatorId'],
['description' => '请求参数发生变更', 'api' => 'ListComments'],
],
'createdAt' => '2022-07-12T15:45:58.000Z',
'description' => '新增按照创建者查询和删除弹幕接口',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'CreateLiveRecordSliceFile'],
],
'createdAt' => '2022-07-05T08:40:06.000Z',
'description' => '新增创建直播录制片段文件的接口。',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'CreateLiveRoom'],
],
'createdAt' => '2022-06-09T06:17:02.000Z',
'description' => '增加一个错误码',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'CreateShelf'],
],
'createdAt' => '2022-05-31T06:09:49.000Z',
'description' => '商品360°展示创建货架房间插件接口发布',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'PublishLiveRoom'],
],
'createdAt' => '2022-05-30T06:05:52.000Z',
'description' => '增加状态不一致的错误码。',
],
[
'apis' => [
['description' => '错误码发生变更、请求参数发生变更、响应参数发生变更', 'api' => 'ListSensitiveWord'],
],
'createdAt' => '2022-05-30T05:57:23.000Z',
'description' => '支持ListSensitiveComment分页查询',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateLiveRoom'],
['description' => '响应参数发生变更', 'api' => 'GetLiveRoom'],
],
'createdAt' => '2022-05-26T03:46:43.000Z',
'description' => '增加直播连麦功能。',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'DeleteProductModel'],
],
'createdAt' => '2022-05-25T11:26:25.000Z',
'description' => '商品360°展示服务删除指定商品接口发布',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'BindProductShelf'],
],
'createdAt' => '2022-05-25T11:06:55.000Z',
'description' => '商品360°展示服务上架指定商品接口发布',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'UnbindProductShelf'],
],
'createdAt' => '2022-05-25T11:05:37.000Z',
'description' => '商品360°展示服务下架指定商品接口发布',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'ListProductShelf'],
],
'createdAt' => '2022-05-25T11:02:07.000Z',
'description' => '商品360°展示服务查询货架信息列表接口上线',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'ListProductModel'],
],
'createdAt' => '2022-05-25T11:00:12.000Z',
'description' => '商品360°展示服务查询商品信息列表接口上线',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'StopLiveRoom'],
],
'createdAt' => '2022-05-24T09:44:11.000Z',
'description' => '增加错误码',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'UpdateAppTemplateConfig'],
],
'createdAt' => '2022-05-23T04:52:47.000Z',
'description' => '新增传入证书格式不正确和证书私钥不匹配的错误码。',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'UpdateAppTemplateConfig'],
],
'createdAt' => '2022-05-19T02:31:16.000Z',
'description' => 'updateTemplateConfig新增证书不匹配错误码和未获得ICP许可错误码。',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateAppTemplate'],
],
'createdAt' => '2022-05-13T03:10:35.000Z',
'description' => '修改场景参数为必填',
],
[
'apis' => [
['description' => '错误码发生变更、请求参数发生变更', 'api' => 'CreateSensitiveWord'],
],
'createdAt' => '2022-05-13T03:08:46.000Z',
'description' => '扩大了API的使用限制',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetLiveRoomUserStatistics'],
],
'createdAt' => '2022-04-22T07:17:33.000Z',
'description' => '新增用户维度点赞数和弹幕数',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetRoom'],
],
'createdAt' => '2022-04-21T04:07:13.000Z',
'description' => 'GetRoom返回新增管理员id列表信息',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'BanAllComment'],
['description' => '错误码发生变更', 'api' => 'BanComment'],
['description' => '错误码发生变更', 'api' => 'CancelBanAllComment'],
['description' => '错误码发生变更', 'api' => 'CancelBanComment'],
],
'createdAt' => '2022-04-20T06:14:07.000Z',
'description' => '优化了禁言相关的错误码',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'CreateSensitiveWord'],
['description' => 'OpenAPI 下线', 'api' => 'DeleteSensitiveWord'],
['description' => 'OpenAPI 下线', 'api' => 'ListSensitiveWord'],
],
'createdAt' => '2022-04-19T03:32:36.000Z',
'description' => '新增创建敏感词、删除敏感词、查询敏感词三个OpenAPI接口。',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateLiveRoom'],
],
'createdAt' => '2022-04-11T03:35:24.000Z',
'description' => '增加extension限制描述',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'GetDomainCertificateInfo'],
['description' => '请求参数发生变更', 'api' => 'ListApps'],
['description' => 'OpenAPI 下线', 'api' => 'SetDomainCertificate'],
],
'createdAt' => '2022-03-30T09:08:50.000Z',
'description' => '新增https证书操作的API',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'KickRoomUser'],
],
'createdAt' => '2022-03-23T02:11:57.000Z',
'description' => '新增房间踢人接口KickRoomUser',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'GetPageConfig'],
['description' => '响应参数发生变更', 'api' => 'GetUserInfo'],
],
'createdAt' => '2022-03-17T09:11:41.000Z',
'description' => '增加应用创建限制新增页面配置接口',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'CreateApp'],
],
'createdAt' => '2022-03-17T08:48:30.000Z',
'description' => '增加错误码',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetAuthToken'],
],
'createdAt' => '2022-02-23T07:29:37.000Z',
'description' => 'GetAuthToken描述优化',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetUserInfo'],
],
'createdAt' => '2022-02-18T03:00:34.000Z',
'description' => '增加欠费信息字段',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetAppTemplate'],
],
'createdAt' => '2022-01-21T06:06:56.000Z',
'description' => '增加apps字段',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'GetCnameDetail'],
['description' => 'OpenAPI 下线', 'api' => 'GetUserInfo'],
],
'createdAt' => '2022-01-21T06:04:59.000Z',
'description' => '新增getUserInfo和getCnameDetail接口',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetLiveRoom'],
],
'createdAt' => '2022-01-10T12:49:34.000Z',
'description' => '获取直播详情接口新增rtmp协议的返回',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'GetClassRecord'],
],
'createdAt' => '2021-12-29T07:27:36.000Z',
'description' => '新增课堂录制接口',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'ListRoomUsers'],
],
'createdAt' => '2021-12-01T09:28:07.000Z',
'description' => '新增ListRoomUsers查询房间用户列表接口。',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'ListClasses'],
],
'createdAt' => '2021-11-18T06:16:26.000Z',
'description' => '新增获取课程列表接口',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'UpdateAppTemplateConfig'],
],
'createdAt' => '2021-11-18T05:36:39.000Z',
'description' => 'UpdateAppTemplateConfig新增配置流程状态返回,支持控制台弹窗提示。',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetLiveRoomStatistics'],
],
'createdAt' => '2021-11-18T05:35:40.000Z',
'description' => '直播数据统计新增点赞数和在线数。',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'SendComment'],
],
'createdAt' => '2021-11-03T13:42:18.000Z',
'description' => 'SendComment接口新增SenderNick字段,支持自定义昵称传入。',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'ListComments'],
],
'createdAt' => '2021-10-25T13:06:54.000Z',
'description' => '新增批量查询弹幕消息接口',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'AttachStandardRoomHttpsCertificate'],
['description' => '错误码发生变更', 'api' => 'DeleteApp'],
['description' => '错误码发生变更', 'api' => 'GetStandardRoomHttpsCertificate'],
['description' => '错误码发生变更', 'api' => 'UpdateApp'],
],
'createdAt' => '2021-10-25T13:05:14.000Z',
'description' => '新增错误码。',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'UpdateAppTemplate'],
],
'createdAt' => '2021-10-25T13:04:54.000Z',
'description' => 'UpdateAppTemplate新增可选入参componentList',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetLive'],
],
'createdAt' => '2021-10-20T13:23:02.000Z',
'description' => 'GetLive接口新增hlsUrl和ArtcInfo出参字段',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'DeleteComment'],
],
'createdAt' => '2021-10-20T13:22:43.000Z',
'description' => '新增消息删除的POP接口',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'CreateClass'],
['description' => '响应参数发生变更', 'api' => 'GetClassDetail'],
],
'createdAt' => '2021-10-20T13:21:31.000Z',
'description' => '创建课程和查询课程详情增加返回字段,包括RoomId,LiveId,ConfId等。',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'CreateClass'],
['description' => 'OpenAPI 下线', 'api' => 'GetClassDetail'],
['description' => 'OpenAPI 下线', 'api' => 'StopClass'],
],
'createdAt' => '2021-09-28T06:40:09.000Z',
'description' => '增加课堂场景化API,支持课堂创建,查询,以及下课动作。',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'DeleteClass'],
['description' => 'OpenAPI 下线', 'api' => 'UpdateClass'],
],
'createdAt' => '2021-09-28T06:39:28.000Z',
'description' => '新增删除课堂和更新课堂接口',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'CreateLiveRoom'],
['description' => 'OpenAPI 下线', 'api' => 'GetLiveRoom'],
['description' => 'OpenAPI 下线', 'api' => 'GetLiveRoomStatistics'],
['description' => 'OpenAPI 下线', 'api' => 'GetLiveRoomUserStatistics'],
['description' => 'OpenAPI 下线', 'api' => 'ListLiveRooms'],
['description' => 'OpenAPI 下线', 'api' => 'StopLiveRoom'],
],
'createdAt' => '2021-09-28T06:38:36.000Z',
'description' => '场景化服务相关接口发布',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'CreateAppTemplate'],
['description' => '响应参数发生变更', 'api' => 'GetApp'],
['description' => '响应参数发生变更', 'api' => 'GetAppTemplate'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListApps'],
['description' => '响应参数发生变更', 'api' => 'ListAppTemplates'],
],
'createdAt' => '2021-09-07T07:57:50.000Z',
'description' => '控制台新增样板间集成方式',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'GetStandardRoomJumpUrl'],
],
'createdAt' => '2021-09-07T03:51:11.000Z',
'description' => '增加GetStandardRoomJumpUrl接口',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'UpdateRoom'],
],
'createdAt' => '2021-08-18T02:51:00.000Z',
'description' => 'updateRoom接口extension字段正确传递。',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'GetLive'],
],
'createdAt' => '2021-08-17T09:47:16.000Z',
'description' => '获取直播详情返回直播封面和用户自定义属性两个字段。',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'ListRoomLives'],
],
'createdAt' => '2021-08-16T08:22:08.000Z',
'description' => '获取直播列表接口支持批量查询。',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'CreateApp'],
['description' => '请求参数发生变更', 'api' => 'CreateAppTemplate'],
['description' => '错误码发生变更', 'api' => 'DeleteAppTemplate'],
['description' => '错误码发生变更', 'api' => 'GetAppTemplate'],
['description' => '请求参数发生变更', 'api' => 'GetLiveDomainStatus'],
],
'createdAt' => '2021-08-13T04:09:08.000Z',
'description' => '控制台相关接口更新',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'BanAllComment'],
['description' => 'OpenAPI 下线', 'api' => 'BanComment'],
['description' => 'OpenAPI 下线', 'api' => 'CancelBanAllComment'],
['description' => 'OpenAPI 下线', 'api' => 'CancelBanComment'],
['description' => 'OpenAPI 下线', 'api' => 'SendComment'],
],
'createdAt' => '2021-08-11T08:02:55.000Z',
'description' => '新增禁言/取消禁言接口',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'ListRoomLives'],
],
'createdAt' => '2021-08-10T09:17:51.000Z',
'description' => '新增获取房间直播列表接口。',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'AddMember'],
['description' => 'OpenAPI 下线', 'api' => 'AgreeLinkMic'],
['description' => 'OpenAPI 下线', 'api' => 'ApplyLinkMic'],
['description' => 'OpenAPI 下线', 'api' => 'CancelApplyLinkMic'],
['description' => 'OpenAPI 下线', 'api' => 'CreateConference'],
['description' => 'OpenAPI 下线', 'api' => 'DeleteConference'],
['description' => 'OpenAPI 下线', 'api' => 'GetConference'],
['description' => 'OpenAPI 下线', 'api' => 'ListApplyLinkMicUsers'],
['description' => 'OpenAPI 下线', 'api' => 'ListConferenceUsers'],
['description' => 'OpenAPI 下线', 'api' => 'RejectLinkMic'],
],
'createdAt' => '2021-08-10T08:36:30.000Z',
'description' => '新增会议资源管理、连麦管理接口。',
],
[
'apis' => [
['description' => '错误码发生变更', 'api' => 'CreateLive'],
['description' => '请求参数发生变更', 'api' => 'CreateRoom'],
],
'createdAt' => '2021-08-06T04:03:52.000Z',
'description' => '创建房间拓展字段功能修复,创建直播错误码优化',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'SendCustomMessageToAll'],
['description' => 'OpenAPI 下线', 'api' => 'SendCustomMessageToUsers'],
],
'createdAt' => '2021-08-06T04:03:24.000Z',
'description' => '新增SendCustomMessageToAll、SendCustomMessageToUsers接口。',
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteComment'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveMember'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetClassDetail'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLiveRecord'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLiveRoomUserStatistics'],
['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRoom'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishLiveRoom'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BanComment'],
['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLiveRoomsById'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteClass'],
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRooms'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopLive'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateClass'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLiveRecordSliceFile'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLive'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'KickRoomUser'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListComments'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSensitiveWord'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendCustomMessageToAll'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateShareScreenLayout'],
['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAuthToken'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMeterImpPlayBackTimeByLiveId'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRoom'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishLive'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SetUserAdmin'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteConference'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLiveRoom'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLiveFiles'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMeterImpWatchLiveTimeByLiveId'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLive'],
['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetStandardRoomJumpUrl'],
['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRoomUsers'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLiveFilesById'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRoom'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendComment'],
['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConference'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateClass'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLiveRoom'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSensitiveWord'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelBanAllComment'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelBanComment'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConferenceUsers'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCommentByCreatorId'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLive'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLiveRoom'],
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSensitiveWord'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetClassRecord'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelUserAdmin'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListClasses'],
['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLiveRooms'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLiveRoomStatistics'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopLiveRoom'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BanAllComment'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SendCustomMessageToUsers'],
['threshold' => '5000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLive'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRoom'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopClass'],
['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLiveRoom'],
],
],
'ram' => [
'productCode' => 'IMP',
'productName' => '音视频终端 SDK',
'ramCodes' => ['imp'],
'ramLevel' => '操作级',
'ramConditions' => [],
'ramActions' => [
[
'apiName' => 'BanAllComment',
'description' => '全员禁言',
'operationType' => '',
'ramAction' => [
'action' => 'imp:BanAllComment',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetLiveRoom',
'description' => '查询直播详情',
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetLiveRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListLiveRoomsById',
'description' => '根据直播ID批量查询直播信息',
'operationType' => 'list',
'ramAction' => [
'action' => 'imp:ListLiveRoomsById',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListRooms',
'description' => '查询房间列表',
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:ListRooms',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetLiveRoomStatistics',
'description' => '查询直播统计数据',
'operationType' => '',
'ramAction' => [
'action' => 'imp:GetLiveRoomStatistics',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetLive',
'description' => '查询直播详情',
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetLive',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'RemoveMember',
'description' => '踢人',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imp:RemoveMember',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetLiveRoomUserStatistics',
'description' => '分页查询直播用户数据统计',
'operationType' => '',
'ramAction' => [
'action' => 'imp:GetLiveRoomUserStatistics',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteLive',
'description' => '删除直播',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imp:DeleteLive',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteSensitiveWord',
'description' => '删除敏感词',
'operationType' => '',
'ramAction' => [
'action' => 'imp:DeleteSensitiveWord',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetClassDetail',
'description' => '获取课程详情',
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetClassDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetLiveRecord',
'description' => '获取直播录制信息',
'operationType' => '',
'ramAction' => [
'action' => 'imp:GetLiveRecord',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteConference',
'description' => '结束连麦',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imp:DeleteConference',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListRoomUsers',
'description' => '查询房间用户列表',
'operationType' => '',
'ramAction' => [
'action' => 'imp:ListRoomUsers',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeMeterImpPlayBackTimeByLiveId',
'description' => '查询指定直播资源的回看时长',
'operationType' => '',
'ramAction' => [
'action' => 'imp:DescribeMeterImpPlayBackTimeByLiveId',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetConference',
'description' => '查询连麦详情',
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetConference',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SendCustomMessageToUsers',
'description' => '指定房间成员发送自定义消息',
'operationType' => '',
'ramAction' => [
'action' => 'imp:SendCustomMessageToUsers',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateLiveRoom',
'description' => '创建直播',
'operationType' => 'create',
'ramAction' => [
'action' => 'imp:CreateLiveRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateRoom',
'description' => '创建房间',
'operationType' => 'create',
'ramAction' => [
'action' => 'imp:CreateRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetRoom',
'description' => '查询房间详情',
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'BanComment',
'description' => '禁言',
'operationType' => '',
'ramAction' => [
'action' => 'imp:BanComment',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'PublishLive',
'description' => '发布直播',
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:PublishLive',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateSensitiveWord',
'description' => '自定义敏感词',
'operationType' => '',
'ramAction' => [
'action' => 'imp:CreateSensitiveWord',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateRoom',
'description' => '更新房间信息',
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:UpdateRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DescribeMeterImpWatchLiveTimeByLiveId',
'description' => '根据直播唯一标识查看观看时长',
'operationType' => '',
'ramAction' => [
'action' => 'imp:DescribeMeterImpWatchLiveTimeByLiveId',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteClass',
'description' => '删除课程',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imp:DeleteClass',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateClass',
'description' => '更新课程',
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:UpdateClass',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListLiveFiles',
'description' => '获取直播录制文件列表',
'operationType' => '',
'ramAction' => [
'action' => 'imp:ListLiveFiles',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetStandardRoomJumpUrl',
'description' => '获取低代码服务跳转链接',
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetStandardRoomJumpUrl',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetClassRecord',
'description' => '获取课程录制信息',
'operationType' => '',
'ramAction' => [
'action' => 'imp:GetClassRecord',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SendCustomMessageToAll',
'description' => '发送自定义消息',
'operationType' => '',
'ramAction' => [
'action' => 'imp:SendCustomMessageToAll',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListComments',
'description' => '批量查询弹幕消息',
'operationType' => '',
'ramAction' => [
'action' => 'imp:ListComments',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'StopLive',
'description' => '停止直播',
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:StopLive',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateLive',
'description' => '创建直播',
'operationType' => 'create',
'ramAction' => [
'action' => 'imp:CreateLive',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteLiveFilesById',
'description' => '根据直播ID删除该直播的录制文件',
'operationType' => '',
'ramAction' => [
'action' => 'imp:DeleteLiveFilesById',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateLiveRecordSliceFile',
'description' => '创建直播录制片段文件',
'operationType' => '',
'ramAction' => [
'action' => 'imp:CreateLiveRecordSliceFile',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'KickRoomUser',
'description' => '踢出房间用户',
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:KickRoomUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateClass',
'description' => '创建课程',
'operationType' => 'create',
'ramAction' => [
'action' => 'imp:CreateClass',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteLiveRoom',
'description' => '删除直播',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imp:DeleteLiveRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteComment',
'description' => '删除弹幕消息',
'operationType' => '',
'ramAction' => [
'action' => 'imp:DeleteComment',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateLiveRoom',
'description' => '更新直播信息',
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:UpdateLiveRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CancelBanComment',
'description' => '取消禁言',
'operationType' => '',
'ramAction' => [
'action' => 'imp:CancelBanComment',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'PublishLiveRoom',
'description' => '发布直播',
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:PublishLiveRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CancelUserAdmin',
'description' => '取消用户管理员',
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:CancelUserAdmin',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetAuthToken',
'description' => '获取长连接建连Token',
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:GetAuthToken',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'StopLiveRoom',
'description' => '停止直播',
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:StopLiveRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateLive',
'description' => '更新直播信息',
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:UpdateLive',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListLiveRooms',
'description' => '批量查询直播信息',
'operationType' => 'list',
'ramAction' => [
'action' => 'imp:ListLiveRooms',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteRoom',
'description' => '删除房间',
'operationType' => 'delete',
'ramAction' => [
'action' => 'imp:DeleteRoom',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'StopClass',
'description' => '结束课程',
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:StopClass',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SetUserAdmin',
'description' => '设置用户管理员',
'operationType' => 'update',
'ramAction' => [
'action' => 'imp:SetUserAdmin',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListClasses',
'description' => '获取课程列表',
'operationType' => '',
'ramAction' => [
'action' => 'imp:ListClasses',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SendComment',
'description' => '发送弹幕消息',
'operationType' => '',
'ramAction' => [
'action' => 'imp:SendComment',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListConferenceUsers',
'description' => '查询连麦用户列表',
'operationType' => 'get',
'ramAction' => [
'action' => 'imp:ListConferenceUsers',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CancelBanAllComment',
'description' => '取消全员禁言',
'operationType' => '',
'ramAction' => [
'action' => 'imp:CancelBanAllComment',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateShareScreenLayout',
'description' => '更新共享屏幕布局',
'operationType' => '',
'ramAction' => [
'action' => 'imp:UpdateShareScreenLayout',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListSensitiveWord',
'description' => '查询敏感词',
'operationType' => '',
'ramAction' => [
'action' => 'imp:ListSensitiveWord',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'IMP', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'resourceTypes' => [],
],
];