From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/zh_cn/idrsservice/2020-06-30/api-docs.php | 13917 +++++++++-------------- 1 file changed, 5124 insertions(+), 8793 deletions(-) (limited to 'data/zh_cn/idrsservice') diff --git a/data/zh_cn/idrsservice/2020-06-30/api-docs.php b/data/zh_cn/idrsservice/2020-06-30/api-docs.php index b977bad..5b95f70 100644 --- a/data/zh_cn/idrsservice/2020-06-30/api-docs.php +++ b/data/zh_cn/idrsservice/2020-06-30/api-docs.php @@ -1,459 +1,300 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'idrsservice', - 'version' => '2020-06-30', - ], + 'info' => ['style' => 'RPC', 'product' => 'idrsservice', 'version' => '2020-06-30'], 'directories' => [ [ - 'id' => 168945, - 'title' => '签名', + 'children' => ['CreateSignature'], 'type' => 'directory', - 'children' => [ - 'CreateSignature', - ], + 'title' => '签名', + 'id' => 306512, ], [ - 'id' => 168947, - 'title' => '水印', + 'children' => ['GetWatermark'], 'type' => 'directory', - 'children' => [ - 'GetWatermark', - ], + 'title' => '水印', + 'id' => 306514, ], [ - 'id' => 168949, - 'title' => '检测流程', + 'children' => ['GetDetectProcess', 'GetDetectProcessJsonFile'], 'type' => 'directory', - 'children' => [ - 'GetDetectProcess', - 'GetDetectProcessJsonFile', - ], + 'title' => '检测流程', + 'id' => 306516, ], [ - 'id' => 168952, - 'title' => '双录结果', + 'children' => ['GetRecordResult'], 'type' => 'directory', - 'children' => [ - 'GetRecordResult', - ], + 'title' => '双录结果', + 'id' => 306519, ], [ - 'id' => 168954, - 'title' => '其他', - 'type' => 'directory', 'children' => [ - 'AssociateRoom', - 'CreateApp', - 'CreateDepartment', - 'CreateDetectProcess', - 'CreateRule', - 'CreateTaskGroup', - 'CreateUserDepartments', - 'CreateWatermark', - 'DeleteApp', - 'DeleteDepartment', - 'DeleteDetectProcess', - 'DeleteRule', - 'DeleteUser', - 'DeleteUserDepartments', - 'DeleteWatermark', - 'GetApp', - 'GetDepartment', - 'GetDetection', - 'GetPreSignedUrl', - 'GetRule', - 'GetTask', - 'GetTaskGroup', - 'GetUser', - 'ListApps', - 'ListDepartments', - 'ListDetections', - 'ListDetectProcesses', - 'ListFiles', - 'ListRecordResults', - 'ListRules', - 'ListTaskGroups', - 'ListTaskItems', - 'ListTasks', - 'ListUsers', - 'ListWatermarks', - 'RenameDetectProcess', - 'UpdateApp', - 'UpdateDepartment', - 'UpdateDetectProcess', - 'UpdateRule', - 'UpdateUser', - 'UpdateWatermark', - 'UploadReport', - 'GetRecordsByFeeId', - 'GetStatisticsRecordsByFeeId', - 'AsrSentence', - 'FaceCompare', - 'TtsCommon', - 'TtsTask', - 'LeaveRoom', - 'FaceRecognize', - 'FaceLiveness', - 'CreateTtsQuestionGroup', - 'GetAsrResult', - 'JoinRoom', - 'CreateTtsQuestion', - 'AsrTask', - 'GetTtsQuestionByGroupId', - 'GetRecordsByOuterBusinessId', + 'AssociateRoom', 'CreateDetectProcess', 'CreateTaskGroup', 'CreateUserDepartments', 'CreateWatermark', 'DeleteApp', 'DeleteDetectProcess', 'DeleteUserDepartments', 'DeleteWatermark', 'GetApp', 'GetDepartment', 'GetDetection', 'GetPreSignedUrl', 'GetTaskGroup', 'ListApps', 'ListDepartments', 'ListDetections', 'ListDetectProcesses', 'ListRecordResults', 'ListTaskGroups', + 'ListTaskItems', 'ListWatermarks', 'RenameDetectProcess', 'UpdateApp', 'UpdateDetectProcess', 'UpdateRule', 'UpdateWatermark', 'UploadReport', 'GetRecordsByFeeId', 'GetStatisticsRecordsByFeeId', 'AsrSentence', 'TtsCommon', 'TtsTask', 'LeaveRoom', 'FaceRecognize', 'CreateTtsQuestionGroup', 'GetAsrResult', 'JoinRoom', 'CreateTtsQuestion', 'AsrTask', + 'GetTtsQuestionByGroupId', 'GetRecordsByOuterBusinessId', 'CreateApp', 'CreateDepartment', 'CreateRule', 'DeleteDepartment', 'DeleteRule', 'DeleteUser', 'FaceCompare', 'FaceLiveness', 'GetRule', 'GetTask', 'GetUser', 'ListFiles', 'ListRules', 'ListTasks', 'ListUsers', 'UpdateDepartment', 'UpdateUser', ], + 'type' => 'directory', + 'title' => '其他', + 'id' => 306521, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateSignature' => [ - 'summary' => '创建rtc签名', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AsrSentence' => [ + 'summary' => '一句话识别', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'AppId', - 'in' => 'query', + 'name' => 'AsrRequest', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '质检应用Id', - 'description' => '质检应用 ID', - 'type' => 'string', - 'required' => true, - 'maximum' => '9223372036854775807', - 'exclusiveMaximum' => true, - 'minimum' => '0', - 'exclusiveMinimum' => true, - 'example' => '5bbfb884-1186-4d48-906b-88d586770f6b', + 'description' => '任务请求参数', + 'type' => 'object', + 'properties' => [ + 'AppId' => ['title' => '应用信息', 'description' => '应用 ID', 'type' => 'string', 'required' => false, 'example' => 'd61be709-49d2-4cf1-b219-cd6181f72db8'], + 'FileUrl' => ['title' => '语音文件地址', 'description' => '可访问的文件 URL', 'type' => 'string', 'required' => false, 'example' => 'http://shuanglu-record-finance.oss-cn-shanghai.aliyuncs.com/record/4x5avhil/047730_30307_0/2022-02-12-10-20****'], + 'Format' => ['title' => '音频编码格式', 'description' => '音频编码格式,默认值:PCM。'."\n" + ."\n" + .'支持格式:PCM编码、16bit采样位数、单声道', 'type' => 'string', 'required' => false, 'example' => 'PCM'], + 'SampleRate' => ['title' => '音频采样率', 'description' => '音频采样率,默认值:16000 Hz。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '16000'], + 'EnablePunctuationPrediction' => ['title' => '是否在后处理中添加标点。取值:true、false。默认:false(不开启)。', 'description' => '是否在后处理中添加标点,默认值:False。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'EnableInverseTextNormalization' => ['title' => '是否在后处理中执行ITN。取值:true、false。默认:false(不开启)。', 'description' => '是否在后处理中执行ITN(逆文本规整,inverse text normalization)。设置为True时,中文数字将转为阿拉伯数字输出,默认值:False。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'EnableVoiceDetection' => ['title' => '是否在后处理中执行ITN。取值:true、false。默认:false(不开启)。', 'description' => '是否启动语音检测。默认值:False。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + ], + 'required' => false, ], ], - [ - 'name' => 'ExpireTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '过期时间,单位秒,默认时间300s', - 'description' => '过期时间,单位秒,默认时间 300s', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '300', + 'title' => 'ApiResult', + 'description' => 'ApiResult', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Code' => ['description' => '返回码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + 'Data' => [ + 'description' => '数据', + 'type' => 'object', + 'properties' => [ + 'Id' => ['title' => '双录端处理asr任务ID', 'description' => '双录端处理asr任务ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'TaskId' => ['title' => '智能语音asr任务ID', 'description' => '智能语音asr任务ID', 'type' => 'string', 'example' => '368cfa55-2364-4d79-aeb4-c0956c4a45cd'], + 'Name' => ['title' => '智能语音asr任务名称', 'description' => '智能语音asr任务名称', 'type' => 'string', 'example' => '任务1'], + 'Code' => ['title' => '智能语音asr任务code', 'description' => '智能语音asr任务code', 'type' => 'integer', 'format' => 'int32', 'example' => '20000000'], + 'Message' => ['title' => '智能语音asr任务message', 'description' => '智能语音asr任务message', 'type' => 'string', 'example' => '-'], + 'Result' => ['title' => 'asr识别出的文本', 'description' => 'asr识别出的文本', 'type' => 'string', 'example' => '北京的天气'], + ], + ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], + ], [ - 'name' => 'Uid', - 'in' => 'query', - 'schema' => [ - 'title' => 'rtc用户id', - 'description' => 'rtc 用户 ID', - 'type' => 'string', - 'required' => true, - 'example' => '550070734466****', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], + ], + 403 => [ + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - 'name' => 'ClientVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '客户端版本', - 'type' => 'string', - 'required' => false, - 'example' => '1.0.001', + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"TaskId\\": \\"368cfa55-2364-4d79-aeb4-c0956c4a45cd\\",\\n \\"Name\\": \\"任务1\\",\\n \\"Code\\": 20000000,\\n \\"Message\\": \\"-\\",\\n \\"Result\\": \\"北京的天气\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '一句话识别', + 'changeSet' => [ + ['createdAt' => '2022-07-08T02:21:10.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-08T02:03:24.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-07T13:28:03.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-07T09:05:44.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:AsrSentence', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'AsrTask' => [ + 'summary' => '单向视频双录-语音识别任务', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ClientBaseParam', - 'in' => 'query', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], + 'parameters' => [ + [ + 'name' => 'Request', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', + 'description' => '请求参数', + 'type' => 'object', + 'properties' => [ + 'AppId' => ['description' => '双录质检应用ID', 'type' => 'string', 'required' => true, 'example' => 'd9ee5df9-20bf-47bf-987a-76b26984b***'], + 'RoomId' => ['description' => 'mrtc 房间 ID', 'type' => 'string', 'required' => true, 'example' => '662027426755***'], + 'Timestamp' => ['description' => '时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1656388156399'], + 'Event' => ['description' => '事件类型,开始START,结束END', 'type' => 'string', 'required' => true, 'example' => 'START'], + 'AsrTaskId' => ['description' => '任务id', 'type' => 'string', 'required' => false, 'example' => 'd9ee5df9-20bf-47bf-987a-76b26984b***'."\n"], + ], 'required' => false, - 'example' => '{"version":"1.0.0"}', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '无', - ], + 'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => 'DF4B0162-A5E0-5F85-BEFD-CAC36E876***'], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], 'Data' => [ - 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ - 'RtcAppId' => [ - 'description' => 'mrtc 应用 ID', - 'type' => 'string', - 'example' => '124325213125435', - ], - 'RtcWorkspaceId' => [ - 'description' => 'mrtc 工作空间', - 'type' => 'string', - 'example' => 'my_workspace', - ], - 'RtcBizName' => [ - 'description' => 'mrtc 业务名', - 'type' => 'string', - 'example' => '音视频biz', - ], - 'RtcSign' => [ - 'description' => 'mrtc 签名', - 'type' => 'string', - 'example' => '字符串签名token', - ], - 'ExpireTime' => [ - 'description' => '过期时间(单位:毫秒)', - 'type' => 'string', - 'example' => '300', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP 状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Errors' => [ - 'title' => '错误列表', - 'description' => '错误列表', - 'type' => 'array', - 'items' => [ - 'description' => '错误列表', - 'type' => 'object', - 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '无', - ], - ], + 'Result' => ['description' => '检测结果', 'type' => 'string', 'example' => '北京的天气'], ], ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DF4B0162-A5E0-5F85-BEFD-CAC36E876***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Result\\": \\"北京的天气\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '提交ASR任务', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:AsrTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"RtcAppId\\": \\"124325213125435\\",\\n \\"RtcWorkspaceId\\": \\"my_workspace\\",\\n \\"RtcBizName\\": \\"音视频biz\\",\\n \\"RtcSign\\": \\"字符串签名token\\",\\n \\"ExpireTime\\": \\"300\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"无\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '创建 mrtc 签名', ], - 'GetWatermark' => [ - 'summary' => '根据ID查询水印信息', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AssociateRoom' => [ + 'summary' => '关联MRTC房间', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'WatermarkId', + 'name' => 'AppId', 'in' => 'query', - 'schema' => [ - 'description' => '水印 ID', - 'type' => 'string', - 'required' => false, - 'example' => '728fd812a876ec04818858982baebe6f', - ], + 'schema' => ['title' => '质检应用id', 'description' => '质检应用 ID', 'type' => 'string', 'required' => true, 'example' => '5bbfb884-1186-4d48-906b-88d586770f6b'], + ], + [ + 'name' => 'DepartmentId', + 'in' => 'query', + 'schema' => ['title' => '部门id', 'description' => '部门 ID', 'type' => 'string', 'required' => false, 'example' => '5bbfb884-1186-4d48-906b-88d586770f6b'], + ], + [ + 'name' => 'RoomId', + 'in' => 'query', + 'schema' => ['title' => 'Mrtc房间id', 'description' => 'mrtc 房间 ID', 'type' => 'string', 'required' => true, 'example' => '5500707344661'], ], [ 'name' => 'ClientVersion', 'in' => 'query', - 'schema' => [ - 'description' => '客户端版本', - 'type' => 'string', - 'required' => false, - 'example' => '1.0.003', - ], + 'schema' => ['description' => '客户端版本', 'type' => 'string', 'required' => false, 'example' => '1.0.002'], ], [ 'name' => 'ClientBaseParam', 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'title' => '数据', - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'title' => '水印id', - 'description' => '水印 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'CreatedAt' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Value' => [ - 'title' => '水印信息', - 'description' => '水印信息', - 'type' => 'string', - 'example' => '{}', - ], - 'Name' => [ - 'title' => '水印名称', - 'description' => '水印名称', - 'type' => 'string', - 'example' => '名称', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP 状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '-'], + 'Data' => ['title' => '数据', 'description' => '数据', 'type' => 'string', 'example' => '{\'Name\': u\'\\u4ee3\\u7406\\u4eba\', \'CreatedAt\': \'2021-11-11T15:27:39.449+08:00\', \'Channel\': \'063756\', \'Id\': \'5ead2d7f-9e2c-4521-bac4-e37bd44b6a56\'}'], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Errors' => [ 'title' => '错误列表', 'description' => '错误列表', 'type' => 'array', 'items' => [ - 'description' => '-', + 'description' => '错误列表', 'type' => 'object', 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '-', - ], + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => '-'], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '-'], ], ], ], @@ -463,47 +304,41 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": \\"{\'Name\': u\'\\\\\\\\u4ee3\\\\\\\\u7406\\\\\\\\u4eba\', \'CreatedAt\': \'2021-11-11T15:27:39.449+08:00\', \'Channel\': \'063756\', \'Id\': \'5ead2d7f-9e2c-4521-bac4-e37bd44b6a56\'}\\",\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"-\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'mrtc录制信息上传', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:AssociateRoom', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Value\\": \\"{}\\",\\n \\"Name\\": \\"名称\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取水印信息', ], - 'GetDetectProcess' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateApp' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -511,30 +346,27 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0f1c45cd-3eee-4e60-b505-2e330b87****', - ], + 'schema' => ['description' => '应用名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '测试应用'], ], [ - 'name' => 'ClientBaseParam', + 'name' => 'PackageName', 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], + 'schema' => ['description' => '包名', 'type' => 'string', 'required' => false, 'example' => 'com.test.app'], + ], + [ + 'name' => 'DepartmentId', + 'in' => 'query', + 'schema' => ['description' => '部门 ID', 'type' => 'string', 'required' => false, 'example' => '4367c30a-c686-4bb2-a45d-5affb87f7aca'], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => '用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大不超过64个ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '4367c30a-c686-4bb2-a45d-5affb87****'], ], ], 'responses' => [ @@ -543,119 +375,92 @@ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '0q1c45cd-3eee-1e60-b505-2e330b8755d3', - ], + 'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'description' => '数据', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'Draft' => [ - 'description' => ' '."\n" - .'流程配置草稿内容', - 'type' => 'string', - 'example' => '{}', - ], - 'CreatedAt' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-12-04T14:47:59.000+08:00', - ], - 'Md5' => [ - 'description' => '流程配置正式内容的 MD5', - 'type' => 'string', - 'example' => '987d563d38f5aef27feca8702c689bb1', - ], - 'UpdatedAt' => [ - 'description' => '更新时间', - 'type' => 'string', - 'example' => '2020-12-04T14:47:59.000+08:00', - ], - 'Name' => [ - 'description' => '检测流程名称', - 'type' => 'string', - 'example' => 'Android检测流程', - ], - 'NewVersion' => [ - 'description' => '是否有新版本', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Content' => [ - 'description' => '流程配置正式内容', - 'type' => 'string', - 'example' => '{}', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3', - ], + 'CreatorName' => ['description' => '创建者名称', 'type' => 'string', 'example' => '李李'], + 'Disabled' => ['description' => '是否禁用', 'type' => 'boolean', 'example' => 'false'], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '应用名', 'type' => 'string', 'example' => '应用1'], + 'Id' => ['description' => '应用 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => 'code', 'type' => 'string', 'example' => 'OK'], ], ], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], - ], - [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', + '5XX' => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'code' => ['type' => 'string', 'description' => ''], + 'data' => ['type' => 'object', 'description' => ''], + 'requestId' => ['type' => 'string', 'description' => ''], + 'message' => ['type' => 'string', 'description' => ''], + 'errors' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'message' => ['type' => 'string', 'description' => ''], + 'field' => ['type' => 'string', 'description' => ''], + ], + 'description' => '', + ], + 'description' => '', + ], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], + ], + [ + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], + ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"0q1c45cd-3eee-1e60-b505-2e330b8755d3\\",\\n \\"Data\\": {\\n \\"Draft\\": \\"{}\\",\\n \\"CreatedAt\\": \\"2020-12-04T14:47:59.000+08:00\\",\\n \\"Md5\\": \\"987d563d38f5aef27feca8702c689bb1\\",\\n \\"UpdatedAt\\": \\"2020-12-04T14:47:59.000+08:00\\",\\n \\"Name\\": \\"Android检测流程\\",\\n \\"NewVersion\\": true,\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\n\\n true\\n {}\\n {}\\n 2020-12-04T14:47:59.000+08:00\\n 0f1c45cd-3eee-4e60-b505-2e330b8755d3\\n 2020-12-04T14:47:59.000+08:00\\n 987d563d38f5aef27feca8702c689bb1\\n Android检测流程\\n\\nOK","errorExample":""}]', - 'title' => '获取检测流程信息', - 'summary' => '通过 GetDetectProcess 获取检测流程。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"CreatorName\\": \\"李李\\",\\n \\"Disabled\\": false,\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"应用1\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\n\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n false\\n 李李\\n 应用1\\n\\nOK","errorExample":""}]', + 'title' => 'CreateApp', + 'summary' => '调用 CreateApp 创建应用。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetDetectProcessJsonFile' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateDepartment' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -663,106 +468,93 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Id', - 'in' => 'formData', - 'schema' => [ - 'description' => 'ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'hpsk3wdo-2020122319', - ], + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '部门描述', 'type' => 'string', 'required' => false, 'example' => '说明'], ], [ - 'name' => 'ClientBaseParam', + 'name' => 'Label', 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], + 'schema' => ['description' => '标签', 'type' => 'string', 'required' => false, 'example' => '标签'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '部门名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '部门名称'], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => '客户端幂等参数', 'type' => 'string', 'required' => false, 'example' => '无'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '-', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '-', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => 'B2695011-0604-5557-9E00-B74F58AB3F2B', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '11111111'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ 'description' => '数据', - 'type' => 'string', - 'example' => '-', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', + 'type' => 'object', + 'properties' => [ + 'Description' => ['description' => '部门描述', 'type' => 'string', 'example' => '这是一个部门'], + 'CreatedAt' => ['description' => '测试', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '部门名称', 'type' => 'string', 'example' => '技术部'], + 'Id' => ['description' => '部门 ID', 'type' => 'string', 'example' => '63bb629d-92bf-4cdc-ad0b-3032c926d23f'], + ], ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"11111111\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Description\\": \\"这是一个部门\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"技术部\\",\\n \\"Id\\": \\"63bb629d-92bf-4cdc-ad0b-3032c926d23f\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n11111111\\n\\n 这是一个部门\\n 2020-07-14T14:01:41.000+08:00\\n 63bb629d-92bf-4cdc-ad0b-3032c926d23f\\n 技术部\\n\\nOK","errorExample":""}]', + 'title' => 'CreateDepartment', + 'summary' => '调用 CreateDepartment 创建部门。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateDepartment', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"B2695011-0604-5557-9E00-B74F58AB3F2B\\",\\n \\"Data\\": \\"-\\",\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '获取检测流程配置的 JSON 文件', ], - 'GetRecordResult' => [ - 'summary' => '根据ID查询录制信息', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateDetectProcess' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -770,595 +562,298 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'RecordId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '双录 ID', - 'type' => 'string', - 'required' => true, - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], + 'schema' => ['description' => '检测流程名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Android检测流程'], ], [ - 'name' => 'ClientBaseParam', + 'name' => 'Draft', 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], + 'schema' => ['description' => '流程配置草稿内容', 'type' => 'string', 'required' => false, 'example' => '{}'], + ], + [ + 'name' => 'Content', + 'in' => 'query', + 'schema' => ['description' => '流程配置正式内容', 'type' => 'string', 'required' => false, 'example' => '{}'], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => '类型:remote(远程双录),local(本地双录)', 'type' => 'string', 'required' => false, 'example' => 'LOCAL'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '无', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '0q1c45cd-3eee-1e60-b505-2e330b8755d3'], 'Data' => [ - 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '双录记录id', - 'description' => '双录记录 ID', - 'type' => 'string', - 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3', - ], - 'CreatedAt' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'DetectProcessName' => [ - 'title' => '业务检测流程名', - 'description' => '业务检测流程名', - 'type' => 'string', - 'example' => 'XX流程', - ], - 'DepartmentName' => [ - 'title' => '部门名', - 'description' => '部门名', - 'type' => 'string', - 'example' => 'XX部门', - ], - 'AppName' => [ - 'title' => '应用名', - 'description' => '应用名', - 'type' => 'string', - 'example' => 'XX应用', - ], - 'VideoUrl' => [ - 'title' => '视频地址', - 'description' => '视频地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4', - ], - 'MetaUrl' => [ - 'title' => 'meta地址', - 'description' => 'meta 地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.meta', - ], - 'ResultUrl' => [ - 'title' => '结果地址', - 'description' => '结果地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.json', - ], - 'RecordAt' => [ - 'title' => '录制时间', - 'description' => '录制时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Duration' => [ - 'title' => '时长', - 'description' => '时长', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22', - ], - 'Status' => [ - 'title' => '检测状态', - 'description' => '检测状态', - 'type' => 'string', - 'example' => 'completed', - ], - 'RoomId' => [ - 'title' => 'mrtc房间id', - 'description' => 'mrtc 房间 ID', - 'type' => 'string', - 'example' => '641981583353***', - ], - 'RecordRoomList' => [ - 'title' => '远程双录文件地址列表', - 'description' => '远程双录文件地址列表', - 'type' => 'array', - 'items' => [ - 'description' => '房间列表', - 'type' => 'object', - 'properties' => [ - 'Role' => [ - 'title' => '角色', - 'description' => '角色', - 'type' => 'string', - 'example' => '21343', - ], - 'RoomVideoUrl' => [ - 'title' => '视频地址', - 'description' => '视频地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4', - ], - 'RoomMetaUrl' => [ - 'title' => 'meta地址', - 'description' => 'meta 地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.meta', - ], - 'RoomResultUrl' => [ - 'title' => '结果地址', - 'description' => '结果地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.json', - ], - 'RecordType' => [ - 'title' => '录制视频类型', - 'description' => '录制视频类型', - 'type' => 'string', - 'example' => 'Mix', - ], - 'RoomRecordAt' => [ - 'title' => '录制时间', - 'description' => '录制时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'RoomStatus' => [ - 'title' => '检测状态', - 'description' => '检测状态', - 'type' => 'string', - 'example' => 'runnable', - ], - 'RtcRecordId' => [ - 'description' => 'mrtc录制ID', - 'type' => 'string', - 'example' => 'record_65703154805715668342'."\n", - ], - 'OuterBusinessId' => [ - 'description' => '业务ID,用户自定义', - 'type' => 'string', - 'example' => 'ads32efef43', - ], - ], - ], - ], - 'OuterBusinessId' => [ - 'description' => '业务ID,用户自定义', - 'type' => 'string', - 'example' => 'ads32efef43', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP 状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Errors' => [ - 'title' => '错误列表', - 'description' => '错误列表', - 'type' => 'array', - 'items' => [ - 'description' => '异常信息', - 'type' => 'object', - 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - ], + 'Draft' => ['description' => '流程配置草稿内容', 'type' => 'string', 'example' => '{}'], + 'CreatedAt' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-12-04T14:47:59.000+08:00'], + 'Disabled' => ['description' => '有效状态', 'type' => 'boolean', 'example' => 'false'], + 'Md5' => ['description' => '流程配置正式内容的 MD5', 'type' => 'string', 'example' => '987d563d38f5aef27feca8702c689bb1'], + 'Name' => ['description' => '检测流程的名称', 'type' => 'string', 'example' => 'Android检测流程'], + 'Content' => ['description' => '流程配置正式内容', 'type' => 'string', 'example' => '{}'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3'], ], ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"0q1c45cd-3eee-1e60-b505-2e330b8755d3\\",\\n \\"Data\\": {\\n \\"Draft\\": \\"{}\\",\\n \\"CreatedAt\\": \\"2020-12-04T14:47:59.000+08:00\\",\\n \\"Disabled\\": false,\\n \\"Md5\\": \\"987d563d38f5aef27feca8702c689bb1\\",\\n \\"Name\\": \\"Android检测流程\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"0q1c45cd-3eee-1e60-b505-2e330b8755d3\\n-\\n\\n {}\\n {}\\n 2020-12-04T14:47:59.000+08:00\\n 0f1c45cd-3eee-4e60-b505-2e330b8755d3\\n false\\n 987d563d38f5aef27feca8702c689bb1\\n Android检测流程\\n\\nOK","errorExample":""}]', + 'title' => 'CreateDetectProcess', + 'summary' => '调用 CreateDetectProcess 创建检测流程。', + 'requestParamsDescription' => '配置内容的 JSON 格式如下:'."\n" + .'``` json'."\n" + .'{'."\n" + .' "name":"mmm",'."\n" + .' "isUploadMeta":true,'."\n" + .' "type":"Local",'."\n" + .' "phases":['."\n" + .' {'."\n" + .' "voice":{'."\n" + .' "mp3":{'."\n" + .' "playFilePath":"",'."\n" + .' "playFileName":""'."\n" + .' },'."\n" + .' "tts":{'."\n" + .' "ttsText":"请把手机放置于支架上,对准保险代理和投保人。距离一米,并适当调整距离前后距离和角度,确保代理人和投保人完全出现在视频中。",'."\n" + .' "fontName":"xiaoyun/xiaogang",'."\n" + .' "speed":"1.5"'."\n" + .' },'."\n" + .' "type":"tts"'."\n" + .' },'."\n" + .' "id":"双录前的提醒1",'."\n" + .' "detections":{'."\n" + .' "aiDetections":['."\n" + ."\n" + .' ],'."\n" + .' "faceDetections":['."\n" + .' {'."\n" + .' "duration":1,'."\n" + .' "isRequired":true,'."\n" + .' "role":['."\n" + .' "role1",'."\n" + .' "role2"'."\n" + .' ],'."\n" + .' "isGlobal":true,'."\n" + .' "id":"face_recognize"'."\n" + .' }'."\n" + .' ]'."\n" + .' }'."\n" + .' }'."\n" + .' ]'."\n" + .'}'."\n" + ."\n" + .'```'."\n", + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateDetectProcess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DetectProcessName\\": \\"XX流程\\",\\n \\"DepartmentName\\": \\"XX部门\\",\\n \\"AppName\\": \\"XX应用\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"MetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"ResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Duration\\": 22,\\n \\"Status\\": \\"completed\\",\\n \\"RoomId\\": \\"641981583353***\\",\\n \\"RecordRoomList\\": [\\n {\\n \\"Role\\": \\"21343\\",\\n \\"RoomVideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"RoomMetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"RoomResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RecordType\\": \\"Mix\\",\\n \\"RoomRecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"RoomStatus\\": \\"runnable\\",\\n \\"RtcRecordId\\": \\"record_65703154805715668342\\\\n\\",\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n }\\n ],\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\",\\n \\"Message\\": \\"无\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取双录结果', ], - 'AssociateRoom' => [ - 'summary' => '关联MRTC房间', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateRule' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'none', - ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'AppId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => '质检应用id', - 'description' => '质检应用 ID', - 'type' => 'string', - 'required' => true, - 'example' => '5bbfb884-1186-4d48-906b-88d586770f6b', - ], + 'schema' => ['description' => '规则名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'default'], ], [ - 'name' => 'DepartmentId', + 'name' => 'Content', 'in' => 'query', - 'schema' => [ - 'title' => '部门id', - 'description' => '部门 ID', - 'type' => 'string', - 'required' => false, - 'example' => '5bbfb884-1186-4d48-906b-88d586770f6b', - ], + 'schema' => ['description' => '检测规则内容,格式请参考示例值', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '[{"sequence":1,"actions":[{"name":"id_card_recognize"}]},{"sequence":2,"actions":[{"name":"document_title_recognize"},{"name":"flip_action_recognize"},{"name":"sign_action_recognize"}]},{"sequence":3,"actions":[{"name":"sign_recognize"}]},{"sequence":0,"actions":[{"name":"face_track"},{"name":"speech_to_text"}]}]'], ], [ - 'name' => 'RoomId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'title' => 'Mrtc房间id', - 'description' => 'mrtc 房间 ID', - 'type' => 'string', - 'required' => true, - 'example' => '5500707344661', - ], + 'schema' => ['description' => '幂等校验参数', 'type' => 'string', 'required' => false, 'example' => '无'], ], - [ - 'name' => 'ClientVersion', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '客户端版本', - 'type' => 'string', - 'required' => false, - 'example' => '1.0.002', - ], - ], - [ - 'name' => 'ClientBaseParam', - 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '-', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'title' => '数据', 'description' => '数据', - 'type' => 'string', - 'example' => '{\'Name\': u\'\\u4ee3\\u7406\\u4eba\', \'CreatedAt\': \'2021-11-11T15:27:39.449+08:00\', \'Channel\': \'063756\', \'Id\': \'5ead2d7f-9e2c-4521-bac4-e37bd44b6a56\'}', - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP 状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Errors' => [ - 'title' => '错误列表', - 'description' => '错误列表', - 'type' => 'array', - 'items' => [ - 'description' => '错误列表', - 'type' => 'object', - 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => '-', - ], - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '-', - ], - ], + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '规则名称', 'type' => 'string', 'example' => 'default'], + 'Content' => ['description' => '规则内容', 'type' => 'string', 'example' => '{}'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Name\\": \\"default\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\n\\n {}\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n\\nOK","errorExample":""}]', + 'title' => 'CreateRule', + 'summary' => '调用 CreateRule 创建检测规则。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": \\"{\'Name\': u\'\\\\\\\\u4ee3\\\\\\\\u7406\\\\\\\\u4eba\', \'CreatedAt\': \'2021-11-11T15:27:39.449+08:00\', \'Channel\': \'063756\', \'Id\': \'5ead2d7f-9e2c-4521-bac4-e37bd44b6a56\'}\\",\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"-\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'mrtc录制信息上传', ], - 'CreateApp' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateSignature' => [ + 'summary' => '创建rtc签名', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'AppId', 'in' => 'query', - 'schema' => [ - 'description' => '应用名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '测试应用', - ], + 'schema' => ['title' => '质检应用Id', 'description' => '质检应用 ID', 'type' => 'string', 'required' => true, 'maximum' => '9223372036854775807', 'exclusiveMaximum' => true, 'minimum' => '0', 'exclusiveMinimum' => true, 'example' => '5bbfb884-1186-4d48-906b-88d586770f6b'], ], [ - 'name' => 'PackageName', + 'name' => 'ExpireTime', 'in' => 'query', - 'schema' => [ - 'description' => '包名', - 'type' => 'string', - 'required' => false, - 'example' => 'com.test.app', - ], + 'schema' => ['title' => '过期时间,单位秒,默认时间300s', 'description' => '过期时间,单位秒,默认时间 300s', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '300'], ], [ - 'name' => 'DepartmentId', + 'name' => 'Uid', 'in' => 'query', - 'schema' => [ - 'description' => '部门 ID', - 'type' => 'string', - 'required' => false, - 'example' => '4367c30a-c686-4bb2-a45d-5affb87f7aca', - ], + 'schema' => ['title' => 'rtc用户id', 'description' => 'rtc 用户 ID', 'type' => 'string', 'required' => true, 'example' => '550070734466****'], ], [ - 'name' => 'ClientToken', + 'name' => 'ClientVersion', 'in' => 'query', - 'schema' => [ - 'description' => '用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大不超过64个ASCII字符。', - 'type' => 'string', - 'required' => false, - 'example' => '4367c30a-c686-4bb2-a45d-5affb87****', - ], + 'schema' => ['description' => '客户端版本', 'type' => 'string', 'required' => false, 'example' => '1.0.001'], + ], + [ + 'name' => 'ClientBaseParam', + 'in' => 'query', + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '返回信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '无'], 'Data' => [ - 'description' => '无', + 'title' => '数据', + 'description' => '数据', 'type' => 'object', 'properties' => [ - 'CreatorName' => [ - 'description' => '创建者名称', - 'type' => 'string', - 'example' => '李李', - ], - 'Disabled' => [ - 'description' => '是否禁用', - 'type' => 'boolean', - 'example' => 'false', - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '应用名', - 'type' => 'string', - 'example' => '应用1', - ], - 'Id' => [ - 'description' => '应用 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'RtcAppId' => ['description' => 'mrtc 应用 ID', 'type' => 'string', 'example' => '124325213125435'], + 'RtcWorkspaceId' => ['description' => 'mrtc 工作空间', 'type' => 'string', 'example' => 'my_workspace'], + 'RtcBizName' => ['description' => 'mrtc 业务名', 'type' => 'string', 'example' => '音视频biz'], + 'RtcSign' => ['description' => 'mrtc 签名', 'type' => 'string', 'example' => '字符串签名token'], + 'ExpireTime' => ['description' => '过期时间(单位:毫秒)', 'type' => 'string', 'example' => '300'], ], ], - 'Code' => [ - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - ], - ], - ], - '5XX' => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'code' => [ - 'type' => 'string', - ], - 'data' => [ - 'type' => 'object', - ], - 'requestId' => [ - 'type' => 'string', - ], - 'message' => [ - 'type' => 'string', - ], - 'errors' => [ + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Errors' => [ + 'title' => '错误列表', + 'description' => '错误列表', 'type' => 'array', 'items' => [ + 'description' => '错误列表', 'type' => 'object', 'properties' => [ - 'message' => [ - 'type' => 'string', - ], - 'field' => [ - 'type' => 'string', - ], + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '无'], ], ], ], @@ -1368,51 +863,49 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"RtcAppId\\": \\"124325213125435\\",\\n \\"RtcWorkspaceId\\": \\"my_workspace\\",\\n \\"RtcBizName\\": \\"音视频biz\\",\\n \\"RtcSign\\": \\"字符串签名token\\",\\n \\"ExpireTime\\": \\"300\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"无\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '创建 mrtc 签名', + 'changeSet' => [ + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-24T04:47:39.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-06T06:26:11.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-05T09:00:07.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateSignature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"CreatorName\\": \\"李李\\",\\n \\"Disabled\\": false,\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"应用1\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\n\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n false\\n 李李\\n 应用1\\n\\nOK","errorExample":""}]', - 'title' => 'CreateApp', - 'summary' => '调用 CreateApp 创建应用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'CreateDepartment' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateTaskGroup' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1420,49 +913,80 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Description', + 'name' => 'AppId', 'in' => 'query', - 'schema' => [ - 'description' => '部门描述', - 'type' => 'string', - 'required' => false, - 'example' => '说明', - ], + 'schema' => ['description' => '所属应用 ID', 'type' => 'string', 'required' => false, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], [ - 'name' => 'Label', + 'name' => 'ExpireAt', 'in' => 'query', - 'schema' => [ - 'description' => '标签', - 'type' => 'string', - 'required' => false, - 'example' => '标签', - ], + 'schema' => ['description' => '任务过期时间', 'type' => 'string', 'required' => false, 'example' => '2020-10-10'], ], [ - 'name' => 'Name', + 'name' => 'GroupName', 'in' => 'query', - 'schema' => [ - 'description' => '部门名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '部门名称', - ], + 'schema' => ['description' => '任务组名', 'type' => 'string', 'required' => false, 'example' => '任务组'], + ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => ['description' => '规则 ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + ], + [ + 'name' => 'RunnableTimeFrom', + 'in' => 'query', + 'schema' => ['description' => '可执行的时间范围', 'type' => 'string', 'required' => false, 'example' => '17:00'], + ], + [ + 'name' => 'RunnableTimeTo', + 'in' => 'query', + 'schema' => ['description' => '可执行的时间范围', 'type' => 'string', 'required' => false, 'example' => '18:00'], + ], + [ + 'name' => 'TriggerPeriod', + 'in' => 'query', + 'schema' => ['description' => '执行周期,immediately-立刻,weekly-每周,monthly-每月', 'type' => 'string', 'required' => false, 'example' => 'immediately'], ], [ 'name' => 'ClientToken', 'in' => 'query', + 'schema' => ['description' => '客户端幂等参数', 'type' => 'string', 'required' => false, 'example' => '无'], + ], + [ + 'name' => 'Day', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '客户端幂等参数', - 'type' => 'string', + 'description' => '周期执行,比如每周3执行', + 'type' => 'array', + 'items' => ['description' => '无', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '无'], 'required' => false, - 'example' => '无', + 'example' => '3', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'VideoInfo', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '视频信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VideoUrl' => ['description' => '视频地址', 'type' => 'string', 'required' => false, 'example' => '18/mrtc//641905591891464_record_64190559189146412713.mp4'], + 'VideoMetaUrl' => ['description' => '视频 meta 地址', 'type' => 'string', 'required' => false, 'example' => '18/mrtc//641905591891464_record_64190559189146412713.mp4.meta'], + 'RuleId' => ['description' => '规则id', 'type' => 'string', 'required' => false, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + ], + 'required' => false, + 'description' => '', + ], + 'required' => true, + 'maxItems' => 1000, ], ], ], @@ -1472,98 +996,79 @@ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '11111111', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'description' => '数据', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'Description' => [ - 'description' => '部门描述', - 'type' => 'string', - 'example' => '这是一个部门', - ], - 'CreatedAt' => [ - 'description' => '测试', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '部门名称', - 'type' => 'string', - 'example' => '技术部', - ], - 'Id' => [ - 'description' => '部门 ID', - 'type' => 'string', - 'example' => '63bb629d-92bf-4cdc-ad0b-3032c926d23f', + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'runnable'], + 'CompletedTasks' => ['description' => '已完成任务数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'TotalTasks' => ['description' => '总任务数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CreatedAt' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '任务组名', 'type' => 'string', 'example' => '任务组'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'RuleName' => ['description' => '规则名称', 'type' => 'string', 'example' => 'default'], + 'RuleId' => ['description' => '规则 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'TaskIds' => [ + 'description' => '任务 ID 列表', + 'type' => 'array', + 'items' => ['description' => '任务组下的任务 ID 列表', 'type' => 'string', 'example' => '["1"]'], ], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"11111111\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Description\\": \\"这是一个部门\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"技术部\\",\\n \\"Id\\": \\"63bb629d-92bf-4cdc-ad0b-3032c926d23f\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n11111111\\n\\n 这是一个部门\\n 2020-07-14T14:01:41.000+08:00\\n 63bb629d-92bf-4cdc-ad0b-3032c926d23f\\n 技术部\\n\\nOK","errorExample":""}]', - 'title' => 'CreateDepartment', - 'summary' => '调用 CreateDepartment 创建部门。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Status\\": \\"runnable\\",\\n \\"CompletedTasks\\": 0,\\n \\"TotalTasks\\": 1,\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"任务组\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RuleName\\": \\"default\\",\\n \\"RuleId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"TaskIds\\": [\\n \\"[\\\\\\"1\\\\\\"]\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n runnable\\n \\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n \\n 0\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n 任务组\\n\\nOK","errorExample":""}]', + 'title' => 'CreateTaskGroup', + 'summary' => '调用 CreateTaskGroup 创建任务组。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateDetectProcess' => [ - 'methods' => [ - 'post', + 'changeSet' => [ + ['createdAt' => '2022-02-21T07:17:02.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateTaskGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateTtsQuestion' => [ + 'summary' => '单向视频双录-创建TTS问题', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1571,207 +1076,181 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Name', - 'in' => 'query', + 'name' => 'Request', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => '检测流程名称', - 'type' => 'string', + 'description' => '请求参数', + 'type' => 'object', + 'properties' => [ + 'QuestionGroupId' => ['description' => 'TTS问题组ID', 'type' => 'string', 'required' => true, 'example' => '47584ba4-9781-496b-8e6f-c8525a213***'."\n"], + 'Question' => ['description' => '问题', 'type' => 'string', 'required' => true, 'example' => '您可以根据自己需求填写'], + 'Answer' => ['description' => '回复', 'type' => 'string', 'required' => true, 'example' => '您可以根据自己需求填写'], + ], 'required' => true, - 'docRequired' => true, - 'example' => 'Android检测流程', ], ], - [ - 'name' => 'Draft', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '流程配置草稿内容', - 'type' => 'string', - 'required' => false, - 'example' => '{}', + 'title' => 'ApiResult', + 'description' => 'ApiResult', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => 'D9AA9055-F73D-592C-832B-5AEECB093***'], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + 'Data' => [ + 'description' => '数据', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4ba***'], + ], + ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], + ], [ - 'name' => 'Content', - 'in' => 'query', - 'schema' => [ - 'description' => '流程配置正式内容', - 'type' => 'string', - 'required' => false, - 'example' => '{}', + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], + ], + 403 => [ + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], + ], + [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D9AA9055-F73D-592C-832B-5AEECB093***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4ba***\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '创建TTS问题', + 'changeSet' => [ + ['createdAt' => '2022-08-29T07:30:49.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-08-26T03:41:52.000Z', 'description' => 'OpenAPI 下线'], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateTtsQuestion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'CreateTtsQuestionGroup' => [ + 'summary' => '单向视频双录-创建TTS问题组', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Type', - 'in' => 'query', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'Request', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => '类型:remote(远程双录),local(本地双录)', - 'type' => 'string', - 'required' => false, - 'example' => 'LOCAL', + 'description' => '请求参数', + 'type' => 'object', + 'properties' => [ + 'Voice' => ['description' => '发音人', 'type' => 'string', 'required' => false, 'example' => 'xiaoyun'], + 'Format' => ['description' => '音频编码格式', 'type' => 'string', 'required' => false, 'example' => 'PCM'], + 'Volume' => ['description' => '音量大小,取值范围:0~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], + 'SampleRate' => ['description' => '音频采样率', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '16000'], + 'SpeechRate' => ['description' => '语速,取值范围:-500~500。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], + 'PitchRate' => ['description' => '音调,取值范围:-500~500。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], + ], + 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '0q1c45cd-3eee-1e60-b505-2e330b8755d3', - ], + 'RequestId' => ['description' => '为保证一致,建议统一使用requestid', 'type' => 'string', 'example' => 'B2AADC9E-2A58-5918-AE4E-FF59E19D7***'], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '-'], 'Data' => [ 'description' => '数据', 'type' => 'object', 'properties' => [ - 'Draft' => [ - 'description' => '流程配置草稿内容', - 'type' => 'string', - 'example' => '{}', - ], - 'CreatedAt' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-12-04T14:47:59.000+08:00', - ], - 'Disabled' => [ - 'description' => '有效状态', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Md5' => [ - 'description' => '流程配置正式内容的 MD5', - 'type' => 'string', - 'example' => '987d563d38f5aef27feca8702c689bb1', - ], - 'Name' => [ - 'description' => '检测流程的名称', - 'type' => 'string', - 'example' => 'Android检测流程', - ], - 'Content' => [ - 'description' => '流程配置正式内容', - 'type' => 'string', - 'example' => '{}', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3', - ], + 'Id' => ['description' => 'TTS任务组唯一ID', 'type' => 'string', 'example' => '63bb629d-92bf-4cdc-ad0b-3032c926d***'], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"0q1c45cd-3eee-1e60-b505-2e330b8755d3\\",\\n \\"Data\\": {\\n \\"Draft\\": \\"{}\\",\\n \\"CreatedAt\\": \\"2020-12-04T14:47:59.000+08:00\\",\\n \\"Disabled\\": false,\\n \\"Md5\\": \\"987d563d38f5aef27feca8702c689bb1\\",\\n \\"Name\\": \\"Android检测流程\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"0q1c45cd-3eee-1e60-b505-2e330b8755d3\\n-\\n\\n {}\\n {}\\n 2020-12-04T14:47:59.000+08:00\\n 0f1c45cd-3eee-4e60-b505-2e330b8755d3\\n false\\n 987d563d38f5aef27feca8702c689bb1\\n Android检测流程\\n\\nOK","errorExample":""}]', - 'title' => 'CreateDetectProcess', - 'summary' => '调用 CreateDetectProcess 创建检测流程。', - 'requestParamsDescription' => '配置内容的 JSON 格式如下:'."\n" - .'``` json'."\n" - .'{'."\n" - .' "name":"mmm",'."\n" - .' "isUploadMeta":true,'."\n" - .' "type":"Local",'."\n" - .' "phases":['."\n" - .' {'."\n" - .' "voice":{'."\n" - .' "mp3":{'."\n" - .' "playFilePath":"",'."\n" - .' "playFileName":""'."\n" - .' },'."\n" - .' "tts":{'."\n" - .' "ttsText":"请把手机放置于支架上,对准保险代理和投保人。距离一米,并适当调整距离前后距离和角度,确保代理人和投保人完全出现在视频中。",'."\n" - .' "fontName":"xiaoyun/xiaogang",'."\n" - .' "speed":"1.5"'."\n" - .' },'."\n" - .' "type":"tts"'."\n" - .' },'."\n" - .' "id":"双录前的提醒1",'."\n" - .' "detections":{'."\n" - .' "aiDetections":['."\n" - ."\n" - .' ],'."\n" - .' "faceDetections":['."\n" - .' {'."\n" - .' "duration":1,'."\n" - .' "isRequired":true,'."\n" - .' "role":['."\n" - .' "role1",'."\n" - .' "role2"'."\n" - .' ],'."\n" - .' "isGlobal":true,'."\n" - .' "id":"face_recognize"'."\n" - .' }'."\n" - .' ]'."\n" - .' }'."\n" - .' }'."\n" - .' ]'."\n" - .'}'."\n" - ."\n" - .'```'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CreateRule' => [ - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2AADC9E-2A58-5918-AE4E-FF59E19D7***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"63bb629d-92bf-4cdc-ad0b-3032c926d***\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '创建TTS问题组', + 'changeSet' => [ + ['createdAt' => '2022-08-26T03:41:52.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateTtsQuestionGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateUserDepartments' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1779,41 +1258,36 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'UserId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '规则名称', - 'type' => 'string', + 'description' => '用户 ID', + 'type' => 'array', + 'items' => ['description' => '无', 'type' => 'string', 'required' => false, 'example' => '无'], 'required' => true, - 'docRequired' => true, - 'example' => 'default', + 'maxItems' => 1000, ], ], [ - 'name' => 'Content', + 'name' => 'DepartmentId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '检测规则内容,格式请参考示例值', - 'type' => 'string', + 'description' => '部门 ID', + 'type' => 'array', + 'items' => ['description' => '无', 'type' => 'string', 'required' => false, 'example' => '无'], 'required' => true, - 'docRequired' => true, - 'example' => '[{"sequence":1,"actions":[{"name":"id_card_recognize"}]},{"sequence":2,"actions":[{"name":"document_title_recognize"},{"name":"flip_action_recognize"},{"name":"sign_action_recognize"}]},{"sequence":3,"actions":[{"name":"sign_recognize"}]},{"sequence":0,"actions":[{"name":"face_track"},{"name":"speech_to_text"}]}]', + 'maxItems' => 10000, ], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '幂等校验参数', - 'type' => 'string', - 'required' => false, - 'example' => '无', - ], + 'schema' => ['description' => '客户端幂等参数', 'type' => 'string', 'required' => false, 'example' => '无'], ], ], 'responses' => [ @@ -1822,93 +1296,53 @@ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '规则名称', - 'type' => 'string', - 'example' => 'default', - ], - 'Content' => [ - 'description' => '规则内容', - 'type' => 'string', - 'example' => '{}', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - ], - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '0B576AAB-A638-5029-9A54-A7C1DB5AC0B3'], + 'Data' => ['description' => '返回数据', 'type' => 'object', 'example' => '无'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"0B576AAB-A638-5029-9A54-A7C1DB5AC0B3\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '创建用户部门关系', + 'summary' => '调用 CreateUserDepartments 创建用户部门关系。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateUserDepartments', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Name\\": \\"default\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\n\\n {}\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n\\nOK","errorExample":""}]', - 'title' => 'CreateRule', - 'summary' => '调用 CreateRule 创建检测规则。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'CreateTaskGroup' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateWatermark' => [ + 'summary' => '创建水印', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1916,144 +1350,116 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'AppId', + 'name' => 'Value', 'in' => 'query', - 'schema' => [ - 'description' => '所属应用 ID', - 'type' => 'string', - 'required' => false, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => '水印配置信息', 'type' => 'string', 'required' => false, 'example' => '{}'], ], [ - 'name' => 'ExpireAt', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '任务过期时间', - 'type' => 'string', - 'required' => false, - 'example' => '2020-10-10', - ], + 'schema' => ['description' => '水印名称', 'type' => 'string', 'required' => false, 'example' => '文字水印'], ], - [ - 'name' => 'GroupName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '任务组名', - 'type' => 'string', - 'required' => false, - 'example' => '任务组', + 'title' => 'ApiResult', + 'description' => 'ApiResult', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '-'], + 'Data' => [ + 'title' => '数据', + 'description' => '数据', + 'type' => 'object', + 'properties' => [ + 'Id' => ['title' => '水印id', 'description' => '水印 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'CreatedAt' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Value' => ['title' => '水印信息', 'description' => '水印信息', 'type' => 'string', 'example' => '{}'], + 'Name' => ['title' => '水印名称', 'description' => '水印名称', 'type' => 'string', 'example' => '名称'], + ], + ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Errors' => [ + 'title' => '错误列表', + 'description' => '错误列表', + 'type' => 'array', + 'items' => [ + 'description' => '-', + 'type' => 'object', + 'properties' => [ + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '-'], + ], + ], + ], + ], ], ], - [ - 'name' => 'RuleId', - 'in' => 'query', - 'schema' => [ - 'description' => '规则 ID', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - 'name' => 'RunnableTimeFrom', - 'in' => 'query', - 'schema' => [ - 'description' => '可执行的时间范围', - 'type' => 'string', - 'required' => false, - 'example' => '17:00', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], - [ - 'name' => 'RunnableTimeTo', - 'in' => 'query', - 'schema' => [ - 'description' => '可执行的时间范围', - 'type' => 'string', - 'required' => false, - 'example' => '18:00', - ], + 403 => [ + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - 'name' => 'TriggerPeriod', - 'in' => 'query', - 'schema' => [ - 'description' => '执行周期,immediately-立刻,weekly-每周,monthly-每月', - 'type' => 'string', - 'required' => false, - 'example' => 'immediately', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => '客户端幂等参数', - 'type' => 'string', - 'required' => false, - 'example' => '无', - ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], - [ - 'name' => 'Day', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '周期执行,比如每周3执行', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '无', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Value\\": \\"{}\\",\\n \\"Name\\": \\"名称\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '创建水印信息', + 'changeSet' => [ + ['createdAt' => '2022-01-05T06:05:26.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-04T11:03:18.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-01-04T06:28:43.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateWatermark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => false, - 'example' => '3', - 'maxItems' => 100, ], ], + ], + ], + 'DeleteApp' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ [ - 'name' => 'VideoInfo', + 'name' => 'Id', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '视频信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'VideoUrl' => [ - 'description' => '视频地址', - 'type' => 'string', - 'required' => false, - 'example' => '18/mrtc//641905591891464_record_64190559189146412713.mp4', - ], - 'VideoMetaUrl' => [ - 'description' => '视频 meta 地址', - 'type' => 'string', - 'required' => false, - 'example' => '18/mrtc//641905591891464_record_64190559189146412713.mp4.meta', - ], - 'RuleId' => [ - 'description' => '规则id', - 'type' => 'string', - 'required' => false, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 1000, - ], + 'schema' => ['description' => '应用 ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], 'responses' => [ @@ -2062,129 +1468,79 @@ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '响应信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'Data' => [ - 'description' => '无', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'runnable', - ], - 'CompletedTasks' => [ - 'description' => '已完成任务数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'TotalTasks' => [ - 'description' => '总任务数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CreatedAt' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '任务组名', - 'type' => 'string', - 'example' => '任务组', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'RuleName' => [ - 'description' => '规则名称', - 'type' => 'string', - 'example' => 'default', - ], - 'RuleId' => [ - 'description' => '规则 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'TaskIds' => [ - 'description' => '任务 ID 列表', - 'type' => 'array', - 'items' => [ - 'description' => '任务组下的任务 ID 列表', - 'type' => 'string', - 'example' => '["1"]', - ], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Data' => ['description' => '数据', 'type' => 'object', 'example' => '无'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + ], + ], + ], + '5XX' => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'code' => ['type' => 'string', 'description' => ''], + 'data' => ['type' => 'object', 'description' => ''], + 'requestId' => ['type' => 'string', 'description' => ''], + 'message' => ['type' => 'string', 'description' => ''], + 'errors' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'message' => ['type' => 'string', 'description' => ''], + 'field' => ['type' => 'string', 'description' => ''], ], + 'description' => '', ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '删除应用', + 'summary' => '调用 DeleteApp 删除应用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Status\\": \\"runnable\\",\\n \\"CompletedTasks\\": 0,\\n \\"TotalTasks\\": 1,\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"任务组\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RuleName\\": \\"default\\",\\n \\"RuleId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"TaskIds\\": [\\n \\"[\\\\\\"1\\\\\\"]\\"\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n runnable\\n \\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n \\n 0\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n 任务组\\n\\nOK","errorExample":""}]', - 'title' => 'CreateTaskGroup', - 'summary' => '调用 CreateTaskGroup 创建任务组。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'CreateUserDepartments' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteDepartment' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2192,53 +1548,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'UserId', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '用户 ID', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'string', - 'required' => false, - 'example' => '无', - ], - 'required' => true, - 'maxItems' => 1000, - ], - ], - [ - 'name' => 'DepartmentId', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '部门 ID', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'string', - 'required' => false, - 'example' => '无', - ], - 'required' => true, - 'maxItems' => 10000, - ], - ], - [ - 'name' => 'ClientToken', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '客户端幂等参数', - 'type' => 'string', - 'required' => false, - 'example' => '无', - ], + 'schema' => ['description' => '部门 ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], 'responses' => [ @@ -2247,75 +1562,55 @@ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '0B576AAB-A638-5029-9A54-A7C1DB5AC0B3', - ], - 'Data' => [ - 'description' => '返回数据', - 'type' => 'object', - 'example' => '无', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Data' => ['description' => '数据', 'type' => 'object', 'example' => '无'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '删除部门', + 'summary' => '调用 DeleteDepartment 删除部门。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteDepartment', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"0B576AAB-A638-5029-9A54-A7C1DB5AC0B3\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '创建用户部门关系', - 'summary' => '调用 CreateUserDepartments 创建用户部门关系。', ], - 'CreateWatermark' => [ - 'summary' => '创建水印', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteDetectProcess' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2323,167 +1618,72 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'Value', - 'in' => 'query', - 'schema' => [ - 'description' => '水印配置信息', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], - ], - [ - 'name' => 'Name', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '水印名称', - 'type' => 'string', - 'required' => false, - 'example' => '文字水印', - ], + 'schema' => ['description' => 'ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'description' => '-', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'title' => '数据', - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'title' => '水印id', - 'description' => '水印 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'CreatedAt' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Value' => [ - 'title' => '水印信息', - 'description' => '水印信息', - 'type' => 'string', - 'example' => '{}', - ], - 'Name' => [ - 'title' => '水印名称', - 'description' => '水印名称', - 'type' => 'string', - 'example' => '名称', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP 状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Errors' => [ - 'title' => '错误列表', - 'description' => '错误列表', - 'type' => 'array', - 'items' => [ - 'description' => '-', - 'type' => 'object', - 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '-', - ], - ], - ], - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '1fdc45cd-3eee-4e60-b505-2e330b8755d3'], + 'Data' => ['description' => '数据', 'type' => 'object', 'example' => '-'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"1fdc45cd-3eee-4e60-b505-2e330b8755d3\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"1fdc45cd-3eee-4e60-b505-2e330b8755d3\\n-\\n-\\nOK","errorExample":""}]', + 'title' => 'DeleteDetectProcess', + 'summary' => '调用 DeleteDetectProcess 删除检测流程。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteDetectProcess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Value\\": \\"{}\\",\\n \\"Name\\": \\"名称\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '创建水印信息', ], - 'DeleteApp' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteRule' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2491,20 +1691,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '应用 ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => '规则 ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], 'responses' => [ @@ -2513,107 +1705,67 @@ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'description' => '数据', + 'description' => '无', 'type' => 'object', - 'example' => '无', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - ], - ], - ], - '5XX' => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'code' => [ - 'type' => 'string', - ], - 'data' => [ - 'type' => 'object', - ], - 'requestId' => [ - 'type' => 'string', - ], - 'message' => [ - 'type' => 'string', - ], - 'errors' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'message' => [ - 'type' => 'string', - ], - 'field' => [ - 'type' => 'string', - ], - ], - ], + 'properties' => [ + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => 'default'], + 'Content' => ['description' => '规则内容', 'type' => 'string', 'example' => '{}'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + ], ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"default\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n {}\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n\\nOK","errorExample":""}]', + 'title' => 'DeleteRule', + 'summary' => '调用 DeleteRule 删除检测规则。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '删除应用', - 'summary' => '调用 DeleteApp 删除应用。', ], - 'DeleteDepartment' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteUser' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2621,20 +1773,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '部门 ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => 'ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], 'responses' => [ @@ -2643,74 +1787,70 @@ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'object', - 'example' => '无', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', + 'Errors' => [ + 'description' => '无', + 'type' => 'array', + 'items' => [ + 'description' => '无', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => '无', 'type' => 'string', 'example' => '无'], + 'Field' => ['description' => '无', 'type' => 'string', 'example' => '无'], + ], + ], ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Data' => ['description' => '数据', 'type' => 'object', 'example' => '无'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Errors\\": [\\n {\\n \\"Message\\": \\"无\\",\\n \\"Field\\": \\"无\\"\\n }\\n ],\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"\\n -\\n -\\n\\n-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\nOK","errorExample":""}]', + 'title' => '删除用户', + 'summary' => '调用 DeleteUser 删除用户。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '删除部门', - 'summary' => '调用 DeleteDepartment 删除部门。', ], - 'DeleteDetectProcess' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteUserDepartments' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2718,99 +1858,88 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'UserId', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '用户 ID', + 'type' => 'array', + 'items' => ['description' => '无', 'type' => 'string', 'required' => false, 'example' => '无'], + 'required' => true, + 'maxItems' => 1000, + ], + ], + [ + 'name' => 'DepartmentId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'ID', - 'type' => 'string', + 'description' => '部门 ID', + 'type' => 'array', + 'items' => ['description' => '无', 'type' => 'string', 'required' => false, 'example' => '无'], 'required' => true, - 'docRequired' => true, - 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3', + 'maxItems' => 10000, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '-', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '1fdc45cd-3eee-4e60-b505-2e330b8755d3', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'object', - 'example' => '-', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '48A2B2E2-9995-5220-B77C-871119CB05CC'], + 'Data' => ['description' => '返回数据', 'type' => 'object', 'example' => '无'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"48A2B2E2-9995-5220-B77C-871119CB05CC\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '删除用户部门关系', + 'summary' => '调用 DeleteUserDepartments 删除用户部门关系。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteUserDepartments', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"1fdc45cd-3eee-4e60-b505-2e330b8755d3\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"1fdc45cd-3eee-4e60-b505-2e330b8755d3\\n-\\n-\\nOK","errorExample":""}]', - 'title' => 'DeleteDetectProcess', - 'summary' => '调用 DeleteDetectProcess 删除检测流程。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DeleteRule' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteWatermark' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2818,68 +1947,49 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'WatermarkId', 'in' => 'query', - 'schema' => [ - 'description' => '规则 ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => '水印 ID', 'type' => 'string', 'required' => false, 'example' => 'e5a923e0e727f212813a195e274b02c6'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '-'], 'Data' => [ - 'description' => '无', + 'title' => '数据', + 'description' => '数据', 'type' => 'object', 'properties' => [ - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => 'default', - ], - 'Content' => [ - 'description' => '规则内容', - 'type' => 'string', - 'example' => '{}', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Id' => ['title' => '水印id', 'description' => '水印 ID', 'type' => 'string', 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3'], + 'CreatedAt' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Value' => ['title' => '水印信息', 'description' => '水印信息', 'type' => 'string', 'example' => '{}'], + 'Name' => ['title' => '水印名称', 'description' => '水印名称', 'type' => 'string', 'example' => '名称'], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Errors' => [ + 'title' => '错误列表', + 'description' => '错误列表', + 'type' => 'array', + 'items' => [ + 'description' => '-', + 'type' => 'object', + 'properties' => [ + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + ], + ], ], ], ], @@ -2887,51 +1997,47 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"default\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n {}\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n\\nOK","errorExample":""}]', - 'title' => 'DeleteRule', - 'summary' => '调用 DeleteRule 删除检测规则。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteUser' => [ - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Value\\": \\"{}\\",\\n \\"Name\\": \\"名称\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '删除水印信息', + 'changeSet' => [ + ['createdAt' => '2022-01-04T11:03:19.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteWatermark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'FaceCompare' => [ + 'summary' => '人脸对比', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2939,119 +2045,102 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'Id', - 'in' => 'query', + 'name' => 'FaceRequest', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => 'ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', + 'description' => '请求参数', + 'type' => 'object', + 'properties' => [ + 'AppId' => ['title' => '应用信息', 'description' => '应用id', 'type' => 'string', 'required' => false, 'example' => 'd61be709-49d2-4cf1-b219-cd6181f72***'], + 'SourceImage' => ['title' => '人脸照片 base64', 'description' => '照片Base64编码。', 'type' => 'string', 'required' => false, 'example' => '/9j/4AAQSkZJRgABAQAASxxxxxxx'], + 'TargetImage' => ['title' => '底库照片 base64', 'description' => '底库照片Base64编码。', 'type' => 'string', 'required' => false, 'example' => '/9j/4AAQSkZJRgABAQAASxxxxxxx'], + ], + 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'Errors' => [ - 'description' => '无', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => '无', - 'type' => 'string', - 'example' => '无', - ], - 'Field' => [ - 'description' => '无', - 'type' => 'string', - 'example' => '无', - ], - ], - ], - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4ba***'], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], 'Data' => [ 'description' => '数据', 'type' => 'object', - 'example' => '无', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', + 'properties' => [ + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '信息。', 'type' => 'string', 'example' => '-'], + 'Passed' => ['description' => '认证是否通过。'."\n" + ."\n" + .'- T:通过。'."\n" + .'- F:不通过。', 'type' => 'string', 'example' => 'T'], + 'VerifyScore' => ['description' => '人脸比对分。', 'type' => 'number', 'format' => 'float', 'example' => '60.86'], + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'completed'], + ], ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4ba***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"-\\",\\n \\"Passed\\": \\"T\\",\\n \\"VerifyScore\\": 60.86,\\n \\"Status\\": \\"completed\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '人脸对比', + 'changeSet' => [ + ['createdAt' => '2022-07-08T02:21:10.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-08T02:03:24.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-07T13:28:03.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-07T09:05:44.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:FaceCompare', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Errors\\": [\\n {\\n \\"Message\\": \\"无\\",\\n \\"Field\\": \\"无\\"\\n }\\n ],\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"\\n -\\n -\\n\\n-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\nOK","errorExample":""}]', - 'title' => '删除用户', - 'summary' => '调用 DeleteUser 删除用户。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'DeleteUserDepartments' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'FaceLiveness' => [ + 'summary' => '单向视频双录-静默活体', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3059,119 +2148,94 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'UserId', + 'name' => 'FaceRequest', 'in' => 'formData', - 'style' => 'repeatList', + 'style' => 'json', 'schema' => [ - 'description' => '用户 ID', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'string', - 'required' => false, - 'example' => '无', + 'description' => '请求参数', + 'type' => 'object', + 'properties' => [ + 'AppId' => ['description' => '双录质检应用ID', 'type' => 'string', 'required' => true, 'example' => 'd61be709-49d2-4cf1-b219-cd6181f72***'], + 'SourceImage' => ['description' => '照片Base64编码。', 'type' => 'string', 'required' => true, 'example' => '/9j/4AAQSkZJRgABAQAASxxxxxxx'], ], 'required' => true, - 'maxItems' => 1000, - ], - ], - [ - 'name' => 'DepartmentId', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '部门 ID', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'string', - 'required' => false, - 'example' => '无', - ], - 'required' => true, - 'maxItems' => 10000, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '48A2B2E2-9995-5220-B77C-871119CB05CC', - ], + 'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => '7AC54DAF-38F8-58C7-8383-3131FEDDA***'], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], 'Data' => [ - 'description' => '返回数据', + 'description' => '数据', 'type' => 'object', - 'example' => '无', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', + 'properties' => [ + 'PublicId' => ['title' => '人脸任务ID', 'description' => '人脸任务ID', 'type' => 'string', 'example' => 'd61be709-49d2-4cf1-b219-cd6181f72***'."\n"], + 'Code' => ['title' => '人脸接口返回的code', 'description' => '人脸接口返回的code', 'type' => 'string', 'example' => '2000000'], + 'Message' => ['title' => '人脸接口返回的错误信息', 'description' => '人脸接口返回的错误信息', 'type' => 'string', 'example' => 'success'], + 'Passed' => ['title' => '识别是否通过', 'description' => '识别是否通过', 'type' => 'string', 'example' => 'T'], + 'Score' => ['title' => '分值', 'description' => '分值', 'type' => 'number', 'format' => 'float', 'example' => '3.24324324324'], + 'Status' => ['title' => '任务状态', 'description' => '任务状态', 'type' => 'string', 'example' => 'COMPLETED'], + ], ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"48A2B2E2-9995-5220-B77C-871119CB05CC\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '删除用户部门关系', - 'summary' => '调用 DeleteUserDepartments 删除用户部门关系。', - ], - 'DeleteWatermark' => [ - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7AC54DAF-38F8-58C7-8383-3131FEDDA***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"PublicId\\": \\"d61be709-49d2-4cf1-b219-cd6181f72***\\\\n\\",\\n \\"Code\\": \\"2000000\\",\\n \\"Message\\": \\"success\\",\\n \\"Passed\\": \\"T\\",\\n \\"Score\\": 3.24324324324,\\n \\"Status\\": \\"COMPLETED\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '静默活体检测', + 'changeSet' => [ + ['createdAt' => '2022-08-26T03:41:52.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:FaceLiveness', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'FaceRecognize' => [ + 'summary' => '单向视频双录-人脸识别静默活体', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3179,157 +2243,93 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'WatermarkId', - 'in' => 'query', + 'name' => 'FaceRequest', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => '水印 ID', - 'type' => 'string', - 'required' => false, - 'example' => 'e5a923e0e727f212813a195e274b02c6', + 'description' => '请求参数', + 'type' => 'object', + 'properties' => [ + 'AppId' => ['description' => '双录质检应用ID', 'type' => 'string', 'required' => true, 'example' => 'd61be709-49d2-4cf1-b219-cd6181f72***'], + 'SourceImage' => ['description' => '照片Base64编码。', 'type' => 'string', 'required' => true, 'example' => '/9j/4AAQSkZJRgABAQAASxxxxxxx'], + 'TargetImage' => ['description' => '底库照片Base64编码。', 'type' => 'string', 'required' => true, 'example' => '/9j/4AAQSkZJRgABAQAASxxxxxxx'], + 'Liveness' => ['description' => '是否检测真人', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '-', - ], + 'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4ba***'], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '-'], 'Data' => [ - 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '水印id', - 'description' => '水印 ID', - 'type' => 'string', - 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3', - ], - 'CreatedAt' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Value' => [ - 'title' => '水印信息', - 'description' => '水印信息', - 'type' => 'string', - 'example' => '{}', - ], - 'Name' => [ - 'title' => '水印名称', - 'description' => '水印名称', - 'type' => 'string', - 'example' => '名称', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP 状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Errors' => [ - 'title' => '错误列表', - 'description' => '错误列表', - 'type' => 'array', - 'items' => [ - 'description' => '-', - 'type' => 'object', - 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - ], + 'ComparePassed' => ['title' => '识别是否通过', 'description' => '识别是否通过', 'type' => 'string', 'example' => 'T '], + 'CompareScore' => ['title' => '分值', 'description' => '分值', 'type' => 'number', 'format' => 'float', 'example' => '32.435'], + 'LivenessPassed' => ['title' => '识别是否通过', 'description' => '识别是否通过', 'type' => 'string', 'example' => 'T'], + 'LivenessScore' => ['title' => '分值', 'description' => '分值', 'type' => 'number', 'format' => 'float', 'example' => '56.34'], ], ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4ba***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"ComparePassed\\": \\"T \\",\\n \\"CompareScore\\": 32.435,\\n \\"LivenessPassed\\": \\"T\\",\\n \\"LivenessScore\\": 56.34\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '人脸识别', + 'changeSet' => [ + ['createdAt' => '2022-08-26T03:41:52.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:FaceRecognize', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Value\\": \\"{}\\",\\n \\"Name\\": \\"名称\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '删除水印信息', ], 'GetApp' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3337,62 +2337,32 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '应用 ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => '应用 ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], [ 'name' => 'PackageName', 'in' => 'query', - 'schema' => [ - 'description' => '包名', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'com.a.test', - ], + 'schema' => ['description' => '包名', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'com.a.test'], ], [ 'name' => 'DeviceId', 'in' => 'query', - 'schema' => [ - 'description' => '设备 ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'xxx-xxx-xxx', - ], + 'schema' => ['description' => '设备 ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'xxx-xxx-xxx'], ], [ 'name' => 'ClientVersion', 'in' => 'query', - 'schema' => [ - 'description' => '客户端版本', - 'type' => 'string', - 'required' => false, - 'example' => '1.0.002', - ], + 'schema' => ['description' => '客户端版本', 'type' => 'string', 'required' => false, 'example' => '1.0.002'], ], [ 'name' => 'ClientBaseParam', 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], ], ], 'responses' => [ @@ -3401,86 +2371,39 @@ 'description' => '返回数据', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ 'description' => '无', 'type' => 'object', 'properties' => [ - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '1', - ], - 'Disabled' => [ - 'description' => '关闭状态', - 'type' => 'string', - 'example' => 'false', - ], - 'Name' => [ - 'description' => '应用名称', - 'type' => 'string', - 'example' => '应用', - ], - 'Config' => [ - 'description' => '客户端相关配置', - 'type' => 'string', - 'example' => '{}', - ], - 'FeeId' => [ - 'description' => '对账 ID', - 'type' => 'string', - 'example' => 'ff1d7783-e087-4d62-92df-3a163eca7c07', - ], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '1'], + 'Disabled' => ['description' => '关闭状态', 'type' => 'string', 'example' => 'false'], + 'Name' => ['description' => '应用名称', 'type' => 'string', 'example' => '应用'], + 'Config' => ['description' => '客户端相关配置', 'type' => 'string', 'example' => '{}'], + 'FeeId' => ['description' => '对账 ID', 'type' => 'string', 'example' => 'ff1d7783-e087-4d62-92df-3a163eca7c07'], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"CreatedAt\\": \\"1\\",\\n \\"Disabled\\": \\"false\\",\\n \\"Name\\": \\"应用\\",\\n \\"Config\\": \\"{}\\",\\n \\"FeeId\\": \\"ff1d7783-e087-4d62-92df-3a163eca7c07\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n 1\\n false\\n 应用\\n\\nOK","errorExample":""}]', @@ -3489,15 +2412,32 @@ 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetDepartment' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2022-02-21T08:32:04.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-01-24T04:47:39.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-01-14T07:35:14.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetAsrResult' => [ + 'summary' => '单向视频双录-获取语音识别结果', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3505,135 +2445,79 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Id', - 'in' => 'query', - 'schema' => [ - 'description' => 'ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - ], - [ - 'name' => 'ClientBaseParam', + 'name' => 'AsrTaskId', 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], + 'schema' => ['description' => '任务id', 'type' => 'string', 'required' => true, 'example' => 'B2AADC9E-2A58-5918-AE4E-FF59E19D7***'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'RequestId' => ['description' => '唯一请求识别码', 'type' => 'string', 'example' => 'C14ED32C-B9E4-54E7-BA85-C2B562C5B***'], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], 'Data' => [ - 'description' => '无', + 'description' => '数据', 'type' => 'object', 'properties' => [ - 'Description' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => '描述', - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'UpdatedAt' => [ - 'description' => '更新日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '姓名', - 'type' => 'string', - 'example' => '名称', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Result' => ['description' => 'asr识别出的文本', 'type' => 'string', 'example' => '北京的天气'], ], ], - 'Code' => [ - 'description' => '请求状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Description\\": \\"描述\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"UpdatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"名称\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\n\\n 描述\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 2020-07-14T14:01:41.000+08:00\\n 名称\\n\\nOK","errorExample":""}]', - 'title' => 'GetDepartment', - 'summary' => '调用GetDepartment获取部门。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetDetection' => [ - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C14ED32C-B9E4-54E7-BA85-C2B562C5B***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Result\\": \\"北京的天气\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '获取ASR任务结果', + 'changeSet' => [ + ['createdAt' => '2022-08-26T03:41:52.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetAsrResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetDepartment' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3641,185 +2525,89 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ClientBaseParam', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], + 'schema' => ['description' => 'ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], [ - 'name' => 'Id', + 'name' => 'ClientBaseParam', 'in' => 'query', - 'schema' => [ - 'description' => 'ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '-', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'description' => '-', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'runnable', - ], - 'DepartmentName' => [ - 'description' => '部门名称', - 'type' => 'string', - 'example' => '部门', - ], - 'Tasks' => [ - 'description' => '任务列表', - 'type' => 'array', - 'items' => [ - 'description' => '-', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '任务状态', - 'type' => 'string', - 'example' => 'runnable', - ], - 'VideoMetaUrl' => [ - 'description' => '视频 meta 地址', - 'type' => 'string', - 'example' => 'http://oss.aliyun.com/1.mp4.meta', - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Id' => [ - 'description' => '任务 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'VideoUrl' => [ - 'description' => '视频地址', - 'type' => 'string', - 'example' => 'http://oss.aliyun.com/1.mp4', - ], - ], - ], - ], - 'RecordingType' => [ - 'description' => '录制类型', - 'type' => 'string', - 'example' => 'local', - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'DepartmentId' => [ - 'description' => '部门 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'RuleName' => [ - 'description' => '规则名称', - 'type' => 'string', - 'example' => 'default', - ], - 'RuleId' => [ - 'description' => '规则 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '描述'], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'UpdatedAt' => ['description' => '更新日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '姓名', 'type' => 'string', 'example' => '名称'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '请求状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Status\\": \\"runnable\\",\\n \\"DepartmentName\\": \\"部门\\",\\n \\"Tasks\\": [\\n {\\n \\"Status\\": \\"runnable\\",\\n \\"VideoMetaUrl\\": \\"http://oss.aliyun.com/1.mp4.meta\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"VideoUrl\\": \\"http://oss.aliyun.com/1.mp4\\"\\n }\\n ],\\n \\"RecordingType\\": \\"local\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DepartmentId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RuleName\\": \\"default\\",\\n \\"RuleId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n runnable\\n \\n runnable\\n 2020-07-14T14:01:41.000+08:00\\n http://oss.aliyun.com/1.mp4.meta\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n http://oss.aliyun.com/1.mp4\\n \\n local\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 部门\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n\\nOK","errorExample":""}]', - 'title' => 'GetDetection', - 'summary' => '调用 GetDetection 获取检测信息。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Description\\": \\"描述\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"UpdatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"名称\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\n\\n 描述\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 2020-07-14T14:01:41.000+08:00\\n 名称\\n\\nOK","errorExample":""}]', + 'title' => 'GetDepartment', + 'summary' => '调用GetDepartment获取部门。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetPreSignedUrl' => [ - 'methods' => [ - 'post', + 'changeSet' => [ + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetDepartment', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetDetectProcess' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3827,39 +2615,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ClientVersion', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '客户端版本。', - 'type' => 'string', - 'required' => false, - 'example' => '1.0.001', - ], + 'schema' => ['description' => 'ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0f1c45cd-3eee-4e60-b505-2e330b87****'], ], [ 'name' => 'ClientBaseParam', 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], - ], - [ - 'name' => 'Prefix', - 'in' => 'formData', - 'schema' => [ - 'description' => '前缀', - 'type' => 'string', - 'required' => false, - 'example' => 'test.mp4', - ], + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], ], ], 'responses' => [ @@ -3868,81 +2634,62 @@ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '无', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '0q1c45cd-3eee-1e60-b505-2e330b8755d3'], 'Data' => [ - 'description' => '无', - 'type' => 'string', - 'example' => 'http://shuanglu-pre.oss-cn-beijing.aliyuncs.com/13ba4081-84f3-42b0-af93-10a64319f8ef/test.txt', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', + 'description' => '数据', + 'type' => 'object', + 'properties' => [ + 'Draft' => ['description' => ' '."\n" + .'流程配置草稿内容', 'type' => 'string', 'example' => '{}'], + 'CreatedAt' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-12-04T14:47:59.000+08:00'], + 'Md5' => ['description' => '流程配置正式内容的 MD5', 'type' => 'string', 'example' => '987d563d38f5aef27feca8702c689bb1'], + 'UpdatedAt' => ['description' => '更新时间', 'type' => 'string', 'example' => '2020-12-04T14:47:59.000+08:00'], + 'Name' => ['description' => '检测流程名称', 'type' => 'string', 'example' => 'Android检测流程'], + 'NewVersion' => ['description' => '是否有新版本', 'type' => 'boolean', 'example' => 'true'], + 'Content' => ['description' => '流程配置正式内容', 'type' => 'string', 'example' => '{}'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3'], + ], ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": \\"http://shuanglu-pre.oss-cn-beijing.aliyuncs.com/13ba4081-84f3-42b0-af93-10a64319f8ef/test.txt\\",\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\nOK","errorExample":""}]', - 'title' => 'GetPreSignedUrl', - 'summary' => '调用 GetPreSignedUrl 获取上传文件需要的预签名 URL。', - 'description' => '上传文件到 OSS,可以先获取预签名的 URL,再进行 PUT。'."\n" - ."\n" - .'PUT 操作等价的 curl 命令,可参照:'."\n" - .'`curl -X PUT -H \'Content-Type:\' --data-binary @/tmp/test.txt \'http://shuanglu-pre.oss-cn-beijing.aliyuncs.com/13ba4081-84f3-42b0-af93-10a64319f8ef/test.txt?Expires=1604659193&OSSAccessKeyId=LTEI4FcsdDhFc7h78gqB****&Signature=+8lNqlW7ijIGLwNcyR****\'`', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"0q1c45cd-3eee-1e60-b505-2e330b8755d3\\",\\n \\"Data\\": {\\n \\"Draft\\": \\"{}\\",\\n \\"CreatedAt\\": \\"2020-12-04T14:47:59.000+08:00\\",\\n \\"Md5\\": \\"987d563d38f5aef27feca8702c689bb1\\",\\n \\"UpdatedAt\\": \\"2020-12-04T14:47:59.000+08:00\\",\\n \\"Name\\": \\"Android检测流程\\",\\n \\"NewVersion\\": true,\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"\\n\\n\\n true\\n {}\\n {}\\n 2020-12-04T14:47:59.000+08:00\\n 0f1c45cd-3eee-4e60-b505-2e330b8755d3\\n 2020-12-04T14:47:59.000+08:00\\n 987d563d38f5aef27feca8702c689bb1\\n Android检测流程\\n\\nOK","errorExample":""}]', + 'title' => '获取检测流程信息', + 'summary' => '通过 GetDetectProcess 获取检测流程。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetRule' => [ - 'methods' => [ - 'post', + 'changeSet' => [ + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + ], + 'GetDetectProcessJsonFile' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3950,130 +2697,75 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'Id', - 'in' => 'query', - 'schema' => [ - 'description' => '规则 ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'in' => 'formData', + 'schema' => ['description' => 'ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'hpsk3wdo-2020122319'], ], [ 'name' => 'ClientBaseParam', 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'description' => '-', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'Data' => [ - 'description' => '无', - 'type' => 'object', - 'properties' => [ - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => 'default', - ], - 'Content' => [ - 'description' => '规则内容', - 'type' => 'string', - 'example' => '{}', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - ], - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '-'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => 'B2695011-0604-5557-9E00-B74F58AB3F2B'], + 'Data' => ['description' => '数据', 'type' => 'string', 'example' => '-'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"default\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n\\n\\n {}\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n\\nOK","errorExample":""}]', - 'title' => 'GetRule', - 'summary' => '调用 GetRule 获取检测规则。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'GetTask' => [ - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"B2695011-0604-5557-9E00-B74F58AB3F2B\\",\\n \\"Data\\": \\"-\\",\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '获取检测流程配置的 JSON 文件', + 'changeSet' => [ + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetDetectProcessJsonFile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetDetection' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4081,128 +2773,107 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ClientBaseParam', 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => ' {"version":"1.0.0"}', - ], + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], ], [ - 'name' => 'TaskId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '任务 ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => 'ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'description' => '-', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'description' => '任务数据', + 'description' => '-', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '任务状态', - 'type' => 'string', - 'example' => 'runnable', - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Id' => [ - 'description' => '检测任务 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'VideoUrl' => [ - 'description' => '检测结果视频 URL', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4', + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'runnable'], + 'DepartmentName' => ['description' => '部门名称', 'type' => 'string', 'example' => '部门'], + 'Tasks' => [ + 'description' => '任务列表', + 'type' => 'array', + 'items' => [ + 'description' => '-', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '任务状态', 'type' => 'string', 'example' => 'runnable'], + 'VideoMetaUrl' => ['description' => '视频 meta 地址', 'type' => 'string', 'example' => 'http://oss.aliyun.com/1.mp4.meta'], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Id' => ['description' => '任务 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'VideoUrl' => ['description' => '视频地址', 'type' => 'string', 'example' => 'http://oss.aliyun.com/1.mp4'], + ], + ], ], + 'RecordingType' => ['description' => '录制类型', 'type' => 'string', 'example' => 'local'], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'DepartmentId' => ['description' => '部门 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'RuleName' => ['description' => '规则名称', 'type' => 'string', 'example' => 'default'], + 'RuleId' => ['description' => '规则 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Data\\": {\\n \\"Status\\": \\"runnable\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '获取指定任务信息', - 'summary' => '调用 GetTask 获取指定任务信息。', - ], - 'GetTaskGroup' => [ - 'methods' => [ - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Status\\": \\"runnable\\",\\n \\"DepartmentName\\": \\"部门\\",\\n \\"Tasks\\": [\\n {\\n \\"Status\\": \\"runnable\\",\\n \\"VideoMetaUrl\\": \\"http://oss.aliyun.com/1.mp4.meta\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"VideoUrl\\": \\"http://oss.aliyun.com/1.mp4\\"\\n }\\n ],\\n \\"RecordingType\\": \\"local\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DepartmentId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RuleName\\": \\"default\\",\\n \\"RuleId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n runnable\\n \\n runnable\\n 2020-07-14T14:01:41.000+08:00\\n http://oss.aliyun.com/1.mp4.meta\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n http://oss.aliyun.com/1.mp4\\n \\n local\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 部门\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n\\nOK","errorExample":""}]', + 'title' => 'GetDetection', + 'summary' => '调用 GetDetection 获取检测信息。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetDetection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetPreSignedUrl' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4210,162 +2881,90 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'ClientBaseParam', + 'name' => 'ClientVersion', 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], + 'schema' => ['description' => '客户端版本。', 'type' => 'string', 'required' => false, 'example' => '1.0.001'], ], [ - 'name' => 'Id', + 'name' => 'ClientBaseParam', 'in' => 'query', - 'schema' => [ - 'description' => '任务组 ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], + ], + [ + 'name' => 'Prefix', + 'in' => 'formData', + 'schema' => ['description' => '前缀', 'type' => 'string', 'required' => false, 'example' => 'test.mp4'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '-', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'Data' => [ - 'description' => '-', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'runnable', - ], - 'CompletedTasks' => [ - 'description' => '已完成任务数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalTasks' => [ - 'description' => '总任务数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => '名称', - ], - 'TaskIds' => [ - 'description' => '-', - 'type' => 'array', - 'items' => [ - 'description' => '任务 ID 列表', - 'type' => 'string', - 'example' => '["1"]', - ], - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'RuleId' => [ - 'description' => '规则 ID', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'RuleName' => [ - 'description' => '规则名称', - 'type' => 'string', - 'example' => 'default', - ], - ], - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Message' => ['description' => '无', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Data' => ['description' => '无', 'type' => 'string', 'example' => 'http://shuanglu-pre.oss-cn-beijing.aliyuncs.com/13ba4081-84f3-42b0-af93-10a64319f8ef/test.txt'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Status\\": \\"runnable\\",\\n \\"CompletedTasks\\": 1,\\n \\"TotalTasks\\": 1,\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"名称\\",\\n \\"TaskIds\\": [\\n \\"[\\\\\\"1\\\\\\"]\\"\\n ],\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RuleId\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"RuleName\\": \\"default\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n runnable\\n [\\"1\\"]\\n 2020-07-14T14:01:41.000+08:00\\n 2020-07-14T14:01:41.000+08:00\\n 1\\n 1\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n 名称\\n\\n","errorExample":""}]', - 'title' => 'GetTaskGroup', - 'summary' => '调用 GetTaskGroup 获取任务组。', - 'description' => '**1**', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": \\"http://shuanglu-pre.oss-cn-beijing.aliyuncs.com/13ba4081-84f3-42b0-af93-10a64319f8ef/test.txt\\",\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\nOK","errorExample":""}]', + 'title' => 'GetPreSignedUrl', + 'summary' => '调用 GetPreSignedUrl 获取上传文件需要的预签名 URL。', + 'description' => '上传文件到 OSS,可以先获取预签名的 URL,再进行 PUT。'."\n" + ."\n" + .'PUT 操作等价的 curl 命令,可参照:'."\n" + .'`curl -X PUT -H \'Content-Type:\' --data-binary @/tmp/test.txt \'http://shuanglu-pre.oss-cn-beijing.aliyuncs.com/13ba4081-84f3-42b0-af93-10a64319f8ef/test.txt?Expires=1604659193&OSSAccessKeyId=LTEI4FcsdDhFc7h78gqB****&Signature=+8lNqlW7ijIGLwNcyR****\'`', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetUser' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-24T04:47:39.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetPreSignedUrl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetRecordResult' => [ + 'summary' => '根据ID查询录制信息', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4373,138 +2972,83 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'RecordId', 'in' => 'query', - 'schema' => [ - 'description' => 'ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => '双录 ID', 'type' => 'string', 'required' => true, 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], ], [ 'name' => 'ClientBaseParam', 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '返回信息。', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID。', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '无'], 'Data' => [ - 'description' => '无', + 'title' => '数据', + 'description' => '数据', 'type' => 'object', 'properties' => [ - 'Email' => [ - 'description' => '电子邮件地址', - 'type' => 'string', - 'example' => 'xxx@aa.com', - ], - 'PhoneNumber' => [ - 'description' => '手机号码', - 'type' => 'string', - 'example' => '187000023323', - ], - 'Departments' => [ - 'description' => '部门列表', + 'Id' => ['title' => '双录记录id', 'description' => '双录记录 ID', 'type' => 'string', 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3'], + 'CreatedAt' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'DetectProcessName' => ['title' => '业务检测流程名', 'description' => '业务检测流程名', 'type' => 'string', 'example' => 'XX流程'], + 'DepartmentName' => ['title' => '部门名', 'description' => '部门名', 'type' => 'string', 'example' => 'XX部门'], + 'AppName' => ['title' => '应用名', 'description' => '应用名', 'type' => 'string', 'example' => 'XX应用'], + 'VideoUrl' => ['title' => '视频地址', 'description' => '视频地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4'], + 'MetaUrl' => ['title' => 'meta地址', 'description' => 'meta 地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.meta'], + 'ResultUrl' => ['title' => '结果地址', 'description' => '结果地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.json'], + 'RecordAt' => ['title' => '录制时间', 'description' => '录制时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Duration' => ['title' => '时长', 'description' => '时长', 'type' => 'integer', 'format' => 'int64', 'example' => '22'], + 'Status' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => 'completed'], + 'RoomId' => ['title' => 'mrtc房间id', 'description' => 'mrtc 房间 ID', 'type' => 'string', 'example' => '641981583353***'], + 'RecordRoomList' => [ + 'title' => '远程双录文件地址列表', + 'description' => '远程双录文件地址列表', 'type' => 'array', 'items' => [ - 'description' => '无', + 'description' => '房间列表', 'type' => 'object', 'properties' => [ - 'Description' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => '描述', - ], - 'GmtCreate' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => '名称', - ], - 'GmtModified' => [ - 'description' => '更新日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Id' => [ - 'description' => '部门 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Role' => ['title' => '角色', 'description' => '角色', 'type' => 'string', 'example' => '21343'], + 'RoomVideoUrl' => ['title' => '视频地址', 'description' => '视频地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4'], + 'RoomMetaUrl' => ['title' => 'meta地址', 'description' => 'meta 地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.meta'], + 'RoomResultUrl' => ['title' => '结果地址', 'description' => '结果地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.json'], + 'RecordType' => ['title' => '录制视频类型', 'description' => '录制视频类型', 'type' => 'string', 'example' => 'Mix'], + 'RoomRecordAt' => ['title' => '录制时间', 'description' => '录制时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'RoomStatus' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => 'runnable'], + 'RtcRecordId' => ['description' => 'mrtc录制ID', 'type' => 'string', 'example' => 'record_65703154805715668342'."\n"], + 'OuterBusinessId' => ['description' => '业务ID,用户自定义', 'type' => 'string', 'example' => 'ads32efef43'], ], ], ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'UpdatedAt' => [ - 'description' => '更新日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Source' => [ - 'description' => '来源', - 'type' => 'string', - 'example' => 'ram', - ], - 'Role' => [ - 'description' => '角色', - 'type' => 'string', - 'example' => 'admin', - ], - 'Name' => [ - 'description' => '姓名', - 'type' => 'string', - 'example' => '姓名', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'Username' => [ - 'description' => '用户名', - 'type' => 'string', - 'example' => 'test', - ], + 'OuterBusinessId' => ['description' => '业务ID,用户自定义', 'type' => 'string', 'example' => 'ads32efef43'], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Errors' => [ + 'title' => '错误列表', + 'description' => '错误列表', + 'type' => 'array', + 'items' => [ + 'description' => '异常信息', + 'type' => 'object', + 'properties' => [ + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + ], + ], ], ], ], @@ -4512,51 +3056,53 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DetectProcessName\\": \\"XX流程\\",\\n \\"DepartmentName\\": \\"XX部门\\",\\n \\"AppName\\": \\"XX应用\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"MetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"ResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Duration\\": 22,\\n \\"Status\\": \\"completed\\",\\n \\"RoomId\\": \\"641981583353***\\",\\n \\"RecordRoomList\\": [\\n {\\n \\"Role\\": \\"21343\\",\\n \\"RoomVideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"RoomMetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"RoomResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RecordType\\": \\"Mix\\",\\n \\"RoomRecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"RoomStatus\\": \\"runnable\\",\\n \\"RtcRecordId\\": \\"record_65703154805715668342\\\\n\\",\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n }\\n ],\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\",\\n \\"Message\\": \\"无\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取双录结果', + 'changeSet' => [ + ['createdAt' => '2022-08-29T07:30:49.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-07-05T11:05:57.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-12T03:08:53.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-01-09T16:48:09.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-01-07T06:08:55.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-01-04T07:08:00.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetRecordResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Email\\": \\"xxx@aa.com\\",\\n \\"PhoneNumber\\": \\"187000023323\\",\\n \\"Departments\\": [\\n {\\n \\"Description\\": \\"描述\\",\\n \\"GmtCreate\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"名称\\",\\n \\"GmtModified\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"UpdatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Source\\": \\"ram\\",\\n \\"Role\\": \\"admin\\",\\n \\"Name\\": \\"姓名\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Username\\": \\"test\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n admin\\n \\n 2020-07-14T14:01:41.000+08:00\\n 描述\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 名称\\n \\n xxx@aa.com\\n test\\n 2020-07-14T14:01:41.000+08:00\\n 187000023323\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 2020-07-14T14:01:41.000+08:00\\n ram\\n 姓名\\n\\nOK","errorExample":""}]', - 'title' => '查询用户信息', - 'summary' => '调用 GetUser 获取指定用户信息。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'ListApps' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetRecordsByFeeId' => [ + 'summary' => '根据feeid查询上报结果信息接口', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4564,126 +3110,82 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '1000000', - 'minimum' => '1', - 'example' => '1', - 'isFileTransferUrl' => false, - 'default' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '10000', - 'minimum' => '10', - 'example' => '10', - 'isFileTransferUrl' => false, - 'default' => '10', - ], + 'name' => 'FeeId', + 'in' => 'formData', + 'schema' => ['description' => '对账 ID', 'type' => 'string', 'required' => false, 'example' => '6c94f2a7-632d-4ea0-aa06-a97800a9060f'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'title' => 'ApiResult>', + 'description' => 'ApiResult>', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => '0B576AAB-A638-5029-9A54-A7C1DB5AC0B3'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '-'], 'Data' => [ - 'description' => '无', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '数据项', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'object', - 'properties' => [ - 'DepartmentName' => [ - 'description' => '部门名称', - 'type' => 'string', - 'example' => '部门', - ], - 'PackageName' => [ - 'description' => '包名', - 'type' => 'string', - 'example' => 'com.aaa.test', - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'DepartmentId' => [ - 'description' => '部门 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'Disabled' => [ - 'description' => '是否禁用', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => '应用', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', + 'title' => '数据', + 'description' => '数据', + 'type' => 'array', + 'items' => [ + 'description' => '数据', + 'type' => 'object', + 'properties' => [ + 'Id' => ['title' => '双录记录id', 'description' => '双录记录id', 'type' => 'string', 'example' => '63bb629d-92bf-4cdc-ad0b-3032c926d23f'], + 'CreatedAt' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'DetectProcessName' => ['title' => '业务检测流程名', 'description' => '业务检测流程名', 'type' => 'string', 'example' => 'XX流程'], + 'DepartmentName' => ['title' => '部门名', 'description' => '部门名', 'type' => 'string', 'example' => '部门'], + 'AppName' => ['title' => '应用名', 'description' => '应用名', 'type' => 'string', 'example' => 'XX应用'], + 'VideoUrl' => ['title' => '视频地址', 'description' => '视频地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4'], + 'MetaUrl' => ['title' => 'meta地址', 'description' => 'meta地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.meta'], + 'ResultUrl' => ['title' => '结果地址', 'description' => '结果地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.json'], + 'RecordAt' => ['title' => '录制时间', 'description' => '录制时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Duration' => ['title' => '时长', 'description' => '时长', 'type' => 'integer', 'format' => 'int64', 'example' => '22'], + 'Status' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => 'completed'], + 'RoomId' => ['title' => 'mrtc房间id', 'description' => 'mrtc房间id', 'type' => 'string', 'example' => '654078150345590'], + 'RecordRoomList' => [ + 'title' => '远程双录文件地址列表', + 'description' => '远程双录文件地址列表', + 'type' => 'array', + 'items' => [ + 'description' => '远程双录文件地址列表', + 'type' => 'object', + 'properties' => [ + 'Role' => ['title' => '角色', 'description' => '角色', 'type' => 'string', 'example' => '21343'], + 'RecordType' => ['title' => '录制视频类型', 'description' => '录制视频类型', 'type' => 'string', 'example' => 'Mix'], + 'RoomVideoUrl' => ['title' => '视频地址', 'description' => '视频地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4'], + 'RoomMetaUrl' => ['title' => 'meta地址', 'description' => 'meta地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.meta'], + 'RoomResultUrl' => ['title' => '结果地址', 'description' => '结果地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.json'], + 'RoomRecordAt' => ['title' => '录制时间', 'description' => '录制时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'RoomStatus' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => 'runnable'], + 'RtcRecordId' => ['description' => 'mrtc录制ID', 'type' => 'string', 'example' => 'record_65703154805715668342'], + 'OuterBusinessId' => ['description' => '业务ID,用户自定义', 'type' => 'string', 'example' => 'ads32efef43'], ], ], ], - ], - 'TotalPages' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '11', - ], - 'TotalElements' => [ - 'description' => '总条目数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'OuterBusinessId' => ['description' => '业务ID,用户自定义', 'type' => 'string', 'example' => 'ads32efef43'], ], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Errors' => [ + 'title' => '错误列表', + 'description' => '错误列表', + 'type' => 'array', + 'items' => [ + 'description' => '错误列表', + 'type' => 'object', + 'properties' => [ + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '-'], + ], + ], ], ], ], @@ -4691,51 +3193,47 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"DepartmentName\\": \\"部门\\",\\n \\"PackageName\\": \\"com.aaa.test\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DepartmentId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Disabled\\": false,\\n \\"Name\\": \\"应用\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"TotalPages\\": 11,\\n \\"TotalElements\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n 1\\n 11\\n \\n com.aaa.test\\n 2020-07-14T14:01:41.000+08:00\\n 部门\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n false\\n 应用\\n \\n\\nOK","errorExample":""}]', - 'title' => 'ListApps', - 'summary' => '调用 ListApps 获取应用列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListDepartments' => [ - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0B576AAB-A638-5029-9A54-A7C1DB5AC0B3\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": [\\n {\\n \\"Id\\": \\"63bb629d-92bf-4cdc-ad0b-3032c926d23f\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DetectProcessName\\": \\"XX流程\\",\\n \\"DepartmentName\\": \\"部门\\",\\n \\"AppName\\": \\"XX应用\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"MetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"ResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Duration\\": 22,\\n \\"Status\\": \\"completed\\",\\n \\"RoomId\\": \\"654078150345590\\",\\n \\"RecordRoomList\\": [\\n {\\n \\"Role\\": \\"21343\\",\\n \\"RecordType\\": \\"Mix\\",\\n \\"RoomVideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"RoomMetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"RoomResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RoomRecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"RoomStatus\\": \\"runnable\\",\\n \\"RtcRecordId\\": \\"record_65703154805715668342\\",\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n }\\n ],\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '根据feeid获取上报记录', + 'changeSet' => [ + ['createdAt' => '2022-08-29T07:30:49.000Z', 'description' => '响应参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetRecordsByFeeId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetRecordsByOuterBusinessId' => [ + 'summary' => '根据OuterBusinessId查询上报结果信息接口', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4743,156 +3241,82 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '部门名称', - 'type' => 'string', - 'required' => false, - 'example' => '部门名称', - ], - ], - [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '10000', - 'minimum' => '1', - 'example' => '1', - 'isFileTransferUrl' => false, - 'default' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '10', - 'example' => '10', - 'isFileTransferUrl' => false, - 'default' => '10', - ], - ], - [ - 'name' => 'UserId', + 'name' => 'OuterBusinessId', 'in' => 'query', - 'schema' => [ - 'description' => '用户 ID', - 'type' => 'string', - 'required' => false, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => '业务ID,用户自定义', 'type' => 'string', 'required' => true, 'example' => 'ads32efef43'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'title' => 'ApiResult>', + 'description' => 'ApiResult>', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '响应信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => '0f1c45cd-3eee-4e60-b505-2e330b875***'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '-'], 'Data' => [ - 'description' => '返回数据', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '数据项', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'object', - 'properties' => [ - 'Description' => [ - 'description' => ' 描述', - 'type' => 'string', - 'example' => '描述', - ], - 'Administrators' => [ - 'description' => '管理员列表', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '用户姓名', - 'type' => 'string', - 'example' => 'user', - ], - 'Id' => [ - 'description' => '用户 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - ], - ], - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'UpdatedAt' => [ - 'description' => '更新日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => '名称', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', + 'title' => '数据', + 'description' => '数据', + 'type' => 'array', + 'items' => [ + 'description' => '数据', + 'type' => 'object', + 'properties' => [ + 'Id' => ['title' => '双录记录id', 'description' => '双录记录id', 'type' => 'string', 'example' => '0f1c45cd-3eee-4e60-b505-2e330b875***'], + 'CreatedAt' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'DetectProcessName' => ['title' => '业务检测流程名', 'description' => '业务检测流程名', 'type' => 'string', 'example' => 'XX流程'], + 'DepartmentName' => ['title' => '部门名', 'description' => '部门名', 'type' => 'string', 'example' => 'XX部门'], + 'AppName' => ['title' => '应用名', 'description' => '应用名', 'type' => 'string', 'example' => 'XX应用'], + 'VideoUrl' => ['title' => '视频地址', 'description' => '视频地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4'], + 'MetaUrl' => ['title' => 'meta地址', 'description' => 'meta地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.meta'], + 'ResultUrl' => ['title' => '结果地址', 'description' => '结果地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.json'], + 'RecordAt' => ['title' => '录制时间', 'description' => '录制时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Duration' => ['title' => '时长', 'description' => '时长', 'type' => 'integer', 'format' => 'int64', 'example' => '22'], + 'Status' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => 'COMPLETED'], + 'RoomId' => ['title' => 'mrtc房间id', 'description' => 'mrtc房间id', 'type' => 'string', 'example' => '641981583353***'], + 'RecordRoomList' => [ + 'title' => '远程双录文件地址列表', + 'description' => '远程双录文件地址列表', + 'type' => 'array', + 'items' => [ + 'description' => '房间列表', + 'type' => 'object', + 'properties' => [ + 'Role' => ['title' => '角色', 'description' => '角色', 'type' => 'string', 'example' => 'user'], + 'RecordType' => ['title' => '录制视频类型', 'description' => '录制视频类型', 'type' => 'string', 'example' => 'Mix'], + 'RoomVideoUrl' => ['title' => '视频地址', 'description' => '视频地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4'], + 'RoomMetaUrl' => ['title' => 'meta地址', 'description' => 'meta地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.meta'], + 'RoomResultUrl' => ['title' => '结果地址', 'description' => '结果地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.json'], + 'RoomRecordAt' => ['title' => '录制时间', 'description' => '录制时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'RoomStatus' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => '1'], + 'RtcRecordId' => ['description' => 'mrtc录制ID', 'type' => 'string', 'example' => 'record_65703154805715668342'], + 'OuterBusinessId' => ['description' => '业务ID,用户自定义', 'type' => 'string', 'example' => 'ads32efef43'], ], ], ], - ], - 'TotalPages' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '11', - ], - 'TotalElements' => [ - 'description' => '总条目数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'OuterBusinessId' => ['description' => '业务ID,用户自定义', 'type' => 'string', 'example' => 'ads32efef43'], ], ], ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Errors' => [ + 'title' => '错误列表', + 'description' => '错误列表', + 'type' => 'array', + 'items' => [ + 'description' => '错误列表', + 'type' => 'object', + 'properties' => [ + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0***'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + ], + ], ], ], ], @@ -4900,51 +3324,46 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"Description\\": \\"描述\\",\\n \\"Administrators\\": [\\n {\\n \\"Name\\": \\"user\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"UpdatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"名称\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"TotalPages\\": 11,\\n \\"TotalElements\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n 1\\n 11\\n \\n 描述\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 2020-07-14T14:01:41.000+08:00\\n 名称\\n \\n \\n \\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n user\\n \\n \\n\\nOK","errorExample":""}]', - 'title' => 'ListDepartments', - 'summary' => '调用 ListDepartments 获取部门列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListDetections' => [ - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0f1c45cd-3eee-4e60-b505-2e330b875***\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": [\\n {\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b875***\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DetectProcessName\\": \\"XX流程\\",\\n \\"DepartmentName\\": \\"XX部门\\",\\n \\"AppName\\": \\"XX应用\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"MetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"ResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Duration\\": 22,\\n \\"Status\\": \\"COMPLETED\\",\\n \\"RoomId\\": \\"641981583353***\\",\\n \\"RecordRoomList\\": [\\n {\\n \\"Role\\": \\"user\\",\\n \\"RecordType\\": \\"Mix\\",\\n \\"RoomVideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"RoomMetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"RoomResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RoomRecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"RoomStatus\\": \\"1\\",\\n \\"RtcRecordId\\": \\"record_65703154805715668342\\",\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n }\\n ],\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0***\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '根据业务ID获取双录记录', + 'changeSet' => [ + ['createdAt' => '2022-08-29T07:31:02.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetRecordsByOuterBusinessId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetRule' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4952,292 +3371,198 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'CreateDateFrom', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '开始日期', - 'type' => 'string', - 'required' => false, - 'example' => '2020-10-10', - ], + 'schema' => ['description' => '规则 ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], [ - 'name' => 'CreateDateTo', + 'name' => 'ClientBaseParam', 'in' => 'query', + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '结束日期', - 'type' => 'string', - 'required' => false, - 'example' => '2020-10-11', + 'description' => '无', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Data' => [ + 'description' => '无', + 'type' => 'object', + 'properties' => [ + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => 'default'], + 'Content' => ['description' => '规则内容', 'type' => 'string', 'example' => '{}'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + ], + ], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + ], ], ], - [ - 'name' => 'DepartmentId', - 'in' => 'query', - 'schema' => [ - 'description' => '部门 ID', - 'type' => 'string', - 'required' => false, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '10000', - 'minimum' => '1', - 'example' => '1', - 'isFileTransferUrl' => false, - 'default' => '1', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], + ], + 403 => [ + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '10', - 'example' => '10', - 'isFileTransferUrl' => false, - 'default' => '10', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"default\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n\\n\\n {}\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n\\nOK","errorExample":""}]', + 'title' => 'GetRule', + 'summary' => '调用 GetRule 获取检测规则。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RecordingType', - 'in' => 'query', - 'schema' => [ - 'description' => '类型:remote(远程双录),local(本地双录)', - 'type' => 'string', - 'required' => false, - 'example' => 'local', - 'enum' => [ - 'local', - 'remote', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], + ], + ], + 'GetStatisticsRecordsByFeeId' => [ + 'summary' => '根据feeid查询上报计量信息接口', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'RuleId', - 'in' => 'query', - 'schema' => [ - 'description' => '规则 ID', - 'type' => 'string', - 'required' => false, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'FeeId', + 'in' => 'formData', + 'schema' => ['description' => '对账 ID', 'type' => 'string', 'required' => false, 'example' => 'ab7ce59f-a68a-4a6f-82a6-6460fadc9a70'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '-', + 'title' => 'ApiResult>', + 'description' => 'ApiResult>', 'type' => 'object', 'properties' => [ - 'Errors' => [ - 'description' => '-', + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => 'CAD43A24-D34C-5848-BEB0-3D184F6687B1'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '-'], + 'Data' => [ + 'title' => '数据', + 'description' => '数据', 'type' => 'array', 'items' => [ - 'description' => '错误列表', + 'description' => '数据', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - 'Field' => [ - 'description' => '字段', - 'type' => 'string', - 'example' => 'status', - ], + 'DeviceId' => ['description' => '设备id', 'type' => 'string', 'example' => '7f3dfb9aa0dd0261'], + 'TenantId' => ['description' => '租户id', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'AppId' => ['description' => 'appid', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'DepartmentId' => ['description' => '部门id', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'DeviceType' => ['description' => '终端设备类型,0:Android,1:iOS', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'CreatedAt' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'UpdatedAt' => ['description' => '更新时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'BeginAt' => ['description' => '开始检测时间,时间格式yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2022-05-23 10:33:12'], + 'EndAt' => ['description' => '结束检测时间,时间格式yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'example' => '2022-03-24 11:39:46'], + 'Hour' => ['title' => '2020050811', 'description' => '时间段', 'type' => 'integer', 'format' => 'int32', 'example' => '2020050811'], + 'DetectionDuration' => ['title' => '检测时长,s', 'description' => '检测时长,s', 'type' => 'integer', 'format' => 'int32', 'example' => '1200'], + 'ChargeDuration' => ['title' => '计费时长,min', 'description' => '计费时长,min', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'Type' => ['description' => '类型:remote(远程双录),local(本地双录)', 'type' => 'string', 'example' => 'REMOTE'], + 'FeeId' => ['description' => '对账 ID', 'type' => 'string', 'example' => 'ff1d7783-e087-4d62-92df-3a163eca7c07'], ], ], ], - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '-', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'Data' => [ - 'description' => '-', - 'type' => 'object', - 'properties' => [ - 'Items' => [ - 'description' => '数据项', - 'type' => 'array', - 'items' => [ - 'description' => '数据项', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'runnable', - ], - 'DepartmentName' => [ - 'description' => '部门名称', - 'type' => 'string', - 'example' => '部门名称', - ], - 'Tasks' => [ - 'description' => '任务数', - 'type' => 'array', - 'items' => [ - 'description' => '任务数', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '任务状态', - 'type' => 'string', - 'example' => 'runnable', - ], - 'VideoMetaUrl' => [ - 'description' => '检测结果视频 meta 地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.meta', - ], - 'CreatedAt' => [ - 'description' => '任务创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Id' => [ - 'description' => '任务 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'VideoUrl' => [ - 'description' => '检测结果视频地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4', - ], - ], - ], - ], - 'RecordingType' => [ - 'description' => '录制类型', - 'type' => 'string', - 'example' => 'local', - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'DepartmentId' => [ - 'description' => '部门 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'RuleName' => [ - 'description' => '规则名称', - 'type' => 'string', - 'example' => 'default', - ], - 'RuleId' => [ - 'description' => '规则 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - ], - ], - ], - 'TotalPages' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '11', - ], - 'TotalElements' => [ - 'description' => '总条目数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Errors' => [ + 'title' => '错误列表', + 'description' => '错误列表', + 'type' => 'array', + 'items' => [ + 'description' => '无', + 'type' => 'object', + 'properties' => [ + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => '-'], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '-'], ], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CAD43A24-D34C-5848-BEB0-3D184F6687B1\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": [\\n {\\n \\"DeviceId\\": \\"7f3dfb9aa0dd0261\\",\\n \\"TenantId\\": 1,\\n \\"AppId\\": 12,\\n \\"DepartmentId\\": 12,\\n \\"DeviceType\\": 0,\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"UpdatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"BeginAt\\": \\"2022-05-23 10:33:12\\",\\n \\"EndAt\\": \\"2022-03-24 11:39:46\\",\\n \\"Hour\\": 2020050811,\\n \\"DetectionDuration\\": 1200,\\n \\"ChargeDuration\\": 12,\\n \\"Type\\": \\"REMOTE\\",\\n \\"FeeId\\": \\"ff1d7783-e087-4d62-92df-3a163eca7c07\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"-\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '根据feeid获取计费信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetStatisticsRecordsByFeeId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Errors\\": [\\n {\\n \\"Message\\": \\"-\\",\\n \\"Field\\": \\"status\\"\\n }\\n ],\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"runnable\\",\\n \\"DepartmentName\\": \\"部门名称\\",\\n \\"Tasks\\": [\\n {\\n \\"Status\\": \\"runnable\\",\\n \\"VideoMetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\"\\n }\\n ],\\n \\"RecordingType\\": \\"local\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DepartmentId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RuleName\\": \\"default\\",\\n \\"RuleId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"TotalPages\\": 11,\\n \\"TotalElements\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"\\n status\\n -\\n\\n\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n 1\\n 11\\n \\n runnable\\n local\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 部门名称\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n \\n \\n \\n runnable\\n 2020-07-14T14:01:41.000+08:00\\n http://oss.aliyuncs.com/1.mp4.meta\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n http://oss.aliyuncs.com/1.mp4\\n \\n \\n\\nOK","errorExample":""}]', - 'title' => 'ListDetections', - 'summary' => '调用 ListDetections 获取检测结果列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'ListDetectProcesses' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetTask' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5245,92 +3570,18 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '10000', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '500', - 'minimum' => '10', - 'example' => '10', - 'default' => '10', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '检测流程名称', - 'type' => 'string', - 'required' => false, - 'example' => '检测流程名称', - ], - ], - [ - 'name' => 'PublishStatus', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '是否发布', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'Type', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '类型:remote(远程双录),local(本地双录)', - 'type' => 'string', - 'required' => false, - 'example' => 'LOCAL', - ], - ], - [ - 'name' => 'Sort', + 'name' => 'ClientBaseParam', 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => '排序', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - ], + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => ' {"version":"1.0.0"}'], ], [ - 'name' => 'SortKey', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '排序字段:CONTENT发布时间、DRAFT草稿时间', - 'type' => 'string', - 'required' => false, - 'example' => 'CONTENT', - ], + 'schema' => ['description' => '任务 ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], 'responses' => [ @@ -5339,167 +3590,66 @@ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => 'bf1c45cd-3eee-4e60-b505-2e330bf755d3', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], 'Data' => [ - 'description' => '数据', + 'description' => '任务数据', 'type' => 'object', 'properties' => [ - 'Items' => [ - 'description' => '数据项', - 'type' => 'array', - 'items' => [ - 'description' => '数据项', - 'type' => 'object', - 'properties' => [ - 'Draft' => [ - 'description' => '流程配置正式内容', - 'type' => 'string', - 'example' => '{}', - ], - 'FileUrl' => [ - 'description' => '可访问的文件 URL', - 'type' => 'string', - 'example' => 'http://abc.com/123.json', - ], - 'CreatedAt' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-12-04T14:47:59.000+08:00', - ], - 'Md5' => [ - 'description' => '流程配置正式内容的 MD5', - 'type' => 'string', - 'example' => '987d563d38f5aef27feca8702c689bb1', - ], - 'UpdatedAt' => [ - 'description' => '更新时间', - 'type' => 'string', - 'example' => '2020-12-04T14:48:59.000+08:00', - ], - 'DraftAt' => [ - 'title' => '保存时间', - 'description' => '保存时间', - 'type' => 'string', - 'example' => '2020-12-04T14:48:59.000+08:00', - ], - 'ContentAt' => [ - 'title' => '发布时间', - 'description' => '发布时间', - 'type' => 'string', - 'example' => '2020-12-04T14:48:59.000+08:00', - ], - 'NewVersion' => [ - 'description' => '是否更新版本', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Name' => [ - 'description' => '检测流程名称', - 'type' => 'string', - 'example' => 'Android检测流程', - ], - 'Content' => [ - 'description' => '流程配置正式内容', - 'type' => 'string', - 'example' => '{}', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3', - ], - 'Published' => [ - 'description' => '是否已发布 true:已发布:false:未发布', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Type' => [ - 'description' => '标识本地双录和远程双录(LOCAL 或 REMOTE)', - 'type' => 'string', - 'example' => 'REMOTE', - ], - ], - ], - ], - 'TotalPages' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalElements' => [ - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], + 'Status' => ['description' => '任务状态', 'type' => 'string', 'example' => 'runnable'], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Id' => ['description' => '检测任务 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'VideoUrl' => ['description' => '检测结果视频 URL', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4'], ], ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"bf1c45cd-3eee-4e60-b505-2e330bf755d3\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"Draft\\": \\"{}\\",\\n \\"FileUrl\\": \\"http://abc.com/123.json\\",\\n \\"CreatedAt\\": \\"2020-12-04T14:47:59.000+08:00\\",\\n \\"Md5\\": \\"987d563d38f5aef27feca8702c689bb1\\",\\n \\"UpdatedAt\\": \\"2020-12-04T14:48:59.000+08:00\\",\\n \\"DraftAt\\": \\"2020-12-04T14:48:59.000+08:00\\",\\n \\"ContentAt\\": \\"2020-12-04T14:48:59.000+08:00\\",\\n \\"NewVersion\\": true,\\n \\"Name\\": \\"Android检测流程\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\",\\n \\"Published\\": true,\\n \\"Type\\": \\"REMOTE\\"\\n }\\n ],\\n \\"TotalPages\\": 10,\\n \\"TotalElements\\": 100\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"bf1c45cd-3eee-4e60-b505-2e330bf755d3\\n-\\n\\n 100\\n 10\\n \\n true\\n http://abc.com/123.json\\n {}\\n {}\\n 2020-12-04T14:47:59.000+08:00\\n 0f1c45cd-3eee-4e60-b505-2e330b8755d3\\n 2020-12-04T14:48:59.000+08:00\\n Android检测流程\\n 987d563d38f5aef27feca8702c689bb1\\n \\n\\nOK","errorExample":""}]', - 'title' => 'ListDetectProcesses', - 'summary' => '调用 ListDetectProcesses 获取检测流程列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListFiles' => [ - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Data\\": {\\n \\"Status\\": \\"runnable\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '获取指定任务信息', + 'summary' => '调用 GetTask 获取指定任务信息。', + 'changeSet' => [ + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetTaskGroup' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5507,116 +3657,99 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Prefix', + 'name' => 'ClientBaseParam', 'in' => 'query', - 'schema' => [ - 'description' => '路径前缀', - 'type' => 'string', - 'required' => false, - 'example' => '20220110/', - ], + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], ], [ - 'name' => 'Limit', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '数量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '500', - 'isFileTransferUrl' => false, - 'default' => '10', - ], + 'schema' => ['description' => '任务组 ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'description' => '-', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'title' => '数据', - 'description' => '数据', - 'type' => 'string', - 'example' => '[\'d0388a41-30c6-4c74-af83-a1f923ce1725/process/\', \'d0388a41-30c6-4c74-af83-a1f923ce1725/video_12_14_09_05_41.mp4\', \'d0388a41-30c6-4c74-af83-a1f923ce1725/video_12_14_09_05_41.mp4.meta\']', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', + 'description' => '-', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'runnable'], + 'CompletedTasks' => ['description' => '已完成任务数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalTasks' => ['description' => '总任务数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => '名称'], + 'TaskIds' => [ + 'description' => '-', + 'type' => 'array', + 'items' => ['description' => '任务 ID 列表', 'type' => 'string', 'example' => '["1"]'], + ], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'RuleId' => ['description' => '规则 ID', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'RuleName' => ['description' => '规则名称', 'type' => 'string', 'example' => 'default'], + ], ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": \\"[\'d0388a41-30c6-4c74-af83-a1f923ce1725/process/\', \'d0388a41-30c6-4c74-af83-a1f923ce1725/video_12_14_09_05_41.mp4\', \'d0388a41-30c6-4c74-af83-a1f923ce1725/video_12_14_09_05_41.mp4.meta\']\\",\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\nOK","errorExample":""}]', - 'title' => 'ListFiles', - 'summary' => '调用 ListFiles 获取文件列表。', - 'requestParamsDescription' => '该文件是由用户提供的存量的待质检的mp4文件,由开发人员提前上传至指定目录,在控制台中供展示和选择', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Status\\": \\"runnable\\",\\n \\"CompletedTasks\\": 1,\\n \\"TotalTasks\\": 1,\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"名称\\",\\n \\"TaskIds\\": [\\n \\"[\\\\\\"1\\\\\\"]\\"\\n ],\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RuleId\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"RuleName\\": \\"default\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n runnable\\n [\\"1\\"]\\n 2020-07-14T14:01:41.000+08:00\\n 2020-07-14T14:01:41.000+08:00\\n 1\\n 1\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n 名称\\n\\n","errorExample":""}]', + 'title' => 'GetTaskGroup', + 'summary' => '调用 GetTaskGroup 获取任务组。', + 'description' => '**1**', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListRecordResults' => [ - 'summary' => '多规则查询', - 'methods' => [ - 'post', + 'changeSet' => [ + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetTaskGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetTtsQuestionByGroupId' => [ + 'summary' => '根据TTS问题组ID获取TTS问题信息', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5624,315 +3757,98 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'RecordId', - 'in' => 'query', - 'schema' => [ - 'description' => '双录 ID', - 'type' => 'string', - 'required' => false, - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - ], - [ - 'name' => 'CreateDateFrom', - 'in' => 'query', - 'schema' => [ - 'title' => 'yyyy-MM-dd', - 'description' => '查询起始日期,格式 yyyy-MM-dd', - 'type' => 'string', - 'required' => false, - 'example' => '2020-10-10', - ], - ], - [ - 'name' => 'CreateDateTo', - 'in' => 'query', - 'schema' => [ - 'title' => 'yyyy-MM-dd', - 'description' => '查询结束日期,格式 yyyy-MM-dd', - 'type' => 'string', - 'required' => false, - 'example' => '2020-10-11', - ], - ], - [ - 'name' => 'DepartmentId', - 'in' => 'query', - 'schema' => [ - 'description' => '部门 ID', - 'type' => 'string', - 'required' => false, - 'example' => '90c2459a-4c73-4ab7-8a6b-e550d62fbd8c', - ], - ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'description' => '标识本地双录和远程双录(LOCAL 或 REMOTE)', - 'type' => 'string', - 'required' => false, - 'example' => 'LOCAL', - ], - ], - [ - 'name' => 'PageIndex', - 'in' => 'query', - 'schema' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'OuterBusinessId', - 'in' => 'query', - 'schema' => [ - 'description' => '业务ID,用户自定义', - 'type' => 'string', - 'required' => false, - 'example' => 'ads32efef43', - ], + 'name' => 'GroupId', + 'in' => 'formData', + 'schema' => ['description' => 'TTS问题组ID', 'type' => 'string', 'required' => true, 'example' => '47584ba4-9781-496b-8e6f-c8525a213***'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '无', - ], + 'RequestId' => ['description' => '为公共参数,每个请求的id都是唯一的', 'type' => 'string', 'example' => 'D2DFCDC3-1ECF-599D-8EDA-8F598E5A9***'], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => '-'], 'Data' => [ - 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ - 'TotalElements' => [ - 'title' => '总数据项数', - 'description' => '总数据项数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'TotalPages' => [ - 'title' => '总页数', - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '11', - ], - 'Items' => [ - 'title' => '当前页面数据项', - 'description' => '当前页面数据项', + 'GroupId' => ['description' => 'TTS问题组ID'."\n" + ."\n", 'type' => 'string', 'example' => '47584ba4-9781-496b-8e6f-c8525a213***'], + 'Questions' => [ + 'description' => '问题列表', 'type' => 'array', 'items' => [ - 'description' => '数据项', + 'description' => '问题信息', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '双录记录id', - 'description' => '双录记录 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'CreatedAt' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'DetectProcessName' => [ - 'title' => '业务检测流程名', - 'description' => '业务检测流程名', - 'type' => 'string', - 'example' => 'process name', - ], - 'DepartmentName' => [ - 'title' => '部门名', - 'description' => '部门名', - 'type' => 'string', - 'example' => 'XX部门', - ], - 'AppName' => [ - 'title' => '应用名', - 'description' => '应用名', - 'type' => 'string', - 'example' => 'myapp', - ], - 'VideoUrl' => [ - 'title' => '视频地址', - 'description' => '视频地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4', - ], - 'MetaUrl' => [ - 'title' => 'meta地址', - 'description' => 'meta 地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.meta', - ], - 'ResultUrl' => [ - 'title' => '结果地址', - 'description' => '结果地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.json', - ], - 'RecordAt' => [ - 'title' => '录制时间', - 'description' => '录制时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Duration' => [ - 'title' => '时长', - 'description' => '时长', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22', - ], - 'Status' => [ - 'title' => '检测状态', - 'description' => '检测状态', - 'type' => 'string', - 'example' => 'runnable', - ], - 'RoomId' => [ - 'title' => 'mrtc房间id', - 'description' => 'mrtc 房间 ID', - 'type' => 'string', - 'example' => '642662467657798', - ], - 'RtcRecordId' => [ - 'description' => 'mrtc录制ID', - 'type' => 'string', - 'example' => 'record_65703154805715668342', - ], - 'OuterBusinessId' => [ - 'description' => '业务ID,用户自定义', - 'type' => 'string', - 'example' => 'fasfasda', - ], + 'Id' => ['description' => '问题id', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TenantId' => ['description' => '租户id', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'QuestionGroupId' => ['description' => '问题组id', 'type' => 'integer', 'format' => 'int64', 'example' => '47584ba4-9781-496b-8e6f-c8525a213***'], + 'QuestionKey' => ['description' => '问题key', 'type' => 'string', 'example' => '47584ba4-9781-496b-8e6f-c8525a213***'], + 'Question' => ['description' => '问题。', 'type' => 'string', 'example' => '北京的天气如何'], + 'Answer' => ['description' => '回复', 'type' => 'string', 'example' => '晴朗'], + 'Duration' => ['description' => '合成的音频时长,单位毫秒', 'type' => 'number', 'format' => 'double', 'example' => '674'], + 'OssUrl' => ['description' => '下载地址', 'type' => 'string', 'example' => 'https://pts-data-f***.pcm'], ], ], ], ], ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP 状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Errors' => [ - 'title' => '错误列表', - 'description' => '错误列表', - 'type' => 'array', - 'items' => [ - 'description' => '错误列表', - 'type' => 'object', - 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - ], - ], - ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"TotalElements\\": 10,\\n \\"TotalPages\\": 11,\\n \\"Items\\": [\\n {\\n \\"Id\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DetectProcessName\\": \\"process name\\",\\n \\"DepartmentName\\": \\"XX部门\\",\\n \\"AppName\\": \\"myapp\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"MetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"ResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Duration\\": 22,\\n \\"Status\\": \\"runnable\\",\\n \\"RoomId\\": \\"642662467657798\\",\\n \\"RtcRecordId\\": \\"record_65703154805715668342\\",\\n \\"OuterBusinessId\\": \\"fasfasda\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"无\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取所有双录结果', - ], - 'ListRules' => [ - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D2DFCDC3-1ECF-599D-8EDA-8F598E5A9***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"GroupId\\": \\"47584ba4-9781-496b-8e6f-c8525a213***\\",\\n \\"Questions\\": [\\n {\\n \\"Id\\": 1,\\n \\"TenantId\\": 2,\\n \\"QuestionGroupId\\": 0,\\n \\"QuestionKey\\": \\"47584ba4-9781-496b-8e6f-c8525a213***\\",\\n \\"Question\\": \\"北京的天气如何\\",\\n \\"Answer\\": \\"晴朗\\",\\n \\"Duration\\": 674,\\n \\"OssUrl\\": \\"https://pts-data-f***.pcm\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '根据TTS问题组ID获取此ID下所有的TTS信息', + 'changeSet' => [ + ['createdAt' => '2022-08-29T07:31:01.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetTtsQuestionByGroupId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetUser' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5940,40 +3856,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'PageIndex', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '10000', - 'minimum' => '1', - 'example' => '1', - 'isFileTransferUrl' => false, - 'default' => '1', - ], + 'schema' => ['description' => 'ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], [ - 'name' => 'PageSize', + 'name' => 'ClientBaseParam', 'in' => 'query', - 'schema' => [ - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '100', - 'minimum' => '10', - 'example' => '1', - 'isFileTransferUrl' => false, - 'default' => '10', - ], + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], ], ], 'responses' => [ @@ -5982,120 +3875,90 @@ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Items' => [ - 'description' => '数据', + 'Email' => ['description' => '电子邮件地址', 'type' => 'string', 'example' => 'xxx@aa.com'], + 'PhoneNumber' => ['description' => '手机号码', 'type' => 'string', 'example' => '187000023323'], + 'Departments' => [ + 'description' => '部门列表', 'type' => 'array', 'items' => [ 'description' => '无', 'type' => 'object', 'properties' => [ - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => 'default', - ], - 'Content' => [ - 'description' => '规则内容', - 'type' => 'string', - 'example' => '{}', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '描述'], + 'GmtCreate' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => '名称'], + 'GmtModified' => ['description' => '更新日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Id' => ['description' => '部门 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], ], - 'TotalPages' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalElements' => [ - 'description' => '总条目数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'UpdatedAt' => ['description' => '更新日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Source' => ['description' => '来源', 'type' => 'string', 'example' => 'ram'], + 'Role' => ['description' => '角色', 'type' => 'string', 'example' => 'admin'], + 'Name' => ['description' => '姓名', 'type' => 'string', 'example' => '姓名'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Username' => ['description' => '用户名', 'type' => 'string', 'example' => 'test'], ], ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"default\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\n\\n 1\\n 1\\n \\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n {}\\n 2020-07-14T14:01:41.000+08:00\\n default\\n \\n\\nOK","errorExample":""}]', - 'title' => 'ListRules', - 'summary' => '调用 ListRules 获取规则列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Email\\": \\"xxx@aa.com\\",\\n \\"PhoneNumber\\": \\"187000023323\\",\\n \\"Departments\\": [\\n {\\n \\"Description\\": \\"描述\\",\\n \\"GmtCreate\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"名称\\",\\n \\"GmtModified\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"UpdatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Source\\": \\"ram\\",\\n \\"Role\\": \\"admin\\",\\n \\"Name\\": \\"姓名\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Username\\": \\"test\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n admin\\n \\n 2020-07-14T14:01:41.000+08:00\\n 描述\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 名称\\n \\n xxx@aa.com\\n test\\n 2020-07-14T14:01:41.000+08:00\\n 187000023323\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 2020-07-14T14:01:41.000+08:00\\n ram\\n 姓名\\n\\nOK","errorExample":""}]', + 'title' => '查询用户信息', + 'summary' => '调用 GetUser 获取指定用户信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListTaskGroups' => [ - 'methods' => [ - 'post', + 'changeSet' => [ + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetWatermark' => [ + 'summary' => '根据ID查询水印信息', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6103,157 +3966,59 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'PageIndex', + 'name' => 'WatermarkId', 'in' => 'query', - 'schema' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '1', - 'isFileTransferUrl' => false, - 'default' => '1', - ], + 'schema' => ['description' => '水印 ID', 'type' => 'string', 'required' => false, 'example' => '728fd812a876ec04818858982baebe6f'], ], [ - 'name' => 'PageSize', + 'name' => 'ClientVersion', 'in' => 'query', - 'schema' => [ - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '1000', - 'minimum' => '10', - 'example' => '10', - 'isFileTransferUrl' => false, - 'default' => '10', - ], + 'schema' => ['description' => '客户端版本', 'type' => 'string', 'required' => false, 'example' => '1.0.003'], ], [ - 'name' => 'Status', + 'name' => 'ClientBaseParam', 'in' => 'query', - 'schema' => [ - 'description' => '状态:runnable,completed', - 'type' => 'string', - 'required' => false, - 'example' => 'runnable', - 'enum' => [ - 'wait', - 'runnable', - 'completed', - ], - ], + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '-', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '-'], 'Data' => [ - 'description' => '-', + 'title' => '数据', + 'description' => '数据', 'type' => 'object', 'properties' => [ - 'Items' => [ - 'description' => '数据', - 'type' => 'array', - 'items' => [ - 'description' => '-', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'runnable', - ], - 'CompletedTasks' => [ - 'description' => '完成任务数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'TotalTasks' => [ - 'description' => '总任务数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => '任务名称', - ], - 'TaskIds' => [ - 'description' => '任务 ID 列表', - 'type' => 'array', - 'items' => [ - 'description' => '任务组下的任务 ID 列表', - 'type' => 'string', - 'example' => '{}', - ], - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'RuleId' => [ - 'description' => '规则 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'RuleName' => [ - 'description' => '规则名称', - 'type' => 'string', - 'example' => 'default', - ], - ], - ], - ], - 'TotalPages' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalElements' => [ - 'description' => '条目数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'Id' => ['title' => '水印id', 'description' => '水印 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'CreatedAt' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Value' => ['title' => '水印信息', 'description' => '水印信息', 'type' => 'string', 'example' => '{}'], + 'Name' => ['title' => '水印名称', 'description' => '水印名称', 'type' => 'string', 'example' => '名称'], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Errors' => [ + 'title' => '错误列表', + 'description' => '错误列表', + 'type' => 'array', + 'items' => [ + 'description' => '-', + 'type' => 'object', + 'properties' => [ + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '-'], + ], + ], ], ], ], @@ -6261,51 +4026,50 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Value\\": \\"{}\\",\\n \\"Name\\": \\"名称\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取水印信息', + 'changeSet' => [ + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-24T04:47:39.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-04T11:03:18.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-01-04T07:08:00.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetWatermark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"runnable\\",\\n \\"CompletedTasks\\": 0,\\n \\"TotalTasks\\": 1,\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"任务名称\\",\\n \\"TaskIds\\": [\\n \\"{}\\"\\n ],\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RuleId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RuleName\\": \\"default\\"\\n }\\n ],\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n\\n\\n 1\\n 1\\n \\n runnable\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 1\\n 0\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n 任务名称\\n 1\\n 2\\n \\n\\nOK","errorExample":""}]', - 'title' => 'ListTaskGroups', - 'summary' => '调用 ListTaskGroups 获取任务组列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'ListTaskItems' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'JoinRoom' => [ + 'summary' => '单向视频双录-通知加入房间', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6313,135 +4077,97 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'AppId', 'in' => 'query', - 'schema' => [ - 'description' => '任务 ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'allowEmptyValue' => false, + 'schema' => ['description' => '双录质检应用id', 'type' => 'string', 'required' => true, 'example' => '4a29b426-742f-4078-8386-79b440b***'], + ], + [ + 'name' => 'RoomId', + 'in' => 'query', + 'schema' => ['description' => 'mrtc 房间 ID', 'type' => 'string', 'required' => true, 'example' => '66194***681868'], + ], + [ + 'name' => 'StreamId', + 'in' => 'query', + 'schema' => ['description' => 'mrtc 视频流或音频流ID', 'type' => 'string', 'required' => false, 'example' => '12312***2412'], + ], + [ + 'name' => 'RoomToken', + 'in' => 'query', + 'schema' => ['description' => 'mrtc 房间密码', 'type' => 'string', 'required' => false, 'example' => '006f4***b269'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => 'D15744FC-97D2-5D61-A18C-8CC4FA0A3***'], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '-'], 'Data' => [ - 'description' => '无', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'completed', - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Message' => [ - 'description' => '检测失败时的错误信息', - 'type' => 'string', - 'example' => '检测失败', - ], - 'Output' => [ - 'description' => '检测结果输出,该结果是一个 JSON 格式。不同的检测项格式不一样。', - 'type' => 'string', - 'example' => '{}', - ], - 'Name' => [ - 'description' => '检测项名称', - 'type' => 'string', - 'example' => '身份证识别', - ], - 'SegmentSeq' => [ - 'description' => '检测的视频分段号码', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], + 'description' => '数据', + 'type' => 'object', + 'properties' => [ + 'RoomId' => ['description' => 'mrtc 房间 ID', 'type' => 'string', 'example' => '641981583353***'], + 'StreamId' => ['description' => 'mrtc 视频流或音频流ID', 'type' => 'string', 'example' => '12312***412'], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": [\\n {\\n \\"Status\\": \\"completed\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Message\\": \\"检测失败\\",\\n \\"Output\\": \\"{}\\",\\n \\"Name\\": \\"身份证识别\\",\\n \\"SegmentSeq\\": 1\\n }\\n ],\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n completed\\n 1\\n 检测失败\\n 2020-07-14T14:01:41.000+08:00\\n {}\\n 身份证识别\\n\\nOK","errorExample":""}]', - 'title' => 'ListTaskItems', - 'summary' => '调用 ListTaskItems 获取任务子项列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListTasks' => [ - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D15744FC-97D2-5D61-A18C-8CC4FA0A3***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"RoomId\\": \\"641981583353***\\",\\n \\"StreamId\\": \\"12312***412\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '加入MRTC房间', + 'changeSet' => [ + ['createdAt' => '2022-08-26T03:41:52.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:JoinRoom', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'LeaveRoom' => [ + 'summary' => '单向视频双录-通知离开房间', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6449,178 +4175,175 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'PageIndex', + 'name' => 'RoomId', 'in' => 'query', + 'schema' => ['description' => 'mrtc 房间 ID', 'type' => 'string', 'required' => false, 'example' => '661940620884***'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '页号', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '10000', - 'minimum' => '1', - 'example' => '1', - 'isFileTransferUrl' => false, - 'default' => '1', + 'title' => 'ApiResult', + 'description' => 'ApiResult', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID,一次请求的唯一标识。'."\n", 'type' => 'string', 'example' => '8F5F961D-07AA-5293-BFFE-32CDC251***'], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '无'], + 'Data' => ['description' => '数据', 'type' => 'string', 'example' => '无'], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], + ], + [ + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], + ], + 403 => [ + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], + ], + [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F5F961D-07AA-5293-BFFE-32CDC251***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"无\\",\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '离开MRTC房间', + 'changeSet' => [ + ['createdAt' => '2022-08-26T03:41:52.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:LeaveRoom', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'ListApps' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageSize', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '10000', - 'minimum' => '10', - 'example' => '10', - 'isFileTransferUrl' => false, - 'default' => '10', - ], + 'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '1000000', 'minimum' => '1', 'example' => '1', 'isFileTransferUrl' => false, 'default' => '1'], ], [ - 'name' => 'TaskGroupId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '任务组 ID', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '10000', 'minimum' => '10', 'example' => '10', 'isFileTransferUrl' => false, 'default' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '-', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'description' => '-', + 'description' => '无', 'type' => 'object', 'properties' => [ 'Items' => [ - 'description' => '数据', + 'description' => '数据项', 'type' => 'array', 'items' => [ - 'description' => '-', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'runnable', - ], - 'VideoMetaUrl' => [ - 'description' => '视频 meta 地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.meta?expire=2010323&sign=sf2324', - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'VideoUrl' => [ - 'description' => '视频地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4?expire=2010323&sign=sf2324', - ], + 'DepartmentName' => ['description' => '部门名称', 'type' => 'string', 'example' => '部门'], + 'PackageName' => ['description' => '包名', 'type' => 'string', 'example' => 'com.aaa.test'], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'DepartmentId' => ['description' => '部门 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Disabled' => ['description' => '是否禁用', 'type' => 'boolean', 'example' => 'false'], + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => '应用'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], ], - 'TotalPages' => [ - 'description' => '页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalElements' => [ - 'description' => '条目数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'TotalPages' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '11'], + 'TotalElements' => ['description' => '总条目数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"runnable\\",\\n \\"VideoMetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta?expire=2010323&sign=sf2324\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4?expire=2010323&sign=sf2324\\"\\n }\\n ],\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n 1\\n 1\\n \\n runnable\\n 2020-07-14T14:01:41.000+08:00\\n http://oss.aliyuncs.com/1.mp4.meta?expire=2010323&sign=sf2324\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n http://oss.aliyuncs.com/1.mp4?expire=2010323&sign=sf2324\\n \\n\\nOK","errorExample":""}]', - 'title' => 'ListTasks', - 'summary' => '调用 ListTasks 获取任务列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"DepartmentName\\": \\"部门\\",\\n \\"PackageName\\": \\"com.aaa.test\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DepartmentId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Disabled\\": false,\\n \\"Name\\": \\"应用\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"TotalPages\\": 11,\\n \\"TotalElements\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n 1\\n 11\\n \\n com.aaa.test\\n 2020-07-14T14:01:41.000+08:00\\n 部门\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n false\\n 应用\\n \\n\\nOK","errorExample":""}]', + 'title' => 'ListApps', + 'summary' => '调用 ListApps 获取应用列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListUsers' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListApps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDepartments' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6628,61 +4351,27 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DepartmentId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '部门 ID', - 'type' => 'string', - 'required' => false, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => '部门名称', 'type' => 'string', 'required' => false, 'example' => '部门名称'], ], [ 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '分页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '10000', - 'minimum' => '1', - 'example' => '1', - 'isFileTransferUrl' => false, - 'default' => '1', - ], + 'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '10000', 'minimum' => '1', 'example' => '1', 'isFileTransferUrl' => false, 'default' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '500', - 'minimum' => '10', - 'example' => '10', - 'isFileTransferUrl' => false, - 'default' => '10', - ], + 'schema' => ['description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '10', 'example' => '10', 'isFileTransferUrl' => false, 'default' => '10'], ], [ - 'name' => 'Username', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '搜索指定用户名', - 'type' => 'string', - 'required' => false, - 'example' => 'tom', - ], + 'schema' => ['description' => '用户 ID', 'type' => 'string', 'required' => false, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], 'responses' => [ @@ -6691,186 +4380,92 @@ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '响应信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'description' => '无', + 'description' => '返回数据', 'type' => 'object', 'properties' => [ 'Items' => [ - 'description' => '数据', + 'description' => '数据项', 'type' => 'array', 'items' => [ 'description' => '无', 'type' => 'object', 'properties' => [ - 'RamUsername' => [ - 'description' => 'RAM 用户名', - 'type' => 'string', - 'example' => 'xxx', - ], - 'Email' => [ - 'description' => '电子邮件', - 'type' => 'string', - 'example' => 'a@a.com', - ], - 'PhoneNumber' => [ - 'description' => '手机号码', - 'type' => 'string', - 'example' => '186000000', - ], - 'Departments' => [ - 'description' => '所属部门列表', + 'Description' => ['description' => ' 描述', 'type' => 'string', 'example' => '描述'], + 'Administrators' => [ + 'description' => '管理员列表', 'type' => 'array', 'items' => [ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Description' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => '部门', - ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'UpdatedAt' => [ - 'description' => '更新日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '部门名称', - 'type' => 'string', - 'example' => '不明', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Name' => ['description' => '用户姓名', 'type' => 'string', 'example' => 'user'], + 'Id' => ['description' => '用户 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], ], - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'UpdatedAt' => [ - 'description' => '更新日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Source' => [ - 'description' => '用户来源', - 'type' => 'string', - 'example' => 'ram', - ], - 'Role' => [ - 'description' => '角色', - 'type' => 'string', - 'example' => 'admin', - ], - 'Name' => [ - 'description' => '姓名', - 'type' => 'string', - 'example' => '高x', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Username' => [ - 'description' => '用户名', - 'type' => 'string', - 'example' => 'xxx', - ], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'UpdatedAt' => ['description' => '更新日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => '名称'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], ], - 'TotalPages' => [ - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalElements' => [ - 'description' => '总条数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'TotalPages' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '11'], + 'TotalElements' => ['description' => '总条目数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"RamUsername\\": \\"xxx\\",\\n \\"Email\\": \\"a@a.com\\",\\n \\"PhoneNumber\\": \\"186000000\\",\\n \\"Departments\\": [\\n {\\n \\"Description\\": \\"部门\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"UpdatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"不明\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"UpdatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Source\\": \\"ram\\",\\n \\"Role\\": \\"admin\\",\\n \\"Name\\": \\"高x\\",\\n \\"Id\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Username\\": \\"xxx\\"\\n }\\n ],\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 10\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n 10\\n 1\\n \\n admin\\n a@a.com\\n xxx\\n 2020-07-14T14:01:41.000+08:00\\n xxx\\n 186000000\\n 2020-07-14T14:01:41.000+08:00\\n 2020-07-14T14:01:41.000+08:00\\n ram\\n 高x\\n \\n 部门\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 2020-07-14T14:01:41.000+08:00\\n 不明\\n \\n \\n\\nOK","errorExample":""}]', - 'title' => '查询用户列表', - 'summary' => '调用ListUsers获取用户列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"Description\\": \\"描述\\",\\n \\"Administrators\\": [\\n {\\n \\"Name\\": \\"user\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"UpdatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"名称\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"TotalPages\\": 11,\\n \\"TotalElements\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n 1\\n 11\\n \\n 描述\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 2020-07-14T14:01:41.000+08:00\\n 名称\\n \\n \\n \\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n user\\n \\n \\n\\nOK","errorExample":""}]', + 'title' => 'ListDepartments', + 'summary' => '调用 ListDepartments 获取部门列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListWatermarks' => [ - 'summary' => '获取水印列表', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListDepartments', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDetectProcesses' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6878,194 +4473,138 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '10000', 'minimum' => '1', 'example' => '1', 'default' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '500', 'minimum' => '10', 'example' => '10', 'default' => '10'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '检测流程名称', 'type' => 'string', 'required' => false, 'example' => '检测流程名称'], + ], + [ + 'name' => 'PublishStatus', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '是否发布', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '类型:remote(远程双录),local(本地双录)', 'type' => 'string', 'required' => false, 'example' => 'LOCAL'], + ], + [ + 'name' => 'Sort', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => '排序', 'type' => 'string', 'required' => false, 'example' => 'desc'], + ], + [ + 'name' => 'SortKey', + 'in' => 'query', + 'schema' => ['description' => '排序字段:CONTENT发布时间、DRAFT草稿时间', 'type' => 'string', 'required' => false, 'example' => 'CONTENT'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult>', - 'description' => 'ApiResult>', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '-', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => 'bf1c45cd-3eee-4e60-b505-2e330bf755d3'], 'Data' => [ - 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ - 'TotalElements' => [ - 'title' => '总数据项数', - 'description' => '总数据项数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalPages' => [ - 'title' => '总页数', - 'description' => '总页数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], 'Items' => [ - 'title' => '当前页面数据项', - 'description' => '当前页面数据项', + 'description' => '数据项', 'type' => 'array', 'items' => [ - 'description' => '-', + 'description' => '数据项', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '水印id', - 'description' => '水印 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'CreatedAt' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Value' => [ - 'title' => '水印信息', - 'description' => '水印信息', - 'type' => 'string', - 'example' => '{}', - ], - 'Name' => [ - 'title' => '水印名称', - 'description' => '水印名称', - 'type' => 'string', - 'example' => '名称', - ], + 'Draft' => ['description' => '流程配置正式内容', 'type' => 'string', 'example' => '{}'], + 'FileUrl' => ['description' => '可访问的文件 URL', 'type' => 'string', 'example' => 'http://abc.com/123.json'], + 'CreatedAt' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-12-04T14:47:59.000+08:00'], + 'Md5' => ['description' => '流程配置正式内容的 MD5', 'type' => 'string', 'example' => '987d563d38f5aef27feca8702c689bb1'], + 'UpdatedAt' => ['description' => '更新时间', 'type' => 'string', 'example' => '2020-12-04T14:48:59.000+08:00'], + 'DraftAt' => ['title' => '保存时间', 'description' => '保存时间', 'type' => 'string', 'example' => '2020-12-04T14:48:59.000+08:00'], + 'ContentAt' => ['title' => '发布时间', 'description' => '发布时间', 'type' => 'string', 'example' => '2020-12-04T14:48:59.000+08:00'], + 'NewVersion' => ['description' => '是否更新版本', 'type' => 'boolean', 'example' => 'true'], + 'Name' => ['description' => '检测流程名称', 'type' => 'string', 'example' => 'Android检测流程'], + 'Content' => ['description' => '流程配置正式内容', 'type' => 'string', 'example' => '{}'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3'], + 'Published' => ['description' => '是否已发布 true:已发布:false:未发布', 'type' => 'boolean', 'example' => 'True'], + 'Type' => ['description' => '标识本地双录和远程双录(LOCAL 或 REMOTE)', 'type' => 'string', 'example' => 'REMOTE'], ], ], ], + 'TotalPages' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalElements' => ['description' => '总数', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], ], ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP 状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Errors' => [ - 'title' => '错误列表', - 'description' => '错误列表', - 'type' => 'array', - 'items' => [ - 'description' => '-', - 'type' => 'object', - 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '-', - ], - ], - ], - ], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"bf1c45cd-3eee-4e60-b505-2e330bf755d3\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"Draft\\": \\"{}\\",\\n \\"FileUrl\\": \\"http://abc.com/123.json\\",\\n \\"CreatedAt\\": \\"2020-12-04T14:47:59.000+08:00\\",\\n \\"Md5\\": \\"987d563d38f5aef27feca8702c689bb1\\",\\n \\"UpdatedAt\\": \\"2020-12-04T14:48:59.000+08:00\\",\\n \\"DraftAt\\": \\"2020-12-04T14:48:59.000+08:00\\",\\n \\"ContentAt\\": \\"2020-12-04T14:48:59.000+08:00\\",\\n \\"NewVersion\\": true,\\n \\"Name\\": \\"Android检测流程\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\",\\n \\"Published\\": true,\\n \\"Type\\": \\"REMOTE\\"\\n }\\n ],\\n \\"TotalPages\\": 10,\\n \\"TotalElements\\": 100\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"bf1c45cd-3eee-4e60-b505-2e330bf755d3\\n-\\n\\n 100\\n 10\\n \\n true\\n http://abc.com/123.json\\n {}\\n {}\\n 2020-12-04T14:47:59.000+08:00\\n 0f1c45cd-3eee-4e60-b505-2e330b8755d3\\n 2020-12-04T14:48:59.000+08:00\\n Android检测流程\\n 987d563d38f5aef27feca8702c689bb1\\n \\n\\nOK","errorExample":""}]', + 'title' => 'ListDetectProcesses', + 'summary' => '调用 ListDetectProcesses 获取检测流程列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-06-01T12:11:21.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-01-13T10:00:13.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListDetectProcesses', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"TotalElements\\": 1,\\n \\"TotalPages\\": 1,\\n \\"Items\\": [\\n {\\n \\"Id\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Value\\": \\"{}\\",\\n \\"Name\\": \\"名称\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '列表展示水印信息', ], - 'RenameDetectProcess' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDetections' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7073,32 +4612,49 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'CreateDateFrom', 'in' => 'query', - 'schema' => [ - 'description' => 'ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '1q1c45cd-3eee-1e60-b505-2e330b8755d2', - ], + 'schema' => ['description' => '开始日期', 'type' => 'string', 'required' => false, 'example' => '2020-10-10'], ], [ - 'name' => 'Name', + 'name' => 'CreateDateTo', + 'in' => 'query', + 'schema' => ['description' => '结束日期', 'type' => 'string', 'required' => false, 'example' => '2020-10-11'], + ], + [ + 'name' => 'DepartmentId', + 'in' => 'query', + 'schema' => ['description' => '部门 ID', 'type' => 'string', 'required' => false, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '10000', 'minimum' => '1', 'example' => '1', 'isFileTransferUrl' => false, 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '10', 'example' => '10', 'isFileTransferUrl' => false, 'default' => '10'], + ], + [ + 'name' => 'RecordingType', 'in' => 'query', 'schema' => [ - 'description' => '名称', + 'description' => '类型:remote(远程双录),local(本地双录)', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '新名称', + 'required' => false, + 'example' => 'local', + 'enum' => ['local', 'remote'], ], ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => ['description' => '规则 ID', 'type' => 'string', 'required' => false, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + ], ], 'responses' => [ 200 => [ @@ -7106,108 +4662,110 @@ 'description' => '-', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '-', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => 'db1c45cd-3eee-1e60-b505-2e330b8755d2', + 'Errors' => [ + 'description' => '-', + 'type' => 'array', + 'items' => [ + 'description' => '错误列表', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + 'Field' => ['description' => '字段', 'type' => 'string', 'example' => 'status'], + ], + ], ], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '-'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'description' => '数据', + 'description' => '-', 'type' => 'object', 'properties' => [ - 'Draft' => [ - 'description' => '流程配置草稿内容', - 'type' => 'string', - 'example' => '{}', - ], - 'CreatedAt' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-12-04T14:47:59.000+08:00', - ], - 'Md5' => [ - 'description' => '流程配置正式内容的 MD5', - 'type' => 'string', - 'example' => '987d563d38f5aef27feca8702c689bb1', - ], - 'Name' => [ - 'description' => '检测流程名称', - 'type' => 'string', - 'example' => 'Android检测流程', - ], - 'Content' => [ - 'description' => '流程配置正式内容', - 'type' => 'string', - 'example' => '{}', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3', + 'Items' => [ + 'description' => '数据项', + 'type' => 'array', + 'items' => [ + 'description' => '数据项', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'runnable'], + 'DepartmentName' => ['description' => '部门名称', 'type' => 'string', 'example' => '部门名称'], + 'Tasks' => [ + 'description' => '任务数', + 'type' => 'array', + 'items' => [ + 'description' => '任务数', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '任务状态', 'type' => 'string', 'example' => 'runnable'], + 'VideoMetaUrl' => ['description' => '检测结果视频 meta 地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.meta'], + 'CreatedAt' => ['description' => '任务创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Id' => ['description' => '任务 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'VideoUrl' => ['description' => '检测结果视频地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4'], + ], + ], + ], + 'RecordingType' => ['description' => '录制类型', 'type' => 'string', 'example' => 'local'], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'DepartmentId' => ['description' => '部门 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'RuleName' => ['description' => '规则名称', 'type' => 'string', 'example' => 'default'], + 'RuleId' => ['description' => '规则 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + ], + ], ], + 'TotalPages' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '11'], + 'TotalElements' => ['description' => '总条目数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"db1c45cd-3eee-1e60-b505-2e330b8755d2\\",\\n \\"Data\\": {\\n \\"Draft\\": \\"{}\\",\\n \\"CreatedAt\\": \\"2020-12-04T14:47:59.000+08:00\\",\\n \\"Md5\\": \\"987d563d38f5aef27feca8702c689bb1\\",\\n \\"Name\\": \\"Android检测流程\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"db1c45cd-3eee-1e60-b505-2e330b8755d2\\n-\\n\\n {}\\n {}\\n 2020-12-04T14:47:59.000+08:00\\n 0f1c45cd-3eee-4e60-b505-2e330b8755d3\\n Android检测流程\\n 987d563d38f5aef27feca8702c689bb1\\n\\nOK","errorExample":""}]', - 'title' => 'RenameDetectProcess', - 'summary' => '调用 RenameDetectProcess 对检测流程重命名。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Errors\\": [\\n {\\n \\"Message\\": \\"-\\",\\n \\"Field\\": \\"status\\"\\n }\\n ],\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"runnable\\",\\n \\"DepartmentName\\": \\"部门名称\\",\\n \\"Tasks\\": [\\n {\\n \\"Status\\": \\"runnable\\",\\n \\"VideoMetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\"\\n }\\n ],\\n \\"RecordingType\\": \\"local\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DepartmentId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RuleName\\": \\"default\\",\\n \\"RuleId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"TotalPages\\": 11,\\n \\"TotalElements\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"\\n status\\n -\\n\\n\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n 1\\n 11\\n \\n runnable\\n local\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 部门名称\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n \\n \\n \\n runnable\\n 2020-07-14T14:01:41.000+08:00\\n http://oss.aliyuncs.com/1.mp4.meta\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n http://oss.aliyuncs.com/1.mp4\\n \\n \\n\\nOK","errorExample":""}]', + 'title' => 'ListDetections', + 'summary' => '调用 ListDetections 获取检测结果列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateApp' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListDetections', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListFiles' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7215,60 +4773,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Id', - 'in' => 'query', - 'schema' => [ - 'description' => '应用 ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '名称', - 'type' => 'string', - 'required' => false, - 'example' => '名称', - ], - ], - [ - 'name' => 'Disabled', - 'in' => 'query', - 'schema' => [ - 'description' => '是否被禁用', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'PackageName', + 'name' => 'Prefix', 'in' => 'query', - 'schema' => [ - 'description' => '包名,用户移动端 SDK 校验', - 'type' => 'string', - 'required' => false, - 'example' => 'com.aliyun.idrs.sdk', - ], + 'schema' => ['description' => '路径前缀', 'type' => 'string', 'required' => false, 'example' => '20220110/'], ], [ - 'name' => 'DepartmentId', + 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '部门 ID', - 'type' => 'string', - 'required' => false, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => '数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '500', 'isFileTransferUrl' => false, 'default' => '10'], ], ], 'responses' => [ @@ -7277,107 +4792,61 @@ 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B', - ], - 'Data' => [ - 'description' => '返回数据', - 'type' => 'object', - 'example' => '无', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], - ], - ], - ], - '5XX' => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'code' => [ - 'type' => 'string', - ], - 'data' => [ - 'type' => 'object', - ], - 'requestId' => [ - 'type' => 'string', - ], - 'message' => [ - 'type' => 'string', - ], - 'errors' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'message' => [ - 'type' => 'string', - ], - 'field' => [ - 'type' => 'string', - ], - ], - ], - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Data' => ['title' => '数据', 'description' => '数据', 'type' => 'string', 'example' => '[\'d0388a41-30c6-4c74-af83-a1f923ce1725/process/\', \'d0388a41-30c6-4c74-af83-a1f923ce1725/video_12_14_09_05_41.mp4\', \'d0388a41-30c6-4c74-af83-a1f923ce1725/video_12_14_09_05_41.mp4.meta\']'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '更新应用', - 'summary' => '调用 UpdateApp 更新应用。', - ], - 'UpdateDepartment' => [ - 'methods' => [ - 'post', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": \\"[\'d0388a41-30c6-4c74-af83-a1f923ce1725/process/\', \'d0388a41-30c6-4c74-af83-a1f923ce1725/video_12_14_09_05_41.mp4\', \'d0388a41-30c6-4c74-af83-a1f923ce1725/video_12_14_09_05_41.mp4.meta\']\\",\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\nOK","errorExample":""}]', + 'title' => 'ListFiles', + 'summary' => '调用 ListFiles 获取文件列表。', + 'requestParamsDescription' => '该文件是由用户提供的存量的待质检的mp4文件,由开发人员提前上传至指定目录,在控制台中供展示和选择', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-01-12T03:08:53.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListFiles', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListRecordResults' => [ + 'summary' => '多规则查询', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7385,77 +4854,107 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Description', - 'in' => 'formData', - 'schema' => [ - 'description' => '描述', - 'type' => 'string', - 'required' => false, - 'example' => '描述', - ], + 'name' => 'RecordId', + 'in' => 'query', + 'schema' => ['description' => '双录 ID', 'type' => 'string', 'required' => false, 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], ], [ - 'name' => 'Label', - 'in' => 'formData', - 'schema' => [ - 'description' => '标签', - 'type' => 'string', - 'required' => false, - 'example' => '标签', - ], + 'name' => 'CreateDateFrom', + 'in' => 'query', + 'schema' => ['title' => 'yyyy-MM-dd', 'description' => '查询起始日期,格式 yyyy-MM-dd', 'type' => 'string', 'required' => false, 'example' => '2020-10-10'], ], [ - 'name' => 'Name', - 'in' => 'formData', - 'schema' => [ - 'description' => '名称', - 'type' => 'string', - 'required' => false, - 'example' => '名称', - ], + 'name' => 'CreateDateTo', + 'in' => 'query', + 'schema' => ['title' => 'yyyy-MM-dd', 'description' => '查询结束日期,格式 yyyy-MM-dd', 'type' => 'string', 'required' => false, 'example' => '2020-10-11'], ], [ - 'name' => 'Id', + 'name' => 'DepartmentId', 'in' => 'query', - 'schema' => [ - 'description' => 'ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => '部门 ID', 'type' => 'string', 'required' => false, 'example' => '90c2459a-4c73-4ab7-8a6b-e550d62fbd8c'], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => '标识本地双录和远程双录(LOCAL 或 REMOTE)', 'type' => 'string', 'required' => false, 'example' => 'LOCAL'], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'OuterBusinessId', + 'in' => 'query', + 'schema' => ['description' => '业务ID,用户自定义', 'type' => 'string', 'required' => false, 'example' => 'ads32efef43'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '无'], 'Data' => [ - 'description' => '无', + 'title' => '数据', + 'description' => '数据', 'type' => 'object', - 'example' => '无', + 'properties' => [ + 'TotalElements' => ['title' => '总数据项数', 'description' => '总数据项数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'TotalPages' => ['title' => '总页数', 'description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '11'], + 'Items' => [ + 'title' => '当前页面数据项', + 'description' => '当前页面数据项', + 'type' => 'array', + 'items' => [ + 'description' => '数据项', + 'type' => 'object', + 'properties' => [ + 'Id' => ['title' => '双录记录id', 'description' => '双录记录 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'CreatedAt' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'DetectProcessName' => ['title' => '业务检测流程名', 'description' => '业务检测流程名', 'type' => 'string', 'example' => 'process name'], + 'DepartmentName' => ['title' => '部门名', 'description' => '部门名', 'type' => 'string', 'example' => 'XX部门'], + 'AppName' => ['title' => '应用名', 'description' => '应用名', 'type' => 'string', 'example' => 'myapp'], + 'VideoUrl' => ['title' => '视频地址', 'description' => '视频地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4'], + 'MetaUrl' => ['title' => 'meta地址', 'description' => 'meta 地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.meta'], + 'ResultUrl' => ['title' => '结果地址', 'description' => '结果地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.json'], + 'RecordAt' => ['title' => '录制时间', 'description' => '录制时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Duration' => ['title' => '时长', 'description' => '时长', 'type' => 'integer', 'format' => 'int64', 'example' => '22'], + 'Status' => ['title' => '检测状态', 'description' => '检测状态', 'type' => 'string', 'example' => 'runnable'], + 'RoomId' => ['title' => 'mrtc房间id', 'description' => 'mrtc 房间 ID', 'type' => 'string', 'example' => '642662467657798'], + 'RtcRecordId' => ['description' => 'mrtc录制ID', 'type' => 'string', 'example' => 'record_65703154805715668342'], + 'OuterBusinessId' => ['description' => '业务ID,用户自定义', 'type' => 'string', 'example' => 'fasfasda'], + ], + ], + ], + ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Errors' => [ + 'title' => '错误列表', + 'description' => '错误列表', + 'type' => 'array', + 'items' => [ + 'description' => '错误列表', + 'type' => 'object', + 'properties' => [ + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + ], + ], ], ], ], @@ -7463,51 +4962,51 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"TotalElements\\": 10,\\n \\"TotalPages\\": 11,\\n \\"Items\\": [\\n {\\n \\"Id\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DetectProcessName\\": \\"process name\\",\\n \\"DepartmentName\\": \\"XX部门\\",\\n \\"AppName\\": \\"myapp\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"MetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"ResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Duration\\": 22,\\n \\"Status\\": \\"runnable\\",\\n \\"RoomId\\": \\"642662467657798\\",\\n \\"RtcRecordId\\": \\"record_65703154805715668342\\",\\n \\"OuterBusinessId\\": \\"fasfasda\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"无\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '获取所有双录结果', + 'changeSet' => [ + ['createdAt' => '2022-08-29T07:30:50.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-07-05T11:05:58.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-01-12T07:55:37.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-01-09T16:48:09.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-01-05T06:05:26.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-04T07:08:00.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListRecordResults', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\nOK","errorExample":""}]', - 'title' => 'UpdateDepartment', - 'summary' => '调用 UpdateDepartment 更新部门。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', ], - 'UpdateDetectProcess' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListRules' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7515,162 +5014,98 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Id', - 'in' => 'query', - 'schema' => [ - 'description' => 'ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '检测流程名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Android检测流程', - ], - ], - [ - 'name' => 'Draft', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '流程配置草稿内容', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '10000', 'minimum' => '1', 'example' => '1', 'isFileTransferUrl' => false, 'default' => '1'], ], [ - 'name' => 'Content', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '流程配置正式内容', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], + 'schema' => ['description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '100', 'minimum' => '10', 'example' => '1', 'isFileTransferUrl' => false, 'default' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '-', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '0c1c45cd-3eee-4e60-b505-2e330b8755d3', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'description' => '数据', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'Draft' => [ - 'description' => '流程配置草稿内容', - 'type' => 'string', - 'example' => '{}', - ], - 'CreatedAt' => [ - 'description' => '流程配置正式内容', - 'type' => 'string', - 'example' => '2020-12-04T14:47:59.000+08:00', - ], - 'Md5' => [ - 'description' => '流程配置正式内容的 MD5', - 'type' => 'string', - 'example' => '987d563d38f5aef27feca8702c689bb1', - ], - 'Name' => [ - 'description' => '检测流程名称', - 'type' => 'string', - 'example' => 'Android检测流程', - ], - 'Content' => [ - 'description' => '流程配置正式内容', - 'type' => 'string', - 'example' => '{}', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => 'cd1c45cd-3eee-4e60-b505-2e330b8755d3', + 'Items' => [ + 'description' => '数据', + 'type' => 'array', + 'items' => [ + 'description' => '无', + 'type' => 'object', + 'properties' => [ + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => 'default'], + 'Content' => ['description' => '规则内容', 'type' => 'string', 'example' => '{}'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + ], + ], ], + 'TotalPages' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalElements' => ['description' => '总条目数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"0c1c45cd-3eee-4e60-b505-2e330b8755d3\\",\\n \\"Data\\": {\\n \\"Draft\\": \\"{}\\",\\n \\"CreatedAt\\": \\"2020-12-04T14:47:59.000+08:00\\",\\n \\"Md5\\": \\"987d563d38f5aef27feca8702c689bb1\\",\\n \\"Name\\": \\"Android检测流程\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"cd1c45cd-3eee-4e60-b505-2e330b8755d3\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"0c1c45cd-3eee-4e60-b505-2e330b8755d3\\n-\\n\\n {}\\n {}\\n 2020-12-04T14:47:59.000+08:00\\n cd1c45cd-3eee-4e60-b505-2e330b8755d3\\n Android检测流程\\n 987d563d38f5aef27feca8702c689bb1\\n\\nOK","errorExample":""}]', - 'title' => 'UpdateDetectProcess', - 'summary' => '调用UpdateDetectProcess更新检测流程。', - 'description' => '********', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"default\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\n\\n 1\\n 1\\n \\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n {}\\n 2020-07-14T14:01:41.000+08:00\\n default\\n \\n\\nOK","errorExample":""}]', + 'title' => 'ListRules', + 'summary' => '调用 ListRules 获取规则列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateRule' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListTaskGroups' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7678,140 +5113,118 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => 'ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Id', - ], + 'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '1', 'isFileTransferUrl' => false, 'default' => '1'], ], [ - 'name' => 'Name', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '规则名称', - 'type' => 'string', - 'required' => false, - 'example' => '名称', - ], + 'schema' => ['description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '1000', 'minimum' => '10', 'example' => '10', 'isFileTransferUrl' => false, 'default' => '10'], ], [ - 'name' => 'Content', + 'name' => 'Status', 'in' => 'query', 'schema' => [ - 'description' => '请按检测规则格式录入', + 'description' => '状态:runnable,completed', 'type' => 'string', 'required' => false, - 'example' => '规则内容', + 'example' => 'runnable', + 'enum' => ['wait', 'runnable', 'completed'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'description' => '-', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'description' => '无', + 'description' => '-', 'type' => 'object', 'properties' => [ - 'CreatedAt' => [ - 'description' => '创建日期', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Name' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => 'default', - ], - 'Content' => [ - 'description' => '检测规则内容', - 'type' => 'string', - 'example' => '{}', - ], - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', + 'Items' => [ + 'description' => '数据', + 'type' => 'array', + 'items' => [ + 'description' => '-', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'runnable'], + 'CompletedTasks' => ['description' => '完成任务数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'TotalTasks' => ['description' => '总任务数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => '任务名称'], + 'TaskIds' => [ + 'description' => '任务 ID 列表', + 'type' => 'array', + 'items' => ['description' => '任务组下的任务 ID 列表', 'type' => 'string', 'example' => '{}'], + ], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'RuleId' => ['description' => '规则 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'RuleName' => ['description' => '规则名称', 'type' => 'string', 'example' => 'default'], + ], + ], ], + 'TotalPages' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalElements' => ['description' => '条目数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"default\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n {}\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n\\nOK","errorExample":""}]', - 'title' => 'UpdateRule', - 'summary' => '调用 UpdateRule 更新规则。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"runnable\\",\\n \\"CompletedTasks\\": 0,\\n \\"TotalTasks\\": 1,\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"任务名称\\",\\n \\"TaskIds\\": [\\n \\"{}\\"\\n ],\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RuleId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RuleName\\": \\"default\\"\\n }\\n ],\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n\\n\\n 1\\n 1\\n \\n runnable\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 1\\n 0\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n 任务名称\\n 1\\n 2\\n \\n\\nOK","errorExample":""}]', + 'title' => 'ListTaskGroups', + 'summary' => '调用 ListTaskGroups 获取任务组列表。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateUser' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListTaskGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListTaskItems' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7819,137 +5232,192 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Email', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '邮箱', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx@xxx.com', + 'schema' => ['description' => '任务 ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '无', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Data' => [ + 'description' => '无', + 'type' => 'array', + 'items' => [ + 'description' => '无', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'completed'], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Message' => ['description' => '检测失败时的错误信息', 'type' => 'string', 'example' => '检测失败'], + 'Output' => ['description' => '检测结果输出,该结果是一个 JSON 格式。不同的检测项格式不一样。', 'type' => 'string', 'example' => '{}'], + 'Name' => ['description' => '检测项名称', 'type' => 'string', 'example' => '身份证识别'], + 'SegmentSeq' => ['description' => '检测的视频分段号码', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + ], + ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], + ], [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => '姓名', - 'type' => 'string', - 'required' => false, - 'example' => '用户姓名', + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], + ], + 403 => [ + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], + ], + [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": [\\n {\\n \\"Status\\": \\"completed\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Message\\": \\"检测失败\\",\\n \\"Output\\": \\"{}\\",\\n \\"Name\\": \\"身份证识别\\",\\n \\"SegmentSeq\\": 1\\n }\\n ],\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n completed\\n 1\\n 检测失败\\n 2020-07-14T14:01:41.000+08:00\\n {}\\n 身份证识别\\n\\nOK","errorExample":""}]', + 'title' => 'ListTaskItems', + 'summary' => '调用 ListTaskItems 获取任务子项列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListTaskItems', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'ListTasks' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PhoneNumber', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '手机号', - 'type' => 'string', - 'required' => false, - 'example' => '手机号', - ], + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '10000', 'minimum' => '1', 'example' => '1', 'isFileTransferUrl' => false, 'default' => '1'], ], [ - 'name' => 'Role', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '角色', - 'type' => 'string', - 'required' => false, - 'example' => 'user', - ], + 'schema' => ['description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '10000', 'minimum' => '10', 'example' => '10', 'isFileTransferUrl' => false, 'default' => '10'], ], [ - 'name' => 'Id', + 'name' => 'TaskGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '用户 ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => '任务组 ID', 'type' => 'string', 'required' => false, 'example' => '1'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '无', + 'description' => '-', 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'description' => '数据', + 'description' => '-', 'type' => 'object', - 'example' => '{\'Id\': \'5073e5f4-99c6-4bb1-bd6c-30ab12f11059\', \'CreatedAt\': \'2021-12-29T11:31:53.072+08:00\'}', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'OK', + 'properties' => [ + 'Items' => [ + 'description' => '数据', + 'type' => 'array', + 'items' => [ + 'description' => '-', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态', 'type' => 'string', 'example' => 'runnable'], + 'VideoMetaUrl' => ['description' => '视频 meta 地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.meta?expire=2010323&sign=sf2324'], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'VideoUrl' => ['description' => '视频地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4?expire=2010323&sign=sf2324'], + ], + ], + ], + 'TotalPages' => ['description' => '页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalElements' => ['description' => '条目数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"Status\\": \\"runnable\\",\\n \\"VideoMetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta?expire=2010323&sign=sf2324\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4?expire=2010323&sign=sf2324\\"\\n }\\n ],\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n 1\\n 1\\n \\n runnable\\n 2020-07-14T14:01:41.000+08:00\\n http://oss.aliyuncs.com/1.mp4.meta?expire=2010323&sign=sf2324\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n http://oss.aliyuncs.com/1.mp4?expire=2010323&sign=sf2324\\n \\n\\nOK","errorExample":""}]', + 'title' => 'ListTasks', + 'summary' => '调用 ListTasks 获取任务列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', - 'title' => '更新用户', - 'summary' => '调用UpdateUser更新用户。', ], - 'UpdateWatermark' => [ - 'summary' => '更新水印信息', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListUsers' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7957,109 +5425,186 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'WatermarkId', + 'name' => 'DepartmentId', 'in' => 'query', - 'schema' => [ - 'description' => '水印 ID', - 'type' => 'string', - 'required' => false, - 'example' => 'd4ba1e0428a8df069316060cef41948a', - ], + 'schema' => ['description' => '部门 ID', 'type' => 'string', 'required' => false, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], [ - 'name' => 'Name', + 'name' => 'PageIndex', 'in' => 'query', - 'schema' => [ - 'description' => '水印名称', - 'type' => 'string', - 'required' => false, - 'example' => '名称', - ], + 'schema' => ['description' => '分页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '10000', 'minimum' => '1', 'example' => '1', 'isFileTransferUrl' => false, 'default' => '1'], ], [ - 'name' => 'Value', + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '500', 'minimum' => '10', 'example' => '10', 'isFileTransferUrl' => false, 'default' => '10'], + ], + [ + 'name' => 'Username', 'in' => 'query', + 'schema' => ['description' => '搜索指定用户名', 'type' => 'string', 'required' => false, 'example' => 'tom'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '水印配置', - 'type' => 'string', - 'required' => false, - 'example' => '{}', + 'description' => '无', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Data' => [ + 'description' => '无', + 'type' => 'object', + 'properties' => [ + 'Items' => [ + 'description' => '数据', + 'type' => 'array', + 'items' => [ + 'description' => '无', + 'type' => 'object', + 'properties' => [ + 'RamUsername' => ['description' => 'RAM 用户名', 'type' => 'string', 'example' => 'xxx'], + 'Email' => ['description' => '电子邮件', 'type' => 'string', 'example' => 'a@a.com'], + 'PhoneNumber' => ['description' => '手机号码', 'type' => 'string', 'example' => '186000000'], + 'Departments' => [ + 'description' => '所属部门列表', + 'type' => 'array', + 'items' => [ + 'description' => '无', + 'type' => 'object', + 'properties' => [ + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '部门'], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'UpdatedAt' => ['description' => '更新日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '部门名称', 'type' => 'string', 'example' => '不明'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + ], + ], + ], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'UpdatedAt' => ['description' => '更新日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Source' => ['description' => '用户来源', 'type' => 'string', 'example' => 'ram'], + 'Role' => ['description' => '角色', 'type' => 'string', 'example' => 'admin'], + 'Name' => ['description' => '姓名', 'type' => 'string', 'example' => '高x'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Username' => ['description' => '用户名', 'type' => 'string', 'example' => 'xxx'], + ], + ], + ], + 'TotalPages' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalElements' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + ], + ], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], + ], + [ + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], + ], + 403 => [ + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], + ], + [ + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"Items\\": [\\n {\\n \\"RamUsername\\": \\"xxx\\",\\n \\"Email\\": \\"a@a.com\\",\\n \\"PhoneNumber\\": \\"186000000\\",\\n \\"Departments\\": [\\n {\\n \\"Description\\": \\"部门\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"UpdatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"不明\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n }\\n ],\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"UpdatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Source\\": \\"ram\\",\\n \\"Role\\": \\"admin\\",\\n \\"Name\\": \\"高x\\",\\n \\"Id\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Username\\": \\"xxx\\"\\n }\\n ],\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 10\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n 10\\n 1\\n \\n admin\\n a@a.com\\n xxx\\n 2020-07-14T14:01:41.000+08:00\\n xxx\\n 186000000\\n 2020-07-14T14:01:41.000+08:00\\n 2020-07-14T14:01:41.000+08:00\\n ram\\n 高x\\n \\n 部门\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n 2020-07-14T14:01:41.000+08:00\\n 不明\\n \\n \\n\\nOK","errorExample":""}]', + 'title' => '查询用户列表', + 'summary' => '调用ListUsers获取用户列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], + ], + 'ListWatermarks' => [ + 'summary' => '获取水印列表', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list'], + 'parameters' => [ + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'title' => 'ApiResult>', + 'description' => 'ApiResult>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '-', - ], + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '-'], 'Data' => [ 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '水印id', - 'description' => '水印 ID', - 'type' => 'string', - 'example' => 'f3bd31c0-0001-4b4b-977d-7cfa64b585f5', - ], - 'CreatedAt' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Value' => [ - 'title' => '水印信息', - 'description' => '水印信息', - 'type' => 'string', - 'example' => '{}', - ], - 'Name' => [ - 'title' => '水印名称', - 'description' => '水印名称', - 'type' => 'string', - 'example' => '名称', + 'TotalElements' => ['title' => '总数据项数', 'description' => '总数据项数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TotalPages' => ['title' => '总页数', 'description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Items' => [ + 'title' => '当前页面数据项', + 'description' => '当前页面数据项', + 'type' => 'array', + 'items' => [ + 'description' => '-', + 'type' => 'object', + 'properties' => [ + 'Id' => ['title' => '水印id', 'description' => '水印 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'CreatedAt' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Value' => ['title' => '水印信息', 'description' => '水印信息', 'type' => 'string', 'example' => '{}'], + 'Name' => ['title' => '水印名称', 'description' => '水印名称', 'type' => 'string', 'example' => '名称'], + ], + ], ], ], ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP 状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], 'Errors' => [ 'title' => '错误列表', 'description' => '错误列表', @@ -8068,16 +5613,8 @@ 'description' => '-', 'type' => 'object', 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '-'], ], ], ], @@ -8087,48 +5624,47 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"TotalElements\\": 1,\\n \\"TotalPages\\": 1,\\n \\"Items\\": [\\n {\\n \\"Id\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Value\\": \\"{}\\",\\n \\"Name\\": \\"名称\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '列表展示水印信息', + 'changeSet' => [ + ['createdAt' => '2022-01-04T11:03:18.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-01-04T07:08:00.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idrsservice:ListWatermarks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"f3bd31c0-0001-4b4b-977d-7cfa64b585f5\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Value\\": \\"{}\\",\\n \\"Name\\": \\"名称\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '更新水印信息', ], - 'UploadReport' => [ - 'summary' => '上报双录RTC信息', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'RenameDetectProcess' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8136,360 +5672,287 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'DepartmentId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => '部门 ID', - 'type' => 'string', - 'required' => false, - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], + 'schema' => ['description' => 'ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1q1c45cd-3eee-1e60-b505-2e330b8755d2'], ], [ - 'name' => 'UserId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '用户 ID', - 'type' => 'string', - 'required' => false, - 'example' => ' 59b0bbfe-929b-4a8c-9833-3ce70b4bad34', - ], + 'schema' => ['description' => '名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '新名称'], ], - [ - 'name' => 'AppId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '应用 ID', - 'type' => 'string', - 'required' => false, - 'example' => '90c2459a-4c73-4ab7-8a6b-e550d62fbd8c', + 'description' => '-', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '-'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => 'db1c45cd-3eee-1e60-b505-2e330b8755d2'], + 'Data' => [ + 'description' => '数据', + 'type' => 'object', + 'properties' => [ + 'Draft' => ['description' => '流程配置草稿内容', 'type' => 'string', 'example' => '{}'], + 'CreatedAt' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-12-04T14:47:59.000+08:00'], + 'Md5' => ['description' => '流程配置正式内容的 MD5', 'type' => 'string', 'example' => '987d563d38f5aef27feca8702c689bb1'], + 'Name' => ['description' => '检测流程名称', 'type' => 'string', 'example' => 'Android检测流程'], + 'Content' => ['description' => '流程配置正式内容', 'type' => 'string', 'example' => '{}'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3'], + ], + ], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + ], ], ], - [ - 'name' => 'DetectProcessId', - 'in' => 'query', - 'schema' => [ - 'description' => '业务流程 ID', - 'type' => 'string', - 'required' => false, - 'example' => 'iuhptk3w-2021122017', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - 'name' => 'RoomId', - 'in' => 'query', - 'schema' => [ - 'description' => 'mrtc 房间 ID', - 'type' => 'string', - 'required' => false, - 'example' => '6000028888875', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], - [ - 'name' => 'VideoUrl', - 'in' => 'query', - 'schema' => [ - 'description' => '要上传的视频地址', - 'type' => 'string', - 'required' => false, - 'example' => 'https://mogo-apps-sh.oss-cn-shanghai-internal.aliyuncs.com/tmp/d2720028b53d384c6d3fca32e45209d1_20_src.mp4', - ], + 403 => [ + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - 'name' => 'MetaUrl', - 'in' => 'query', - 'schema' => [ - 'description' => 'meta 文件地址', - 'type' => 'string', - 'required' => false, - 'example' => 'http://abc.oss.aliyuncs.com/1/12_03_20_03_36toubaoren.mp4.meta', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], - [ - 'name' => 'ResultUrl', - 'in' => 'query', - 'schema' => [ - 'description' => '检测流程的完整 URL', - 'type' => 'string', - 'required' => false, - 'example' => 'http://abc.oss.aliyuncs.com/1/12_03_20_03_36toubaoren.mp4.json', - ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], - [ - 'name' => 'RecordAt', - 'in' => 'query', - 'schema' => [ - 'title' => 'yyyy-MM-dd hh:mm:ss', - 'description' => '录制开始时间,格式 yyyy-MM-dd\'T\'HH:mm:ss\'Z\'', - 'type' => 'string', - 'required' => false, - 'example' => '2022-01-04T08%3A45%3A37Z', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"db1c45cd-3eee-1e60-b505-2e330b8755d2\\",\\n \\"Data\\": {\\n \\"Draft\\": \\"{}\\",\\n \\"CreatedAt\\": \\"2020-12-04T14:47:59.000+08:00\\",\\n \\"Md5\\": \\"987d563d38f5aef27feca8702c689bb1\\",\\n \\"Name\\": \\"Android检测流程\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b8755d3\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"db1c45cd-3eee-1e60-b505-2e330b8755d2\\n-\\n\\n {}\\n {}\\n 2020-12-04T14:47:59.000+08:00\\n 0f1c45cd-3eee-4e60-b505-2e330b8755d3\\n Android检测流程\\n 987d563d38f5aef27feca8702c689bb1\\n\\nOK","errorExample":""}]', + 'title' => 'RenameDetectProcess', + 'summary' => '调用 RenameDetectProcess 对检测流程重命名。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:RenameDetectProcess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'TtsCommon' => [ + 'summary' => '语音合成', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Duration', - 'in' => 'query', - 'schema' => [ - 'description' => '视频时长', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], + 'parameters' => [ [ - 'name' => 'Type', - 'in' => 'query', + 'name' => 'TtsRequest', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => '标识本地双录和远程双录(LOCAL 或 REMOTE)'."\n" - ."\n", - 'type' => 'string', + 'description' => '请求参数', + 'type' => 'object', + 'properties' => [ + 'AppId' => ['title' => 'appid', 'description' => 'appid', 'type' => 'string', 'required' => false, 'example' => 'd61be709-49d2-4cf1-b219-cd6181f72***'], + 'Text' => ['title' => '文本', 'description' => '文本', 'type' => 'string', 'required' => false, 'example' => '北京的天气'], + 'Voice' => ['title' => '发音人', 'description' => '发音人', 'type' => 'string', 'required' => false, 'example' => 'Xiaoyun'], + 'Format' => ['title' => '音频编码格式', 'description' => '音频编码格式', 'type' => 'string', 'required' => false, 'example' => 'WAV'], + 'Volume' => ['title' => '音量', 'description' => '音量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], + 'SampleRate' => ['title' => '音频采样率', 'description' => '音频采样率', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '16000'], + 'SpeechRate' => ['title' => '语速', 'description' => '语速', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], + 'PitchRate' => ['title' => '语调', 'description' => '语调', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], + ], 'required' => false, - 'example' => 'LOCAL', ], ], - [ - 'name' => 'ClientVersion', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '客户端版本号', - 'type' => 'string', - 'required' => false, - 'example' => '1.0.003', + 'title' => 'ApiResult', + 'description' => 'ApiResult', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'requestId', 'type' => 'string', 'example' => 'c761f0ec-107c-43dc-8565-45330e10e11b'], + 'Code' => ['description' => '返回码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + 'Data' => [ + 'description' => '数据', + 'type' => 'object', + 'properties' => [ + 'Id' => ['title' => '双录端处理tts任务ID', 'description' => '双录端处理tts任务ID', 'type' => 'string', 'example' => '63bb629d-92bf-4cdc-ad0b-3032c926****'], + 'TaskId' => ['title' => '智能语音tts任务ID', 'description' => '智能语音tts任务ID', 'type' => 'string', 'example' => '368cfa55-2364-4d79-aeb4-c0956c4a****'], + 'Name' => ['title' => '智能语音tts任务名称', 'description' => '智能语音tts任务名称', 'type' => 'string', 'example' => '任务1'], + 'Code' => ['title' => '智能语音tts任务code', 'description' => '智能语音tts任务code', 'type' => 'integer', 'format' => 'int32', 'example' => '20000000'], + 'Message' => ['title' => '智能语音tts任务message', 'description' => '智能语音tts任务message', 'type' => 'string', 'example' => '-'], + 'PublicUrl' => ['title' => '双录端语音合成结果可公网下载地址', 'description' => '双录端语音合成结果可公网下载地址', 'type' => 'string', 'example' => 'http://idrs-daily.oss-cn-beijing.aliyuncs.com/mode/android/model.zip?Expires=1607004612&OSSAccessKeyId=LTAI4FcsdDhFc7h78gqB****&Signature=XXXXX'], + ], + ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], ], ], - [ - 'name' => 'FeeId', - 'in' => 'query', - 'schema' => [ - 'description' => '对账 ID', - 'type' => 'string', - 'required' => false, - 'example' => '6c94f2a7-632d-4ea0-aa06-a97800a9060f', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - 'name' => 'ClientBaseParam', - 'in' => 'query', - 'schema' => [ - 'description' => '客户端基础参数,记录 SDK 版本号等信息', - 'type' => 'string', - 'required' => false, - 'example' => '{"version":"1.0.0"}', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], - [ - 'name' => 'RtcRecordId', - 'in' => 'query', - 'schema' => [ - 'description' => 'mrtc录制ID', - 'type' => 'string', - 'required' => false, - 'example' => 'record_6570315480571566****', - ], + 403 => [ + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - 'name' => 'OuterBusinessId', - 'in' => 'query', - 'schema' => [ - 'description' => '业务ID,用户自定义', - 'type' => 'string', - 'required' => false, - 'example' => 'ads32efef43', + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], + ], + 500 => [ + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"c761f0ec-107c-43dc-8565-45330e10e11b\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"63bb629d-92bf-4cdc-ad0b-3032c926****\\",\\n \\"TaskId\\": \\"368cfa55-2364-4d79-aeb4-c0956c4a****\\",\\n \\"Name\\": \\"任务1\\",\\n \\"Code\\": 20000000,\\n \\"Message\\": \\"-\\",\\n \\"PublicUrl\\": \\"http://idrs-daily.oss-cn-beijing.aliyuncs.com/mode/android/model.zip?Expires=1607004612&OSSAccessKeyId=LTAI4FcsdDhFc7h78gqB****&Signature=XXXXX\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '语音合成', + 'changeSet' => [ + ['createdAt' => '2022-07-08T02:21:10.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-08T02:03:24.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-07T13:28:03.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-07T09:05:44.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:TtsCommon', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'TtsTask' => [ + 'summary' => '单向视频双录-语音合成推送任务', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Role', - 'in' => 'query', - 'schema' => [ - 'description' => '用户自定义角色', - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], + 'parameters' => [ [ - 'name' => 'VideoType', - 'in' => 'query', + 'name' => 'Request', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => '标识单流还是混流', - 'type' => 'string', - 'required' => false, - 'example' => 'MIX', + 'description' => '任务请求参数', + 'type' => 'object', + 'properties' => [ + 'RoomId' => ['description' => 'mrtc 房间 ID', 'type' => 'string', 'required' => true, 'example' => '655259585579***'], + 'Key' => ['description' => 'TTS问题KEY', 'type' => 'string', 'required' => true, 'example' => 'd9ee5df9-20bf-47bf-987a-76b26984b***'], + 'Timestamp' => ['description' => '时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1662271315039'], + ], + 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => '84118BF0-56F7-54D2-8C1A-35BBBB*****', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '无', - ], + 'RequestId' => ['description' => '唯一请求识别码', 'type' => 'string', 'example' => '16A4A091-98BE-55F4-92D1-21590658***'], + 'Code' => ['description' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => 'OK'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], 'Data' => [ - 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '双录记录id', - 'description' => '双录记录 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce7****', - ], - 'CreatedAt' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'VideoUrl' => [ - 'title' => '视频地址', - 'description' => '视频地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4', - ], - 'MetaUrl' => [ - 'title' => 'meta地址', - 'description' => 'meta 地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.meta', - ], - 'ResultUrl' => [ - 'title' => '结果地址', - 'description' => '结果地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.json', - ], - 'RecordAt' => [ - 'title' => '录制时间', - 'description' => '录制时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Duration' => [ - 'title' => '时长', - 'description' => '时长', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'RtcRecordId' => [ - 'description' => 'mrtc录制ID', - 'type' => 'string', - 'example' => 'record_6570315480571566****'."\n", - ], - 'OuterBusinessId' => [ - 'description' => '业务ID,用户自定义', - 'type' => 'string', - 'example' => 'ads32efef43', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP 状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Errors' => [ - 'title' => '错误列表', - 'description' => '错误列表', - 'type' => 'array', - 'items' => [ - 'description' => '错误列表', - 'type' => 'object', - 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => '无', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '无', - ], - ], + 'Question' => ['description' => '问题', 'type' => 'string', 'example' => '北京的天气如何'], + 'Answer' => ['description' => '回复', 'type' => 'string', 'example' => '晴朗'], + 'Duration' => ['description' => '合成的音频时长,单位毫秒', 'type' => 'number', 'format' => 'double', 'example' => '727'], + 'SpeechRate' => ['description' => '语速', 'type' => 'integer', 'format' => 'int32', 'example' => '64'], ], ], + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"16A4A091-98BE-55F4-92D1-21590658***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Question\\": \\"北京的天气如何\\",\\n \\"Answer\\": \\"晴朗\\",\\n \\"Duration\\": 727,\\n \\"SpeechRate\\": 64\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', + 'title' => '提交TTS任务', + 'changeSet' => [ + ['createdAt' => '2022-08-29T02:57:01.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-08-26T03:41:52.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:TtsTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBB*****\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce7****\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"MetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"ResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Duration\\": 12,\\n \\"RtcRecordId\\": \\"record_6570315480571566****\\\\n\\",\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"无\\",\\n \\"Message\\": \\"无\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 84118BF0-56F7-54D2-8C1A-35BBBB*****\\n OK\\n \\n \\n 59b0bbfe-929b-4a8c-9833-3ce7****\\n 2020-07-14T14:01:41.000+08:00\\n http://oss.aliyuncs.com/1.mp4\\n http://oss.aliyuncs.com/1.mp4.meta\\n http://oss.aliyuncs.com/1.mp4.json\\n 2020-07-14T14:01:41.000+08:00\\n 12\\n record_6570315480571566****\\n\\n ads32efef43\\n \\n true\\n 200\\n \\n \\n \\n \\n","errorExample":""}]', - 'title' => '上报双录结果', ], - 'GetRecordsByFeeId' => [ - 'summary' => '根据feeid查询上报结果信息接口', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateApp' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8497,279 +5960,113 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'FeeId', - 'in' => 'formData', - 'schema' => [ - 'description' => '对账 ID', - 'type' => 'string', - 'required' => false, - 'example' => '6c94f2a7-632d-4ea0-aa06-a97800a9060f', - ], + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => '应用 ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'ApiResult>', - 'description' => 'ApiResult>', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => '0B576AAB-A638-5029-9A54-A7C1DB5AC0B3', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'title' => '数据', - 'description' => '数据', - 'type' => 'array', - 'items' => [ - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'title' => '双录记录id', - 'description' => '双录记录id', - 'type' => 'string', - 'example' => '63bb629d-92bf-4cdc-ad0b-3032c926d23f', - ], - 'CreatedAt' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'DetectProcessName' => [ - 'title' => '业务检测流程名', - 'description' => '业务检测流程名', - 'type' => 'string', - 'example' => 'XX流程', - ], - 'DepartmentName' => [ - 'title' => '部门名', - 'description' => '部门名', - 'type' => 'string', - 'example' => '部门', - ], - 'AppName' => [ - 'title' => '应用名', - 'description' => '应用名', - 'type' => 'string', - 'example' => 'XX应用', - ], - 'VideoUrl' => [ - 'title' => '视频地址', - 'description' => '视频地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4', - ], - 'MetaUrl' => [ - 'title' => 'meta地址', - 'description' => 'meta地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.meta', - ], - 'ResultUrl' => [ - 'title' => '结果地址', - 'description' => '结果地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.json', - ], - 'RecordAt' => [ - 'title' => '录制时间', - 'description' => '录制时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Duration' => [ - 'title' => '时长', - 'description' => '时长', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22', - ], - 'Status' => [ - 'title' => '检测状态', - 'description' => '检测状态', - 'type' => 'string', - 'example' => 'completed', - ], - 'RoomId' => [ - 'title' => 'mrtc房间id', - 'description' => 'mrtc房间id', - 'type' => 'string', - 'example' => '654078150345590', - ], - 'RecordRoomList' => [ - 'title' => '远程双录文件地址列表', - 'description' => '远程双录文件地址列表', - 'type' => 'array', - 'items' => [ - 'description' => '远程双录文件地址列表', - 'type' => 'object', - 'properties' => [ - 'Role' => [ - 'title' => '角色', - 'description' => '角色', - 'type' => 'string', - 'example' => '21343', - ], - 'RecordType' => [ - 'title' => '录制视频类型', - 'description' => '录制视频类型', - 'type' => 'string', - 'example' => 'Mix', - ], - 'RoomVideoUrl' => [ - 'title' => '视频地址', - 'description' => '视频地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4', - ], - 'RoomMetaUrl' => [ - 'title' => 'meta地址', - 'description' => 'meta地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.meta', - ], - 'RoomResultUrl' => [ - 'title' => '结果地址', - 'description' => '结果地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.json', - ], - 'RoomRecordAt' => [ - 'title' => '录制时间', - 'description' => '录制时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'RoomStatus' => [ - 'title' => '检测状态', - 'description' => '检测状态', - 'type' => 'string', - 'example' => 'runnable', - ], - 'RtcRecordId' => [ - 'description' => 'mrtc录制ID', - 'type' => 'string', - 'example' => 'record_65703154805715668342', - ], - 'OuterBusinessId' => [ - 'description' => '业务ID,用户自定义', - 'type' => 'string', - 'example' => 'ads32efef43', - ], - ], - ], - ], - 'OuterBusinessId' => [ - 'description' => '业务ID,用户自定义', - 'type' => 'string', - 'example' => 'ads32efef43', - ], - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Errors' => [ - 'title' => '错误列表', - 'description' => '错误列表', + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '名称', 'type' => 'string', 'required' => false, 'example' => '名称'], + ], + [ + 'name' => 'Disabled', + 'in' => 'query', + 'schema' => ['description' => '是否被禁用', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'PackageName', + 'in' => 'query', + 'schema' => ['description' => '包名,用户移动端 SDK 校验', 'type' => 'string', 'required' => false, 'example' => 'com.aliyun.idrs.sdk'], + ], + [ + 'name' => 'DepartmentId', + 'in' => 'query', + 'schema' => ['description' => '部门 ID', 'type' => 'string', 'required' => false, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '无', + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => '错误消息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B'], + 'Data' => ['description' => '返回数据', 'type' => 'object', 'example' => '无'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], + ], + ], + ], + '5XX' => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'code' => ['type' => 'string', 'description' => ''], + 'data' => ['type' => 'object', 'description' => ''], + 'requestId' => ['type' => 'string', 'description' => ''], + 'message' => ['type' => 'string', 'description' => ''], + 'errors' => [ 'type' => 'array', 'items' => [ - 'description' => '错误列表', 'type' => 'object', 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942', - ], - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '-', - ], + 'message' => ['type' => 'string', 'description' => ''], + 'field' => ['type' => 'string', 'description' => ''], ], + 'description' => '', ], + 'description' => '', ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '更新应用', + 'summary' => '调用 UpdateApp 更新应用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idrsservice:UpdateApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0B576AAB-A638-5029-9A54-A7C1DB5AC0B3\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": [\\n {\\n \\"Id\\": \\"63bb629d-92bf-4cdc-ad0b-3032c926d23f\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DetectProcessName\\": \\"XX流程\\",\\n \\"DepartmentName\\": \\"部门\\",\\n \\"AppName\\": \\"XX应用\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"MetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"ResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Duration\\": 22,\\n \\"Status\\": \\"completed\\",\\n \\"RoomId\\": \\"654078150345590\\",\\n \\"RecordRoomList\\": [\\n {\\n \\"Role\\": \\"21343\\",\\n \\"RecordType\\": \\"Mix\\",\\n \\"RoomVideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"RoomMetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"RoomResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RoomRecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"RoomStatus\\": \\"runnable\\",\\n \\"RtcRecordId\\": \\"record_65703154805715668342\\",\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n }\\n ],\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '根据feeid获取上报记录', ], - 'GetStatisticsRecordsByFeeId' => [ - 'summary' => '根据feeid查询上报计量信息接口', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateDepartment' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8777,218 +6074,87 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'FeeId', + 'name' => 'Description', 'in' => 'formData', - 'schema' => [ - 'description' => '对账 ID', - 'type' => 'string', - 'required' => false, - 'example' => 'ab7ce59f-a68a-4a6f-82a6-6460fadc9a70', - ], + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'example' => '描述'], + ], + [ + 'name' => 'Label', + 'in' => 'formData', + 'schema' => ['description' => '标签', 'type' => 'string', 'required' => false, 'example' => '标签'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '名称', 'type' => 'string', 'required' => false, 'example' => '名称'], + ], + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => 'ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult>', - 'description' => 'ApiResult>', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => 'CAD43A24-D34C-5848-BEB0-3D184F6687B1', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'title' => '数据', - 'description' => '数据', - 'type' => 'array', - 'items' => [ - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'DeviceId' => [ - 'description' => '设备id', - 'type' => 'string', - 'example' => '7f3dfb9aa0dd0261', - ], - 'TenantId' => [ - 'description' => '租户id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'AppId' => [ - 'description' => 'appid', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'DepartmentId' => [ - 'description' => '部门id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'DeviceType' => [ - 'description' => '终端设备类型,0:Android,1:iOS', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'CreatedAt' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'UpdatedAt' => [ - 'description' => '更新时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'BeginAt' => [ - 'description' => '开始检测时间,时间格式yyyy-MM-dd HH:mm:ss', - 'type' => 'string', - 'example' => '2022-05-23 10:33:12', - ], - 'EndAt' => [ - 'description' => '结束检测时间,时间格式yyyy-MM-dd HH:mm:ss', - 'type' => 'string', - 'example' => '2022-03-24 11:39:46', - ], - 'Hour' => [ - 'title' => '2020050811', - 'description' => '时间段', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2020050811', - ], - 'DetectionDuration' => [ - 'title' => '检测时长,s', - 'description' => '检测时长,s', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1200', - ], - 'ChargeDuration' => [ - 'title' => '计费时长,min', - 'description' => '计费时长,min', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'Type' => [ - 'description' => '类型:remote(远程双录),local(本地双录)', - 'type' => 'string', - 'example' => 'REMOTE', - ], - 'FeeId' => [ - 'description' => '对账 ID', - 'type' => 'string', - 'example' => 'ff1d7783-e087-4d62-92df-3a163eca7c07', - ], - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Errors' => [ - 'title' => '错误列表', - 'description' => '错误列表', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'object', - 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => '-', - ], - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '-', - ], - ], - ], - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], + 'Data' => ['description' => '无', 'type' => 'object', 'example' => '无'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n-\\nOK","errorExample":""}]', + 'title' => 'UpdateDepartment', + 'summary' => '调用 UpdateDepartment 更新部门。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idrsservice:UpdateDepartment', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CAD43A24-D34C-5848-BEB0-3D184F6687B1\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": [\\n {\\n \\"DeviceId\\": \\"7f3dfb9aa0dd0261\\",\\n \\"TenantId\\": 1,\\n \\"AppId\\": 12,\\n \\"DepartmentId\\": 12,\\n \\"DeviceType\\": 0,\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"UpdatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"BeginAt\\": \\"2022-05-23 10:33:12\\",\\n \\"EndAt\\": \\"2022-03-24 11:39:46\\",\\n \\"Hour\\": 2020050811,\\n \\"DetectionDuration\\": 1200,\\n \\"ChargeDuration\\": 12,\\n \\"Type\\": \\"REMOTE\\",\\n \\"FeeId\\": \\"ff1d7783-e087-4d62-92df-3a163eca7c07\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"-\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '根据feeid获取计费信息', ], - 'AsrSentence' => [ - 'summary' => '一句话识别', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateDetectProcess' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8996,204 +6162,99 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'AsrRequest', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '任务请求参数', - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'title' => '应用信息', - 'description' => '应用 ID', - 'type' => 'string', - 'required' => false, - 'example' => 'd61be709-49d2-4cf1-b219-cd6181f72db8', - ], - 'FileUrl' => [ - 'title' => '语音文件地址', - 'description' => '可访问的文件 URL', - 'type' => 'string', - 'required' => false, - 'example' => 'http://shuanglu-record-finance.oss-cn-shanghai.aliyuncs.com/record/4x5avhil/047730_30307_0/2022-02-12-10-20****', - ], - 'Format' => [ - 'title' => '音频编码格式', - 'description' => '音频编码格式,默认值:PCM。'."\n" - ."\n" - .'支持格式:PCM编码、16bit采样位数、单声道', - 'type' => 'string', - 'required' => false, - 'example' => 'PCM', - ], - 'SampleRate' => [ - 'title' => '音频采样率', - 'description' => '音频采样率,默认值:16000 Hz。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '16000', - ], - 'EnablePunctuationPrediction' => [ - 'title' => '是否在后处理中添加标点。取值:true、false。默认:false(不开启)。', - 'description' => '是否在后处理中添加标点,默认值:False。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'EnableInverseTextNormalization' => [ - 'title' => '是否在后处理中执行ITN。取值:true、false。默认:false(不开启)。', - 'description' => '是否在后处理中执行ITN(逆文本规整,inverse text normalization)。设置为True时,中文数字将转为阿拉伯数字输出,默认值:False。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'EnableVoiceDetection' => [ - 'title' => '是否在后处理中执行ITN。取值:true、false。默认:false(不开启)。', - 'description' => '是否启动语音检测。默认值:False。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - ], - 'required' => false, - ], + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => 'ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '0f1c45cd-3eee-4e60-b505-2e330b8755d3'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '检测流程名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Android检测流程'], + ], + [ + 'name' => 'Draft', + 'in' => 'query', + 'schema' => ['description' => '流程配置草稿内容', 'type' => 'string', 'required' => false, 'example' => '{}'], + ], + [ + 'name' => 'Content', + 'in' => 'query', + 'schema' => ['description' => '流程配置正式内容', 'type' => 'string', 'required' => false, 'example' => '{}'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'description' => '-', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '0c1c45cd-3eee-4e60-b505-2e330b8755d3'], 'Data' => [ 'description' => '数据', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => '双录端处理asr任务ID', - 'description' => '双录端处理asr任务ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'TaskId' => [ - 'title' => '智能语音asr任务ID', - 'description' => '智能语音asr任务ID', - 'type' => 'string', - 'example' => '368cfa55-2364-4d79-aeb4-c0956c4a45cd', - ], - 'Name' => [ - 'title' => '智能语音asr任务名称', - 'description' => '智能语音asr任务名称', - 'type' => 'string', - 'example' => '任务1', - ], - 'Code' => [ - 'title' => '智能语音asr任务code', - 'description' => '智能语音asr任务code', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20000000', - ], - 'Message' => [ - 'title' => '智能语音asr任务message', - 'description' => '智能语音asr任务message', - 'type' => 'string', - 'example' => '-', - ], - 'Result' => [ - 'title' => 'asr识别出的文本', - 'description' => 'asr识别出的文本', - 'type' => 'string', - 'example' => '北京的天气', - ], + 'Draft' => ['description' => '流程配置草稿内容', 'type' => 'string', 'example' => '{}'], + 'CreatedAt' => ['description' => '流程配置正式内容', 'type' => 'string', 'example' => '2020-12-04T14:47:59.000+08:00'], + 'Md5' => ['description' => '流程配置正式内容的 MD5', 'type' => 'string', 'example' => '987d563d38f5aef27feca8702c689bb1'], + 'Name' => ['description' => '检测流程名称', 'type' => 'string', 'example' => 'Android检测流程'], + 'Content' => ['description' => '流程配置正式内容', 'type' => 'string', 'example' => '{}'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => 'cd1c45cd-3eee-4e60-b505-2e330b8755d3'], ], ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP 状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"-\\",\\n \\"RequestId\\": \\"0c1c45cd-3eee-4e60-b505-2e330b8755d3\\",\\n \\"Data\\": {\\n \\"Draft\\": \\"{}\\",\\n \\"CreatedAt\\": \\"2020-12-04T14:47:59.000+08:00\\",\\n \\"Md5\\": \\"987d563d38f5aef27feca8702c689bb1\\",\\n \\"Name\\": \\"Android检测流程\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"cd1c45cd-3eee-4e60-b505-2e330b8755d3\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"0c1c45cd-3eee-4e60-b505-2e330b8755d3\\n-\\n\\n {}\\n {}\\n 2020-12-04T14:47:59.000+08:00\\n cd1c45cd-3eee-4e60-b505-2e330b8755d3\\n Android检测流程\\n 987d563d38f5aef27feca8702c689bb1\\n\\nOK","errorExample":""}]', + 'title' => 'UpdateDetectProcess', + 'summary' => '调用UpdateDetectProcess更新检测流程。', + 'description' => '********', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idrsservice:UpdateDetectProcess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"TaskId\\": \\"368cfa55-2364-4d79-aeb4-c0956c4a45cd\\",\\n \\"Name\\": \\"任务1\\",\\n \\"Code\\": 20000000,\\n \\"Message\\": \\"-\\",\\n \\"Result\\": \\"北京的天气\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '一句话识别', ], - 'FaceCompare' => [ - 'summary' => '人脸对比', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateRule' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9201,172 +6262,91 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'FaceRequest', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '请求参数', - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'title' => '应用信息', - 'description' => '应用id', - 'type' => 'string', - 'required' => false, - 'example' => 'd61be709-49d2-4cf1-b219-cd6181f72***', - ], - 'SourceImage' => [ - 'title' => '人脸照片 base64', - 'description' => '照片Base64编码。', - 'type' => 'string', - 'required' => false, - 'example' => '/9j/4AAQSkZJRgABAQAASxxxxxxx', - ], - 'TargetImage' => [ - 'title' => '底库照片 base64', - 'description' => '底库照片Base64编码。', - 'type' => 'string', - 'required' => false, - 'example' => '/9j/4AAQSkZJRgABAQAASxxxxxxx', - ], - ], - 'required' => false, - ], + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => 'ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Id'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '规则名称', 'type' => 'string', 'required' => false, 'example' => '名称'], + ], + [ + 'name' => 'Content', + 'in' => 'query', + 'schema' => ['description' => '请按检测规则格式录入', 'type' => 'string', 'required' => false, 'example' => '规则内容'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4ba***', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], 'Data' => [ - 'description' => '数据', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'RequestId' => [ - 'description' => '请求 ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '信息。', - 'type' => 'string', - 'example' => '-', - ], - 'Passed' => [ - 'description' => '认证是否通过。'."\n" - ."\n" - .'- T:通过。'."\n" - .'- F:不通过。', - 'type' => 'string', - 'example' => 'T', - ], - 'VerifyScore' => [ - 'description' => '人脸比对分。', - 'type' => 'number', - 'format' => 'float', - 'example' => '60.86', - ], - 'Status' => [ - 'description' => '状态', - 'type' => 'string', - 'example' => 'completed', - ], + 'CreatedAt' => ['description' => '创建日期', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => 'default'], + 'Content' => ['description' => '检测规则内容', 'type' => 'string', 'example' => '{}'], + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP 状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Data\\": {\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Name\\": \\"default\\",\\n \\"Content\\": \\"{}\\",\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"-\\n59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n\\n {}\\n 2020-07-14T14:01:41.000+08:00\\n 59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\n default\\n\\nOK","errorExample":""}]', + 'title' => 'UpdateRule', + 'summary' => '调用 UpdateRule 更新规则。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idrsservice:UpdateRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4ba***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4bad38\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"-\\",\\n \\"Passed\\": \\"T\\",\\n \\"VerifyScore\\": 60.86,\\n \\"Status\\": \\"completed\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '人脸对比', ], - 'TtsCommon' => [ - 'summary' => '语音合成', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateUser' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9374,209 +6354,90 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'TtsRequest', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '请求参数', - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'title' => 'appid', - 'description' => 'appid', - 'type' => 'string', - 'required' => false, - 'example' => 'd61be709-49d2-4cf1-b219-cd6181f72***', - ], - 'Text' => [ - 'title' => '文本', - 'description' => '文本', - 'type' => 'string', - 'required' => false, - 'example' => '北京的天气', - ], - 'Voice' => [ - 'title' => '发音人', - 'description' => '发音人', - 'type' => 'string', - 'required' => false, - 'example' => 'Xiaoyun', - ], - 'Format' => [ - 'title' => '音频编码格式', - 'description' => '音频编码格式', - 'type' => 'string', - 'required' => false, - 'example' => 'WAV', - ], - 'Volume' => [ - 'title' => '音量', - 'description' => '音量', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], - 'SampleRate' => [ - 'title' => '音频采样率', - 'description' => '音频采样率', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '16000', - ], - 'SpeechRate' => [ - 'title' => '语速', - 'description' => '语速', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], - 'PitchRate' => [ - 'title' => '语调', - 'description' => '语调', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], - ], - 'required' => false, - ], + 'name' => 'Email', + 'in' => 'query', + 'schema' => ['description' => '邮箱', 'type' => 'string', 'required' => false, 'example' => 'xxx@xxx.com'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '姓名', 'type' => 'string', 'required' => false, 'example' => '用户姓名'], + ], + [ + 'name' => 'PhoneNumber', + 'in' => 'query', + 'schema' => ['description' => '手机号', 'type' => 'string', 'required' => false, 'example' => '手机号'], + ], + [ + 'name' => 'Role', + 'in' => 'query', + 'schema' => ['description' => '角色', 'type' => 'string', 'required' => false, 'example' => 'user'], + ], + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => '用户 ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'description' => '无', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'requestId', - 'type' => 'string', - 'example' => 'c761f0ec-107c-43dc-8565-45330e10e11b', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'title' => '双录端处理tts任务ID', - 'description' => '双录端处理tts任务ID', - 'type' => 'string', - 'example' => '63bb629d-92bf-4cdc-ad0b-3032c926****', - ], - 'TaskId' => [ - 'title' => '智能语音tts任务ID', - 'description' => '智能语音tts任务ID', - 'type' => 'string', - 'example' => '368cfa55-2364-4d79-aeb4-c0956c4a****', - ], - 'Name' => [ - 'title' => '智能语音tts任务名称', - 'description' => '智能语音tts任务名称', - 'type' => 'string', - 'example' => '任务1', - ], - 'Code' => [ - 'title' => '智能语音tts任务code', - 'description' => '智能语音tts任务code', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20000000', - ], - 'Message' => [ - 'title' => '智能语音tts任务message', - 'description' => '智能语音tts任务message', - 'type' => 'string', - 'example' => '-', - ], - 'PublicUrl' => [ - 'title' => '双录端语音合成结果可公网下载地址', - 'description' => '双录端语音合成结果可公网下载地址', - 'type' => 'string', - 'example' => 'http://idrs-daily.oss-cn-beijing.aliyuncs.com/mode/android/model.zip?Expires=1607004612&OSSAccessKeyId=LTAI4FcsdDhFc7h78gqB****&Signature=XXXXX', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + 'RequestId' => ['description' => '请求 ID', 'type' => 'string', 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B'], + 'Data' => ['description' => '数据', 'type' => 'object', 'example' => '{\'Id\': \'5073e5f4-99c6-4bb1-bd6c-30ab12f11059\', \'CreatedAt\': \'2021-12-29T11:31:53.072+08:00\'}'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'OK'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"无\\",\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"Code\\": \\"OK\\"\\n}","type":"json"}]', + 'title' => '更新用户', + 'summary' => '调用UpdateUser更新用户。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idrsservice:UpdateUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"c761f0ec-107c-43dc-8565-45330e10e11b\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"63bb629d-92bf-4cdc-ad0b-3032c926****\\",\\n \\"TaskId\\": \\"368cfa55-2364-4d79-aeb4-c0956c4a****\\",\\n \\"Name\\": \\"任务1\\",\\n \\"Code\\": 20000000,\\n \\"Message\\": \\"-\\",\\n \\"PublicUrl\\": \\"http://idrs-daily.oss-cn-beijing.aliyuncs.com/mode/android/model.zip?Expires=1607004612&OSSAccessKeyId=LTAI4FcsdDhFc7h78gqB****&Signature=XXXXX\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '语音合成', ], - 'TtsTask' => [ - 'summary' => '单向视频双录-语音合成推送任务', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateWatermark' => [ + 'summary' => '更新水印信息', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9584,104 +6445,59 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'Request', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '任务请求参数', - 'type' => 'object', - 'properties' => [ - 'RoomId' => [ - 'description' => 'mrtc 房间 ID', - 'type' => 'string', - 'required' => true, - 'example' => '655259585579***', - ], - 'Key' => [ - 'description' => 'TTS问题KEY', - 'type' => 'string', - 'required' => true, - 'example' => 'd9ee5df9-20bf-47bf-987a-76b26984b***', - ], - 'Timestamp' => [ - 'description' => '时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1662271315039', - ], - ], - 'required' => true, - ], + 'name' => 'WatermarkId', + 'in' => 'query', + 'schema' => ['description' => '水印 ID', 'type' => 'string', 'required' => false, 'example' => 'd4ba1e0428a8df069316060cef41948a'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '水印名称', 'type' => 'string', 'required' => false, 'example' => '名称'], + ], + [ + 'name' => 'Value', + 'in' => 'query', + 'schema' => ['description' => '水印配置', 'type' => 'string', 'required' => false, 'example' => '{}'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '唯一请求识别码', - 'type' => 'string', - 'example' => '16A4A091-98BE-55F4-92D1-21590658***', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => '84118BF0-56F7-54D2-8C1A-35BBBBD5016B'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '-'], 'Data' => [ + 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ - 'Question' => [ - 'description' => '问题', - 'type' => 'string', - 'example' => '北京的天气如何', - ], - 'Answer' => [ - 'description' => '回复', - 'type' => 'string', - 'example' => '晴朗', - ], - 'Duration' => [ - 'description' => '合成的音频时长,单位毫秒', - 'type' => 'number', - 'format' => 'double', - 'example' => '727', - ], - 'SpeechRate' => [ - 'description' => '语速', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '64', - ], + 'Id' => ['title' => '水印id', 'description' => '水印 ID', 'type' => 'string', 'example' => 'f3bd31c0-0001-4b4b-977d-7cfa64b585f5'], + 'CreatedAt' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Value' => ['title' => '水印信息', 'description' => '水印信息', 'type' => 'string', 'example' => '{}'], + 'Name' => ['title' => '水印名称', 'description' => '水印名称', 'type' => 'string', 'example' => '名称'], ], ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Errors' => [ + 'title' => '错误列表', + 'description' => '错误列表', + 'type' => 'array', + 'items' => [ + 'description' => '-', + 'type' => 'object', + 'properties' => [ + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0942'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '-'], + ], + ], ], ], ], @@ -9689,48 +6505,47 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"16A4A091-98BE-55F4-92D1-21590658***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Question\\": \\"北京的天气如何\\",\\n \\"Answer\\": \\"晴朗\\",\\n \\"Duration\\": 727,\\n \\"SpeechRate\\": 64\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '提交TTS任务', - ], - 'LeaveRoom' => [ - 'summary' => '单向视频双录-通知离开房间', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBBD5016B\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"f3bd31c0-0001-4b4b-977d-7cfa64b585f5\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Value\\": \\"{}\\",\\n \\"Name\\": \\"名称\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0942\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '更新水印信息', + 'changeSet' => [ + ['createdAt' => '2022-01-04T11:03:19.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idrsservice:UpdateWatermark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UploadReport' => [ + 'summary' => '上报双录RTC信息', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9738,543 +6553,140 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'RoomId', + 'name' => 'DepartmentId', 'in' => 'query', - 'schema' => [ - 'description' => 'mrtc 房间 ID', - 'type' => 'string', - 'required' => false, - 'example' => '661940620884***', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID,一次请求的唯一标识。'."\n", - 'type' => 'string', - 'example' => '8F5F961D-07AA-5293-BFFE-32CDC251***', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '无', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'string', - 'example' => '无', - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], - ], + 'schema' => ['description' => '部门 ID', 'type' => 'string', 'required' => false, 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4bad38'], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => ['description' => '用户 ID', 'type' => 'string', 'required' => false, 'example' => ' 59b0bbfe-929b-4a8c-9833-3ce70b4bad34'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + 'name' => 'AppId', + 'in' => 'query', + 'schema' => ['description' => '应用 ID', 'type' => 'string', 'required' => false, 'example' => '90c2459a-4c73-4ab7-8a6b-e550d62fbd8c'], ], - 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + [ + 'name' => 'DetectProcessId', + 'in' => 'query', + 'schema' => ['description' => '业务流程 ID', 'type' => 'string', 'required' => false, 'example' => 'iuhptk3w-2021122017'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + 'name' => 'RoomId', + 'in' => 'query', + 'schema' => ['description' => 'mrtc 房间 ID', 'type' => 'string', 'required' => false, 'example' => '6000028888875'], ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + [ + 'name' => 'VideoUrl', + 'in' => 'query', + 'schema' => ['description' => '要上传的视频地址', 'type' => 'string', 'required' => false, 'example' => 'https://mogo-apps-sh.oss-cn-shanghai-internal.aliyuncs.com/tmp/d2720028b53d384c6d3fca32e45209d1_20_src.mp4'], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8F5F961D-07AA-5293-BFFE-32CDC251***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"无\\",\\n \\"Data\\": \\"无\\",\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '离开MRTC房间', - ], - 'FaceRecognize' => [ - 'summary' => '单向视频双录-人脸识别静默活体', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'MetaUrl', + 'in' => 'query', + 'schema' => ['description' => 'meta 文件地址', 'type' => 'string', 'required' => false, 'example' => 'http://abc.oss.aliyuncs.com/1/12_03_20_03_36toubaoren.mp4.meta'], ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], - 'parameters' => [ [ - 'name' => 'FaceRequest', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '请求参数', - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'description' => '双录质检应用ID', - 'type' => 'string', - 'required' => true, - 'example' => 'd61be709-49d2-4cf1-b219-cd6181f72***', - ], - 'SourceImage' => [ - 'description' => '照片Base64编码。', - 'type' => 'string', - 'required' => true, - 'example' => '/9j/4AAQSkZJRgABAQAASxxxxxxx', - ], - 'TargetImage' => [ - 'description' => '底库照片Base64编码。', - 'type' => 'string', - 'required' => true, - 'example' => '/9j/4AAQSkZJRgABAQAASxxxxxxx', - ], - 'Liveness' => [ - 'description' => '是否检测真人', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '阿里云为该请求生成的唯一标识符。', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4ba***', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'ComparePassed' => [ - 'title' => '识别是否通过', - 'description' => '识别是否通过', - 'type' => 'string', - 'example' => 'T ', - ], - 'CompareScore' => [ - 'title' => '分值', - 'description' => '分值', - 'type' => 'number', - 'format' => 'float', - 'example' => '32.435', - ], - 'LivenessPassed' => [ - 'title' => '识别是否通过', - 'description' => '识别是否通过', - 'type' => 'string', - 'example' => 'T', - ], - 'LivenessScore' => [ - 'title' => '分值', - 'description' => '分值', - 'type' => 'number', - 'format' => 'float', - 'example' => '56.34', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + 'name' => 'ResultUrl', + 'in' => 'query', + 'schema' => ['description' => '检测流程的完整 URL', 'type' => 'string', 'required' => false, 'example' => 'http://abc.oss.aliyuncs.com/1/12_03_20_03_36toubaoren.mp4.json'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], - ], - 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + 'name' => 'RecordAt', + 'in' => 'query', + 'schema' => ['title' => 'yyyy-MM-dd hh:mm:ss', 'description' => '录制开始时间,格式 yyyy-MM-dd\'T\'HH:mm:ss\'Z\'', 'type' => 'string', 'required' => false, 'example' => '2022-01-04T08%3A45%3A37Z'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], - ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + 'name' => 'Duration', + 'in' => 'query', + 'schema' => ['description' => '视频时长', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12'], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4ba***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"ComparePassed\\": \\"T \\",\\n \\"CompareScore\\": 32.435,\\n \\"LivenessPassed\\": \\"T\\",\\n \\"LivenessScore\\": 56.34\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '人脸识别', - ], - 'FaceLiveness' => [ - 'summary' => '单向视频双录-静默活体', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => '标识本地双录和远程双录(LOCAL 或 REMOTE)'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'LOCAL'], ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], - 'parameters' => [ [ - 'name' => 'FaceRequest', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '请求参数', - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'description' => '双录质检应用ID', - 'type' => 'string', - 'required' => true, - 'example' => 'd61be709-49d2-4cf1-b219-cd6181f72***', - ], - 'SourceImage' => [ - 'description' => '照片Base64编码。', - 'type' => 'string', - 'required' => true, - 'example' => '/9j/4AAQSkZJRgABAQAASxxxxxxx', - ], - ], - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '阿里云为该请求生成的唯一标识符。', - 'type' => 'string', - 'example' => '7AC54DAF-38F8-58C7-8383-3131FEDDA***', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'PublicId' => [ - 'title' => '人脸任务ID', - 'description' => '人脸任务ID', - 'type' => 'string', - 'example' => 'd61be709-49d2-4cf1-b219-cd6181f72***'."\n", - ], - 'Code' => [ - 'title' => '人脸接口返回的code', - 'description' => '人脸接口返回的code', - 'type' => 'string', - 'example' => '2000000', - ], - 'Message' => [ - 'title' => '人脸接口返回的错误信息', - 'description' => '人脸接口返回的错误信息', - 'type' => 'string', - 'example' => 'success', - ], - 'Passed' => [ - 'title' => '识别是否通过', - 'description' => '识别是否通过', - 'type' => 'string', - 'example' => 'T', - ], - 'Score' => [ - 'title' => '分值', - 'description' => '分值', - 'type' => 'number', - 'format' => 'float', - 'example' => '3.24324324324', - ], - 'Status' => [ - 'title' => '任务状态', - 'description' => '任务状态', - 'type' => 'string', - 'example' => 'COMPLETED', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + 'name' => 'ClientVersion', + 'in' => 'query', + 'schema' => ['description' => '客户端版本号', 'type' => 'string', 'required' => false, 'example' => '1.0.003'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + 'name' => 'FeeId', + 'in' => 'query', + 'schema' => ['description' => '对账 ID', 'type' => 'string', 'required' => false, 'example' => '6c94f2a7-632d-4ea0-aa06-a97800a9060f'], ], - 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + [ + 'name' => 'ClientBaseParam', + 'in' => 'query', + 'schema' => ['description' => '客户端基础参数,记录 SDK 版本号等信息', 'type' => 'string', 'required' => false, 'example' => '{"version":"1.0.0"}'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + 'name' => 'RtcRecordId', + 'in' => 'query', + 'schema' => ['description' => 'mrtc录制ID', 'type' => 'string', 'required' => false, 'example' => 'record_6570315480571566****'], ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', - ], + [ + 'name' => 'OuterBusinessId', + 'in' => 'query', + 'schema' => ['description' => '业务ID,用户自定义', 'type' => 'string', 'required' => false, 'example' => 'ads32efef43'], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7AC54DAF-38F8-58C7-8383-3131FEDDA***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"PublicId\\": \\"d61be709-49d2-4cf1-b219-cd6181f72***\\\\n\\",\\n \\"Code\\": \\"2000000\\",\\n \\"Message\\": \\"success\\",\\n \\"Passed\\": \\"T\\",\\n \\"Score\\": 3.24324324324,\\n \\"Status\\": \\"COMPLETED\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '静默活体检测', - ], - 'CreateTtsQuestionGroup' => [ - 'summary' => '单向视频双录-创建TTS问题组', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Role', + 'in' => 'query', + 'schema' => ['description' => '用户自定义角色', 'type' => 'string', 'required' => false, 'example' => '0'], ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], - 'parameters' => [ [ - 'name' => 'Request', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '请求参数', - 'type' => 'object', - 'properties' => [ - 'Voice' => [ - 'description' => '发音人', - 'type' => 'string', - 'required' => false, - 'example' => 'xiaoyun', - ], - 'Format' => [ - 'description' => '音频编码格式', - 'type' => 'string', - 'required' => false, - 'example' => 'PCM', - ], - 'Volume' => [ - 'description' => '音量大小,取值范围:0~100。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], - 'SampleRate' => [ - 'description' => '音频采样率', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '16000', - ], - 'SpeechRate' => [ - 'description' => '语速,取值范围:-500~500。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], - 'PitchRate' => [ - 'description' => '音调,取值范围:-500~500。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], - ], - 'required' => true, - ], + 'name' => 'VideoType', + 'in' => 'query', + 'schema' => ['description' => '标识单流还是混流', 'type' => 'string', 'required' => false, 'example' => 'MIX'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', + 'title' => 'ApiResult', + 'description' => 'ApiResult', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '为保证一致,建议统一使用requestid', - 'type' => 'string', - 'example' => 'B2AADC9E-2A58-5918-AE4E-FF59E19D7***', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '-', - ], + 'RequestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => '84118BF0-56F7-54D2-8C1A-35BBBB*****'], + 'Code' => ['title' => 'code', 'description' => 'code', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['title' => '提示', 'description' => '提示', 'type' => 'string', 'example' => '无'], 'Data' => [ + 'title' => '数据', 'description' => '数据', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => 'TTS任务组唯一ID', - 'type' => 'string', - 'example' => '63bb629d-92bf-4cdc-ad0b-3032c926d***', - ], + 'Id' => ['title' => '双录记录id', 'description' => '双录记录 ID', 'type' => 'string', 'example' => '59b0bbfe-929b-4a8c-9833-3ce7****'], + 'CreatedAt' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'VideoUrl' => ['title' => '视频地址', 'description' => '视频地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4'], + 'MetaUrl' => ['title' => 'meta地址', 'description' => 'meta 地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.meta'], + 'ResultUrl' => ['title' => '结果地址', 'description' => '结果地址', 'type' => 'string', 'example' => 'http://oss.aliyuncs.com/1.mp4.json'], + 'RecordAt' => ['title' => '录制时间', 'description' => '录制时间', 'type' => 'string', 'example' => '2020-07-14T14:01:41.000+08:00'], + 'Duration' => ['title' => '时长', 'description' => '时长', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'RtcRecordId' => ['description' => 'mrtc录制ID', 'type' => 'string', 'example' => 'record_6570315480571566****'."\n"], + 'OuterBusinessId' => ['description' => '业务ID,用户自定义', 'type' => 'string', 'example' => 'ads32efef43'], ], ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', + 'Success' => ['title' => '给 pop 使用的', 'description' => '给 pop 使用的', 'type' => 'boolean', 'example' => 'True'], + 'HttpCode' => ['description' => 'HTTP 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Errors' => [ + 'title' => '错误列表', + 'description' => '错误列表', + 'type' => 'array', + 'items' => [ + 'description' => '错误列表', + 'type' => 'object', + 'properties' => [ + 'Field' => ['description' => '错误 ID', 'type' => 'string', 'example' => '无'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '无'], + ], + ], ], ], ], @@ -10282,1268 +6694,1187 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', - ], + ['errorCode' => 'InvalidRequest', 'errorMessage' => 'The request is invalid.', 'description' => '无效的请求'], ], [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', - ], + ['errorCode' => 'Unauthorized', 'errorMessage' => 'The request requires user authentication.', 'description' => '该请求需要进行身份认证'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Access to this resource on the server is denied.', 'description' => '没有权限访问该资源'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource does not exist.', 'description' => '找不到指定的资源'], ], 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ['errorCode' => 'InternalServerError', 'errorMessage' => 'An internal server error occurred.', 'description' => '服务器内部出错'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"84118BF0-56F7-54D2-8C1A-35BBBB*****\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"无\\",\\n \\"Data\\": {\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce7****\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"MetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"ResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Duration\\": 12,\\n \\"RtcRecordId\\": \\"record_6570315480571566****\\\\n\\",\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"无\\",\\n \\"Message\\": \\"无\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 84118BF0-56F7-54D2-8C1A-35BBBB*****\\n OK\\n \\n \\n 59b0bbfe-929b-4a8c-9833-3ce7****\\n 2020-07-14T14:01:41.000+08:00\\n http://oss.aliyuncs.com/1.mp4\\n http://oss.aliyuncs.com/1.mp4.meta\\n http://oss.aliyuncs.com/1.mp4.json\\n 2020-07-14T14:01:41.000+08:00\\n 12\\n record_6570315480571566****\\n\\n ads32efef43\\n \\n true\\n 200\\n \\n \\n \\n \\n","errorExample":""}]', + 'title' => '上报双录结果', + 'changeSet' => [ + ['createdAt' => '2023-05-23T11:48:52.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-08-29T07:30:50.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-07-05T11:05:58.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-02-21T07:17:01.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-24T04:47:39.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-09T16:48:09.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-04T07:08:00.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:UploadReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2AADC9E-2A58-5918-AE4E-FF59E19D7***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"63bb629d-92bf-4cdc-ad0b-3032c926d***\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '创建TTS问题组', ], - 'GetAsrResult' => [ - 'summary' => '单向视频双录-获取语音识别结果', - 'methods' => [ - 'post', + ], + 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.cn-hangzhou.aliyuncs.com', 'endpoint' => 'idrsservice.cn-hangzhou.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'idrsservice.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'idrsservice.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'idrsservice-vpc.cn-shanghai-finance-1.aliyuncs.com'], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'idrsservice.aliyuncs.com', 'endpoint' => 'idrsservice.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'Forbidden', 'message' => 'Access to this resource on the server is denied.', 'http_code' => 403, 'description' => '没有权限访问该资源'], + ['code' => 'InternalServerError', 'message' => 'An internal server error occurred.', 'http_code' => 500, 'description' => '服务器内部出错'], + ['code' => 'InvalidRequest', 'message' => 'The request is invalid.', 'http_code' => 400, 'description' => '无效的请求'], + ['code' => 'ResourceNotFound', 'message' => 'The specified resource does not exist.', 'http_code' => 404, 'description' => '找不到指定的资源'], + ['code' => 'Unauthorized', 'message' => 'The request requires user authentication.', 'http_code' => 401, 'description' => '该请求需要进行身份认证'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'UploadReport'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2023-05-23T11:49:04.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTtsQuestion'], + ['description' => '响应参数发生变更', 'api' => 'GetRecordResult'], + ['description' => '响应参数发生变更', 'api' => 'GetRecordsByFeeId'], + ['description' => 'OpenAPI 下线', 'api' => 'GetRecordsByOuterBusinessId'], + ['description' => 'OpenAPI 下线', 'api' => 'GetTtsQuestionByGroupId'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListRecordResults'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'UploadReport'], + ], + 'createdAt' => '2022-08-29T07:31:15.000Z', + 'description' => '新增字段', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'TtsTask'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2022-08-29T02:57:34.000Z', + 'description' => '发布单向视频双录API到线上', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'AsrTask'], + ['description' => 'OpenAPI 下线', 'api' => 'CreateTtsQuestion'], + ['description' => 'OpenAPI 下线', 'api' => 'CreateTtsQuestionGroup'], + ['description' => 'OpenAPI 下线', 'api' => 'FaceLiveness'], + ['description' => 'OpenAPI 下线', 'api' => 'FaceRecognize'], + ['description' => 'OpenAPI 下线', 'api' => 'GetAsrResult'], + ['description' => 'OpenAPI 下线', 'api' => 'JoinRoom'], + ['description' => 'OpenAPI 下线', 'api' => 'LeaveRoom'], + ['description' => 'OpenAPI 下线', 'api' => 'TtsTask'], + ], + 'createdAt' => '2022-08-26T03:42:12.000Z', + 'description' => '单向视频录制API', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'AsrRealtime'], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', + 'createdAt' => '2022-07-08T02:50:57.000Z', + 'description' => '新增API', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AsrSentence'], + ['description' => '请求参数发生变更', 'api' => 'FaceCompare'], + ['description' => '请求参数发生变更', 'api' => 'TtsCommon'], ], - 'parameters' => [ - [ - 'name' => 'AsrTaskId', - 'in' => 'query', - 'schema' => [ - 'description' => '任务id', - 'type' => 'string', - 'required' => true, - 'example' => 'B2AADC9E-2A58-5918-AE4E-FF59E19D7***', + 'createdAt' => '2022-07-08T02:21:26.000Z', + 'description' => '参数修改', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AsrSentence'], + ['description' => '请求参数发生变更', 'api' => 'FaceCompare'], + ['description' => '请求参数发生变更', 'api' => 'TtsCommon'], + ], + 'createdAt' => '2022-07-08T02:04:31.000Z', + 'description' => '参数修改', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AsrSentence'], + ['description' => '请求参数发生变更', 'api' => 'FaceCompare'], + ['description' => '请求参数发生变更', 'api' => 'TtsCommon'], + ], + 'createdAt' => '2022-07-07T13:28:15.000Z', + 'description' => '修改Content-Type', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'AsrSentence'], + ['description' => 'OpenAPI 下线', 'api' => 'FaceCompare'], + ['description' => 'OpenAPI 下线', 'api' => 'TtsCommon'], + ], + 'createdAt' => '2022-07-07T09:06:01.000Z', + 'description' => 'idrs-facade', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetRecordResult'], + ['description' => '响应参数发生变更', 'api' => 'ListRecordResults'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'UploadReport'], + ], + 'createdAt' => '2022-07-05T11:06:29.000Z', + 'description' => '参数变更', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'CreateVideoMergeTask'], + ], + 'createdAt' => '2022-06-14T09:13:24.000Z', + 'description' => '新增视频合成API', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateDetectProcess'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListDetectProcesses'], + ], + 'createdAt' => '2022-06-01T12:11:54.000Z', + 'description' => '双录质检二期原有API优化', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTaskGroup'], + ], + 'createdAt' => '2022-05-13T03:10:28.000Z', + 'description' => '创建云端质检任务接口,参数改造', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AssociateRoom'], + ['description' => '请求参数发生变更', 'api' => 'CreateSignature'], + ['description' => '请求参数发生变更', 'api' => 'CreateStatisticsRecord'], + ['description' => '请求参数发生变更', 'api' => 'GetDepartment'], + ['description' => '请求参数发生变更', 'api' => 'GetDetection'], + ['description' => '请求参数发生变更', 'api' => 'GetDetectProcess'], + ['description' => '请求参数发生变更', 'api' => 'GetDetectProcessJsonFile'], + ['description' => '请求参数发生变更', 'api' => 'GetPreSignedUrl'], + ['description' => '请求参数发生变更', 'api' => 'GetRecordResult'], + ], + 'createdAt' => '2022-02-21T07:18:40.000Z', + 'description' => '部门API新增入参clientBaseParam表示客户端的基础参数', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AssociateRoom'], + ['description' => '请求参数发生变更', 'api' => 'CreateSignature'], + ['description' => '请求参数发生变更', 'api' => 'CreateStatisticsRecord'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'GetApp'], + ['description' => '请求参数发生变更', 'api' => 'GetPreSignedUrl'], + ['description' => '请求参数发生变更', 'api' => 'GetWatermark'], + ['description' => '请求参数发生变更', 'api' => 'UploadReport'], + ], + 'createdAt' => '2022-01-25T02:14:25.000Z', + 'description' => '增加客户端版本参数', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetApp'], + ], + 'createdAt' => '2022-01-14T07:35:50.000Z', + 'description' => '变更GetAPP出参', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListDetectProcesses'], + ], + 'createdAt' => '2022-01-13T10:01:08.000Z', + 'description' => '本地双录配置新增保存时间和发布时间', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListRecordResults'], + ], + 'createdAt' => '2022-01-12T07:55:58.000Z', + 'description' => '增加出参roomID', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AssociateRoom'], + ['description' => '响应参数发生变更', 'api' => 'GetRecordResult'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListFiles'], + ], + 'createdAt' => '2022-01-12T03:11:07.000Z', + 'description' => 'mrtc回调修改,获取文件接口出参修改,获取双录记录出参修改', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetRecordResult'], + ['description' => '响应参数发生变更', 'api' => 'ListRecordResults'], + ['description' => '请求参数发生变更', 'api' => 'UploadReport'], + ], + 'createdAt' => '2022-01-09T16:48:37.000Z', + 'description' => '本地双录远程双录,新增入参和出参', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetRecordResult'], + ], + 'createdAt' => '2022-01-07T06:10:04.000Z', + 'description' => '远程双录获取接口新增返回参数,roomID和roomID对应的URL地址', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AssociateRoom'], + ['description' => '请求参数发生变更', 'api' => 'CreateSignature'], + ], + 'createdAt' => '2022-01-06T06:42:43.000Z', + 'description' => 'bugfix', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'CreateSignature'], + ], + 'createdAt' => '2022-01-05T09:06:10.000Z', + 'description' => '增加MRTC创建签名接口', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateWatermark'], + ['description' => '请求参数发生变更', 'api' => 'ListRecordResults'], + ], + 'createdAt' => '2022-01-05T06:06:26.000Z', + 'description' => '修改创建水印参数,修改创建查询录制记录需要的部门名为部门ID', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'CreateWatermark'], + ['description' => 'OpenAPI 下线', 'api' => 'DeleteWatermark'], + ['description' => '响应参数发生变更', 'api' => 'GetWatermark'], + ['description' => '响应参数发生变更', 'api' => 'ListWatermarks'], + ['description' => 'OpenAPI 下线', 'api' => 'UpdateWatermark'], + ], + 'createdAt' => '2022-01-04T11:03:46.000Z', + 'description' => '水印功能完善', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'AssociateRoom'], + ['description' => '请求参数发生变更', 'api' => 'CreateStatisticsRecord'], + ['description' => 'OpenAPI 下线', 'api' => 'GetRecordResult'], + ['description' => 'OpenAPI 下线', 'api' => 'GetWatermark'], + ['description' => 'OpenAPI 下线', 'api' => 'ListRecordResults'], + ['description' => 'OpenAPI 下线', 'api' => 'ListWatermarks'], + ['description' => 'OpenAPI 下线', 'api' => 'UploadReport'], + ], + 'createdAt' => '2022-01-04T07:09:30.000Z', + 'description' => '增加新参数,标记客户端上报类型', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'CreateWatermark'], + ], + 'createdAt' => '2022-01-04T06:29:55.000Z', + 'description' => '新增用户自定义水印功能', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateLiveRecordTemplate'], + ['description' => '响应参数发生变更', 'api' => 'GetLiveRecordTemplate'], + ['description' => '请求参数发生变更', 'api' => 'StartLiveRecordTask'], + ['description' => '请求参数发生变更', 'api' => 'UpdateLiveRecordTask'], + ['description' => '请求参数发生变更', 'api' => 'UpdateLiveRecordTemplate'], + ], + 'createdAt' => '2021-04-12T02:24:28.000Z', + 'description' => '支持对远程双录合流视频的自定义动态布局', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ], + ], + 'ram' => [ + 'productCode' => 'Idrsservice', + 'productName' => '智能双录质检', + 'ramCodes' => ['idrsservice'], + 'ramLevel' => '服务级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'GetRecordsByOuterBusinessId', + 'description' => '根据业务ID获取双录记录', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetRecordsByOuterBusinessId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '唯一请求识别码', - 'type' => 'string', - 'example' => 'C14ED32C-B9E4-54E7-BA85-C2B562C5B***', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'Result' => [ - 'description' => 'asr识别出的文本', - 'type' => 'string', - 'example' => '北京的天气', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], + [ + 'apiName' => 'GetWatermark', + 'description' => '获取水印信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetWatermark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', + [ + 'apiName' => 'GetRecordsByFeeId', + 'description' => '根据feeid获取上报记录', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetRecordsByFeeId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', + ], + [ + 'apiName' => 'FaceRecognize', + 'description' => '人脸识别', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:FaceRecognize', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', + ], + [ + 'apiName' => 'GetPreSignedUrl', + 'description' => 'GetPreSignedUrl', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetPreSignedUrl', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', + ], + [ + 'apiName' => 'ListTaskGroups', + 'description' => 'ListTaskGroups', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListTaskGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ], + [ + 'apiName' => 'UpdateUser', + 'description' => '更新用户', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idrsservice:UpdateUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C14ED32C-B9E4-54E7-BA85-C2B562C5B***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Result\\": \\"北京的天气\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '获取ASR任务结果', - ], - 'JoinRoom' => [ - 'summary' => '单向视频双录-通知加入房间', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetTask', + 'description' => '获取指定任务信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'AssociateRoom', + 'description' => 'mrtc录制信息上传', 'operationType' => 'none', - ], - 'parameters' => [ - [ - 'name' => 'AppId', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '双录质检应用id', - 'type' => 'string', - 'required' => true, - 'example' => '4a29b426-742f-4078-8386-79b440b***', + 'ramAction' => [ + 'action' => 'idrsservice:AssociateRoom', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'RoomId', - 'in' => 'query', - 'schema' => [ - 'description' => 'mrtc 房间 ID', - 'type' => 'string', - 'required' => true, - 'example' => '66194***681868', + ], + [ + 'apiName' => 'TtsCommon', + 'description' => '语音合成', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:TtsCommon', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'StreamId', - 'in' => 'query', - 'schema' => [ - 'description' => 'mrtc 视频流或音频流ID', - 'type' => 'string', - 'required' => false, - 'example' => '12312***2412', + ], + [ + 'apiName' => 'CreateRule', + 'description' => 'CreateRule', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'RoomToken', - 'in' => 'query', - 'schema' => [ - 'description' => 'mrtc 房间密码', - 'type' => 'string', - 'required' => false, - 'example' => '006f4***b269', + ], + [ + 'apiName' => 'CreateTaskGroup', + 'description' => 'CreateTaskGroup', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateTaskGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '阿里云为该请求生成的唯一标识符。', - 'type' => 'string', - 'example' => 'D15744FC-97D2-5D61-A18C-8CC4FA0A3***', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误消息', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'RoomId' => [ - 'description' => 'mrtc 房间 ID', - 'type' => 'string', - 'example' => '641981583353***', - ], - 'StreamId' => [ - 'description' => 'mrtc 视频流或音频流ID', - 'type' => 'string', - 'example' => '12312***412', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], + [ + 'apiName' => 'DeleteDepartment', + 'description' => '删除部门', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteDepartment', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', + [ + 'apiName' => 'DeleteUserDepartments', + 'description' => '删除用户部门关系', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteUserDepartments', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', + ], + [ + 'apiName' => 'RenameDetectProcess', + 'description' => 'RenameDetectProcess', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:RenameDetectProcess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', + ], + [ + 'apiName' => 'ListDetections', + 'description' => 'ListDetections', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListDetections', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', + ], + [ + 'apiName' => 'DeleteRule', + 'description' => 'DeleteRule', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ], + [ + 'apiName' => 'CreateWatermark', + 'description' => '创建水印信息', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateWatermark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D15744FC-97D2-5D61-A18C-8CC4FA0A3***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"RoomId\\": \\"641981583353***\\",\\n \\"StreamId\\": \\"12312***412\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '加入MRTC房间', - ], - 'CreateTtsQuestion' => [ - 'summary' => '单向视频双录-创建TTS问题', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListRecordResults', + 'description' => '获取所有双录结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListRecordResults', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', + [ + 'apiName' => 'FaceLiveness', + 'description' => '静默活体检测', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:FaceLiveness', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'Request', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '请求参数', - 'type' => 'object', - 'properties' => [ - 'QuestionGroupId' => [ - 'description' => 'TTS问题组ID', - 'type' => 'string', - 'required' => true, - 'example' => '47584ba4-9781-496b-8e6f-c8525a213***'."\n", - ], - 'Question' => [ - 'description' => '问题', - 'type' => 'string', - 'required' => true, - 'example' => '您可以根据自己需求填写', - ], - 'Answer' => [ - 'description' => '回复', - 'type' => 'string', - 'required' => true, - 'example' => '您可以根据自己需求填写', - ], - ], - 'required' => true, + [ + 'apiName' => 'GetTaskGroup', + 'description' => 'GetTaskGroup', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetTaskGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '阿里云为该请求生成的唯一标识符。', - 'type' => 'string', - 'example' => 'D9AA9055-F73D-592C-832B-5AEECB093***', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'ID', - 'type' => 'string', - 'example' => '59b0bbfe-929b-4a8c-9833-3ce70b4ba***', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], + [ + 'apiName' => 'AsrTask', + 'description' => '提交ASR任务', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:AsrTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', + [ + 'apiName' => 'UploadReport', + 'description' => '上报双录结果', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:UploadReport', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', + ], + [ + 'apiName' => 'GetUser', + 'description' => '查询用户信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', + ], + [ + 'apiName' => 'ListApps', + 'description' => 'ListApps', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListApps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', + ], + [ + 'apiName' => 'TtsTask', + 'description' => '提交TTS任务', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:TtsTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ], + [ + 'apiName' => 'CreateSignature', + 'description' => '创建 mrtc 签名', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateSignature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D9AA9055-F73D-592C-832B-5AEECB093***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Id\\": \\"59b0bbfe-929b-4a8c-9833-3ce70b4ba***\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '创建TTS问题', - ], - 'AsrTask' => [ - 'summary' => '单向视频双录-语音识别任务', - 'methods' => [ - 'post', + [ + 'apiName' => 'GetDetection', + 'description' => 'GetDetection', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetDetection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'CreateTtsQuestionGroup', + 'description' => '创建TTS问题组', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateTtsQuestionGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteUser', + 'description' => '删除用户', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', + [ + 'apiName' => 'UpdateApp', + 'description' => '更新应用', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idrsservice:UpdateApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'Request', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '请求参数', - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'description' => '双录质检应用ID', - 'type' => 'string', - 'required' => true, - 'example' => 'd9ee5df9-20bf-47bf-987a-76b26984b***', - ], - 'RoomId' => [ - 'description' => 'mrtc 房间 ID', - 'type' => 'string', - 'required' => true, - 'example' => '662027426755***', - ], - 'Timestamp' => [ - 'description' => '时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1656388156399', - ], - 'Event' => [ - 'description' => '事件类型,开始START,结束END', - 'type' => 'string', - 'required' => true, - 'example' => 'START', - ], - 'AsrTaskId' => [ - 'description' => '任务id', - 'type' => 'string', - 'required' => false, - 'example' => 'd9ee5df9-20bf-47bf-987a-76b26984b***'."\n", - ], - ], - 'required' => false, + [ + 'apiName' => 'GetStatisticsRecordsByFeeId', + 'description' => '根据feeid获取计费信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetStatisticsRecordsByFeeId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '阿里云为该请求生成的唯一标识符。', - 'type' => 'string', - 'example' => 'DF4B0162-A5E0-5F85-BEFD-CAC36E876***', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'Result' => [ - 'description' => '检测结果', - 'type' => 'string', - 'example' => '北京的天气', - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], + [ + 'apiName' => 'DeleteApp', + 'description' => '删除应用', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', + [ + 'apiName' => 'CreateUserDepartments', + 'description' => '创建用户部门关系', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateUserDepartments', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', + ], + [ + 'apiName' => 'GetTtsQuestionByGroupId', + 'description' => '根据TTS问题组ID获取此ID下所有的TTS信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetTtsQuestionByGroupId', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', + ], + [ + 'apiName' => 'GetRule', + 'description' => 'GetRule', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', + ], + [ + 'apiName' => 'CreateTtsQuestion', + 'description' => '创建TTS问题', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateTtsQuestion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ], + [ + 'apiName' => 'UpdateRule', + 'description' => 'UpdateRule', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idrsservice:UpdateRule', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DF4B0162-A5E0-5F85-BEFD-CAC36E876***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"Result\\": \\"北京的天气\\"\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '提交ASR任务', - ], - 'GetTtsQuestionByGroupId' => [ - 'summary' => '根据TTS问题组ID获取TTS问题信息', - 'methods' => [ - 'post', + [ + 'apiName' => 'ListWatermarks', + 'description' => '列表展示水印信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'idrsservice:ListWatermarks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ListDetectProcesses', + 'description' => 'ListDetectProcesses', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListDetectProcesses', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteDetectProcess', + 'description' => 'DeleteDetectProcess', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteDetectProcess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'AsrSentence', + 'description' => '一句话识别', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:AsrSentence', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'LeaveRoom', + 'description' => '离开MRTC房间', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:LeaveRoom', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListFiles', + 'description' => 'ListFiles', 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListFiles', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'TTS问题组ID', - 'type' => 'string', - 'required' => true, - 'example' => '47584ba4-9781-496b-8e6f-c8525a213***', + [ + 'apiName' => 'ListUsers', + 'description' => '查询用户列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListUsers', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'ApiResult', - 'description' => 'ApiResult', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '为公共参数,每个请求的id都是唯一的', - 'type' => 'string', - 'example' => 'D2DFCDC3-1ECF-599D-8EDA-8F598E5A9***', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'OK', - ], - 'Message' => [ - 'description' => '错误信息。', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'GroupId' => [ - 'description' => 'TTS问题组ID'."\n" - ."\n", - 'type' => 'string', - 'example' => '47584ba4-9781-496b-8e6f-c8525a213***', - ], - 'Questions' => [ - 'description' => '问题列表', - 'type' => 'array', - 'items' => [ - 'description' => '问题信息', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => '问题id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TenantId' => [ - 'description' => '租户id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'QuestionGroupId' => [ - 'description' => '问题组id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '47584ba4-9781-496b-8e6f-c8525a213***', - ], - 'QuestionKey' => [ - 'description' => '问题key', - 'type' => 'string', - 'example' => '47584ba4-9781-496b-8e6f-c8525a213***', - ], - 'Question' => [ - 'description' => '问题。', - 'type' => 'string', - 'example' => '北京的天气如何', - ], - 'Answer' => [ - 'description' => '回复', - 'type' => 'string', - 'example' => '晴朗', - ], - 'Duration' => [ - 'description' => '合成的音频时长,单位毫秒', - 'type' => 'number', - 'format' => 'double', - 'example' => '674', - ], - 'OssUrl' => [ - 'description' => '下载地址', - 'type' => 'string', - 'example' => 'https://pts-data-f***.pcm', - ], - ], - ], - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], + [ + 'apiName' => 'UpdateDetectProcess', + 'description' => 'UpdateDetectProcess', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idrsservice:UpdateDetectProcess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', + [ + 'apiName' => 'JoinRoom', + 'description' => '加入MRTC房间', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:JoinRoom', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', + ], + [ + 'apiName' => 'GetAsrResult', + 'description' => '获取ASR任务结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetAsrResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', + ], + [ + 'apiName' => 'ListTasks', + 'description' => 'ListTasks', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', + ], + [ + 'apiName' => 'UpdateWatermark', + 'description' => '更新水印信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idrsservice:UpdateWatermark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ], + [ + 'apiName' => 'GetDetectProcessJsonFile', + 'description' => '获取检测流程配置的 JSON 文件', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetDetectProcessJsonFile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D2DFCDC3-1ECF-599D-8EDA-8F598E5A9***\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"-\\",\\n \\"Data\\": {\\n \\"GroupId\\": \\"47584ba4-9781-496b-8e6f-c8525a213***\\",\\n \\"Questions\\": [\\n {\\n \\"Id\\": 1,\\n \\"TenantId\\": 2,\\n \\"QuestionGroupId\\": 0,\\n \\"QuestionKey\\": \\"47584ba4-9781-496b-8e6f-c8525a213***\\",\\n \\"Question\\": \\"北京的天气如何\\",\\n \\"Answer\\": \\"晴朗\\",\\n \\"Duration\\": 674,\\n \\"OssUrl\\": \\"https://pts-data-f***.pcm\\"\\n }\\n ]\\n },\\n \\"Success\\": true,\\n \\"HttpCode\\": 200\\n}","type":"json"}]', - 'title' => '根据TTS问题组ID获取此ID下所有的TTS信息', - ], - 'GetRecordsByOuterBusinessId' => [ - 'summary' => '根据OuterBusinessId查询上报结果信息接口', - 'methods' => [ - 'post', + [ + 'apiName' => 'GetApp', + 'description' => 'GetApp', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'CreateDepartment', + 'description' => 'CreateDepartment', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateDepartment', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListTaskItems', + 'description' => 'ListTaskItems', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListTaskItems', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DeleteWatermark', + 'description' => '删除水印信息', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'idrsservice:DeleteWatermark', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateApp', + 'description' => 'CreateApp', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDetectProcess', + 'description' => '获取检测流程信息', 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetDetectProcess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'OuterBusinessId', - 'in' => 'query', - 'schema' => [ - 'description' => '业务ID,用户自定义', - 'type' => 'string', - 'required' => true, - 'example' => 'ads32efef43', + [ + 'apiName' => 'GetDepartment', + 'description' => 'GetDepartment', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetDepartment', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'ApiResult>', - 'description' => 'ApiResult>', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => '0f1c45cd-3eee-4e60-b505-2e330b875***', - ], - 'Code' => [ - 'title' => 'code', - 'description' => 'code', - 'type' => 'string', - 'example' => 'OK', - ], - 'Message' => [ - 'title' => '提示', - 'description' => '提示', - 'type' => 'string', - 'example' => '-', - ], - 'Data' => [ - 'title' => '数据', - 'description' => '数据', - 'type' => 'array', - 'items' => [ - 'description' => '数据', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'title' => '双录记录id', - 'description' => '双录记录id', - 'type' => 'string', - 'example' => '0f1c45cd-3eee-4e60-b505-2e330b875***', - ], - 'CreatedAt' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'DetectProcessName' => [ - 'title' => '业务检测流程名', - 'description' => '业务检测流程名', - 'type' => 'string', - 'example' => 'XX流程', - ], - 'DepartmentName' => [ - 'title' => '部门名', - 'description' => '部门名', - 'type' => 'string', - 'example' => 'XX部门', - ], - 'AppName' => [ - 'title' => '应用名', - 'description' => '应用名', - 'type' => 'string', - 'example' => 'XX应用', - ], - 'VideoUrl' => [ - 'title' => '视频地址', - 'description' => '视频地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4', - ], - 'MetaUrl' => [ - 'title' => 'meta地址', - 'description' => 'meta地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.meta', - ], - 'ResultUrl' => [ - 'title' => '结果地址', - 'description' => '结果地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.json', - ], - 'RecordAt' => [ - 'title' => '录制时间', - 'description' => '录制时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'Duration' => [ - 'title' => '时长', - 'description' => '时长', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22', - ], - 'Status' => [ - 'title' => '检测状态', - 'description' => '检测状态', - 'type' => 'string', - 'example' => 'COMPLETED', - ], - 'RoomId' => [ - 'title' => 'mrtc房间id', - 'description' => 'mrtc房间id', - 'type' => 'string', - 'example' => '641981583353***', - ], - 'RecordRoomList' => [ - 'title' => '远程双录文件地址列表', - 'description' => '远程双录文件地址列表', - 'type' => 'array', - 'items' => [ - 'description' => '房间列表', - 'type' => 'object', - 'properties' => [ - 'Role' => [ - 'title' => '角色', - 'description' => '角色', - 'type' => 'string', - 'example' => 'user', - ], - 'RecordType' => [ - 'title' => '录制视频类型', - 'description' => '录制视频类型', - 'type' => 'string', - 'example' => 'Mix', - ], - 'RoomVideoUrl' => [ - 'title' => '视频地址', - 'description' => '视频地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4', - ], - 'RoomMetaUrl' => [ - 'title' => 'meta地址', - 'description' => 'meta地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.meta', - ], - 'RoomResultUrl' => [ - 'title' => '结果地址', - 'description' => '结果地址', - 'type' => 'string', - 'example' => 'http://oss.aliyuncs.com/1.mp4.json', - ], - 'RoomRecordAt' => [ - 'title' => '录制时间', - 'description' => '录制时间', - 'type' => 'string', - 'example' => '2020-07-14T14:01:41.000+08:00', - ], - 'RoomStatus' => [ - 'title' => '检测状态', - 'description' => '检测状态', - 'type' => 'string', - 'example' => '1', - ], - 'RtcRecordId' => [ - 'description' => 'mrtc录制ID', - 'type' => 'string', - 'example' => 'record_65703154805715668342', - ], - 'OuterBusinessId' => [ - 'description' => '业务ID,用户自定义', - 'type' => 'string', - 'example' => 'ads32efef43', - ], - ], - ], - ], - 'OuterBusinessId' => [ - 'description' => '业务ID,用户自定义', - 'type' => 'string', - 'example' => 'ads32efef43', - ], - ], - ], - ], - 'Success' => [ - 'title' => '给 pop 使用的', - 'description' => '给 pop 使用的', - 'type' => 'boolean', - 'example' => 'True', - ], - 'HttpCode' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Errors' => [ - 'title' => '错误列表', - 'description' => '错误列表', - 'type' => 'array', - 'items' => [ - 'description' => '错误列表', - 'type' => 'object', - 'properties' => [ - 'Field' => [ - 'description' => '错误 ID', - 'type' => 'string', - 'example' => 'A1899517-BB99-5D3E-A71B-97524DCB0***', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '-', - ], - ], - ], - ], - ], + [ + 'apiName' => 'UpdateDepartment', + 'description' => 'UpdateDepartment', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'idrsservice:UpdateDepartment', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidRequest', - 'errorMessage' => 'The request is invalid.', + [ + 'apiName' => 'CreateDetectProcess', + 'description' => 'CreateDetectProcess', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'idrsservice:CreateDetectProcess', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'Unauthorized', - 'errorMessage' => 'The request requires user authentication.', + ], + [ + 'apiName' => 'ListDepartments', + 'description' => 'ListDepartments', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListDepartments', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Access to this resource on the server is denied.', + ], + [ + 'apiName' => 'GetRecordResult', + 'description' => '获取双录结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:GetRecordResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource does not exist.', + ], + [ + 'apiName' => 'FaceCompare', + 'description' => '人脸对比', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'idrsservice:FaceCompare', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - 500 => [ - [ - 'errorCode' => 'InternalServerError', - 'errorMessage' => 'An internal server error occurred.', + ], + [ + 'apiName' => 'ListRules', + 'description' => 'ListRules', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'idrsservice:ListRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Idrsservice', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0f1c45cd-3eee-4e60-b505-2e330b875***\\",\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"-\\",\\n \\"Data\\": [\\n {\\n \\"Id\\": \\"0f1c45cd-3eee-4e60-b505-2e330b875***\\",\\n \\"CreatedAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"DetectProcessName\\": \\"XX流程\\",\\n \\"DepartmentName\\": \\"XX部门\\",\\n \\"AppName\\": \\"XX应用\\",\\n \\"VideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"MetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"ResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"Duration\\": 22,\\n \\"Status\\": \\"COMPLETED\\",\\n \\"RoomId\\": \\"641981583353***\\",\\n \\"RecordRoomList\\": [\\n {\\n \\"Role\\": \\"user\\",\\n \\"RecordType\\": \\"Mix\\",\\n \\"RoomVideoUrl\\": \\"http://oss.aliyuncs.com/1.mp4\\",\\n \\"RoomMetaUrl\\": \\"http://oss.aliyuncs.com/1.mp4.meta\\",\\n \\"RoomResultUrl\\": \\"http://oss.aliyuncs.com/1.mp4.json\\",\\n \\"RoomRecordAt\\": \\"2020-07-14T14:01:41.000+08:00\\",\\n \\"RoomStatus\\": \\"1\\",\\n \\"RtcRecordId\\": \\"record_65703154805715668342\\",\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n }\\n ],\\n \\"OuterBusinessId\\": \\"ads32efef43\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"HttpCode\\": 200,\\n \\"Errors\\": [\\n {\\n \\"Field\\": \\"A1899517-BB99-5D3E-A71B-97524DCB0***\\",\\n \\"Message\\": \\"-\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '根据业务ID获取双录记录', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2-pop', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-pop', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-gov-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-nu16-b01', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-edge-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fujian', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-haidian-cm12-c01', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-bj-b01', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-prod-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-2', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-3', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-test-306', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong-finance-pop', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote-nebula-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao-nebula', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et15-b01', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et2-b01', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-inner', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-internal-test-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-inner', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-st4-d01', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-su18-b01', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wuhan', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-yushanfang', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangbei-na61-b01', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou-na62-a01', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-nebula-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1-oxs', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'rus-west-1-pop', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'idrsservice.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'idrsservice.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'idrsservice.cn-shanghai-finance-1.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; -- cgit v1.2.3