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/chatbot/2017-10-11/api-docs.php | 6246 +++++----------------------- 1 file changed, 1005 insertions(+), 5241 deletions(-) (limited to 'data/zh_cn/chatbot/2017-10-11') diff --git a/data/zh_cn/chatbot/2017-10-11/api-docs.php b/data/zh_cn/chatbot/2017-10-11/api-docs.php index 7a3a861..6fc5bac 100644 --- a/data/zh_cn/chatbot/2017-10-11/api-docs.php +++ b/data/zh_cn/chatbot/2017-10-11/api-docs.php @@ -1,34 +1,18 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Chatbot', - 'version' => '2017-10-11', - ], + 'info' => ['style' => 'RPC', 'product' => 'Chatbot', 'version' => '2017-10-11'], 'directories' => [ [ 'id' => 113830, 'title' => '问答', 'type' => 'directory', - 'children' => [ - 'GetAsyncResult', - 'Associate', - 'Chat', - 'Feedback', - ], + 'children' => ['GetAsyncResult', 'Associate', 'Chat', 'Feedback'], ], [ 'id' => 113835, 'title' => '视角管理', 'type' => 'directory', - 'children' => [ - 'CreatePerspective', - 'DeletePerspective', - 'UpdatePerspective', - 'ActivatePerspective', - 'DescribePerspective', - 'QueryPerspectives', - ], + 'children' => ['CreatePerspective', 'DeletePerspective', 'UpdatePerspective', 'ActivatePerspective', 'DescribePerspective', 'QueryPerspectives'], ], [ 'id' => 113841, @@ -39,43 +23,19 @@ 'id' => 113842, 'title' => 'FAQ库-类目', 'type' => 'directory', - 'children' => [ - 'CreateCategory', - 'DeleteCategory', - 'UpdateCategory', - 'DescribeCategory', - 'QueryCategories', - ], + 'children' => ['CreateCategory', 'DeleteCategory', 'UpdateCategory', 'DescribeCategory', 'QueryCategories'], ], [ 'id' => 113848, 'title' => 'FAQ库-知识管理', 'type' => 'directory', - 'children' => [ - 'CreateKnowledge', - 'DeleteKnowledge', - 'UpdateKnowledge', - 'DisableKnowledge', - 'DescribeKnowledge', - 'GetBotKnowledgeStatData', - 'QueryKnowledges', - 'PublishKnowledge', - 'MoveKnowledgeCategory', - ], + 'children' => ['CreateKnowledge', 'DeleteKnowledge', 'UpdateKnowledge', 'DisableKnowledge', 'DescribeKnowledge', 'GetBotKnowledgeStatData', 'QueryKnowledges', 'PublishKnowledge', 'MoveKnowledgeCategory'], ], [ 'id' => 113858, 'title' => 'FAQ库-核心词', 'type' => 'directory', - 'children' => [ - 'AddSynonym', - 'CreateCoreWord', - 'DeleteCoreWord', - 'UpdateCoreWord', - 'DescribeCoreWord', - 'QueryCoreWords', - 'RemoveSynonym', - ], + 'children' => ['AddSynonym', 'CreateCoreWord', 'DeleteCoreWord', 'UpdateCoreWord', 'DescribeCoreWord', 'QueryCoreWords', 'RemoveSynonym'], ], ], ], @@ -88,52 +48,25 @@ 'id' => 113867, 'title' => '对话工厂-专有名词', 'type' => 'directory', - 'children' => [ - 'CreateEntity', - 'DeleteEntity', - 'UpdateEntity', - 'DescribeEntities', - 'QuerySystemEntities', - 'QueryEntities', - 'AppendEntityMember', - 'RemoveEntityMember', - ], + 'children' => ['CreateEntity', 'DeleteEntity', 'UpdateEntity', 'DescribeEntities', 'QuerySystemEntities', 'QueryEntities', 'AppendEntityMember', 'RemoveEntityMember'], ], [ 'id' => 113876, 'title' => '对话工厂-对话单元', 'type' => 'directory', - 'children' => [ - 'CreateDialog', - 'DeleteDialog', - 'UpdateDialog', - 'DescribeDialog', - 'QueryDialogs', - ], + 'children' => ['CreateDialog', 'DeleteDialog', 'UpdateDialog', 'DescribeDialog', 'QueryDialogs'], ], [ 'id' => 113882, 'title' => '对话工厂-对话流', 'type' => 'directory', - 'children' => [ - 'DisableDialogFlow', - 'UpdateDialogFlow', - 'DescribeDialogFlow', - 'PublishDialogFlow', - 'TestDialogFlow', - ], + 'children' => ['DisableDialogFlow', 'UpdateDialogFlow', 'DescribeDialogFlow', 'PublishDialogFlow', 'TestDialogFlow'], ], [ 'id' => 113888, 'title' => '对话工厂-意图', 'type' => 'directory', - 'children' => [ - 'CreateIntent', - 'DeleteIntent', - 'UpdateIntent', - 'QueryIntents', - 'DescribeIntent', - ], + 'children' => ['CreateIntent', 'DeleteIntent', 'UpdateIntent', 'QueryIntents', 'DescribeIntent'], ], ], ], @@ -141,32 +74,13 @@ 'id' => 113894, 'title' => '机器人管理', 'type' => 'directory', - 'children' => [ - 'CreateBot', - 'DeleteBot', - 'DescribeBot', - 'QueryBots', - ], + 'children' => ['CreateBot', 'DeleteBot', 'DescribeBot', 'QueryBots'], ], [ 'id' => 113899, 'title' => '数据看板', 'type' => 'directory', - 'children' => [ - 'ListConversationLogs', - 'ListBotChatHistorys', - 'GetConversationList', - 'GetBotDsStatData', - 'ListBotColdDsDatas', - 'ListBotDsDetails', - 'ListBotHotDsDatas', - 'GetBotChatData', - 'GetBotSessionData', - 'ListBotColdKnowledges', - 'ListBotHotKnowledges', - 'ListBotKnowledgeDetails', - 'ListBotReceptionDetailDatas', - ], + 'children' => ['ListConversationLogs', 'ListBotChatHistorys', 'GetConversationList', 'GetBotDsStatData', 'ListBotColdDsDatas', 'ListBotDsDetails', 'ListBotHotDsDatas', 'GetBotChatData', 'GetBotSessionData', 'ListBotColdKnowledges', 'ListBotHotKnowledges', 'ListBotKnowledgeDetails', 'ListBotReceptionDetailDatas'], ], ], 'components' => [ @@ -176,40 +90,15 @@ 'description' => '类目信息', 'type' => 'object', 'properties' => [ - 'CategoryId' => [ - 'title' => '分类Id', - 'description' => '类⽬ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30000049006', - ], - 'ParentCategoryId' => [ - 'title' => '父分类Id', - 'description' => '⽗类⽬id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-1', - ], - 'AreaCode' => [ - 'title' => '地区代号', - 'description' => '地区编码'."\n", - 'type' => 'string', - 'example' => 'bizcode1', - ], - 'Name' => [ - 'title' => '名称', - 'description' => '类⽬名称'."\n", - 'type' => 'string', - 'example' => '测试1', - ], + 'CategoryId' => ['title' => '分类Id', 'description' => '类⽬ID', 'type' => 'integer', 'format' => 'int64', 'example' => '30000049006'], + 'ParentCategoryId' => ['title' => '父分类Id', 'description' => '⽗类⽬id', 'type' => 'integer', 'format' => 'int64', 'example' => '-1'], + 'AreaCode' => ['title' => '地区代号', 'description' => '地区编码'."\n", 'type' => 'string', 'example' => 'bizcode1'], + 'Name' => ['title' => '名称', 'description' => '类⽬名称'."\n", 'type' => 'string', 'example' => '测试1'], 'Childrens' => [ 'title' => '子元素', 'description' => '子类目列表', 'type' => 'array', - 'items' => [ - 'description' => '子类目信息', - '$ref' => '#/components/schemas/Children', - ], + 'items' => ['description' => '子类目信息', '$ref' => '#/components/schemas/Children'], ], ], ], @@ -218,41 +107,24 @@ 'description' => '意图定义', 'type' => 'object', 'properties' => [ - 'IntentId' => [ - 'title' => 'IntentId', - 'description' => '意图ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '126558', - ], - 'Name' => [ - 'title' => 'Name', - 'description' => '意图名称', - 'type' => 'string', - 'example' => 'test', - ], + 'IntentId' => ['title' => 'IntentId', 'description' => '意图ID', 'type' => 'integer', 'format' => 'int64', 'example' => '126558'], + 'Name' => ['title' => 'Name', 'description' => '意图名称', 'type' => 'string', 'example' => 'test'], 'UserSay' => [ 'title' => 'UserSay', 'description' => 'array', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/UsersayMtopDTO', - ], + 'items' => ['$ref' => '#/components/schemas/UsersayMtopDTO'], ], 'RuleCheck' => [ 'title' => 'RuleCheck', 'description' => 'LGF意图表述表达式', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/RuleMtopDTO', - ], + 'items' => ['$ref' => '#/components/schemas/RuleMtopDTO'], ], 'Slot' => [ 'description' => '意图槽位信息', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/SlotrecordMtopDTO', - ], + 'items' => ['$ref' => '#/components/schemas/SlotrecordMtopDTO'], ], ], ], @@ -261,24 +133,9 @@ 'description' => 'PaasButtonDTO', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => 'Name', - 'description' => '按钮名称', - 'type' => 'string', - 'example' => '测试1', - ], - 'Text' => [ - 'title' => 'Text', - 'description' => '按钮文案', - 'type' => 'string', - 'example' => 'test', - ], - 'Type' => [ - 'title' => 'Type', - 'description' => '按钮类型', - 'type' => 'string', - 'example' => 'str', - ], + 'Name' => ['title' => 'Name', 'description' => '按钮名称', 'type' => 'string', 'example' => '测试1'], + 'Text' => ['title' => 'Text', 'description' => '按钮文案', 'type' => 'string', 'example' => 'test'], + 'Type' => ['title' => 'Type', 'description' => '按钮类型', 'type' => 'string', 'example' => 'str'], ], ], 'PaasButtonListDTO' => [ @@ -290,16 +147,9 @@ 'title' => 'Button', 'description' => 'array'."\n", 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PaasButtonDTO', - ], - ], - 'Intro' => [ - 'title' => 'Intro', - 'description' => '说明 ', - 'type' => 'string', - 'example' => '说明 ', + 'items' => ['$ref' => '#/components/schemas/PaasButtonDTO'], ], + 'Intro' => ['title' => 'Intro', 'description' => '说明 ', 'type' => 'string', 'example' => '说明 '], ], ], 'PaasConditionEntryDTO' => [ @@ -307,36 +157,11 @@ 'description' => 'PaasConditionEntryDTO', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => 'Id', - 'description' => '规则id', - 'type' => 'string', - 'example' => '61834a1af175c63df54684ce', - ], - 'Term' => [ - 'title' => 'Term', - 'description' => '具体条件', - 'type' => 'string', - 'example' => 'duration', - ], - 'Name' => [ - 'title' => 'Name', - 'description' => '条件Label', - 'type' => 'string', - 'example' => 'test', - ], - 'Type' => [ - 'title' => 'Type', - 'description' => '条件类型', - 'type' => 'string', - 'example' => '0', - ], - 'Value' => [ - 'title' => 'Value', - 'description' => '数据Value。', - 'type' => 'string', - 'example' => 'customized', - ], + 'Id' => ['title' => 'Id', 'description' => '规则id', 'type' => 'string', 'example' => '61834a1af175c63df54684ce'], + 'Term' => ['title' => 'Term', 'description' => '具体条件', 'type' => 'string', 'example' => 'duration'], + 'Name' => ['title' => 'Name', 'description' => '条件Label', 'type' => 'string', 'example' => 'test'], + 'Type' => ['title' => 'Type', 'description' => '条件类型', 'type' => 'string', 'example' => '0'], + 'Value' => ['title' => 'Value', 'description' => '数据Value。', 'type' => 'string', 'example' => 'customized'], ], ], 'PaasConditionSetDTO' => [ @@ -348,11 +173,7 @@ 'title' => 'ConditionEntries', 'description' => 'array', 'type' => 'array', - 'items' => [ - 'description' => '见具体DTO定义', - 'example' => 'Object', - '$ref' => '#/components/schemas/PaasConditionEntryDTO', - ], + 'items' => ['description' => '见具体DTO定义', 'example' => 'Object', '$ref' => '#/components/schemas/PaasConditionEntryDTO'], ], ], ], @@ -361,30 +182,10 @@ 'description' => 'PaasEdgeDTO', 'type' => 'object', 'properties' => [ - 'Target' => [ - 'title' => 'Target', - 'description' => '目标节点ID', - 'type' => 'string', - 'example' => '315c7052-9350-4cdc-972a-6a46bc77d9ed', - ], - 'Id' => [ - 'title' => 'Id', - 'description' => '边的ID', - 'type' => 'string', - 'example' => 'FJ-AF2174A7B2D68522', - ], - 'Source' => [ - 'title' => 'Source', - 'description' => '源节点ID', - 'type' => 'string', - 'example' => '315c7052-9350-4cdc-972a-6a46bc77d9ed', - ], - 'Label' => [ - 'title' => 'Label', - 'description' => '边的标签', - 'type' => 'string', - 'example' => 'porn', - ], + 'Target' => ['title' => 'Target', 'description' => '目标节点ID', 'type' => 'string', 'example' => '315c7052-9350-4cdc-972a-6a46bc77d9ed'], + 'Id' => ['title' => 'Id', 'description' => '边的ID', 'type' => 'string', 'example' => 'FJ-AF2174A7B2D68522'], + 'Source' => ['title' => 'Source', 'description' => '源节点ID', 'type' => 'string', 'example' => '315c7052-9350-4cdc-972a-6a46bc77d9ed'], + 'Label' => ['title' => 'Label', 'description' => '边的标签', 'type' => 'string', 'example' => 'porn'], ], ], 'PaasEntryDTO' => [ @@ -392,12 +193,7 @@ 'description' => 'PaasEntryDTO', 'type' => 'object', 'properties' => [ - 'PluginFieldDataEntry' => [ - 'title' => 'PluginFieldDataEntry', - 'description' => '见具体DTO定义 ', - 'example' => 'Object', - '$ref' => '#/components/schemas/PaasEntryPluginFieldDataDTO', - ], + 'PluginFieldDataEntry' => ['title' => 'PluginFieldDataEntry', 'description' => '见具体DTO定义 ', 'example' => 'Object', '$ref' => '#/components/schemas/PaasEntryPluginFieldDataDTO'], ], ], 'PaasEntryPluginFieldDataDTO' => [ @@ -409,25 +205,10 @@ 'title' => 'ContentEntry', 'description' => 'array', 'type' => 'array', - 'items' => [ - 'description' => '见具体DTO定义', - 'example' => 'Object', - '$ref' => '#/components/schemas/PaasConditionSetDTO', - ], - ], - 'LifeSpan' => [ - 'title' => 'LifeSpan', - 'description' => '有效对话轮数,默认5轮', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'Name' => [ - 'title' => 'Name', - 'description' => 'Entry名称', - 'type' => 'string', - 'example' => 'test', + 'items' => ['description' => '见具体DTO定义', 'example' => 'Object', '$ref' => '#/components/schemas/PaasConditionSetDTO'], ], + 'LifeSpan' => ['title' => 'LifeSpan', 'description' => '有效对话轮数,默认5轮', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'Name' => ['title' => 'Name', 'description' => 'Entry名称', 'type' => 'string', 'example' => 'test'], ], ], 'PaasFunctionDTO' => [ @@ -435,10 +216,7 @@ 'description' => 'PaasFunctionDTO', 'type' => 'object', 'properties' => [ - 'PluginFieldDataFunction' => [ - 'title' => 'PluginFieldDataFunction', - '$ref' => '#/components/schemas/PaasFunctionPluginFieldDataDTO', - ], + 'PluginFieldDataFunction' => ['title' => 'PluginFieldDataFunction', '$ref' => '#/components/schemas/PaasFunctionPluginFieldDataDTO'], ], ], 'PaasFunctionPluginFieldDataDTO' => [ @@ -446,68 +224,21 @@ 'description' => 'PaasFunctionPluginFieldDataDTO', 'type' => 'object', 'properties' => [ - 'Function' => [ - 'title' => 'Function', - 'description' => '函数信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'AliyunFunction' => [ - 'title' => 'AliyunFunction', - 'description' => '阿里云函数信息', - 'type' => 'string', - 'example' => 'test', - ], - 'Type' => [ - 'title' => 'Type', - 'description' => '类型', - 'type' => 'string', - 'example' => 'test', - ], - 'Description' => [ - 'title' => 'Description', - 'description' => '描述', - 'type' => 'string', - 'example' => '002测试示例', - ], - 'EndPoint' => [ - 'title' => 'EndPoint', - 'description' => '接入端点。', - 'type' => 'string', - 'example' => 'https://prodapigw-sofastack.cloud.alipay.com/gateway.do', - ], - 'Code' => [ - 'title' => 'Code', - 'description' => '状态码', - 'type' => 'string', - 'example' => '200', - ], - 'Name' => [ - 'title' => 'Name', - 'description' => '函数组件名称', - 'type' => 'string', - 'example' => '测试11', - ], - 'AliyunService' => [ - 'title' => 'AliyunService', - 'description' => '阿里云服务', - 'type' => 'string', - 'example' => 'test', - ], + 'Function' => ['title' => 'Function', 'description' => '函数信息。', 'type' => 'string', 'example' => 'test'], + 'AliyunFunction' => ['title' => 'AliyunFunction', 'description' => '阿里云函数信息', 'type' => 'string', 'example' => 'test'], + 'Type' => ['title' => 'Type', 'description' => '类型', 'type' => 'string', 'example' => 'test'], + 'Description' => ['title' => 'Description', 'description' => '描述', 'type' => 'string', 'example' => '002测试示例'], + 'EndPoint' => ['title' => 'EndPoint', 'description' => '接入端点。', 'type' => 'string', 'example' => 'https://prodapigw-sofastack.cloud.alipay.com/gateway.do'], + 'Code' => ['title' => 'Code', 'description' => '状态码', 'type' => 'string', 'example' => '200'], + 'Name' => ['title' => 'Name', 'description' => '函数组件名称', 'type' => 'string', 'example' => '测试11'], + 'AliyunService' => ['title' => 'AliyunService', 'description' => '阿里云服务', 'type' => 'string', 'example' => 'test'], 'Switch' => [ 'title' => 'Switch', 'description' => 'array', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PaasSwitchCaseDTO', - ], - ], - 'Params' => [ - 'title' => 'Params', - 'description' => '参数字典', - 'type' => 'object', - 'example' => 'map', + 'items' => ['$ref' => '#/components/schemas/PaasSwitchCaseDTO'], ], + 'Params' => ['title' => 'Params', 'description' => '参数字典', 'type' => 'object', 'example' => 'map'], ], ], 'PaasFunctionPluginParams' => [ @@ -515,34 +246,19 @@ 'description' => 'PaasFunctionPluginParams', 'type' => 'object', 'properties' => [ - 'Method' => [ - 'title' => 'Method', - 'type' => 'string', - 'required' => true, - ], + 'Method' => ['title' => 'Method', 'type' => 'string', 'required' => true], 'Query' => [ 'title' => 'Query', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'Header' => [ 'title' => 'Header', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'Body' => [ - 'title' => 'Body', - 'type' => 'string', - ], - 'Url' => [ - 'title' => 'Url', - 'type' => 'string', - 'required' => true, + 'additionalProperties' => ['type' => 'string'], ], + 'Body' => ['title' => 'Body', 'type' => 'string'], + 'Url' => ['title' => 'Url', 'type' => 'string', 'required' => true], ], ], 'PaasNodeDTO' => [ @@ -550,43 +266,12 @@ 'description' => 'PaasNodeDTO', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'title' => 'Code', - 'description' => '状态码', - 'type' => 'string', - 'example' => '0', - ], - 'Id' => [ - 'title' => 'Id', - 'description' => '节点ID', - 'type' => 'string', - 'example' => '6128a89f61eaa63de9cf434e', - ], - 'Label' => [ - 'title' => 'Label', - 'description' => '标签', - 'type' => 'string', - 'example' => 'sceneId', - ], - 'Xx' => [ - 'title' => 'Xx', - 'description' => 'x轴坐标', - 'type' => 'number', - 'format' => 'double', - 'example' => '100.11', - ], - 'Yy' => [ - 'title' => 'Yy', - 'description' => 'y轴坐标', - 'type' => 'number', - 'format' => 'double', - 'example' => '302.1', - ], - 'PluginData' => [ - 'title' => 'PluginData', - 'description' => 'PluginData', - '$ref' => '#/components/schemas/PaasPluginDataDTO', - ], + 'Code' => ['title' => 'Code', 'description' => '状态码', 'type' => 'string', 'example' => '0'], + 'Id' => ['title' => 'Id', 'description' => '节点ID', 'type' => 'string', 'example' => '6128a89f61eaa63de9cf434e'], + 'Label' => ['title' => 'Label', 'description' => '标签', 'type' => 'string', 'example' => 'sceneId'], + 'Xx' => ['title' => 'Xx', 'description' => 'x轴坐标', 'type' => 'number', 'format' => 'double', 'example' => '100.11'], + 'Yy' => ['title' => 'Yy', 'description' => 'y轴坐标', 'type' => 'number', 'format' => 'double', 'example' => '302.1'], + 'PluginData' => ['title' => 'PluginData', 'description' => 'PluginData', '$ref' => '#/components/schemas/PaasPluginDataDTO'], ], ], 'PaasPluginDataDTO' => [ @@ -594,18 +279,10 @@ 'description' => 'PaasPluginDataDTO', 'type' => 'object', 'properties' => [ - 'Entry' => [ - '$ref' => '#/components/schemas/PaasEntryDTO', - ], - 'Slot' => [ - '$ref' => '#/components/schemas/PaasSlotDTO', - ], - 'Response' => [ - '$ref' => '#/components/schemas/PaasResponseDTO', - ], - 'Function' => [ - '$ref' => '#/components/schemas/PaasFunctionDTO', - ], + 'Entry' => ['$ref' => '#/components/schemas/PaasEntryDTO'], + 'Slot' => ['$ref' => '#/components/schemas/PaasSlotDTO'], + 'Response' => ['$ref' => '#/components/schemas/PaasResponseDTO'], + 'Function' => ['$ref' => '#/components/schemas/PaasFunctionDTO'], ], ], 'PaasProcessData' => [ @@ -617,19 +294,13 @@ 'title' => 'Nodes', 'description' => 'Nodes', 'type' => 'array', - 'items' => [ - 'description' => '节点', - '$ref' => '#/components/schemas/PaasNodeDTO', - ], + 'items' => ['description' => '节点', '$ref' => '#/components/schemas/PaasNodeDTO'], ], 'Edges' => [ 'title' => 'Edges', 'description' => 'Edges', 'type' => 'array', - 'items' => [ - 'description' => '边', - '$ref' => '#/components/schemas/PaasEdgeDTO', - ], + 'items' => ['description' => '边', '$ref' => '#/components/schemas/PaasEdgeDTO'], ], ], ], @@ -638,9 +309,7 @@ 'description' => 'PaasResponseDTO', 'type' => 'object', 'properties' => [ - 'PluginFieldDataResponse' => [ - '$ref' => '#/components/schemas/PaasResponsePluginFieldDataDTO', - ], + 'PluginFieldDataResponse' => ['$ref' => '#/components/schemas/PaasResponsePluginFieldDataDTO'], ], ], 'PaasResponseNodeContentDTO' => [ @@ -648,29 +317,10 @@ 'description' => 'PaasResponseNodeContentDTO', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => 'Type', - 'description' => '回复话术类型', - 'type' => 'string', - 'example' => 'Text', - ], - 'Text' => [ - 'title' => 'Text', - 'description' => '文本内容', - 'type' => 'string', - 'example' => '【檬主价到】芙丽芳丝氨基酸净润洗面奶100g(官方无塑封无封口)', - ], - 'Image' => [ - 'title' => 'Image', - 'description' => 'base64后的图片数据', - 'type' => 'string', - 'example' => 'test', - ], - 'ButtonList' => [ - 'title' => 'ButtonList', - 'description' => 'ButtonList', - '$ref' => '#/components/schemas/PaasButtonListDTO', - ], + 'Type' => ['title' => 'Type', 'description' => '回复话术类型', 'type' => 'string', 'example' => 'Text'], + 'Text' => ['title' => 'Text', 'description' => '文本内容', 'type' => 'string', 'example' => '【檬主价到】芙丽芳丝氨基酸净润洗面奶100g(官方无塑封无封口)'], + 'Image' => ['title' => 'Image', 'description' => 'base64后的图片数据', 'type' => 'string', 'example' => 'test'], + 'ButtonList' => ['title' => 'ButtonList', 'description' => 'ButtonList', '$ref' => '#/components/schemas/PaasButtonListDTO'], ], ], 'PaasResponsePluginFieldDataDTO' => [ @@ -678,17 +328,8 @@ 'description' => 'PaasResponsePluginFieldDataDTO', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => 'Name', - 'description' => '回复组件名称', - 'type' => 'string', - 'example' => 'test', - ], - 'ContentResponse' => [ - 'title' => 'ContentResponse', - 'description' => 'ContentResponse', - '$ref' => '#/components/schemas/PaasResponseNodeContentDTO', - ], + 'Name' => ['title' => 'Name', 'description' => '回复组件名称', 'type' => 'string', 'example' => 'test'], + 'ContentResponse' => ['title' => 'ContentResponse', 'description' => 'ContentResponse', '$ref' => '#/components/schemas/PaasResponseNodeContentDTO'], ], ], 'PaasSlotConfigDTO' => [ @@ -696,46 +337,16 @@ 'description' => 'PaasSlotConfigDTO', 'type' => 'object', 'properties' => [ - 'IsArray' => [ - 'title' => 'IsArray', - 'description' => '是否为数组', - 'type' => 'boolean', - 'example' => 'false', - ], - 'IsNecessary' => [ - 'title' => 'IsNecessary', - 'description' => '是否必填', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Value' => [ - 'title' => 'Value', - 'description' => '槽位值', - 'type' => 'string', - 'example' => '100', - ], - 'LifeSpan' => [ - 'title' => 'LifeSpan', - 'description' => '有效对话轮数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Name' => [ - 'title' => 'Name', - 'description' => '槽位名称', - 'type' => 'string', - 'example' => '测试11', - ], + 'IsArray' => ['title' => 'IsArray', 'description' => '是否为数组', 'type' => 'boolean', 'example' => 'false'], + 'IsNecessary' => ['title' => 'IsNecessary', 'description' => '是否必填', 'type' => 'boolean', 'example' => 'false'], + 'Value' => ['title' => 'Value', 'description' => '槽位值', 'type' => 'string', 'example' => '100'], + 'LifeSpan' => ['title' => 'LifeSpan', 'description' => '有效对话轮数', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'Name' => ['title' => 'Name', 'description' => '槽位名称', 'type' => 'string', 'example' => '测试11'], 'Question' => [ 'title' => 'Question', 'description' => '问题。', 'type' => 'array', - 'items' => [ - 'description' => '具体问法', - 'type' => 'string', - 'example' => '北京天气', - ], + 'items' => ['description' => '具体问法', 'type' => 'string', 'example' => '北京天气'], ], ], ], @@ -744,9 +355,7 @@ 'description' => 'PaasSlotDTO', 'type' => 'object', 'properties' => [ - 'PluginFieldDataSlot' => [ - '$ref' => '#/components/schemas/PaasSlotPluginFieldDataDTO', - ], + 'PluginFieldDataSlot' => ['$ref' => '#/components/schemas/PaasSlotPluginFieldDataDTO'], ], ], 'PaasSlotPluginFieldDataDTO' => [ @@ -754,37 +363,15 @@ 'description' => 'PaasSlotPluginFieldDataDTO', 'type' => 'object', 'properties' => [ - 'IntentName' => [ - 'title' => 'IntentName', - 'description' => '意图名称', - 'type' => 'string', - 'example' => '意图名称', - ], - 'IntentId' => [ - 'title' => 'IntentId', - 'description' => '意图 ID', - 'type' => 'string', - 'example' => '59055', - ], - 'Name' => [ - 'title' => 'Name', - 'description' => '意图名称', - 'type' => 'string', - 'example' => '测试1', - ], - 'IsSysIntent' => [ - 'title' => 'IsSysIntent', - 'description' => '是否为系统意图', - 'type' => 'boolean', - 'example' => 'false', - ], + 'IntentName' => ['title' => 'IntentName', 'description' => '意图名称', 'type' => 'string', 'example' => '意图名称'], + 'IntentId' => ['title' => 'IntentId', 'description' => '意图 ID', 'type' => 'string', 'example' => '59055'], + 'Name' => ['title' => 'Name', 'description' => '意图名称', 'type' => 'string', 'example' => '测试1'], + 'IsSysIntent' => ['title' => 'IsSysIntent', 'description' => '是否为系统意图', 'type' => 'boolean', 'example' => 'false'], 'ContentSlot' => [ 'title' => 'ContentSlot', 'description' => 'array', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PaasSlotConfigDTO', - ], + 'items' => ['$ref' => '#/components/schemas/PaasSlotConfigDTO'], ], ], ], @@ -793,36 +380,11 @@ 'description' => 'PaasSwitchCaseDTO', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => 'Id', - 'description' => '分支条件ID', - 'type' => 'string', - 'example' => '257', - ], - 'Label' => [ - 'title' => 'Label', - 'description' => '分支条件Label', - 'type' => 'string', - 'example' => '分支1', - ], - 'Type' => [ - 'title' => 'Type', - 'description' => '分支类型', - 'type' => 'string', - 'example' => 'test', - ], - 'Value' => [ - 'title' => 'Value', - 'description' => '期望属性值。', - 'type' => 'string', - 'example' => 'D01001', - ], - 'VariableName' => [ - 'title' => 'VariableName', - 'description' => '变量名,区分大小写', - 'type' => 'string', - 'example' => 'host', - ], + 'Id' => ['title' => 'Id', 'description' => '分支条件ID', 'type' => 'string', 'example' => '257'], + 'Label' => ['title' => 'Label', 'description' => '分支条件Label', 'type' => 'string', 'example' => '分支1'], + 'Type' => ['title' => 'Type', 'description' => '分支类型', 'type' => 'string', 'example' => 'test'], + 'Value' => ['title' => 'Value', 'description' => '期望属性值。', 'type' => 'string', 'example' => 'D01001'], + 'VariableName' => ['title' => 'VariableName', 'description' => '变量名,区分大小写', 'type' => 'string', 'example' => 'host'], ], ], 'RuleMtopDTO' => [ @@ -830,37 +392,19 @@ 'description' => 'RuleMtopDTO', 'type' => 'object', 'properties' => [ - 'Strict' => [ - 'title' => 'Strict', - 'description' => '是否严格校验', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Text' => [ - 'title' => 'Text', - 'description' => '文本内容', - 'type' => 'string', - 'example' => 'test', - ], + 'Strict' => ['title' => 'Strict', 'description' => '是否严格校验', 'type' => 'boolean', 'example' => 'false'], + 'Text' => ['title' => 'Text', 'description' => '文本内容', 'type' => 'string', 'example' => 'test'], 'Warning' => [ 'title' => 'Warning', 'description' => 'array', 'type' => 'array', - 'items' => [ - 'description' => '警告信息', - 'type' => 'string', - 'example' => '字段过长', - ], + 'items' => ['description' => '警告信息', 'type' => 'string', 'example' => '字段过长'], ], 'Error' => [ 'title' => 'Error', 'description' => '错误信息。说明 仅当操作出错时存在。', 'type' => 'array', - 'items' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '字段必填', - ], + 'items' => ['description' => '错误信息', 'type' => 'string', 'example' => '字段必填'], ], ], ], @@ -869,18 +413,8 @@ 'description' => 'SectionMtopDTO', 'type' => 'object', 'properties' => [ - 'SlotId' => [ - 'title' => 'SlotId', - 'description' => '槽位ID', - 'type' => 'string', - 'example' => 'b4d06b5740bb', - ], - 'Text' => [ - 'title' => 'Text', - 'description' => '槽位名称', - 'type' => 'string', - 'example' => 'test', - ], + 'SlotId' => ['title' => 'SlotId', 'description' => '槽位ID', 'type' => 'string', 'example' => 'b4d06b5740bb'], + 'Text' => ['title' => 'Text', 'description' => '槽位名称', 'type' => 'string', 'example' => 'test'], ], ], 'SlotrecordMtopDTO' => [ @@ -888,60 +422,23 @@ 'description' => 'SlotrecordMtopDTO', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => 'Id', - 'description' => 'ID', - 'type' => 'string', - 'example' => '6000000000243567', - ], + 'Id' => ['title' => 'Id', 'description' => 'ID', 'type' => 'string', 'example' => '6000000000243567'], 'Question' => [ 'title' => 'Question', 'description' => '问题。', 'type' => 'array', - 'items' => [ - 'description' => '问题', - 'type' => 'string', - 'example' => '你不是', - ], - ], - 'LifeSpan' => [ - 'title' => 'LifeSpan', - 'description' => '有效对话轮数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Name' => [ - 'title' => 'Name', - 'description' => '槽位名称', - 'type' => 'string', - 'example' => 'test', - ], - 'IsArray' => [ - 'title' => 'IsArray', - 'description' => '是否数组', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Value' => [ - 'title' => 'Value', - 'description' => '参数值。', - 'type' => 'string', - 'example' => 'customized', - ], - 'IsNecessary' => [ - 'title' => 'IsNecessary', - 'description' => '是否必填', - 'type' => 'boolean', - 'example' => 'false', + 'items' => ['description' => '问题', 'type' => 'string', 'example' => '你不是'], ], + 'LifeSpan' => ['title' => 'LifeSpan', 'description' => '有效对话轮数', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'Name' => ['title' => 'Name', 'description' => '槽位名称', 'type' => 'string', 'example' => 'test'], + 'IsArray' => ['title' => 'IsArray', 'description' => '是否数组', 'type' => 'boolean', 'example' => 'false'], + 'Value' => ['title' => 'Value', 'description' => '参数值。', 'type' => 'string', 'example' => 'customized'], + 'IsNecessary' => ['title' => 'IsNecessary', 'description' => '是否必填', 'type' => 'boolean', 'example' => 'false'], 'Tags' => [ 'title' => 'Tags', 'description' => '标签。', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/TagMtopDTO', - ], + 'items' => ['$ref' => '#/components/schemas/TagMtopDTO'], ], ], ], @@ -950,18 +447,8 @@ 'description' => 'TagMtopDTO', 'type' => 'object', 'properties' => [ - 'UserSayId' => [ - 'title' => 'UserSayId', - 'description' => '用户说ID', - 'type' => 'string', - 'example' => 'b4d06b5740bb', - ], - 'Value' => [ - 'title' => 'Value', - 'description' => '用户说内容', - 'type' => 'string', - 'example' => '你是谁', - ], + 'UserSayId' => ['title' => 'UserSayId', 'description' => '用户说ID', 'type' => 'string', 'example' => 'b4d06b5740bb'], + 'Value' => ['title' => 'Value', 'description' => '用户说内容', 'type' => 'string', 'example' => '你是谁'], ], ], 'UpdateDialogFlowModuleDefinition' => [ @@ -972,16 +459,12 @@ 'Nodes' => [ 'title' => 'Nodes', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PaasNodeDTO', - ], + 'items' => ['$ref' => '#/components/schemas/PaasNodeDTO'], ], 'Edges' => [ 'title' => 'Edges', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/PaasEdgeDTO', - ], + 'items' => ['$ref' => '#/components/schemas/PaasEdgeDTO'], ], ], ], @@ -990,40 +473,22 @@ 'description' => 'UsersayMtopDTO', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'title' => 'Id', - 'description' => 'id', - 'type' => 'string', - 'example' => 'b4d06b5740bb', - ], + 'Id' => ['title' => 'Id', 'description' => 'id', 'type' => 'string', 'example' => 'b4d06b5740bb'], 'Data' => [ 'title' => 'Data', 'description' => '数据', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/SectionMtopDTO', - ], - ], - 'Strict' => [ - 'title' => 'Strict', - 'description' => '是否严格匹配', - 'type' => 'boolean', - 'example' => 'false', + 'items' => ['$ref' => '#/components/schemas/SectionMtopDTO'], ], + 'Strict' => ['title' => 'Strict', 'description' => '是否严格匹配', 'type' => 'boolean', 'example' => 'false'], ], ], ], ], 'apis' => [ 'GetAsyncResult' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1031,33 +496,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '异步任务ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'maximum' => '100000000', - 'minimum' => '0', - 'example' => '从Chat接口Ext结构获取', - ], + 'schema' => ['description' => '异步任务ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'maximum' => '100000000', 'minimum' => '0', 'example' => '从Chat接口Ext结构获取'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -1065,42 +514,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'task execute success', - ], - 'RequestId' => [ - 'description' => '阿里云为该请求生成的唯一标识符。', - 'type' => 'string', - 'example' => 'F79E7305-5314-5069-A701-9591AD051902', - ], - 'Data' => [ - 'description' => '数据', - 'type' => 'string', - 'example' => '客户接口返回,此处不提供示例', - ], - 'Code' => [ - 'description' => '调用失败时,返回的错误码。错误码详情,请参见错误码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'Success' => [ - 'description' => '是否成功', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'task execute success'], + 'RequestId' => ['description' => '阿里云为该请求生成的唯一标识符。', 'type' => 'string', 'example' => 'F79E7305-5314-5069-A701-9591AD051902'], + 'Data' => ['description' => '数据', 'type' => 'string', 'example' => '客户接口返回,此处不提供示例'], + 'Code' => ['description' => '调用失败时,返回的错误码。错误码详情,请参见错误码。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 500 => [ - [ - 'errorCode' => 'ServiceError', - 'errorMessage' => 'The service is not available.', - ], + ['errorCode' => 'ServiceError', 'errorMessage' => 'The service is not available.'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"task execute success\\",\\n \\"RequestId\\": \\"F79E7305-5314-5069-A701-9591AD051902\\",\\n \\"Data\\": \\"客户接口返回,此处不提供示例\\",\\n \\"Code\\": 0,\\n \\"Success\\": true\\n}","type":"json"}]', @@ -1108,14 +533,8 @@ 'summary' => '获取异步服务执行结果,配合Chat接口使用。', ], 'Associate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1128,45 +547,22 @@ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器人实例ID', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-eEf', - ], + 'schema' => ['description' => '机器人实例ID', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-eEf'], ], [ 'name' => 'Utterance', 'in' => 'query', - 'schema' => [ - 'description' => '用户表述', - 'type' => 'string', - 'required' => true, - 'example' => '干货', - ], + 'schema' => ['description' => '用户表述', 'type' => 'string', 'required' => true, 'example' => '干货'], ], [ 'name' => 'SessionId', 'in' => 'query', - 'schema' => [ - 'description' => '会话ID,用于标识一个访问者的会话和保持上下文信息。对于一个新的访问者,首次调用Chat接口时无需传递此字段,机器人会开启一个会话,并在Chat接口的响应中返回该会话的SessionId。对于该访问者的后续轮次的会话,调用Chat接口时传递当前会话的SessionId,机器人即可基于SessionId继续该轮次会话。', - 'type' => 'string', - 'required' => false, - 'example' => '25670484f2ab4b42ba90acbfbf86d4cd', - ], + 'schema' => ['description' => '会话ID,用于标识一个访问者的会话和保持上下文信息。对于一个新的访问者,首次调用Chat接口时无需传递此字段,机器人会开启一个会话,并在Chat接口的响应中返回该会话的SessionId。对于该访问者的后续轮次的会话,调用Chat接口时传递当前会话的SessionId,机器人即可基于SessionId继续该轮次会话。', 'type' => 'string', 'required' => false, 'example' => '25670484f2ab4b42ba90acbfbf86d4cd'], ], [ 'name' => 'RecommendNum', 'in' => 'query', - 'schema' => [ - 'description' => '推荐问题数量,1-10,当出推荐的时候才生效,返回不大于RecommendN', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'exclusiveMaximum' => false, - 'exclusiveMinimum' => false, - 'example' => '1', - ], + 'schema' => ['description' => '推荐问题数量,1-10,当出推荐的时候才生效,返回不大于RecommendN', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'exclusiveMaximum' => false, 'exclusiveMinimum' => false, 'example' => '1'], ], [ 'name' => 'Perspective', @@ -1175,12 +571,7 @@ 'schema' => [ 'description' => '视角', 'type' => 'array', - 'items' => [ - 'description' => '视角编码,用于调用同一知识标题下不同视角的答案。在拼装请求参数时,需要以Perspective={视角编码}的格式传递参数。如:&Perspective="FZJBY3raWr"。使用SDK时以SDK中定义的参数为准。目前仅支持一个视角答案的调用。 (公有云)', - 'type' => 'string', - 'required' => false, - 'example' => 'FZJBY3raWr', - ], + 'items' => ['description' => '视角编码,用于调用同一知识标题下不同视角的答案。在拼装请求参数时,需要以Perspective={视角编码}的格式传递参数。如:&Perspective="FZJBY3raWr"。使用SDK时以SDK中定义的参数为准。目前仅支持一个视角答案的调用。 (公有云)', 'type' => 'string', 'required' => false, 'example' => 'FZJBY3raWr'], 'required' => false, 'maxItems' => 20, ], @@ -1188,12 +579,7 @@ [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -1201,35 +587,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '402FCD5F-518E-4C8E-8A6B-EFEADA69D757', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '402FCD5F-518E-4C8E-8A6B-EFEADA69D757'], 'Associate' => [ 'description' => '联想推荐的列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Title' => [ - 'description' => '关联问题的标题', - 'type' => 'string', - 'example' => '初级干货', - ], + 'Title' => ['description' => '关联问题的标题', 'type' => 'string', 'example' => '初级干货'], ], ], ], - 'SessionId' => [ - 'description' => '本次会话的ID', - 'type' => 'string', - 'example' => '25670484f2ab4b42ba90acbfbf86d4cd', - ], - 'MessageId' => [ - 'description' => '本条会话应答消息的ID', - 'type' => 'string', - 'example' => '11bab7a2e34c4e02bcf0ebcb76bb812d', - ], + 'SessionId' => ['description' => '本次会话的ID', 'type' => 'string', 'example' => '25670484f2ab4b42ba90acbfbf86d4cd'], + 'MessageId' => ['description' => '本条会话应答消息的ID', 'type' => 'string', 'example' => '11bab7a2e34c4e02bcf0ebcb76bb812d'], ], ], ], @@ -1239,14 +609,8 @@ 'summary' => '给出推荐。', ], 'Chat' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1254,99 +618,52 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器人实例ID', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器人实例ID', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'SessionId', 'in' => 'query', - 'schema' => [ - 'description' => '会话ID,⽤于标识⼀个访问者的会话和保持上下⽂信息。对于⼀个新的访问者,⾸次调⽤ Chat接⼝时⽆需传递此字段,机器⼈会开启⼀个会话,并在Chat接⼝的响应中返回该会话的 SessionId。对于该访问者的后续轮次的会 话,调⽤Chat接⼝时传递当前会话的 SessionId,机器⼈即可基于SessionId继续该轮次会话。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '2e00330f2a7e47cd8ca56d12ed51c62d', - ], + 'schema' => ['description' => '会话ID,⽤于标识⼀个访问者的会话和保持上下⽂信息。对于⼀个新的访问者,⾸次调⽤ Chat接⼝时⽆需传递此字段,机器⼈会开启⼀个会话,并在Chat接⼝的响应中返回该会话的 SessionId。对于该访问者的后续轮次的会 话,调⽤Chat接⼝时传递当前会话的 SessionId,机器⼈即可基于SessionId继续该轮次会话。'."\n", 'type' => 'string', 'required' => false, 'example' => '2e00330f2a7e47cd8ca56d12ed51c62d'], ], [ 'name' => 'KnowledgeId', 'in' => 'query', - 'schema' => [ - 'description' => '知识id', - 'type' => 'string', - 'required' => false, - 'example' => '1002994742', - ], + 'schema' => ['description' => '知识id', 'type' => 'string', 'required' => false, 'example' => '1002994742'], ], [ 'name' => 'SenderId', 'in' => 'query', - 'schema' => [ - 'description' => '访问者ID。⽤于识别当前会话中的⽤户', - 'type' => 'string', - 'required' => false, - 'example' => '83325', - ], + 'schema' => ['description' => '访问者ID。⽤于识别当前会话中的⽤户', 'type' => 'string', 'required' => false, 'example' => '83325'], ], [ 'name' => 'SenderNick', 'in' => 'query', - 'schema' => [ - 'description' => '当前会话中访问的昵称', - 'type' => 'string', - 'required' => false, - 'example' => '一个试验者', - ], + 'schema' => ['description' => '当前会话中访问的昵称', 'type' => 'string', 'required' => false, 'example' => '一个试验者'], ], [ 'name' => 'Tag', 'in' => 'query', - 'schema' => [ - 'description' => '可以传递任何内容参数,该参数将会直接在返回结果中透传回来。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '{\\"bizId\\":\\"110000100098985\\",\\"bizType\\":\\"ITEM\\"}', - ], + 'schema' => ['description' => '可以传递任何内容参数,该参数将会直接在返回结果中透传回来。'."\n", 'type' => 'string', 'required' => false, 'example' => '{\\"bizId\\":\\"110000100098985\\",\\"bizType\\":\\"ITEM\\"}'], ], [ 'name' => 'Utterance', 'in' => 'query', - 'schema' => [ - 'description' => '用户表述', - 'type' => 'string', - 'required' => true, - 'example' => '商品是正品吗?', - ], + 'schema' => ['description' => '用户表述', 'type' => 'string', 'required' => true, 'example' => '商品是正品吗?'], ], [ 'name' => 'IntentName', 'in' => 'query', - 'schema' => [ - 'description' => '意图名称,当不需要理解用户话术而直接开启某一个意图时,可以指定意图名称', - 'type' => 'string', - 'required' => false, - 'example' => 'TIMEOUT', - ], + 'schema' => ['description' => '意图名称,当不需要理解用户话术而直接开启某一个意图时,可以指定意图名称', 'type' => 'string', 'required' => false, 'example' => 'TIMEOUT'], ], [ 'name' => 'VendorParam', 'in' => 'query', - 'schema' => [ - 'description' => '业务自定义扩展参数,可以在对话工厂中直接引用到,通常为一个JSON格式字符串。例如,{"var1":"value1"},在对话工厂中即可以通过${VENDOR_PARAM.var1}获取到value1', - 'type' => 'string', - 'required' => false, - 'example' => '{\\"requestId\\":\\"7DD7849A-0117-5BD8-A411-994FDE07CFBC\\",\\"conversationId\\":\\"1637460236.155930\\"}', - ], + 'schema' => ['description' => '业务自定义扩展参数,可以在对话工厂中直接引用到,通常为一个JSON格式字符串。例如,{"var1":"value1"},在对话工厂中即可以通过${VENDOR_PARAM.var1}获取到value1', 'type' => 'string', 'required' => false, 'example' => '{\\"requestId\\":\\"7DD7849A-0117-5BD8-A411-994FDE07CFBC\\",\\"conversationId\\":\\"1637460236.155930\\"}'], ], [ 'name' => 'Perspective', @@ -1355,25 +672,15 @@ 'schema' => [ 'description' => '视⻆编码,⽤于调⽤同⼀知识标题下不同视⻆的答案。在拼装请求参数时,需要以 Perspective.1={视⻆编码}的格式传递参数。 如: &Perspective.1=FZJBY3raWr。使⽤SDK时 以SDK中定义的参数为 准。⽬前仅⽀持⼀个视⻆答案的调⽤(公有云)。'."\n", 'type' => 'array', - 'items' => [ - 'description' => '视角code', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'items' => ['description' => '视角code', 'type' => 'string', 'required' => false, 'example' => 'default'], 'required' => false, 'maxItems' => 20, ], ], - [ - 'name' => 'AgentKey', - 'in' => 'query', - 'schema' => [ - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'd4f70cf7cc5e4a3ba6c82c8ae1e1d99d_p_beebot_public', - ], + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => ['description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'd4f70cf7cc5e4a3ba6c82c8ae1e1d99d_p_beebot_public'], ], ], 'responses' => [ @@ -1387,182 +694,64 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '已废弃,使用AnswerType', - 'type' => 'string', - 'example' => '已废弃,使用AnswerType', - ], + 'Type' => ['description' => '已废弃,使用AnswerType', 'type' => 'string', 'example' => '已废弃,使用AnswerType'], 'Knowledge' => [ 'type' => 'object', 'properties' => [ - 'HitStatement' => [ - 'description' => '命中语句', - 'type' => 'string', - ], - 'Summary' => [ - 'description' => '命中问题的简介', - 'type' => 'string', - ], + 'HitStatement' => ['description' => '命中语句', 'type' => 'string'], + 'Summary' => ['description' => '命中问题的简介', 'type' => 'string'], 'RelatedKnowledges' => [ 'description' => '关联知识列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'KnowledgeId' => [ - 'description' => '关联问题id', - 'type' => 'string', - 'example' => '82318', - ], - 'Title' => [ - 'description' => '关联问题标题', - 'type' => 'string', - 'example' => '公积金如何查询?', - ], + 'KnowledgeId' => ['description' => '关联问题id', 'type' => 'string', 'example' => '82318'], + 'Title' => ['description' => '关联问题标题', 'type' => 'string', 'example' => '公积金如何查询?'], ], ], ], - 'Category' => [ - 'description' => '知识类目路径', - 'type' => 'string', - 'example' => '公积金', - ], - 'Title' => [ - 'description' => '知识标题', - 'type' => 'string', - 'example' => '公积金贷款', - ], - 'Content' => [ - 'description' => '知识答案', - 'type' => 'string', - 'example' => '公积金贷款有指定条件', - ], - 'AnswerSource' => [ - 'description' => '答案来源', - 'type' => 'string', - 'example' => 'KnowledgeBase', - ], - 'Id' => [ - 'description' => '知识id', - 'type' => 'string', - 'example' => '834322', - ], - 'Score' => [ - 'description' => '命中阈值', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.998', - ], - 'ContentType' => [ - 'description' => '答案类型', - 'type' => 'string', - 'example' => 'PLAIN_TEXT', - ], + 'Category' => ['description' => '知识类目路径', 'type' => 'string', 'example' => '公积金'], + 'Title' => ['description' => '知识标题', 'type' => 'string', 'example' => '公积金贷款'], + 'Content' => ['description' => '知识答案', 'type' => 'string', 'example' => '公积金贷款有指定条件'], + 'AnswerSource' => ['description' => '答案来源', 'type' => 'string', 'example' => 'KnowledgeBase'], + 'Id' => ['description' => '知识id', 'type' => 'string', 'example' => '834322'], + 'Score' => ['description' => '命中阈值', 'type' => 'number', 'format' => 'double', 'example' => '0.998'], + 'ContentType' => ['description' => '答案类型', 'type' => 'string', 'example' => 'PLAIN_TEXT'], ], ], 'Text' => [ 'description' => '文本内容', 'type' => 'object', 'properties' => [ - 'HitStatement' => [ - 'description' => '命中语句', - 'type' => 'string', - 'example' => '公积金贷款', - ], - 'DialogName' => [ - 'description' => '对话流名称', - 'type' => 'string', - 'example' => '公积金贷款', - ], - 'ArticleTitle' => [ - 'description' => '文章标题', - 'type' => 'string', - 'example' => '公积金查询', - ], - 'AnswerSource' => [ - 'description' => '答案来源', - 'type' => 'string', - ], + 'HitStatement' => ['description' => '命中语句', 'type' => 'string', 'example' => '公积金贷款'], + 'DialogName' => ['description' => '对话流名称', 'type' => 'string', 'example' => '公积金贷款'], + 'ArticleTitle' => ['description' => '文章标题', 'type' => 'string', 'example' => '公积金查询'], + 'AnswerSource' => ['description' => '答案来源', 'type' => 'string'], 'Slots' => [ 'description' => '槽位信息', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '具体值', - 'type' => 'string', - 'example' => '北京', - ], - 'Origin' => [ - 'description' => '原始值', - 'type' => 'string', - 'example' => '北京', - ], - 'Name' => [ - 'description' => '槽位名称', - 'type' => 'string', - 'example' => '查天气意图.city', - ], - 'IsHit' => [ - 'description' => '是否命中', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Value' => ['description' => '具体值', 'type' => 'string', 'example' => '北京'], + 'Origin' => ['description' => '原始值', 'type' => 'string', 'example' => '北京'], + 'Name' => ['description' => '槽位名称', 'type' => 'string', 'example' => '查天气意图.city'], + 'IsHit' => ['description' => '是否命中', 'type' => 'boolean', 'example' => 'true'], ], ], ], - 'IntentName' => [ - 'description' => '意图名称', - 'type' => 'string', - 'example' => '查天气', - ], - 'MetaData' => [ - 'description' => '附加信息', - 'type' => 'string', - 'example' => '{}', - ], - 'NodeName' => [ - 'description' => '节点名称', - 'type' => 'string', - 'example' => '示例_查天气.查天气填槽.__city', - ], - 'ExternalFlags' => [ - 'description' => '扩展信息', - 'type' => 'object', - ], - 'Ext' => [ - 'type' => 'object', - ], - 'UserDefinedChatTitle' => [ - 'description' => '自定义语聊标题', - 'type' => 'string', - 'example' => '感谢', - ], - 'Content' => [ - 'description' => '答案内容', - 'type' => 'string', - 'example' => '北京的天气是晴朗', - ], - 'NodeId' => [ - 'description' => '节点id', - 'type' => 'string', - 'example' => '1410-c7a72a78.__city', - ], - 'Score' => [ - 'description' => '命中阈值', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.988', - ], - 'ContentType' => [ - 'description' => '答案类型', - 'type' => 'string', - 'example' => 'RICH_TEXT', - ], - 'Commands' => [ - 'type' => 'object', - ], + 'IntentName' => ['description' => '意图名称', 'type' => 'string', 'example' => '查天气'], + 'MetaData' => ['description' => '附加信息', 'type' => 'string', 'example' => '{}'], + 'NodeName' => ['description' => '节点名称', 'type' => 'string', 'example' => '示例_查天气.查天气填槽.__city'], + 'ExternalFlags' => ['description' => '扩展信息', 'type' => 'object'], + 'Ext' => ['type' => 'object'], + 'UserDefinedChatTitle' => ['description' => '自定义语聊标题', 'type' => 'string', 'example' => '感谢'], + 'Content' => ['description' => '答案内容', 'type' => 'string', 'example' => '北京的天气是晴朗'], + 'NodeId' => ['description' => '节点id', 'type' => 'string', 'example' => '1410-c7a72a78.__city'], + 'Score' => ['description' => '命中阈值', 'type' => 'number', 'format' => 'double', 'example' => '0.988'], + 'ContentType' => ['description' => '答案类型', 'type' => 'string', 'example' => 'RICH_TEXT'], + 'Commands' => ['type' => 'object'], ], ], 'Recommends' => [ @@ -1570,103 +759,36 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'KnowledgeId' => [ - 'description' => '知识Id', - 'type' => 'string', - 'example' => '11111', - ], - 'Title' => [ - 'description' => '澄清标题', - 'type' => 'string', - 'example' => '查公积金', - ], - 'AnswerSource' => [ - 'description' => '答案来源', - 'type' => 'string', - 'example' => 'KNOWLEDGE', - ], - 'Score' => [ - 'description' => '命中阈值', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.88', - ], + 'KnowledgeId' => ['description' => '知识Id', 'type' => 'string', 'example' => '11111'], + 'Title' => ['description' => '澄清标题', 'type' => 'string', 'example' => '查公积金'], + 'AnswerSource' => ['description' => '答案来源', 'type' => 'string', 'example' => 'KNOWLEDGE'], + 'Score' => ['description' => '命中阈值', 'type' => 'number', 'format' => 'double', 'example' => '0.88'], ], ], ], - 'AnswerType' => [ - 'description' => '问答消息类型', - 'type' => 'string', - 'example' => 'Text', - ], - 'AnswerSource' => [ - 'description' => '问答消息来源', - 'type' => 'string', - 'example' => 'BotFramework', - ], - 'VoiceTitle' => [ - 'title' => '语音场景,澄清内容', - 'description' => '语音场景,澄清内容', - 'type' => 'string', - 'example' => '你是想要查天气,还是查公积金?', - ], - 'Title' => [ - 'title' => '在线场景,反问标题', - 'description' => '在线场景,反问标题', - 'type' => 'string', - 'example' => '你是要咨询如下信息?', - ], + 'AnswerType' => ['description' => '问答消息类型', 'type' => 'string', 'example' => 'Text'], + 'AnswerSource' => ['description' => '问答消息来源', 'type' => 'string', 'example' => 'BotFramework'], + 'VoiceTitle' => ['title' => '语音场景,澄清内容', 'description' => '语音场景,澄清内容', 'type' => 'string', 'example' => '你是想要查天气,还是查公积金?'], + 'Title' => ['title' => '在线场景,反问标题', 'description' => '在线场景,反问标题', 'type' => 'string', 'example' => '你是要咨询如下信息?'], 'VoiceStrategy' => [ 'type' => 'object', 'properties' => [ - 'Interruptible' => [ - 'type' => 'boolean', - ], - 'Terminator' => [ - 'type' => 'string', - ], - 'AsrMaxEndSilence' => [ - 'type' => 'string', - ], - 'CollectNumber' => [ - 'type' => 'boolean', - ], - 'ReplyTimeout' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'HangUp' => [ - 'type' => 'boolean', - ], - 'MaxDigits' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'Interruptible' => ['type' => 'boolean'], + 'Terminator' => ['type' => 'string'], + 'AsrMaxEndSilence' => ['type' => 'string'], + 'CollectNumber' => ['type' => 'boolean'], + 'ReplyTimeout' => ['type' => 'integer', 'format' => 'int64'], + 'HangUp' => ['type' => 'boolean'], + 'MaxDigits' => ['type' => 'integer', 'format' => 'int64'], ], ], ], ], ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'A2315C4B-A872-5DEE-9DAD-D73B194A4AEC', - ], - 'SessionId' => [ - 'description' => '会话ID,⽤于标识⼀个访问者的会话和保持上下⽂信息。对于⼀个新的访问者,⾸次调⽤ Chat接⼝时⽆需传递此字段,机器⼈会开启⼀个会话,并在Chat接⼝的响应中返回该会话的 SessionId。对于该访问者的后续轮次的会 话,调⽤Chat接⼝时传递当前会话的 SessionId,机器⼈即可基于SessionId继续该轮次会话。'."\n", - 'type' => 'string', - 'example' => '2e00330f2a7e47cd8ca56d12ed51c62d', - ], - 'MessageId' => [ - 'description' => '本条会话应答消息的ID', - 'type' => 'string', - 'example' => '396E74B3-D84B-46CE-9E51-91C06AD22E31', - ], - 'Tag' => [ - 'description' => '可以传递任何内容参数,该参数将会直接在返回结果中透传回来。'."\n", - 'type' => 'string', - 'example' => '{\\"bizId\\":\\"110000100098985\\",\\"bizType\\":\\"ITEM\\"}', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A2315C4B-A872-5DEE-9DAD-D73B194A4AEC'], + 'SessionId' => ['description' => '会话ID,⽤于标识⼀个访问者的会话和保持上下⽂信息。对于⼀个新的访问者,⾸次调⽤ Chat接⼝时⽆需传递此字段,机器⼈会开启⼀个会话,并在Chat接⼝的响应中返回该会话的 SessionId。对于该访问者的后续轮次的会 话,调⽤Chat接⼝时传递当前会话的 SessionId,机器⼈即可基于SessionId继续该轮次会话。'."\n", 'type' => 'string', 'example' => '2e00330f2a7e47cd8ca56d12ed51c62d'], + 'MessageId' => ['description' => '本条会话应答消息的ID', 'type' => 'string', 'example' => '396E74B3-D84B-46CE-9E51-91C06AD22E31'], + 'Tag' => ['description' => '可以传递任何内容参数,该参数将会直接在返回结果中透传回来。'."\n", 'type' => 'string', 'example' => '{\\"bizId\\":\\"110000100098985\\",\\"bizType\\":\\"ITEM\\"}'], ], ], ], @@ -1700,14 +822,8 @@ .'```', ], 'Feedback' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1719,55 +835,29 @@ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器人实例ID', - 'type' => 'string', - 'required' => false, - 'example' => 'chatbot-cn-UfERQYZnra', - ], + 'schema' => ['description' => '机器人实例ID', 'type' => 'string', 'required' => false, 'example' => 'chatbot-cn-UfERQYZnra'], ], [ 'name' => 'SessionId', 'in' => 'query', - 'schema' => [ - 'description' => '会话ID,⽤于标识⼀个访问者 的会话和保持上下⽂信息。对'."\n" - .'于⼀个新的访问者,⾸次调⽤ Chat接⼝时⽆需传递此字段, 机器⼈会开启⼀个会话,并在 Chat接⼝的响应中返回该会话 的SessionId。对于该访问者的 后续轮次的会话,调⽤Chat接'."\n" - .'⼝时传递当前会话的 SessionId,机器⼈即可基于 SessionId继续该轮次会话。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0054b7d5187d40baba845427f8723', - ], + 'schema' => ['description' => '会话ID,⽤于标识⼀个访问者 的会话和保持上下⽂信息。对'."\n" + .'于⼀个新的访问者,⾸次调⽤ Chat接⼝时⽆需传递此字段, 机器⼈会开启⼀个会话,并在 Chat接⼝的响应中返回该会话 的SessionId。对于该访问者的 后续轮次的会话,调⽤Chat接'."\n" + .'⼝时传递当前会话的 SessionId,机器⼈即可基于 SessionId继续该轮次会话。'."\n", 'type' => 'string', 'required' => false, 'example' => '0054b7d5187d40baba845427f8723'], ], [ 'name' => 'MessageId', 'in' => 'query', - 'schema' => [ - 'description' => '本条会话应答消息的ID', - 'type' => 'string', - 'required' => true, - 'example' => '8869745c-3b30-44ab-a1ef-20ad4191bfad', - ], + 'schema' => ['description' => '本条会话应答消息的ID', 'type' => 'string', 'required' => true, 'example' => '8869745c-3b30-44ab-a1ef-20ad4191bfad'], ], [ 'name' => 'Feedback', 'in' => 'query', - 'schema' => [ - 'description' => 'good-点赞、bad-点踩', - 'type' => 'string', - 'required' => true, - 'example' => 'good', - ], + 'schema' => ['description' => 'good-点赞、bad-点踩', 'type' => 'string', 'required' => true, 'example' => 'good'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -1775,32 +865,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '16D4BC6D-FF53-5EB0-A6A2-CA0F32B6FF7E', - ], - 'Feedback' => [ - 'description' => 'good-点赞、bad-点踩', - 'type' => 'string', - 'example' => 'good', - ], - 'HttpStatus' => [ - 'description' => 'http状态码', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], - 'Success' => [ - 'description' => '是否操作成功:false:否;true:是', - 'type' => 'boolean', - 'example' => 'true', - ], - 'MessageId' => [ - 'description' => '会话消息id', - 'type' => 'string', - 'example' => '8869745c-3b30-44ab-a1ef-20ad4191bfad', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '16D4BC6D-FF53-5EB0-A6A2-CA0F32B6FF7E'], + 'Feedback' => ['description' => 'good-点赞、bad-点踩', 'type' => 'string', 'example' => 'good'], + 'HttpStatus' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], + 'Success' => ['description' => '是否操作成功:false:否;true:是', 'type' => 'boolean', 'example' => 'true'], + 'MessageId' => ['description' => '会话消息id', 'type' => 'string', 'example' => '8869745c-3b30-44ab-a1ef-20ad4191bfad'], ], ], ], @@ -1810,14 +879,8 @@ 'summary' => '调用Feedback接口进行问答点赞、点踩。', ], 'CreatePerspective' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1825,30 +888,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '视⻆名称,不超过50个字符', - 'type' => 'string', - 'required' => true, - 'example' => '测试1', - ], + 'schema' => ['description' => '视⻆名称,不超过50个字符', 'type' => 'string', 'required' => true, 'example' => '测试1'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -1856,16 +906,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'F2E2C40D-AB09-45A1-B5C5-EB9F5C4E4E4A', - ], - 'PerspectiveId' => [ - 'description' => '视⻆主键(code_id)'."\n", - 'type' => 'string', - 'example' => '7488', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'F2E2C40D-AB09-45A1-B5C5-EB9F5C4E4E4A'], + 'PerspectiveId' => ['description' => '视⻆主键(code_id)'."\n", 'type' => 'string', 'example' => '7488'], ], ], ], @@ -1878,14 +920,8 @@ 'extraInfo' => ' ', ], 'DeletePerspective' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1893,30 +929,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'PerspectiveId', 'in' => 'query', - 'schema' => [ - 'description' => '视角id', - 'type' => 'string', - 'required' => true, - 'example' => '3001', - ], + 'schema' => ['description' => '视角id', 'type' => 'string', 'required' => true, 'example' => '3001'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -1924,16 +947,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'FC384CE1-8D42-1900-84E1-F33F990F2B5E', - ], - 'Result' => [ - 'description' => '是否删除成功:true:是;false:否', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'FC384CE1-8D42-1900-84E1-F33F990F2B5E'], + 'Result' => ['description' => '是否删除成功:true:是;false:否', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -1943,14 +958,8 @@ 'summary' => '调用DeletePerspective删除视角。', ], 'UpdatePerspective' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1958,40 +967,22 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'PerspectiveId', 'in' => 'query', - 'schema' => [ - 'description' => '视⻆主键', - 'type' => 'string', - 'required' => true, - 'example' => '7488', - ], + 'schema' => ['description' => '视⻆主键', 'type' => 'string', 'required' => true, 'example' => '7488'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '视⻆新名称,不超过50个字符', - 'type' => 'string', - 'required' => true, - 'example' => '测试2', - ], + 'schema' => ['description' => '视⻆新名称,不超过50个字符', 'type' => 'string', 'required' => true, 'example' => '测试2'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -1999,11 +990,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'A8CA5217-4B7A-40F9-8985-416C2DCD5D4A', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'A8CA5217-4B7A-40F9-8985-416C2DCD5D4A'], ], ], ], @@ -2016,14 +1003,8 @@ 'extraInfo' => ' ', ], 'ActivatePerspective' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2031,30 +1012,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'PerspectiveId', 'in' => 'query', - 'schema' => [ - 'description' => '视⻆主键'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '7487', - ], + 'schema' => ['description' => '视⻆主键'."\n", 'type' => 'string', 'required' => true, 'example' => '7487'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -2062,11 +1030,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '9C5F8186-2D22-433E-9545-606D344F30B5', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '9C5F8186-2D22-433E-9545-606D344F30B5'], ], ], ], @@ -2079,14 +1043,8 @@ 'extraInfo' => ' ', ], 'DescribePerspective' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2094,30 +1052,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'PerspectiveId', 'in' => 'query', - 'schema' => [ - 'description' => '视角id', - 'type' => 'string', - 'required' => true, - 'example' => '7487', - ], + 'schema' => ['description' => '视角id', 'type' => 'string', 'required' => true, 'example' => '7487'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -2125,57 +1070,16 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '数据状态:3:启用;1:未启用'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'PerspectiveCode' => [ - 'description' => '视⻆编码(⽤于问答api)'."\n", - 'type' => 'string', - 'example' => '6IReUnbyzb', - ], - 'ModifyTime' => [ - 'description' => '修改时间 UTC时间', - 'type' => 'string', - 'example' => '2020-11-25T08:56:55Z', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'DFB71B34-4188-4EA2-9988-EF3014E75910', - ], - 'SelfDefine' => [ - 'description' => '是否自定义:false:否;true:是'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'CreateTime' => [ - 'description' => '创建时间 UTC时间', - 'type' => 'string', - 'example' => '2020-11-25T08:26:06Z', - ], - 'ModifyUserName' => [ - 'description' => '修改者名称', - 'type' => 'string', - 'example' => 'test', - ], - 'PerspectiveId' => [ - 'description' => '视⻆主键(code_id)'."\n", - 'type' => 'string', - 'example' => '7487', - ], - 'CreateUserName' => [ - 'description' => '创建者名称', - 'type' => 'string', - 'example' => 'test', - ], - 'Name' => [ - 'description' => '视⻆名称', - 'type' => 'string', - 'example' => '12', - ], + 'Status' => ['description' => '数据状态:3:启用;1:未启用'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'PerspectiveCode' => ['description' => '视⻆编码(⽤于问答api)'."\n", 'type' => 'string', 'example' => '6IReUnbyzb'], + 'ModifyTime' => ['description' => '修改时间 UTC时间', 'type' => 'string', 'example' => '2020-11-25T08:56:55Z'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'DFB71B34-4188-4EA2-9988-EF3014E75910'], + 'SelfDefine' => ['description' => '是否自定义:false:否;true:是'."\n", 'type' => 'boolean', 'example' => 'true'], + 'CreateTime' => ['description' => '创建时间 UTC时间', 'type' => 'string', 'example' => '2020-11-25T08:26:06Z'], + 'ModifyUserName' => ['description' => '修改者名称', 'type' => 'string', 'example' => 'test'], + 'PerspectiveId' => ['description' => '视⻆主键(code_id)'."\n", 'type' => 'string', 'example' => '7487'], + 'CreateUserName' => ['description' => '创建者名称', 'type' => 'string', 'example' => 'test'], + 'Name' => ['description' => '视⻆名称', 'type' => 'string', 'example' => '12'], ], ], ], @@ -2188,14 +1092,8 @@ 'extraInfo' => ' ', ], 'QueryPerspectives' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2203,20 +1101,12 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -2224,63 +1114,22 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'DBBF6308-C267-45EE-A0DF-14E401E25272', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'DBBF6308-C267-45EE-A0DF-14E401E25272'], 'Perspectives' => [ 'description' => '视角列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '数据状态:3:启用;1:未启用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'ModifyUserName' => [ - 'description' => '修改者名称', - 'type' => 'string', - 'example' => 'test', - ], - 'CreateUserName' => [ - 'description' => '创建者名称', - 'type' => 'string', - 'example' => 'test', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-11-12T04:17:31Z', - ], - 'PerspectiveId' => [ - 'description' => '视角主键', - 'type' => 'string', - 'example' => '1001', - ], - 'SelfDefine' => [ - 'description' => '是否自定义:false:否;true:是', - 'type' => 'boolean', - 'example' => 'false', - ], - 'Name' => [ - 'description' => '视角名称', - 'type' => 'string', - 'example' => '默认', - ], - 'PerspectiveCode' => [ - 'description' => '视角编码', - 'type' => 'string', - 'example' => 'default', - ], - 'ModifyTime' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2020-11-12T04:17:31Z', - ], + 'Status' => ['description' => '数据状态:3:启用;1:未启用', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'ModifyUserName' => ['description' => '修改者名称', 'type' => 'string', 'example' => 'test'], + 'CreateUserName' => ['description' => '创建者名称', 'type' => 'string', 'example' => 'test'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-11-12T04:17:31Z'], + 'PerspectiveId' => ['description' => '视角主键', 'type' => 'string', 'example' => '1001'], + 'SelfDefine' => ['description' => '是否自定义:false:否;true:是', 'type' => 'boolean', 'example' => 'false'], + 'Name' => ['description' => '视角名称', 'type' => 'string', 'example' => '默认'], + 'PerspectiveCode' => ['description' => '视角编码', 'type' => 'string', 'example' => 'default'], + 'ModifyTime' => ['description' => '修改时间', 'type' => 'string', 'example' => '2020-11-12T04:17:31Z'], ], ], ], @@ -2296,14 +1145,8 @@ 'extraInfo' => ' ', ], 'CreateCategory' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2315,34 +1158,17 @@ [ 'name' => 'ParentCategoryId', 'in' => 'query', - 'schema' => [ - 'description' => '上级类⽬Id,不填是默认为⼀级类⽬', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '-1', - ], + 'schema' => ['description' => '上级类⽬Id,不填是默认为⼀级类⽬', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-1'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '类⽬名称'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '测试1', - ], + 'schema' => ['description' => '类⽬名称'."\n", 'type' => 'string', 'required' => true, 'example' => '测试1'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -2350,22 +1176,9 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CategoryId' => [ - 'description' => '类⽬ID,由系统⽣成,全局唯 ⼀。是访问类⽬数据的唯⼀标识', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2100073759', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '17204B98-7734-4F9A-8464-2446A84821CA', - ], - 'Success' => [ - 'description' => '是否操作成功,成功:true,失败:false', - 'type' => 'boolean', - 'example' => 'true', - ], + 'CategoryId' => ['description' => '类⽬ID,由系统⽣成,全局唯 ⼀。是访问类⽬数据的唯⼀标识', 'type' => 'integer', 'format' => 'int64', 'example' => '2100073759'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '17204B98-7734-4F9A-8464-2446A84821CA'], + 'Success' => ['description' => '是否操作成功,成功:true,失败:false', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -2378,14 +1191,8 @@ 'extraInfo' => ' ', ], 'DeleteCategory' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2397,25 +1204,13 @@ [ 'name' => 'CategoryId', 'in' => 'query', - 'schema' => [ - 'description' => '类⽬id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30000049006', - ], + 'schema' => ['description' => '类⽬id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30000049006'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -2424,16 +1219,8 @@ 'description' => '结果信息', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '4B3E0DE3-DC57-5BFE-88D4-ADD8ED024F55', - ], - 'Success' => [ - 'description' => '是否操作成功', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '4B3E0DE3-DC57-5BFE-88D4-ADD8ED024F55'], + 'Success' => ['description' => '是否操作成功', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -2443,14 +1230,8 @@ 'summary' => '调用DeleteCategory删除类⽬。', ], 'UpdateCategory' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2462,35 +1243,18 @@ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '修改后的类⽬名称'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '测试11', - ], + 'schema' => ['description' => '修改后的类⽬名称'."\n", 'type' => 'string', 'required' => false, 'example' => '测试11'], ], [ 'name' => 'CategoryId', 'in' => 'query', - 'schema' => [ - 'description' => '类⽬id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '2100073759', - ], + 'schema' => ['description' => '类⽬id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2100073759'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -2499,16 +1263,8 @@ 'description' => '结果信息', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'F79E7305-5314-5069-A701-9591AD051902', - ], - 'Success' => [ - 'description' => '是否操作成功:false:否;true:是', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'F79E7305-5314-5069-A701-9591AD051902'], + 'Success' => ['description' => '是否操作成功:false:否;true:是', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -2518,14 +1274,8 @@ 'summary' => '修改类目。', ], 'DescribeCategory' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2537,25 +1287,13 @@ [ 'name' => 'CategoryId', 'in' => 'query', - 'schema' => [ - 'description' => '类⽬ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30000049006', - ], + 'schema' => ['description' => '类⽬ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30000049006'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -2564,28 +1302,10 @@ 'description' => '结果信息', 'type' => 'object', 'properties' => [ - 'CategoryId' => [ - 'description' => '类⽬ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30000049006', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '2B0304FD-3804-5C06-9A83-77F5523664AF', - ], - 'ParentCategoryId' => [ - 'description' => '⽗类⽬ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-1', - ], - 'Name' => [ - 'description' => '类⽬名称', - 'type' => 'string', - 'example' => '类目名称', - ], + 'CategoryId' => ['description' => '类⽬ID', 'type' => 'integer', 'format' => 'int64', 'example' => '30000049006'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '2B0304FD-3804-5C06-9A83-77F5523664AF'], + 'ParentCategoryId' => ['description' => '⽗类⽬ID', 'type' => 'integer', 'format' => 'int64', 'example' => '-1'], + 'Name' => ['description' => '类⽬名称', 'type' => 'string', 'example' => '类目名称'], ], ], ], @@ -2595,14 +1315,8 @@ 'summary' => '获取类目详情。', ], 'QueryCategories' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2614,46 +1328,23 @@ [ 'name' => 'ParentCategoryId', 'in' => 'query', - 'schema' => [ - 'description' => '⽗类⽬id,默认-1,对'."\n" - .'应根⽬录'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '-1', - ], + 'schema' => ['description' => '⽗类⽬id,默认-1,对'."\n" + .'应根⽬录'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-1'], ], [ 'name' => 'ShowChildrens', 'in' => 'query', - 'schema' => [ - 'description' => '是否包含子节点:false:否;true:是', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否包含子节点:false:否;true:是', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'KnowledgeType', 'in' => 'query', - 'schema' => [ - 'description' => '知识类型:1:普通知识 3:⽂档知识', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '知识类型:1:普通知识 3:⽂档知识', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取 ', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取 ', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -2662,19 +1353,11 @@ 'description' => '结果信息', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '17204B98-7734-4F9A-8464-2446A84821CA', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '17204B98-7734-4F9A-8464-2446A84821CA'], 'Categories' => [ 'description' => '类⽬列表'."\n", 'type' => 'array', - 'items' => [ - 'description' => '类目信息', - 'example' => 'Children对象', - '$ref' => '#/components/schemas/Children', - ], + 'items' => ['description' => '类目信息', 'example' => 'Children对象', '$ref' => '#/components/schemas/Children'], ], ], ], @@ -2688,13 +1371,8 @@ 'extraInfo' => ' ', ], 'CreateKnowledge' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2711,53 +1389,21 @@ 'description' => '知识数据,⻅ Knowledge,格式: JSON字符串', 'type' => 'object', 'properties' => [ - 'CategoryId' => [ - 'description' => 'FAQ类⽬ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30000049006', - ], - 'KnowledgeTitle' => [ - 'description' => 'FAQ标题', - 'type' => 'string', - 'required' => true, - 'example' => '知识标题', - ], - 'KnowledgeType' => [ - 'description' => 'FAQ类型:1:普通知识', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'CategoryId' => ['description' => 'FAQ类⽬ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30000049006'], + 'KnowledgeTitle' => ['description' => 'FAQ标题', 'type' => 'string', 'required' => true, 'example' => '知识标题'], + 'KnowledgeType' => ['description' => 'FAQ类型:1:普通知识', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], 'Solutions' => [ 'description' => '答案列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Content' => [ - 'description' => '富⽂本内容', - 'type' => 'string', - 'required' => true, - 'example' => '富文本答案内容', - ], - 'PlainText' => [ - 'description' => '纯⽂本内容', - 'type' => 'string', - 'required' => true, - 'example' => '纯文本答案内容', - ], + 'Content' => ['description' => '富⽂本内容', 'type' => 'string', 'required' => true, 'example' => '富文本答案内容'], + 'PlainText' => ['description' => '纯⽂本内容', 'type' => 'string', 'required' => true, 'example' => '纯文本答案内容'], 'PerspectiveIds' => [ 'description' => '视⻆ID列表', 'type' => 'array', - 'items' => [ - 'description' => '视⻆ID', - 'type' => 'string', - 'required' => false, - 'example' => '1001', - ], + 'items' => ['description' => '视⻆ID', 'type' => 'string', 'required' => false, 'example' => '1001'], 'required' => false, ], ], @@ -2765,18 +1411,8 @@ ], 'required' => true, ], - 'StartDate' => [ - 'description' => '⽣效时间(UTC时间)', - 'type' => 'string', - 'required' => false, - 'example' => '1979-12-31T16:00:00Z', - ], - 'EndDate' => [ - 'description' => '失效时间(UTC时间)', - 'type' => 'string', - 'required' => false, - 'example' => '2099-12-31T16:00:00Z', - ], + 'StartDate' => ['description' => '⽣效时间(UTC时间)', 'type' => 'string', 'required' => false, 'example' => '1979-12-31T16:00:00Z'], + 'EndDate' => ['description' => '失效时间(UTC时间)', 'type' => 'string', 'required' => false, 'example' => '2099-12-31T16:00:00Z'], 'Outlines' => [ 'description' => '关联知识', 'type' => 'array', @@ -2784,26 +1420,9 @@ 'description' => '关联知识信息', 'type' => 'object', 'properties' => [ - 'KnowledgeId' => [ - 'description' => 'FAQ ID(废弃)', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '30001905617', - ], - 'OutlineId' => [ - 'description' => '关联FAQ ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '30001979424', - ], - 'Title' => [ - 'description' => '关联FAQ标题', - 'type' => 'string', - 'required' => false, - 'example' => '关联问知识标题', - ], + 'KnowledgeId' => ['description' => 'FAQ ID(废弃)', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30001905617'], + 'OutlineId' => ['description' => '关联FAQ ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30001979424'], + 'Title' => ['description' => '关联FAQ标题', 'type' => 'string', 'required' => false, 'example' => '关联问知识标题'], ], 'required' => false, ], @@ -2816,12 +1435,7 @@ 'description' => '相似问信息', 'type' => 'object', 'properties' => [ - 'Title' => [ - 'description' => '相似问法标题', - 'type' => 'string', - 'required' => true, - 'example' => '相似问标题', - ], + 'Title' => ['description' => '相似问法标题', 'type' => 'string', 'required' => true, 'example' => '相似问标题'], ], 'required' => false, ], @@ -2835,14 +1449,8 @@ [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -2851,17 +1459,8 @@ 'description' => '结果信息', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '8334b404-3124-47a4-92df-5c7648158b6f', - ], - 'KnowledgeId' => [ - 'description' => '知识ID,由系统⽣成,全局唯 ⼀。是访问知识数据的唯⼀标识'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30001905617', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '8334b404-3124-47a4-92df-5c7648158b6f'], + 'KnowledgeId' => ['description' => '知识ID,由系统⽣成,全局唯 ⼀。是访问知识数据的唯⼀标识'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '30001905617'], ], ], ], @@ -2901,14 +1500,8 @@ 'extraInfo' => ' ', ], 'DeleteKnowledge' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2920,25 +1513,13 @@ [ 'name' => 'KnowledgeId', 'in' => 'query', - 'schema' => [ - 'description' => '待删除FAQ ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30001979424', - ], + 'schema' => ['description' => '待删除FAQ ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30001979424'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -2947,11 +1528,7 @@ 'description' => '结果信息', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'A629A28F-F25E-5572-A679-FA46FB0151D6', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A629A28F-F25E-5572-A679-FA46FB0151D6'], ], ], ], @@ -2961,13 +1538,8 @@ 'summary' => '知识库-删除知识。', ], 'UpdateKnowledge' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2984,26 +1556,9 @@ 'description' => '请求参数信息', 'type' => 'object', 'properties' => [ - 'CategoryId' => [ - 'description' => '类⽬ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '30000049006', - ], - 'KnowledgeTitle' => [ - 'description' => 'FAQ标题', - 'type' => 'string', - 'required' => true, - 'example' => '知识标题', - ], - 'KnowledgeType' => [ - 'description' => '知识类型(1,基础知识)', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'CategoryId' => ['description' => '类⽬ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30000049006'], + 'KnowledgeTitle' => ['description' => 'FAQ标题', 'type' => 'string', 'required' => true, 'example' => '知识标题'], + 'KnowledgeType' => ['description' => '知识类型(1,基础知识)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], 'Solutions' => [ 'description' => '答案列表', 'type' => 'array', @@ -3011,59 +1566,23 @@ 'description' => '答案信息', 'type' => 'object', 'properties' => [ - 'Content' => [ - 'description' => '富⽂本内容', - 'type' => 'string', - 'required' => true, - 'example' => '答案内容', - ], - 'PlainText' => [ - 'description' => '纯⽂本内容', - 'type' => 'string', - 'required' => true, - 'example' => '答案内容', - ], - 'SolutionId' => [ - 'description' => '答案ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '30001905617', - ], + 'Content' => ['description' => '富⽂本内容', 'type' => 'string', 'required' => true, 'example' => '答案内容'], + 'PlainText' => ['description' => '纯⽂本内容', 'type' => 'string', 'required' => true, 'example' => '答案内容'], + 'SolutionId' => ['description' => '答案ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30001905617'], 'PerspectiveIds' => [ 'description' => '视⻆ID列表', 'type' => 'array', - 'items' => [ - 'description' => '视⻆ID列表', - 'type' => 'string', - 'required' => false, - 'example' => '1003', - ], + 'items' => ['description' => '视⻆ID列表', 'type' => 'string', 'required' => false, 'example' => '1003'], 'required' => true, ], - 'Action' => [ - 'description' => '操作类型,追加:ADD,修改:UPD,移除:DEL', - 'type' => 'string', - 'required' => true, - 'example' => 'ADD', - ], + 'Action' => ['description' => '操作类型,追加:ADD,修改:UPD,移除:DEL', 'type' => 'string', 'required' => true, 'example' => 'ADD'], ], 'required' => false, ], 'required' => true, ], - 'StartDate' => [ - 'description' => '⽣效时间(UTC时间)', - 'type' => 'string', - 'required' => false, - 'example' => '1979-12-31T16:00:00Z', - ], - 'EndDate' => [ - 'description' => '失效时间(UTC时间)', - 'type' => 'string', - 'required' => false, - 'example' => '2099-12-31T16:00:00Z', - ], + 'StartDate' => ['description' => '⽣效时间(UTC时间)', 'type' => 'string', 'required' => false, 'example' => '1979-12-31T16:00:00Z'], + 'EndDate' => ['description' => '失效时间(UTC时间)', 'type' => 'string', 'required' => false, 'example' => '2099-12-31T16:00:00Z'], 'Outlines' => [ 'description' => '关联知识', 'type' => 'array', @@ -3071,32 +1590,10 @@ 'description' => '关联问信息', 'type' => 'object', 'properties' => [ - 'KnowledgeId' => [ - 'description' => 'FAQ ID(废弃)', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30001905617', - ], - 'Title' => [ - 'description' => '关联FAQ标题', - 'type' => 'string', - 'required' => true, - 'example' => '关联问标题', - ], - 'OutlineId' => [ - 'description' => '关联FAQ ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '30001979424', - ], - 'Action' => [ - 'description' => '操作类型,追加:ADD,移除:DEL', - 'type' => 'string', - 'required' => true, - 'example' => 'ADD', - ], + 'KnowledgeId' => ['description' => 'FAQ ID(废弃)', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30001905617'], + 'Title' => ['description' => '关联FAQ标题', 'type' => 'string', 'required' => true, 'example' => '关联问标题'], + 'OutlineId' => ['description' => '关联FAQ ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30001979424'], + 'Action' => ['description' => '操作类型,追加:ADD,移除:DEL', 'type' => 'string', 'required' => true, 'example' => 'ADD'], ], 'required' => false, ], @@ -3109,37 +1606,15 @@ 'description' => '相似问信息', 'type' => 'object', 'properties' => [ - 'Title' => [ - 'description' => '相似问法标题', - 'type' => 'string', - 'required' => true, - 'example' => '相似问标题', - ], - 'SimQuestionId' => [ - 'description' => '相似问法ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '30003759180', - ], - 'Action' => [ - 'description' => '操作类型,追加:ADD,修改:UPD,移除:DEL', - 'type' => 'string', - 'required' => true, - 'example' => 'ADD', - ], + 'Title' => ['description' => '相似问法标题', 'type' => 'string', 'required' => true, 'example' => '相似问标题'], + 'SimQuestionId' => ['description' => '相似问法ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30003759180'], + 'Action' => ['description' => '操作类型,追加:ADD,修改:UPD,移除:DEL', 'type' => 'string', 'required' => true, 'example' => 'ADD'], ], 'required' => false, ], 'required' => false, ], - 'KnowledgeId' => [ - 'description' => 'FAQ ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30001905617', - ], + 'KnowledgeId' => ['description' => 'FAQ ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30001905617'], ], 'required' => true, ], @@ -3147,14 +1622,8 @@ [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -3163,17 +1632,8 @@ 'description' => '结果信息', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '27C1B103-7A35-532B-8886-B5A91C86CFA4', - ], - 'KnowledgeId' => [ - 'description' => '知识id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30001905617', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '27C1B103-7A35-532B-8886-B5A91C86CFA4'], + 'KnowledgeId' => ['description' => '知识id', 'type' => 'integer', 'format' => 'int64', 'example' => '30001905617'], ], ], ], @@ -3184,14 +1644,8 @@ 'summary' => '进行知识库的修改并发布(⼊参必须全量包含当前知识所有信息)。', ], 'DisableKnowledge' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3203,24 +1657,12 @@ [ 'name' => 'KnowledgeId', 'in' => 'query', - 'schema' => [ - 'description' => 'FAQ ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30001979424', - ], + 'schema' => ['description' => 'FAQ ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30001979424'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -3229,11 +1671,7 @@ 'description' => '结果信息', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '54A18EB2-4633-5848-B309-EE551DF62002', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '54A18EB2-4633-5848-B309-EE551DF62002'], ], ], ], @@ -3243,14 +1681,8 @@ 'summary' => '知识库-失效FAQ。', ], 'DescribeKnowledge' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3262,24 +1694,12 @@ [ 'name' => 'KnowledgeId', 'in' => 'query', - 'schema' => [ - 'description' => 'FAQ ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1002994358', - ], + 'schema' => ['description' => 'FAQ ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1002994358'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -3288,71 +1708,25 @@ 'description' => '结果信息', 'type' => 'object', 'properties' => [ - 'KnowledgeTitle' => [ - 'description' => 'FAQ标题', - 'type' => 'string', - 'example' => 'FAQ标题', - ], - 'CategoryId' => [ - 'description' => '类⽬ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000053274', - ], - 'ModifyTime' => [ - 'description' => '修改时间(UTC时间)', - 'type' => 'string', - 'example' => '2020-11-26T06:36:14Z', - ], + 'KnowledgeTitle' => ['description' => 'FAQ标题', 'type' => 'string', 'example' => 'FAQ标题'], + 'CategoryId' => ['description' => '类⽬ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1000053274'], + 'ModifyTime' => ['description' => '修改时间(UTC时间)', 'type' => 'string', 'example' => '2020-11-26T06:36:14Z'], 'CoreWords' => [ 'description' => '核⼼词列表', 'type' => 'array', - 'items' => [ - 'description' => '核心词', - 'type' => 'string', - 'example' => '核心词'."\n", - ], - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'F7F60925-E0ED-50DA-9E0B-ED4B3ECFBA4F', - ], - 'CreateTime' => [ - 'description' => '创建时间(UTC时间)', - 'type' => 'string', - 'example' => '2020-11-25T11:44:09Z', - ], - 'KnowledgeId' => [ - 'description' => 'FAQ ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30001979424', + 'items' => ['description' => '核心词', 'type' => 'string', 'example' => '核心词'."\n"], ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'F7F60925-E0ED-50DA-9E0B-ED4B3ECFBA4F'], + 'CreateTime' => ['description' => '创建时间(UTC时间)', 'type' => 'string', 'example' => '2020-11-25T11:44:09Z'], + 'KnowledgeId' => ['description' => 'FAQ ID', 'type' => 'integer', 'format' => 'int64', 'example' => '30001979424'], 'KeyWords' => [ 'description' => '关键字列表。', 'type' => 'array', - 'items' => [ - 'description' => '关键字', - 'type' => 'string', - 'example' => '关键词', - ], - ], - 'EndDate' => [ - 'description' => '失效时间(UTC时间)', - 'type' => 'string', - 'example' => '2020-11-26T11:56:40Z', - ], - 'CreateUserName' => [ - 'description' => '创建人名称', - 'type' => 'string', - 'example' => '创建人', - ], - 'StartDate' => [ - 'description' => '⽣效时间(UTC时间)', - 'type' => 'string', - 'example' => '1979-12-31T16:00:00Z', + 'items' => ['description' => '关键字', 'type' => 'string', 'example' => '关键词'], ], + 'EndDate' => ['description' => '失效时间(UTC时间)', 'type' => 'string', 'example' => '2020-11-26T11:56:40Z'], + 'CreateUserName' => ['description' => '创建人名称', 'type' => 'string', 'example' => '创建人'], + 'StartDate' => ['description' => '⽣效时间(UTC时间)', 'type' => 'string', 'example' => '1979-12-31T16:00:00Z'], 'SimQuestions' => [ 'description' => '相似问法列表'."\n", 'type' => 'array', @@ -3360,27 +1734,10 @@ 'description' => '相似问信息', 'type' => 'object', 'properties' => [ - 'CreateTime' => [ - 'description' => '创建时间(UTC时间)', - 'type' => 'string', - 'example' => '2020-11-25T11:44:09Z', - ], - 'SimQuestionId' => [ - 'description' => '相似问法id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30001979424', - ], - 'Title' => [ - 'description' => '相似问法标题', - 'type' => 'string', - 'example' => '相似问', - ], - 'ModifyTime' => [ - 'description' => '修改时间(UTC时间)', - 'type' => 'string', - 'example' => '2020-11-26T06:36:14Z', - ], + 'CreateTime' => ['description' => '创建时间(UTC时间)', 'type' => 'string', 'example' => '2020-11-25T11:44:09Z'], + 'SimQuestionId' => ['description' => '相似问法id', 'type' => 'integer', 'format' => 'int64', 'example' => '30001979424'], + 'Title' => ['description' => '相似问法标题', 'type' => 'string', 'example' => '相似问'], + 'ModifyTime' => ['description' => '修改时间(UTC时间)', 'type' => 'string', 'example' => '2020-11-26T06:36:14Z'], ], ], ], @@ -3394,63 +1751,20 @@ 'PerspectiveIds' => [ 'description' => '视⻆id列表', 'type' => 'array', - 'items' => [ - 'description' => '视⻆id', - 'type' => 'string', - 'example' => '1001'."\n", - ], - ], - 'Summary' => [ - 'description' => '摘要', - 'type' => 'string', - 'example' => '答案摘要', - ], - 'CreateTime' => [ - 'description' => '创建时间(UTC时间)', - 'type' => 'string', - 'example' => '2020-11-25T11:44:09Z', - ], - 'PlainText' => [ - 'description' => '纯⽂本内容', - 'type' => 'string', - 'example' => '答案内容', - ], - 'SolutionId' => [ - 'description' => '答案id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30001979424', - ], - 'Content' => [ - 'description' => '富⽂本内容', - 'type' => 'string', - 'example' => '答案内容', - ], - 'ModifyTime' => [ - 'description' => '修改时间(UTC时间)', - 'type' => 'string', - 'example' => '2020-11-26T06:36:14Z', - ], + 'items' => ['description' => '视⻆id', 'type' => 'string', 'example' => '1001'."\n"], + ], + 'Summary' => ['description' => '摘要', 'type' => 'string', 'example' => '答案摘要'], + 'CreateTime' => ['description' => '创建时间(UTC时间)', 'type' => 'string', 'example' => '2020-11-25T11:44:09Z'], + 'PlainText' => ['description' => '纯⽂本内容', 'type' => 'string', 'example' => '答案内容'], + 'SolutionId' => ['description' => '答案id', 'type' => 'integer', 'format' => 'int64', 'example' => '30001979424'], + 'Content' => ['description' => '富⽂本内容', 'type' => 'string', 'example' => '答案内容'], + 'ModifyTime' => ['description' => '修改时间(UTC时间)', 'type' => 'string', 'example' => '2020-11-26T06:36:14Z'], ], ], ], - 'Version' => [ - 'description' => '版本号(最新)'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ModifyUserName' => [ - 'description' => '修改人名称', - 'type' => 'string', - 'example' => '修改人'."\n", - ], - 'KnowledgeStatus' => [ - 'description' => '知识状态:3:已发布,-1:全部,14:草稿,17:已失效,15:待发布(发布中)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], + 'Version' => ['description' => '版本号(最新)'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ModifyUserName' => ['description' => '修改人名称', 'type' => 'string', 'example' => '修改人'."\n"], + 'KnowledgeStatus' => ['description' => '知识状态:3:已发布,-1:全部,14:草稿,17:已失效,15:待发布(发布中)', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], 'Outlines' => [ 'description' => '关联知识', 'type' => 'array', @@ -3458,32 +1772,13 @@ 'description' => '关联问信息', 'type' => 'object', 'properties' => [ - 'KnowledgeId' => [ - 'description' => 'FAQ ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30001979425', - ], - 'OutlineId' => [ - 'description' => '关联关系id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30001979424', - ], - 'Title' => [ - 'description' => '关联问题的标题', - 'type' => 'string', - 'example' => '关联问', - ], + 'KnowledgeId' => ['description' => 'FAQ ID', 'type' => 'integer', 'format' => 'int64', 'example' => '30001979425'], + 'OutlineId' => ['description' => '关联关系id', 'type' => 'integer', 'format' => 'int64', 'example' => '30001979424'], + 'Title' => ['description' => '关联问题的标题', 'type' => 'string', 'example' => '关联问'], ], ], ], - 'KnowledgeType' => [ - 'description' => '知识库类型,1:普通知识库', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'KnowledgeType' => ['description' => '知识库类型,1:普通知识库', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -3493,14 +1788,8 @@ 'summary' => '知识库-详情。', ], 'GetBotKnowledgeStatData' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3513,43 +1802,22 @@ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201108', - ], + 'schema' => ['description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201108'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201207', - ], + 'schema' => ['description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201207'], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈实例id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -3557,23 +1825,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CostTime' => [ - 'description' => '请求消耗时间', - 'type' => 'string', - 'example' => '77', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '907AA5F2-0521-49AB-80AB-1ADEFAB2B901', - ], + 'CostTime' => ['description' => '请求消耗时间', 'type' => 'string', 'example' => '77'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '907AA5F2-0521-49AB-80AB-1ADEFAB2B901'], 'Datas' => [ 'type' => 'array', - 'items' => [ - 'description' => '数据详情', - 'type' => 'object', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '数据详情', 'type' => 'object', 'example' => '参考JSON示例'], ], ], ], @@ -3592,14 +1848,8 @@ 'extraInfo' => ' ', ], 'QueryKnowledges' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3611,67 +1861,33 @@ [ 'name' => 'KnowledgeTitle', 'in' => 'query', - 'schema' => [ - 'description' => 'faq标题', - 'type' => 'string', - 'required' => false, - 'example' => '知识标题', - ], + 'schema' => ['description' => 'faq标题', 'type' => 'string', 'required' => false, 'example' => '知识标题'], ], [ 'name' => 'CoreWordName', 'in' => 'query', - 'schema' => [ - 'description' => '核心词', - 'type' => 'string', - 'required' => false, - 'example' => '核心词', - ], + 'schema' => ['description' => '核心词', 'type' => 'string', 'required' => false, 'example' => '核心词'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '当前⻚,默认1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前⻚,默认1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '⻚⾯⼤⼩,默认10,最大值500, 值超过500将返回最大值500', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '⻚⾯⼤⼩,默认10,最大值500, 值超过500将返回最大值500', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'CategoryId', 'in' => 'query', - 'schema' => [ - 'description' => 'FAQ类⽬ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1000053274', - ], + 'schema' => ['description' => 'FAQ类⽬ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1000053274'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -3680,29 +1896,10 @@ 'description' => '结果信息', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '分⻚-总条数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '84', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D2605A09-827E-5C50-87A5-547498B93E8F', - ], - 'PageSize' => [ - 'description' => '分⻚-⻚⾯⼤⼩,默认 10,最大值为500, 超过500将返回最大值500', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '分⻚-第⼏⻚', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'TotalCount' => ['description' => '分⻚-总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '84'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D2605A09-827E-5C50-87A5-547498B93E8F'], + 'PageSize' => ['description' => '分⻚-⻚⾯⼤⼩,默认 10,最大值为500, 超过500将返回最大值500', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '分⻚-第⼏⻚', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Knowledges' => [ 'description' => '知识列表'."\n", 'type' => 'array', @@ -3710,73 +1907,22 @@ 'description' => '知识信息', 'type' => 'object', 'properties' => [ - 'KnowledgeStatus' => [ - 'description' => '知识状态:3:已发布,-1:全部,14:草稿,17:已失效,15:待发布(发布中)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'EndDate' => [ - 'description' => '失效时间(UTC时间)', - 'type' => 'string', - 'example' => '2020-11-26T11:56:40Z', - ], - 'KnowledgeId' => [ - 'description' => 'FAQ ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '30001979424', - ], - 'CreateUserName' => [ - 'description' => '创建者名称', - 'type' => 'string', - 'example' => '创建者', - ], - 'CreateTime' => [ - 'description' => '创建时间(UTC时间)', - 'type' => 'string', - 'example' => '2020-11-25T11:44:09Z', - ], - 'StartDate' => [ - 'description' => '⽣效时间(UTC时间)', - 'type' => 'string', - 'example' => '2020-11-25T11:56:23Z', - ], - 'KnowledgeTitle' => [ - 'description' => 'FAQ标题', - 'type' => 'string', - 'example' => '知识标题', - ], - 'ModifyUserName' => [ - 'description' => '修改人名称', - 'type' => 'string', - 'example' => '修改人', - ], + 'KnowledgeStatus' => ['description' => '知识状态:3:已发布,-1:全部,14:草稿,17:已失效,15:待发布(发布中)', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'EndDate' => ['description' => '失效时间(UTC时间)', 'type' => 'string', 'example' => '2020-11-26T11:56:40Z'], + 'KnowledgeId' => ['description' => 'FAQ ID', 'type' => 'integer', 'format' => 'int64', 'example' => '30001979424'], + 'CreateUserName' => ['description' => '创建者名称', 'type' => 'string', 'example' => '创建者'], + 'CreateTime' => ['description' => '创建时间(UTC时间)', 'type' => 'string', 'example' => '2020-11-25T11:44:09Z'], + 'StartDate' => ['description' => '⽣效时间(UTC时间)', 'type' => 'string', 'example' => '2020-11-25T11:56:23Z'], + 'KnowledgeTitle' => ['description' => 'FAQ标题', 'type' => 'string', 'example' => '知识标题'], + 'ModifyUserName' => ['description' => '修改人名称', 'type' => 'string', 'example' => '修改人'], 'CoreWords' => [ 'description' => '核⼼词列表', 'type' => 'array', - 'items' => [ - 'description' => '核⼼词', - 'type' => 'string', - 'example' => '核心词', - ], - ], - 'Version' => [ - 'description' => '版本号', - 'type' => 'string', - 'example' => '2', - ], - 'CategoryId' => [ - 'description' => '类⽬ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000053274', - ], - 'ModifyTime' => [ - 'description' => '修改时间(UTC时间)', - 'type' => 'string', - 'example' => '2022-01-24T06:02:37Z', + 'items' => ['description' => '核⼼词', 'type' => 'string', 'example' => '核心词'], ], + 'Version' => ['description' => '版本号', 'type' => 'string', 'example' => '2'], + 'CategoryId' => ['description' => '类⽬ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1000053274'], + 'ModifyTime' => ['description' => '修改时间(UTC时间)', 'type' => 'string', 'example' => '2022-01-24T06:02:37Z'], ], ], ], @@ -3789,14 +1935,8 @@ 'summary' => '查询类目的知识列表。', ], 'PublishKnowledge' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3808,38 +1948,21 @@ [ 'name' => 'KnowledgeId', 'in' => 'query', - 'schema' => [ - 'description' => '要发布的FAQ ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30001905617', - ], + 'schema' => ['description' => '要发布的FAQ ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30001905617'], ], [ 'name' => 'Async', 'in' => 'query', - 'schema' => [ - 'description' => '是否发起异步作业。取值:'."\n" - ."\n" - .'- **true**:发起异步作业'."\n" - .'- **false**:不发起异步作业。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否发起异步作业。取值:'."\n" + ."\n" + .'- **true**:发起异步作业'."\n" + .'- **false**:不发起异步作业。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -3848,11 +1971,7 @@ 'description' => '结果信息', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '74D1B5C6-BACE-5F5A-9A24-898F74696627', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '74D1B5C6-BACE-5F5A-9A24-898F74696627'], ], ], ], @@ -3862,14 +1981,8 @@ 'summary' => '发布知识。', ], 'MoveKnowledgeCategory' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3881,36 +1994,18 @@ [ 'name' => 'KnowledgeId', 'in' => 'query', - 'schema' => [ - 'description' => '待转移的faqid', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '30001979424', - ], + 'schema' => ['description' => '待转移的faqid', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30001979424'], ], [ 'name' => 'CategoryId', 'in' => 'query', - 'schema' => [ - 'description' => '转入的类目id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1000053274', - ], + 'schema' => ['description' => '转入的类目id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000053274'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -3919,11 +2014,7 @@ 'description' => '结果信息', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'ABC61B71-9F9D-52FD-9E0C-71C4E4B5D097', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'ABC61B71-9F9D-52FD-9E0C-71C4E4B5D097'], ], ], ], @@ -3934,14 +2025,8 @@ 'summary' => '移动知识。', ], 'AddSynonym' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3953,33 +2038,17 @@ [ 'name' => 'CoreWordName', 'in' => 'query', - 'schema' => [ - 'description' => '核⼼词名称', - 'type' => 'string', - 'required' => true, - 'example' => '异地', - ], + 'schema' => ['description' => '核⼼词名称', 'type' => 'string', 'required' => true, 'example' => '异地'], ], [ 'name' => 'Synonym', 'in' => 'query', - 'schema' => [ - 'description' => '同义词', - 'type' => 'string', - 'required' => true, - 'example' => '不在所在地', - ], + 'schema' => ['description' => '同义词', 'type' => 'string', 'required' => true, 'example' => '不在所在地'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -3987,11 +2056,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '47D26156-D4C3-4E48-B0D6-25BBF7A3BC1D', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '47D26156-D4C3-4E48-B0D6-25BBF7A3BC1D'], ], ], ], @@ -4004,14 +2069,8 @@ 'extraInfo' => ' ', ], 'CreateCoreWord' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4023,23 +2082,12 @@ [ 'name' => 'CoreWordName', 'in' => 'query', - 'schema' => [ - 'description' => '核⼼词名称,不能为空字符串,不超过120个字符', - 'type' => 'string', - 'required' => true, - 'example' => '测试3', - ], + 'schema' => ['description' => '核⼼词名称,不能为空字符串,不超过120个字符', 'type' => 'string', 'required' => true, 'example' => '测试3'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -4047,17 +2095,9 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'E3E5C779-A630-45AC-B0F2-A4506A4212F1', - ], - 'CoreWordCode' => [ - 'description' => '核⼼词编码,由系统⽣成,全局 唯⼀。是访问核⼼词数据的唯⼀'."\n" - .'标识', - 'type' => 'string', - 'example' => 'ceb9d68c-dbb5-32c9-a02c-eca56b782ff7', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'E3E5C779-A630-45AC-B0F2-A4506A4212F1'], + 'CoreWordCode' => ['description' => '核⼼词编码,由系统⽣成,全局 唯⼀。是访问核⼼词数据的唯⼀'."\n" + .'标识', 'type' => 'string', 'example' => 'ceb9d68c-dbb5-32c9-a02c-eca56b782ff7'], ], ], ], @@ -4069,15 +2109,9 @@ 'responseParamsDescription' => ' ', 'extraInfo' => ' ', ], - 'DeleteCoreWord' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteCoreWord' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4089,23 +2123,12 @@ [ 'name' => 'CoreWordName', 'in' => 'query', - 'schema' => [ - 'description' => '删除的核心词名称', - 'type' => 'string', - 'required' => true, - 'example' => '测试4', - ], + 'schema' => ['description' => '删除的核心词名称', 'type' => 'string', 'required' => true, 'example' => '测试4'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -4113,16 +2136,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'E45491D5-7E0A-42C6-9B21-91D1066B1475', - ], - 'Success' => [ - 'description' => '是否操作成功:false:否;true:是', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'E45491D5-7E0A-42C6-9B21-91D1066B1475'], + 'Success' => ['description' => '是否操作成功:false:否;true:是', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -4132,14 +2147,8 @@ 'summary' => '调用DeleteCoreWord删除核⼼词。', ], 'UpdateCoreWord' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4151,33 +2160,17 @@ [ 'name' => 'CoreWordName', 'in' => 'query', - 'schema' => [ - 'description' => '修改后的核⼼词名称', - 'type' => 'string', - 'required' => true, - 'example' => '测试4', - ], + 'schema' => ['description' => '修改后的核⼼词名称', 'type' => 'string', 'required' => true, 'example' => '测试4'], ], [ 'name' => 'CoreWordCode', 'in' => 'query', - 'schema' => [ - 'description' => '被修改的核心词的唯⼀编码', - 'type' => 'string', - 'required' => true, - 'example' => 'ceb9d68c-dbb5-32c9-a02c-eca56b782ff7', - ], + 'schema' => ['description' => '被修改的核心词的唯⼀编码', 'type' => 'string', 'required' => true, 'example' => 'ceb9d68c-dbb5-32c9-a02c-eca56b782ff7'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -4185,16 +2178,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'D0DDFC4C-D66D-4787-9AE4-4D757481EDEE', - ], - 'Success' => [ - 'description' => '是否操作成功:false:否;true:是', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'D0DDFC4C-D66D-4787-9AE4-4D757481EDEE'], + 'Success' => ['description' => '是否操作成功:false:否;true:是', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -4207,14 +2192,8 @@ 'extraInfo' => ' ', ], 'DescribeCoreWord' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4226,23 +2205,12 @@ [ 'name' => 'CoreWordName', 'in' => 'query', - 'schema' => [ - 'description' => '名称', - 'type' => 'string', - 'required' => true, - 'example' => '本地', - ], + 'schema' => ['description' => '名称', 'type' => 'string', 'required' => true, 'example' => '本地'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -4250,40 +2218,16 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CoreWordName' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => '本地', - ], + 'CoreWordName' => ['description' => '名称', 'type' => 'string', 'example' => '本地'], 'Synonyms' => [ 'description' => '同义词列表', 'type' => 'array', - 'items' => [ - 'description' => '同义词列表', - 'type' => 'string', - 'example' => '所在地', - ], - ], - 'ModifyTime' => [ - 'description' => '修改时间 (UTC 时间)', - 'type' => 'string', - 'example' => '2020-11-25T10:31:10Z', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'F55D90C1-31BE-4B2A-AA3F-25EFC36F9419', - ], - 'CreateTime' => [ - 'description' => '创建时间 (UTC 时间)', - 'type' => 'string', - 'example' => '2020-11-24T03:49:18Z', - ], - 'CoreWordCode' => [ - 'description' => '唯⼀编码', - 'type' => 'string', - 'example' => '5be359c7-c18b-353a-bfe5-659b229e272e', + 'items' => ['description' => '同义词列表', 'type' => 'string', 'example' => '所在地'], ], + 'ModifyTime' => ['description' => '修改时间 (UTC 时间)', 'type' => 'string', 'example' => '2020-11-25T10:31:10Z'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'F55D90C1-31BE-4B2A-AA3F-25EFC36F9419'], + 'CreateTime' => ['description' => '创建时间 (UTC 时间)', 'type' => 'string', 'example' => '2020-11-24T03:49:18Z'], + 'CoreWordCode' => ['description' => '唯⼀编码', 'type' => 'string', 'example' => '5be359c7-c18b-353a-bfe5-659b229e272e'], ], ], ], @@ -4296,14 +2240,8 @@ 'extraInfo' => ' ', ], 'QueryCoreWords' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4315,55 +2253,27 @@ [ 'name' => 'CoreWordName', 'in' => 'query', - 'schema' => [ - 'description' => '核⼼词名称', - 'type' => 'string', - 'required' => false, - 'example' => '本地', - ], + 'schema' => ['description' => '核⼼词名称', 'type' => 'string', 'required' => false, 'example' => '本地'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '分⻚-第⼏⻚,默认1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分⻚-第⼏⻚,默认1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分⻚-⻚⾯⼤⼩,默认 10', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分⻚-⻚⾯⼤⼩,默认 10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'Synonym', 'in' => 'query', - 'schema' => [ - 'description' => '核⼼词的同义词', - 'type' => 'string', - 'required' => false, - 'example' => '当地,所在地', - ], + 'schema' => ['description' => '核⼼词的同义词', 'type' => 'string', 'required' => false, 'example' => '当地,所在地'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -4371,66 +2281,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '分⻚-总条数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], + 'TotalCount' => ['description' => '分⻚-总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], 'CoreWords' => [ 'description' => '核⼼词列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'CoreWordCode' => [ - 'description' => '唯⼀编码', - 'type' => 'string', - 'example' => '405d73a6-ac3c-37fd-96a6-94ae2a882c1e', - ], - 'CoreWordName' => [ - 'description' => '名称', - 'type' => 'string', - 'example' => '本地', - ], + 'CoreWordCode' => ['description' => '唯⼀编码', 'type' => 'string', 'example' => '405d73a6-ac3c-37fd-96a6-94ae2a882c1e'], + 'CoreWordName' => ['description' => '名称', 'type' => 'string', 'example' => '本地'], 'Synonyms' => [ 'type' => 'array', - 'items' => [ - 'description' => '同义词列表', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - ], - 'CreateTime' => [ - 'description' => '创建时间 (UTC 时间)', - 'type' => 'string', - 'example' => '2020-11-24T03:49:18Z', - ], - 'ModifyTime' => [ - 'description' => '修改时间 (UTC 时间)', - 'type' => 'string', - 'example' => '2020-11-25T10:31:10Z', + 'items' => ['description' => '同义词列表', 'type' => 'string', 'example' => '参考JSON示例'], ], + 'CreateTime' => ['description' => '创建时间 (UTC 时间)', 'type' => 'string', 'example' => '2020-11-24T03:49:18Z'], + 'ModifyTime' => ['description' => '修改时间 (UTC 时间)', 'type' => 'string', 'example' => '2020-11-25T10:31:10Z'], ], ], ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '92B81548-42B9-4B34-924B-4E778AEB412B', - ], - 'PageSize' => [ - 'description' => '分⻚-⻚⾯⼤⼩', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '分⻚-第⼏⻚', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '92B81548-42B9-4B34-924B-4E778AEB412B'], + 'PageSize' => ['description' => '分⻚-⻚⾯⼤⼩', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '分⻚-第⼏⻚', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -4443,14 +2314,8 @@ 'extraInfo' => ' ', ], 'RemoveSynonym' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4462,33 +2327,17 @@ [ 'name' => 'CoreWordName', 'in' => 'query', - 'schema' => [ - 'description' => '核⼼词名称', - 'type' => 'string', - 'required' => true, - 'example' => '本地', - ], + 'schema' => ['description' => '核⼼词名称', 'type' => 'string', 'required' => true, 'example' => '本地'], ], [ 'name' => 'Synonym', 'in' => 'query', - 'schema' => [ - 'description' => '同义词', - 'type' => 'string', - 'required' => true, - 'example' => '当地', - ], + 'schema' => ['description' => '同义词', 'type' => 'string', 'required' => true, 'example' => '当地'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -4496,11 +2345,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'C191B48B-9268-4FB1-A3C2-5143B4A91D0C', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'C191B48B-9268-4FB1-A3C2-5143B4A91D0C'], ], ], ], @@ -4513,14 +2358,8 @@ 'extraInfo' => ' ', ], 'CreateEntity' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4532,23 +2371,12 @@ [ 'name' => 'DialogId', 'in' => 'query', - 'schema' => [ - 'description' => '对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '103610', - ], + 'schema' => ['description' => '对话流id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '103610'], ], [ 'name' => 'EntityName', 'in' => 'query', - 'schema' => [ - 'description' => '实体名称', - 'type' => 'string', - 'required' => true, - 'example' => '地点实体', - ], + 'schema' => ['description' => '实体名称', 'type' => 'string', 'required' => true, 'example' => '地点实体'], ], [ 'name' => 'EntityType', @@ -4557,22 +2385,14 @@ 'description' => '实体类型:regex:正则名词;synonyms:标准名词', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'regex' => 'regex', - 'synonyms' => 'synonyms', - ], + 'enumValueTitles' => ['regex' => 'regex', 'synonyms' => 'synonyms'], 'example' => 'synonyms', ], ], [ 'name' => 'Regex', 'in' => 'query', - 'schema' => [ - 'description' => '正则表达式', - 'type' => 'string', - 'required' => false, - 'example' => '\\d{5,8}', - ], + 'schema' => ['description' => '正则表达式', 'type' => 'string', 'required' => false, 'example' => '\\d{5,8}'], ], [ 'name' => 'Members', @@ -4585,44 +2405,26 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'MemberName' => [ - 'description' => '实体值归一化值'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => '北京', - ], + 'MemberName' => ['description' => '实体值归一化值'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => '北京'], 'Synonyms' => [ 'description' => '同义词列表'."\n" ."\n", 'type' => 'array', - 'items' => [ - 'description' => '单个同义词', - 'type' => 'string', - 'required' => false, - 'example' => '首都', - ], + 'items' => ['description' => '单个同义词', 'type' => 'string', 'required' => false, 'example' => '首都'], 'required' => false, ], ], 'required' => false, ], 'required' => false, - 'enumValueTitles' => [ - '[{\\"MemberName\\":\\"1413\\",\\"Synonyms\\":[\\"天鹅座D座\\"]},{\\"MemberName\\":\\"1416\\",\\"Synonyms\\":[\\"无锡功能区\\"]}]' => '[{\\"MemberName\\":\\"1413\\",\\"Synonyms\\":[\\"天鹅座D座\\"]},{\\"MemberName\\":\\"1416\\",\\"Synonyms\\":[\\"无锡功能区\\"]}]', - ], + 'enumValueTitles' => ['[{\\"MemberName\\":\\"1413\\",\\"Synonyms\\":[\\"天鹅座D座\\"]},{\\"MemberName\\":\\"1416\\",\\"Synonyms\\":[\\"无锡功能区\\"]}]' => '[{\\"MemberName\\":\\"1413\\",\\"Synonyms\\":[\\"天鹅座D座\\"]},{\\"MemberName\\":\\"1416\\",\\"Synonyms\\":[\\"无锡功能区\\"]}]'], ], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -4630,17 +2432,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EntityId' => [ - 'description' => '实体 ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '72121', - ], - 'RequestId' => [ - 'description' => '请求ID'."\n", - 'type' => 'string', - 'example' => '28805A7C-D695-548C-A31B-67E52C2C274F', - ], + 'EntityId' => ['description' => '实体 ID', 'type' => 'integer', 'format' => 'int64', 'example' => '72121'], + 'RequestId' => ['description' => '请求ID'."\n", 'type' => 'string', 'example' => '28805A7C-D695-548C-A31B-67E52C2C274F'], ], ], ], @@ -4650,14 +2443,8 @@ 'summary' => '调用CreateEntity接口创建专有名词。', ], 'DeleteEntity' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4669,24 +2456,12 @@ [ 'name' => 'EntityId', 'in' => 'query', - 'schema' => [ - 'description' => '实体 ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '42212', - ], + 'schema' => ['description' => '实体 ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '42212'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -4694,17 +2469,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EntityId' => [ - 'description' => '实体 ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '42212', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '851BCF73-08DB-4738-AC23-302C591C1C86', - ], + 'EntityId' => ['description' => '实体 ID', 'type' => 'integer', 'format' => 'int64', 'example' => '42212'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '851BCF73-08DB-4738-AC23-302C591C1C86'], ], ], ], @@ -4717,14 +2483,8 @@ 'extraInfo' => ' ', ], 'UpdateEntity' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4736,43 +2496,22 @@ [ 'name' => 'EntityId', 'in' => 'query', - 'schema' => [ - 'description' => '实体 ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '13866', - ], + 'schema' => ['description' => '实体 ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '13866'], ], [ 'name' => 'EntityName', 'in' => 'query', - 'schema' => [ - 'description' => '实体名称', - 'type' => 'string', - 'required' => true, - 'example' => '地点实体', - ], + 'schema' => ['description' => '实体名称', 'type' => 'string', 'required' => true, 'example' => '地点实体'], ], [ 'name' => 'EntityType', 'in' => 'query', - 'schema' => [ - 'description' => '类型:regex:正则名词;synonyms:标准名词', - 'type' => 'string', - 'required' => true, - 'example' => 'synonyms ', - ], + 'schema' => ['description' => '类型:regex:正则名词;synonyms:标准名词', 'type' => 'string', 'required' => true, 'example' => 'synonyms '], ], [ 'name' => 'Regex', 'in' => 'query', - 'schema' => [ - 'description' => '该实体具体的正则表达式', - 'type' => 'string', - 'required' => false, - 'example' => '(\\\\d+-\\\\d+-\\\\d+\\\\s\\\\S+)\\\\s\\\\[(\\\\S+)\\\\s([^:]+):(\\\\d+)\\\\s(\\\\w+)]\\\\s\\\\[(\\\\d+)\\\\s(\\\\d+)]\\\\s\\\\[([^]]+)]\\\\s(\\\\w+)\\\\s(.*)', - ], + 'schema' => ['description' => '该实体具体的正则表达式', 'type' => 'string', 'required' => false, 'example' => '(\\\\d+-\\\\d+-\\\\d+\\\\s\\\\S+)\\\\s\\\\[(\\\\S+)\\\\s([^:]+):(\\\\d+)\\\\s(\\\\w+)]\\\\s\\\\[(\\\\d+)\\\\s(\\\\d+)]\\\\s\\\\[([^]]+)]\\\\s(\\\\w+)\\\\s(.*)'], ], [ 'name' => 'Members', @@ -4785,21 +2524,11 @@ 'description' => '实体成员', 'type' => 'object', 'properties' => [ - 'MemberName' => [ - 'description' => '实体值归一化值', - 'type' => 'string', - 'required' => false, - 'example' => '北京', - ], + 'MemberName' => ['description' => '实体值归一化值', 'type' => 'string', 'required' => false, 'example' => '北京'], 'Synonyms' => [ 'description' => '同义词列表', 'type' => 'array', - 'items' => [ - 'description' => '同义词', - 'type' => 'string', - 'required' => false, - 'example' => '首都', - ], + 'items' => ['description' => '同义词', 'type' => 'string', 'required' => false, 'example' => '首都'], 'required' => false, ], ], @@ -4811,13 +2540,7 @@ [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -4825,17 +2548,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EntityId' => [ - 'description' => '实体 ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '63405', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '4B3E0DE3-DC57-5BFE-88D4-ADD8ED024F55', - ], + 'EntityId' => ['description' => '实体 ID', 'type' => 'integer', 'format' => 'int64', 'example' => '63405'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '4B3E0DE3-DC57-5BFE-88D4-ADD8ED024F55'], ], ], ], @@ -4845,14 +2559,8 @@ 'summary' => '调用UpdateEntity接口修改专有名词。', ], 'DescribeEntities' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4864,24 +2572,12 @@ [ 'name' => 'EntityId', 'in' => 'query', - 'schema' => [ - 'description' => '专有名词id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '42212', - ], + 'schema' => ['description' => '专有名词id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '42212'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -4889,62 +2585,17 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EntityId' => [ - 'description' => '专有名词id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '42212', - ], - 'EntityType' => [ - 'description' => '类型:regex:正则名词; synonyms:标准名词', - 'type' => 'string', - 'example' => 'regex', - ], - 'ModifyTime' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2020-12-02T06:35:50Z', - ], - 'ModifyUserId' => [ - 'description' => '修改者id', - 'type' => 'string', - 'example' => '83225', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '3F95508F-8635-4786-A959-E21F6FED4CD1', - ], - 'Regex' => [ - 'description' => '正则', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - 'EntityName' => [ - 'description' => '专有名词名称', - 'type' => 'string', - 'example' => '价格', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-12-02T06:35:50Z', - ], - 'ModifyUserName' => [ - 'description' => '修改者名称', - 'type' => 'string', - 'example' => 'null', - ], - 'CreateUserId' => [ - 'description' => '创建者id', - 'type' => 'string', - 'example' => '83225', - ], - 'CreateUserName' => [ - 'description' => '创建者名称', - 'type' => 'string', - 'example' => 'null', - ], + 'EntityId' => ['description' => '专有名词id', 'type' => 'integer', 'format' => 'int64', 'example' => '42212'], + 'EntityType' => ['description' => '类型:regex:正则名词; synonyms:标准名词', 'type' => 'string', 'example' => 'regex'], + 'ModifyTime' => ['description' => '修改时间', 'type' => 'string', 'example' => '2020-12-02T06:35:50Z'], + 'ModifyUserId' => ['description' => '修改者id', 'type' => 'string', 'example' => '83225'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '3F95508F-8635-4786-A959-E21F6FED4CD1'], + 'Regex' => ['description' => '正则', 'type' => 'string', 'example' => '参考JSON示例'], + 'EntityName' => ['description' => '专有名词名称', 'type' => 'string', 'example' => '价格'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-12-02T06:35:50Z'], + 'ModifyUserName' => ['description' => '修改者名称', 'type' => 'string', 'example' => 'null'], + 'CreateUserId' => ['description' => '创建者id', 'type' => 'string', 'example' => '83225'], + 'CreateUserName' => ['description' => '创建者名称', 'type' => 'string', 'example' => 'null'], 'Members' => [ 'description' => '专有名词成员', 'type' => 'array', @@ -4953,17 +2604,9 @@ 'properties' => [ 'Synonyms' => [ 'type' => 'array', - 'items' => [ - 'description' => '成员同义词列表', - 'type' => 'string', - 'example' => '参考专有名词列表的JSON示例', - ], - ], - 'MemberName' => [ - 'description' => '成员名称', - 'type' => 'string', - 'example' => '参考专有名词列表的JSON示例', + 'items' => ['description' => '成员同义词列表', 'type' => 'string', 'example' => '参考专有名词列表的JSON示例'], ], + 'MemberName' => ['description' => '成员名称', 'type' => 'string', 'example' => '参考专有名词列表的JSON示例'], ], ], ], @@ -4979,14 +2622,8 @@ 'extraInfo' => ' ', ], 'QuerySystemEntities' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4998,23 +2635,12 @@ [ 'name' => 'EntityName', 'in' => 'query', - 'schema' => [ - 'description' => '搜索系统专有名词关键字'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '城市', - ], + 'schema' => ['description' => '搜索系统专有名词关键字'."\n", 'type' => 'string', 'required' => false, 'example' => '城市'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -5028,29 +2654,13 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'DefaultQuestion' => [ - 'description' => '默认反问', - 'type' => 'string', - 'example' => '请问您的城市是哪里呢?', - ], - 'EntityCode' => [ - 'description' => '实体编码', - 'type' => 'string', - 'example' => '@sys.geo-city', - ], - 'EntityName' => [ - 'description' => '专有名词名称', - 'type' => 'string', - 'example' => '系统.城市实体', - ], + 'DefaultQuestion' => ['description' => '默认反问', 'type' => 'string', 'example' => '请问您的城市是哪里呢?'], + 'EntityCode' => ['description' => '实体编码', 'type' => 'string', 'example' => '@sys.geo-city'], + 'EntityName' => ['description' => '专有名词名称', 'type' => 'string', 'example' => '系统.城市实体'], ], ], ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'F6E5D7FE-6165-4478-BC52-9E0D1DAD5C84', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'F6E5D7FE-6165-4478-BC52-9E0D1DAD5C84'], ], ], ], @@ -5063,14 +2673,8 @@ 'extraInfo' => ' ', ], 'QueryEntities' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5082,56 +2686,27 @@ [ 'name' => 'EntityName', 'in' => 'query', - 'schema' => [ - 'description' => '专有名词名称', - 'type' => 'string', - 'required' => false, - 'example' => '业务条件,牌子', - ], + 'schema' => ['description' => '专有名词名称', 'type' => 'string', 'required' => false, 'example' => '业务条件,牌子'], ], [ 'name' => 'DialogId', 'in' => 'query', - 'schema' => [ - 'description' => '对话单元Id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '50405', - ], + 'schema' => ['description' => '对话单元Id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50405'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '当前⻚,默认1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前⻚,默认1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '⻚⾯⼤⼩,默认10', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '⻚⾯⼤⼩,默认10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -5139,29 +2714,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '查询结果总条数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '206FCA00-9802-492E-86B3-5BCABDB6EF71', - ], - 'PageSize' => [ - 'description' => '⻚⾯⼤⼩,默认10', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '当前⻚,默认1', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'TotalCount' => ['description' => '查询结果总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '206FCA00-9802-492E-86B3-5BCABDB6EF71'], + 'PageSize' => ['description' => '⻚⾯⼤⼩,默认10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '当前⻚,默认1', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Entities' => [ 'description' => '专有名词列表', 'type' => 'array', @@ -5176,71 +2732,22 @@ 'properties' => [ 'Synonyms' => [ 'type' => 'array', - 'items' => [ - 'description' => '成员同义词列表', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - ], - 'MemberName' => [ - 'description' => '成员名称', - 'type' => 'string', - 'example' => '参考JSON示例', + 'items' => ['description' => '成员同义词列表', 'type' => 'string', 'example' => '参考JSON示例'], ], + 'MemberName' => ['description' => '成员名称', 'type' => 'string', 'example' => '参考JSON示例'], ], ], ], - 'ModifyUserId' => [ - 'description' => '修改者id', - 'type' => 'string', - 'example' => '83225', - ], - 'ModifyUserName' => [ - 'description' => '修改者名称', - 'type' => 'string', - 'example' => 'null', - ], - 'EntityId' => [ - 'description' => '专有名词id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '42212', - ], - 'CreateUserName' => [ - 'description' => '创建者名称', - 'type' => 'string', - 'example' => 'null', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-12-02T06:35:50Z', - ], - 'Regex' => [ - 'description' => '正则', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - 'EntityType' => [ - 'description' => '类型:regex:正则名词; synonyms:标准名词', - 'type' => 'string', - 'example' => 'regex', - ], - 'CreateUserId' => [ - 'description' => '创建者id', - 'type' => 'string', - 'example' => '83225', - ], - 'EntityName' => [ - 'description' => '专有名词名称', - 'type' => 'string', - 'example' => '价格', - ], - 'ModifyTime' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2020-12-02T06:35:50Z', - ], + 'ModifyUserId' => ['description' => '修改者id', 'type' => 'string', 'example' => '83225'], + 'ModifyUserName' => ['description' => '修改者名称', 'type' => 'string', 'example' => 'null'], + 'EntityId' => ['description' => '专有名词id', 'type' => 'integer', 'format' => 'int64', 'example' => '42212'], + 'CreateUserName' => ['description' => '创建者名称', 'type' => 'string', 'example' => 'null'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-12-02T06:35:50Z'], + 'Regex' => ['description' => '正则', 'type' => 'string', 'example' => '参考JSON示例'], + 'EntityType' => ['description' => '类型:regex:正则名词; synonyms:标准名词', 'type' => 'string', 'example' => 'regex'], + 'CreateUserId' => ['description' => '创建者id', 'type' => 'string', 'example' => '83225'], + 'EntityName' => ['description' => '专有名词名称', 'type' => 'string', 'example' => '价格'], + 'ModifyTime' => ['description' => '修改时间', 'type' => 'string', 'example' => '2020-12-02T06:35:50Z'], ], ], ], @@ -5256,14 +2763,8 @@ 'extraInfo' => ' ', ], 'AppendEntityMember' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5275,24 +2776,13 @@ [ 'name' => 'EntityId', 'in' => 'query', - 'schema' => [ - 'description' => '实体 ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '62899', - ], + 'schema' => ['description' => '实体 ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '62899'], ], [ 'name' => 'ApplyType', 'in' => 'query', - 'schema' => [ - 'description' => '追加类型:memberName-专有名词-成员、synonyms-专有名词相似问'."\n" - ."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'memberName', - ], + 'schema' => ['description' => '追加类型:memberName-专有名词-成员、synonyms-专有名词相似问'."\n" + ."\n", 'type' => 'string', 'required' => true, 'example' => 'memberName'], ], [ 'name' => 'Member', @@ -5303,23 +2793,13 @@ ."\n", 'type' => 'object', 'properties' => [ - 'MemberName' => [ - 'description' => '标准名词的成员以及同义词(相似问)名称'."\n" - ."\n", - 'type' => 'string', - 'required' => true, - 'example' => '北京', - ], + 'MemberName' => ['description' => '标准名词的成员以及同义词(相似问)名称'."\n" + ."\n", 'type' => 'string', 'required' => true, 'example' => '北京'], 'Synonyms' => [ 'description' => '成员同义词列表'."\n" ."\n", 'type' => 'array', - 'items' => [ - 'description' => '单个同义词', - 'type' => 'string', - 'required' => false, - 'example' => '首都', - ], + 'items' => ['description' => '单个同义词', 'type' => 'string', 'required' => false, 'example' => '首都'], 'required' => true, ], ], @@ -5329,13 +2809,7 @@ [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -5343,17 +2817,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EntityId' => [ - 'description' => '实体 ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '13853', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '07B270A4-61D8-57F6-A609-A3C216CFB872', - ], + 'EntityId' => ['description' => '实体 ID', 'type' => 'integer', 'format' => 'int64', 'example' => '13853'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '07B270A4-61D8-57F6-A609-A3C216CFB872'], ], ], ], @@ -5363,14 +2828,8 @@ 'summary' => '调用AppendEntityMember接口追加专有名词或相似问。', ], 'RemoveEntityMember' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5382,23 +2841,12 @@ [ 'name' => 'EntityId', 'in' => 'query', - 'schema' => [ - 'description' => '实体 ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '13853', - ], + 'schema' => ['description' => '实体 ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '13853'], ], [ 'name' => 'RemoveType', 'in' => 'query', - 'schema' => [ - 'description' => '移除内容:memberName-专有名词-成员、synonyms-专有名词相似问', - 'type' => 'string', - 'required' => true, - 'example' => 'memberName', - ], + 'schema' => ['description' => '移除内容:memberName-专有名词-成员、synonyms-专有名词相似问', 'type' => 'string', 'required' => true, 'example' => 'memberName'], ], [ 'name' => 'Member', @@ -5408,23 +2856,13 @@ 'description' => '标准名词的成员以及同义词(相似问)', 'type' => 'object', 'properties' => [ - 'MemberName' => [ - 'description' => '标准名词的成员以及同义词(相似问)名称'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => '北京', - ], + 'MemberName' => ['description' => '标准名词的成员以及同义词(相似问)名称'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => '北京'], 'Synonyms' => [ 'description' => '同义词列表', 'type' => 'array', - 'items' => [ - 'description' => '单个同义词'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => '首都', - ], + 'items' => ['description' => '单个同义词'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => '首都'], 'required' => false, ], ], @@ -5434,13 +2872,7 @@ [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -5448,17 +2880,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EntityId' => [ - 'description' => '移除成员或相似问的专有名词标识', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '13853', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'E42C928F-202A-4896-8F4A-DA718720BC98', - ], + 'EntityId' => ['description' => '移除成员或相似问的专有名词标识', 'type' => 'integer', 'format' => 'int64', 'example' => '13853'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'E42C928F-202A-4896-8F4A-DA718720BC98'], ], ], ], @@ -5475,14 +2898,8 @@ 'extraInfo' => ' ', ], 'CreateDialog' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5494,43 +2911,22 @@ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器人id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器人id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'DialogName', 'in' => 'query', - 'schema' => [ - 'description' => '对话流名称,长度限制64个字符', - 'type' => 'string', - 'required' => true, - 'example' => '测试002', - ], + 'schema' => ['description' => '对话流名称,长度限制64个字符', 'type' => 'string', 'required' => true, 'example' => '测试002'], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '对话流描述,长度限制120个字。', - 'type' => 'string', - 'required' => false, - 'example' => '002测试示例', - ], + 'schema' => ['description' => '对话流描述,长度限制120个字。', 'type' => 'string', 'required' => false, 'example' => '002测试示例'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -5538,17 +2934,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '16AC1B3C-66E0-438B-BB7C-71B692407B67', - ], - 'DialogId' => [ - 'description' => '对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50120', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '16AC1B3C-66E0-438B-BB7C-71B692407B67'], + 'DialogId' => ['description' => '对话流id', 'type' => 'integer', 'format' => 'int64', 'example' => '50120'], ], ], ], @@ -5561,14 +2948,8 @@ 'extraInfo' => ' ', ], 'DeleteDialog' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5580,24 +2961,12 @@ [ 'name' => 'DialogId', 'in' => 'query', - 'schema' => [ - 'description' => '被删除的对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '50127', - ], + 'schema' => ['description' => '被删除的对话流id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50127'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -5605,11 +2974,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'C6C17866-D5BF-4B90-8224-FC38F069F4C0', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'C6C17866-D5BF-4B90-8224-FC38F069F4C0'], ], ], ], @@ -5622,14 +2987,8 @@ 'extraInfo' => ' ', ], 'UpdateDialog' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5641,44 +3000,22 @@ [ 'name' => 'DialogId', 'in' => 'query', - 'schema' => [ - 'description' => '被修改对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '50120', - ], + 'schema' => ['description' => '被修改对话流id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50120'], ], [ 'name' => 'DialogName', 'in' => 'query', - 'schema' => [ - 'description' => '修改后的对话流名称', - 'type' => 'string', - 'required' => true, - 'example' => '测试003', - ], + 'schema' => ['description' => '修改后的对话流名称', 'type' => 'string', 'required' => true, 'example' => '测试003'], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '修改后的对话流描述', - 'type' => 'string', - 'required' => false, - 'example' => '003测试示例', - ], + 'schema' => ['description' => '修改后的对话流描述', 'type' => 'string', 'required' => false, 'example' => '003测试示例'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -5686,11 +3023,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'FF157949-D464-4563-99C0-AC1C889729B6', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'FF157949-D464-4563-99C0-AC1C889729B6'], ], ], ], @@ -5703,14 +3036,8 @@ 'extraInfo' => ' ', ], 'DescribeDialog' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5722,24 +3049,12 @@ [ 'name' => 'DialogId', 'in' => 'query', - 'schema' => [ - 'description' => '对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '50099', - ], + 'schema' => ['description' => '对话流id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50099'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -5747,73 +3062,19 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '状态:3:草稿;6:已发布;8:下线', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'ModifyTime' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2020-11-30T06:05:11Z', - ], - 'Description' => [ - 'description' => '对话流描述', - 'type' => 'string', - 'example' => '这是一个测试示例', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'F178F903-AFCF-4F1F-81A1-69A8D99B1D7E', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-11-30T03:00:54Z', - ], - 'CreateUserId' => [ - 'description' => '创建者Id', - 'type' => 'string', - 'example' => '83225', - ], - 'DialogId' => [ - 'description' => '对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50099', - ], - 'CreateUserName' => [ - 'description' => '创建者名称', - 'type' => 'string', - 'example' => 'null', - ], - 'IsOnline' => [ - 'description' => '是否上线:true:上线,false: 未上线', - 'type' => 'boolean', - 'example' => 'true', - ], - 'DialogName' => [ - 'description' => '对话流名称', - 'type' => 'string', - 'example' => '测试', - ], - 'ModifyUserId' => [ - 'description' => '修改者Id', - 'type' => 'string', - 'example' => '83225', - ], - 'ModifyUserName' => [ - 'description' => '修改者名称', - 'type' => 'string', - 'example' => 'null', - ], - 'IsSampleDialog' => [ - 'description' => '标识内置样例对话流:true: 是,false:否', - 'type' => 'boolean', - 'example' => 'false', - ], + 'Status' => ['description' => '状态:3:草稿;6:已发布;8:下线', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'ModifyTime' => ['description' => '修改时间', 'type' => 'string', 'example' => '2020-11-30T06:05:11Z'], + 'Description' => ['description' => '对话流描述', 'type' => 'string', 'example' => '这是一个测试示例'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'F178F903-AFCF-4F1F-81A1-69A8D99B1D7E'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-11-30T03:00:54Z'], + 'CreateUserId' => ['description' => '创建者Id', 'type' => 'string', 'example' => '83225'], + 'DialogId' => ['description' => '对话流id', 'type' => 'integer', 'format' => 'int64', 'example' => '50099'], + 'CreateUserName' => ['description' => '创建者名称', 'type' => 'string', 'example' => 'null'], + 'IsOnline' => ['description' => '是否上线:true:上线,false: 未上线', 'type' => 'boolean', 'example' => 'true'], + 'DialogName' => ['description' => '对话流名称', 'type' => 'string', 'example' => '测试'], + 'ModifyUserId' => ['description' => '修改者Id', 'type' => 'string', 'example' => '83225'], + 'ModifyUserName' => ['description' => '修改者名称', 'type' => 'string', 'example' => 'null'], + 'IsSampleDialog' => ['description' => '标识内置样例对话流:true: 是,false:否', 'type' => 'boolean', 'example' => 'false'], ], ], ], @@ -5826,14 +3087,8 @@ 'extraInfo' => ' ', ], 'QueryDialogs' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5846,55 +3101,27 @@ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈ ID', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈ ID', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'DialogName', 'in' => 'query', - 'schema' => [ - 'description' => '对话单元名称', - 'type' => 'string', - 'required' => false, - 'example' => '测试,测试001,查天气', - ], + 'schema' => ['description' => '对话单元名称', 'type' => 'string', 'required' => false, 'example' => '测试,测试001,查天气'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '分⻚-第⼏⻚', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分⻚-第⼏⻚', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分⻚-⻚⾯⼤⼩', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分⻚-⻚⾯⼤⼩', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -5902,98 +3129,28 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '分⻚-总条数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '7F132693-212A-40A9-8A81-11E7694E478B', - ], - 'PageSize' => [ - 'description' => '分⻚-⻚⾯⼤⼩', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '分⻚-第⼏⻚', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'TotalCount' => ['description' => '分⻚-总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '7F132693-212A-40A9-8A81-11E7694E478B'], + 'PageSize' => ['description' => '分⻚-⻚⾯⼤⼩', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '分⻚-第⼏⻚', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Dialogs' => [ 'description' => '对话流列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'title' => '对话流状态:0-未激活状态;1-沙盒状态;3-草稿状态;4-发布中状态;5-审核中;6-已发布;7-审核失败;8-已下线', - 'description' => '状态:3:草稿;6:已发布;8:下线', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'DialogName' => [ - 'description' => '对话流名称', - 'type' => 'string', - 'example' => '测试001', - ], - 'ModifyUserId' => [ - 'description' => '修改者Id', - 'type' => 'string', - 'example' => '83225', - ], - 'IsOnline' => [ - 'description' => '是否上线:true:上线,false: 未上线', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CreateUserName' => [ - 'description' => '创建者名称', - 'type' => 'string', - 'example' => 'null', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-11-30T03:00:54Z', - ], - 'CreateUserId' => [ - 'description' => '创建者Id', - 'type' => 'string', - 'example' => '83225', - ], - 'ModifyUserName' => [ - 'description' => '修改者名称', - 'type' => 'string', - 'example' => 'null', - ], - 'Description' => [ - 'description' => '对话流描述', - 'type' => 'string', - 'example' => '这是一个测试示例', - ], - 'DialogId' => [ - 'description' => '对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50099', - ], - 'IsSampleDialog' => [ - 'description' => '标识内置样例对话流:true: 是,false:否', - 'type' => 'boolean', - 'example' => 'false', - ], - 'ModifyTime' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2020-11-30T06:12:47Z', - ], + 'Status' => ['title' => '对话流状态:0-未激活状态;1-沙盒状态;3-草稿状态;4-发布中状态;5-审核中;6-已发布;7-审核失败;8-已下线', 'description' => '状态:3:草稿;6:已发布;8:下线', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'DialogName' => ['description' => '对话流名称', 'type' => 'string', 'example' => '测试001'], + 'ModifyUserId' => ['description' => '修改者Id', 'type' => 'string', 'example' => '83225'], + 'IsOnline' => ['description' => '是否上线:true:上线,false: 未上线', 'type' => 'boolean', 'example' => 'true'], + 'CreateUserName' => ['description' => '创建者名称', 'type' => 'string', 'example' => 'null'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-11-30T03:00:54Z'], + 'CreateUserId' => ['description' => '创建者Id', 'type' => 'string', 'example' => '83225'], + 'ModifyUserName' => ['description' => '修改者名称', 'type' => 'string', 'example' => 'null'], + 'Description' => ['description' => '对话流描述', 'type' => 'string', 'example' => '这是一个测试示例'], + 'DialogId' => ['description' => '对话流id', 'type' => 'integer', 'format' => 'int64', 'example' => '50099'], + 'IsSampleDialog' => ['description' => '标识内置样例对话流:true: 是,false:否', 'type' => 'boolean', 'example' => 'false'], + 'ModifyTime' => ['description' => '修改时间', 'type' => 'string', 'example' => '2020-11-30T06:12:47Z'], ], ], ], @@ -6010,14 +3167,8 @@ 'extraInfo' => ' ', ], 'DisableDialogFlow' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6029,24 +3180,12 @@ [ 'name' => 'DialogId', 'in' => 'query', - 'schema' => [ - 'description' => '对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '49966', - ], + 'schema' => ['description' => '对话流id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '49966'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -6054,11 +3193,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'F0809B63-5DDF-4BB8-AA86-92CE99543922', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'F0809B63-5DDF-4BB8-AA86-92CE99543922'], ], ], ], @@ -6071,14 +3206,8 @@ 'extraInfo' => ' ', ], 'UpdateDialogFlow' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6090,13 +3219,7 @@ [ 'name' => 'DialogId', 'in' => 'query', - 'schema' => [ - 'description' => '对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '93130', - ], + 'schema' => ['description' => '对话流id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '93130'], ], [ 'name' => 'ModuleDefinition', @@ -6106,17 +3229,8 @@ 'description' => '对话流描述信息(Json字符串)', 'type' => 'object', 'properties' => [ - 'GlobalVars' => [ - 'description' => '对话流级别变量', - 'type' => 'object', - 'required' => false, - 'example' => '{"name":"", "uid":""}', - ], - 'ModuleDefinition' => [ - 'description' => '画布详情定义(json)', - 'required' => false, - '$ref' => '#/components/schemas/PaasProcessData', - ], + 'GlobalVars' => ['description' => '对话流级别变量', 'type' => 'object', 'required' => false, 'example' => '{"name":"", "uid":""}'], + 'ModuleDefinition' => ['description' => '画布详情定义(json)', 'required' => false, '$ref' => '#/components/schemas/PaasProcessData'], ], 'required' => true, ], @@ -6124,13 +3238,7 @@ [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -6138,11 +3246,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'F561E093-43D8-563E-8B96-34CC654BA2CB', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'F561E093-43D8-563E-8B96-34CC654BA2CB'], ], ], ], @@ -6152,14 +3256,8 @@ 'summary' => '调用UpdateDialogFlow接口进行对话流-保存草稿的操作。', ], 'DescribeDialogFlow' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6171,24 +3269,12 @@ [ 'name' => 'DialogId', 'in' => 'query', - 'schema' => [ - 'description' => '对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '49966', - ], + 'schema' => ['description' => '对话流id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '49966'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -6196,99 +3282,24 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '0 for deleted, 1 for inSandbox, 2 for draft,3 for online', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ModifyTime' => [ - 'description' => '修改时间戳', - 'type' => 'string', - 'example' => '1641953931', - ], - 'AccountId' => [ - 'description' => '租户ID', - 'type' => 'string', - 'example' => '133208', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '6419BA93-D111-5225-8998-13E63E6D3940', - ], - 'InstanceId' => [ - 'description' => '机器⼈唯⼀标识', - 'type' => 'string', - 'example' => 'chatbot-cn-Yvy7uEn7mb', - ], - 'ModuleName' => [ - 'description' => '对话流名称', - 'type' => 'string', - 'example' => '示例_查天气', - ], - 'CreateTime' => [ - 'description' => '创建时间戳', - 'type' => 'string', - 'example' => '1641953931', - ], - 'CreateUserId' => [ - 'description' => '创建人账号ID', - 'type' => 'string', - 'example' => '1760998', - ], - 'Templates' => [ - 'description' => '对话流引用的模板', - 'type' => 'string', - 'example' => '模板信息', - ], - 'DialogId' => [ - 'description' => '对话流ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '49966', - ], - 'GlobalVars' => [ - 'description' => '对话流变量', - 'type' => 'object', - 'example' => '{"name": "", "age": ""}', - ], - 'CreateUserName' => [ - 'description' => '创建人账号名称', - 'type' => 'string', - 'example' => 'user001', - ], - 'ModuleId' => [ - 'description' => '对话流画布ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '49162', - ], - 'ModuleDefinition' => [ - 'description' => '画布详细定义JSON', - 'example' => 'json字符串', - '$ref' => '#/components/schemas/PaasProcessData', - ], - 'DialogName' => [ - 'description' => '对话流名称', - 'type' => 'string', - 'example' => '示例_查天气', - ], - 'ModifyUserId' => [ - 'description' => '修改人账号ID', - 'type' => 'string', - 'example' => '1760998', - ], - 'ModifyUserName' => [ - 'description' => '修改人账号名称', - 'type' => 'string', - 'example' => 'user001', - ], - 'Tags' => [ - 'description' => 'null', - 'type' => 'string', - 'example' => 'default', - ], + 'Status' => ['description' => '0 for deleted, 1 for inSandbox, 2 for draft,3 for online', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ModifyTime' => ['description' => '修改时间戳', 'type' => 'string', 'example' => '1641953931'], + 'AccountId' => ['description' => '租户ID', 'type' => 'string', 'example' => '133208'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6419BA93-D111-5225-8998-13E63E6D3940'], + 'InstanceId' => ['description' => '机器⼈唯⼀标识', 'type' => 'string', 'example' => 'chatbot-cn-Yvy7uEn7mb'], + 'ModuleName' => ['description' => '对话流名称', 'type' => 'string', 'example' => '示例_查天气'], + 'CreateTime' => ['description' => '创建时间戳', 'type' => 'string', 'example' => '1641953931'], + 'CreateUserId' => ['description' => '创建人账号ID', 'type' => 'string', 'example' => '1760998'], + 'Templates' => ['description' => '对话流引用的模板', 'type' => 'string', 'example' => '模板信息'], + 'DialogId' => ['description' => '对话流ID', 'type' => 'integer', 'format' => 'int64', 'example' => '49966'], + 'GlobalVars' => ['description' => '对话流变量', 'type' => 'object', 'example' => '{"name": "", "age": ""}'], + 'CreateUserName' => ['description' => '创建人账号名称', 'type' => 'string', 'example' => 'user001'], + 'ModuleId' => ['description' => '对话流画布ID', 'type' => 'integer', 'format' => 'int64', 'example' => '49162'], + 'ModuleDefinition' => ['description' => '画布详细定义JSON', 'example' => 'json字符串', '$ref' => '#/components/schemas/PaasProcessData'], + 'DialogName' => ['description' => '对话流名称', 'type' => 'string', 'example' => '示例_查天气'], + 'ModifyUserId' => ['description' => '修改人账号ID', 'type' => 'string', 'example' => '1760998'], + 'ModifyUserName' => ['description' => '修改人账号名称', 'type' => 'string', 'example' => 'user001'], + 'Tags' => ['description' => 'null', 'type' => 'string', 'example' => 'default'], ], ], ], @@ -6298,14 +3309,8 @@ 'summary' => '调用DescribeDialogFlow接口获得会话流详情。', ], 'PublishDialogFlow' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6317,24 +3322,12 @@ [ 'name' => 'DialogId', 'in' => 'query', - 'schema' => [ - 'description' => '对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '49966', - ], + 'schema' => ['description' => '对话流id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '49966'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -6342,11 +3335,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'B58AD5AF-21C8-4DB9-82E8-D445ED579EDC', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'B58AD5AF-21C8-4DB9-82E8-D445ED579EDC'], ], ], ], @@ -6359,14 +3348,8 @@ 'extraInfo' => ' ', ], 'TestDialogFlow' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6378,24 +3361,12 @@ [ 'name' => 'DialogId', 'in' => 'query', - 'schema' => [ - 'description' => '对话ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1111', - ], + 'schema' => ['description' => '对话ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1111'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -6403,11 +3374,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '1891FFA2-8F35-4F9A-BF16-D4A6E1F58EC0', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '1891FFA2-8F35-4F9A-BF16-D4A6E1F58EC0'], ], ], ], @@ -6420,14 +3387,8 @@ 'extraInfo' => ' ', ], 'CreateIntent' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6440,33 +3401,17 @@ 'name' => 'IntentDefinition', 'in' => 'query', 'style' => 'json', - 'schema' => [ - 'description' => '单个意图的详细定义数据,包括:意图名称、意图话术及划词、LGF、槽位列表', - 'required' => true, - '$ref' => '#/components/schemas/IntentCreateDTO', - ], + 'schema' => ['description' => '单个意图的详细定义数据,包括:意图名称、意图话术及划词、LGF、槽位列表', 'required' => true, '$ref' => '#/components/schemas/IntentCreateDTO'], ], [ 'name' => 'DialogId', 'in' => 'query', - 'schema' => [ - 'description' => '对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '50099', - ], + 'schema' => ['description' => '对话流id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50099'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -6474,17 +3419,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '8AD9FA10-7780-5E12-B701-13C928524F32', - ], - 'IntentId' => [ - 'description' => '意图 ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '58985', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '8AD9FA10-7780-5E12-B701-13C928524F32'], + 'IntentId' => ['description' => '意图 ID', 'type' => 'integer', 'format' => 'int64', 'example' => '58985'], ], ], ], @@ -6494,14 +3430,8 @@ 'summary' => '调用CreateIntent接口创建意图。', ], 'DeleteIntent' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6513,24 +3443,12 @@ [ 'name' => 'IntentId', 'in' => 'query', - 'schema' => [ - 'description' => '意图ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '126558', - ], + 'schema' => ['description' => '意图ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '126558'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -6538,17 +3456,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '6658EB01-A68C-4041-93ED-CD3F9C887A19', - ], - 'IntentId' => [ - 'description' => '意图ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '126558', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '6658EB01-A68C-4041-93ED-CD3F9C887A19'], + 'IntentId' => ['description' => '意图ID', 'type' => 'integer', 'format' => 'int64', 'example' => '126558'], ], ], ], @@ -6561,14 +3470,8 @@ 'extraInfo' => ' ', ], 'UpdateIntent' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6581,33 +3484,17 @@ 'name' => 'IntentDefinition', 'in' => 'query', 'style' => 'json', - 'schema' => [ - 'description' => '单个意图的详细定义数据,包括:意图名称、意图话术及划词、LGF、槽位列表', - 'required' => true, - '$ref' => '#/components/schemas/IntentCreateDTO', - ], + 'schema' => ['description' => '单个意图的详细定义数据,包括:意图名称、意图话术及划词、LGF、槽位列表', 'required' => true, '$ref' => '#/components/schemas/IntentCreateDTO'], ], [ 'name' => 'IntentId', 'in' => 'query', - 'schema' => [ - 'description' => '意图ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '59055', - ], + 'schema' => ['description' => '意图ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '59055'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -6615,17 +3502,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => 'D641EA5C-0638-53A2-A1E4-67A9B5C92100', - ], - 'IntentId' => [ - 'description' => '意图 ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '59055', - ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D641EA5C-0638-53A2-A1E4-67A9B5C92100'], + 'IntentId' => ['description' => '意图 ID', 'type' => 'integer', 'format' => 'int64', 'example' => '59055'], ], ], ], @@ -6635,14 +3513,8 @@ 'summary' => '调用UpdateIntent接口进行意图修改。', ], 'QueryIntents' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6654,67 +3526,32 @@ [ 'name' => 'IntentName', 'in' => 'query', - 'schema' => [ - 'description' => '意图名称', - 'type' => 'string', - 'required' => false, - 'example' => '汽车贴膜', - ], + 'schema' => ['description' => '意图名称', 'type' => 'string', 'required' => false, 'example' => '汽车贴膜'], ], [ 'name' => 'DialogId', 'in' => 'query', - 'schema' => [ - 'description' => '对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '50099', - ], + 'schema' => ['description' => '对话流id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '50099'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '分⻚-第⼏⻚,默认1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分⻚-第⼏⻚,默认1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分⻚-⻚⾯⼤⼩,默认 10', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分⻚-⻚⾯⼤⼩,默认 10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'title' => '机器人实例 ID', - 'description' => '机器人ID', - 'type' => 'string', - 'required' => false, - 'example' => 'chatbot-cn-v0h17ngxu00016', - ], + 'schema' => ['title' => '机器人实例 ID', 'description' => '机器人ID', 'type' => 'string', 'required' => false, 'example' => 'chatbot-cn-v0h17ngxu00016'], ], ], 'responses' => [ @@ -6723,29 +3560,10 @@ 'description' => '返回参数', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'A1C54450-F19B-4883-90E3-FDB686BF0381', - ], - 'PageSize' => [ - 'description' => '分⻚-⻚⾯⼤⼩', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '分⻚-第⼏⻚', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'A1C54450-F19B-4883-90E3-FDB686BF0381'], + 'PageSize' => ['description' => '分⻚-⻚⾯⼤⼩', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '分⻚-第⼏⻚', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Intents' => [ 'description' => '意图信息列表(JSON字符串)', 'type' => 'array', @@ -6753,26 +3571,10 @@ 'description' => '意图信息列表(json格式)', 'type' => 'object', 'properties' => [ - 'ModifyUserId' => [ - 'description' => '修改者id', - 'type' => 'string', - 'example' => '83325', - ], - 'ModifyUserName' => [ - 'description' => '修改者名称', - 'type' => 'string', - 'example' => 'null', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-11-30T03:03:37Z', - ], - 'CreateUserName' => [ - 'description' => '创建者名称', - 'type' => 'string', - 'example' => 'null', - ], + 'ModifyUserId' => ['description' => '修改者id', 'type' => 'string', 'example' => '83325'], + 'ModifyUserName' => ['description' => '修改者名称', 'type' => 'string', 'example' => 'null'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-11-30T03:03:37Z'], + 'CreateUserName' => ['description' => '创建者名称', 'type' => 'string', 'example' => 'null'], 'Slot' => [ 'description' => '意图槽位信息', 'type' => 'array', @@ -6780,32 +3582,11 @@ 'description' => '意图槽位信息', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '槽位划词结果', - 'type' => 'string', - 'example' => '@喜欢的颜色', - ], - 'LifeSpan' => [ - 'description' => '槽位⽣命周期', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'SlotId' => [ - 'description' => '槽位唯⼀标识', - 'type' => 'string', - 'example' => '9ec31b50-32b8-11eb-9478-19d2d885afdb', - ], - 'IsNecessary' => [ - 'description' => '是否必填槽:true:是;false:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'IsArray' => [ - 'description' => '是否数组:true:是;false:否', - 'type' => 'boolean', - 'example' => 'false', - ], + 'Value' => ['description' => '槽位划词结果', 'type' => 'string', 'example' => '@喜欢的颜色'], + 'LifeSpan' => ['description' => '槽位⽣命周期', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'SlotId' => ['description' => '槽位唯⼀标识', 'type' => 'string', 'example' => '9ec31b50-32b8-11eb-9478-19d2d885afdb'], + 'IsNecessary' => ['description' => '是否必填槽:true:是;false:否', 'type' => 'boolean', 'example' => 'true'], + 'IsArray' => ['description' => '是否数组:true:是;false:否', 'type' => 'boolean', 'example' => 'false'], 'Tags' => [ 'description' => '槽位划词标签', 'type' => 'array', @@ -6813,33 +3594,17 @@ 'description' => '槽位划词标签', 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '标签对应意图表述划词结果', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - 'UserSayId' => [ - 'description' => '标签对应意图表述唯⼀标识', - 'type' => 'string', - 'example' => '参考JSON示例', - ], + 'Value' => ['description' => '标签对应意图表述划词结果', 'type' => 'string', 'example' => '参考JSON示例'], + 'UserSayId' => ['description' => '标签对应意图表述唯⼀标识', 'type' => 'string', 'example' => '参考JSON示例'], ], ], ], 'Question' => [ 'description' => '槽位反问话术', 'type' => 'array', - 'items' => [ - 'description' => '槽位反问话术', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - ], - 'Name' => [ - 'description' => '槽位名称', - 'type' => 'string', - 'example' => '颜色', + 'items' => ['description' => '槽位反问话术', 'type' => 'string', 'example' => '参考JSON示例'], ], + 'Name' => ['description' => '槽位名称', 'type' => 'string', 'example' => '颜色'], ], ], ], @@ -6855,37 +3620,17 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'SlotId' => [ - 'description' => '槽位唯⼀标识', - 'type' => 'string', - 'example' => '9ec31b50-32b8-11eb-9478-19d2d885afdb', - ], - 'Text' => [ - 'description' => '表述', - 'type' => 'string', - 'example' => '我想给汽车贴膜', - ], + 'SlotId' => ['description' => '槽位唯⼀标识', 'type' => 'string', 'example' => '9ec31b50-32b8-11eb-9478-19d2d885afdb'], + 'Text' => ['description' => '表述', 'type' => 'string', 'example' => '我想给汽车贴膜'], ], ], ], - 'UserSayId' => [ - 'description' => '表述唯⼀标识', - 'type' => 'string', - 'example' => '853d7220-32b8-11eb-9478-19d2d885afdb', - ], - 'Strict' => [ - 'description' => '是否严格匹配:true:是;false:否', - 'type' => 'boolean', - 'example' => 'false', - ], + 'UserSayId' => ['description' => '表述唯⼀标识', 'type' => 'string', 'example' => '853d7220-32b8-11eb-9478-19d2d885afdb'], + 'Strict' => ['description' => '是否严格匹配:true:是;false:否', 'type' => 'boolean', 'example' => 'false'], ], ], ], - 'Name' => [ - 'description' => '意图名称', - 'type' => 'string', - 'example' => '汽车贴膜', - ], + 'Name' => ['description' => '意图名称', 'type' => 'string', 'example' => '汽车贴膜'], 'RuleCheck' => [ 'description' => 'LGF意图表述表达式', 'type' => 'array', @@ -6896,50 +3641,21 @@ 'Error' => [ 'description' => 'job失败信息', 'type' => 'array', - 'items' => [ - 'description' => '错误提示', - 'type' => 'string', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '错误提示', 'type' => 'string', 'example' => '参考JSON示例'], ], 'Warning' => [ 'description' => '异常提示', 'type' => 'array', - 'items' => [ - 'description' => '异常提示', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - ], - 'Text' => [ - 'description' => '表达式值', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - 'Strict' => [ - 'description' => '是否严格匹配:true:是;false:否', - 'type' => 'boolean', - 'example' => 'false', + 'items' => ['description' => '异常提示', 'type' => 'string', 'example' => '参考JSON示例'], ], + 'Text' => ['description' => '表达式值', 'type' => 'string', 'example' => '参考JSON示例'], + 'Strict' => ['description' => '是否严格匹配:true:是;false:否', 'type' => 'boolean', 'example' => 'false'], ], ], ], - 'CreateUserId' => [ - 'description' => '创建者id', - 'type' => 'string', - 'example' => '83225', - ], - 'IntentId' => [ - 'description' => '意图Id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '126558', - ], - 'ModifyTime' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2020-11-30T03:03:37Z', - ], + 'CreateUserId' => ['description' => '创建者id', 'type' => 'string', 'example' => '83225'], + 'IntentId' => ['description' => '意图Id', 'type' => 'integer', 'format' => 'int64', 'example' => '126558'], + 'ModifyTime' => ['description' => '修改时间', 'type' => 'string', 'example' => '2020-11-30T03:03:37Z'], ], ], ], @@ -6955,14 +3671,8 @@ 'extraInfo' => ' ', ], 'DescribeIntent' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6974,24 +3684,12 @@ [ 'name' => 'IntentId', 'in' => 'query', - 'schema' => [ - 'description' => '意图 ID', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '126558', - ], + 'schema' => ['description' => '意图 ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '126558'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -6999,58 +3697,16 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ModifyTime' => [ - 'description' => '修改时间', - 'type' => 'string', - 'example' => '2020-11-30T06:04:37Z', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '473F6889-1DE6-44A5-BA62-BD3CC7600DBF', - ], - 'CreateTime' => [ - 'description' => '创建时间', - 'type' => 'string', - 'example' => '2020-11-30T03:03:37Z', - ], - 'DialogId' => [ - 'description' => '对话流id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50099', - ], - 'CreateUserId' => [ - 'description' => '创建者id', - 'type' => 'string', - 'example' => '83225', - ], - 'CreateUserName' => [ - 'description' => '创建者名称', - 'type' => 'string', - 'example' => 'null', - ], - 'Name' => [ - 'description' => '意图名称', - 'type' => 'string', - 'example' => '汽车贴膜', - ], - 'IntentId' => [ - 'description' => '意图Id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '126558', - ], - 'Type' => [ - 'description' => '类型', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - 'ModifyUserId' => [ - 'description' => '修改者id', - 'type' => 'string', - 'example' => '83225', - ], + 'ModifyTime' => ['description' => '修改时间', 'type' => 'string', 'example' => '2020-11-30T06:04:37Z'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '473F6889-1DE6-44A5-BA62-BD3CC7600DBF'], + 'CreateTime' => ['description' => '创建时间', 'type' => 'string', 'example' => '2020-11-30T03:03:37Z'], + 'DialogId' => ['description' => '对话流id', 'type' => 'integer', 'format' => 'int64', 'example' => '50099'], + 'CreateUserId' => ['description' => '创建者id', 'type' => 'string', 'example' => '83225'], + 'CreateUserName' => ['description' => '创建者名称', 'type' => 'string', 'example' => 'null'], + 'Name' => ['description' => '意图名称', 'type' => 'string', 'example' => '汽车贴膜'], + 'IntentId' => ['description' => '意图Id', 'type' => 'integer', 'format' => 'int64', 'example' => '126558'], + 'Type' => ['description' => '类型', 'type' => 'string', 'example' => '参考JSON示例'], + 'ModifyUserId' => ['description' => '修改者id', 'type' => 'string', 'example' => '83225'], 'UserSay' => [ 'description' => '意图表述', 'type' => 'array', @@ -7063,101 +3719,44 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'SlotId' => [ - 'description' => '槽位唯⼀标识', - 'type' => 'string', - 'example' => '9ec31b50-32b8-11eb-9478-19d2d885afdb', - ], - 'Text' => [ - 'description' => '表达式值', - 'type' => 'string', - 'example' => '我想给汽车贴膜', - ], + 'SlotId' => ['description' => '槽位唯⼀标识', 'type' => 'string', 'example' => '9ec31b50-32b8-11eb-9478-19d2d885afdb'], + 'Text' => ['description' => '表达式值', 'type' => 'string', 'example' => '我想给汽车贴膜'], ], ], ], - 'UserSayId' => [ - 'description' => '标签对应意图表述唯⼀标识', - 'type' => 'string', - 'example' => '853d7220-32b8-11eb-9478-19d2d885afdb', - ], - 'Strict' => [ - 'description' => '是否严格匹配:true:是;false:否', - 'type' => 'boolean', - 'example' => 'false', - ], + 'UserSayId' => ['description' => '标签对应意图表述唯⼀标识', 'type' => 'string', 'example' => '853d7220-32b8-11eb-9478-19d2d885afdb'], + 'Strict' => ['description' => '是否严格匹配:true:是;false:否', 'type' => 'boolean', 'example' => 'false'], ], ], ], - 'ModifyUserName' => [ - 'description' => '修改者名称', - 'type' => 'string', - 'example' => 'null', - ], + 'ModifyUserName' => ['description' => '修改者名称', 'type' => 'string', 'example' => 'null'], 'Slot' => [ 'description' => '意图槽位信息', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '槽位划词结果', - 'type' => 'string', - 'example' => '@喜欢的颜色', - ], - 'LifeSpan' => [ - 'description' => '槽位⽣命周期', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'SlotId' => [ - 'description' => '槽位唯⼀标识', - 'type' => 'string', - 'example' => '9ec31b50-32b8-11eb-9478-19d2d885afdb', - ], - 'IsNecessary' => [ - 'description' => '是否必填槽', - 'type' => 'boolean', - 'example' => 'true', - ], - 'IsArray' => [ - 'description' => '是否数组', - 'type' => 'boolean', - 'example' => 'false', - ], + 'Value' => ['description' => '槽位划词结果', 'type' => 'string', 'example' => '@喜欢的颜色'], + 'LifeSpan' => ['description' => '槽位⽣命周期', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'SlotId' => ['description' => '槽位唯⼀标识', 'type' => 'string', 'example' => '9ec31b50-32b8-11eb-9478-19d2d885afdb'], + 'IsNecessary' => ['description' => '是否必填槽', 'type' => 'boolean', 'example' => 'true'], + 'IsArray' => ['description' => '是否数组', 'type' => 'boolean', 'example' => 'false'], 'Tags' => [ 'description' => '槽位划词标签', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Value' => [ - 'description' => '标签对应意图表述划词结果', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - 'UserSayId' => [ - 'description' => '标签对应意图表述唯⼀标识', - 'type' => 'string', - 'example' => '参考JSON示例', - ], + 'Value' => ['description' => '标签对应意图表述划词结果', 'type' => 'string', 'example' => '参考JSON示例'], + 'UserSayId' => ['description' => '标签对应意图表述唯⼀标识', 'type' => 'string', 'example' => '参考JSON示例'], ], ], ], 'Question' => [ 'type' => 'array', - 'items' => [ - 'description' => '槽位反问话术', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - ], - 'Name' => [ - 'description' => '槽位名称', - 'type' => 'string', - 'example' => '颜色', + 'items' => ['description' => '槽位反问话术', 'type' => 'string', 'example' => '参考JSON示例'], ], + 'Name' => ['description' => '槽位名称', 'type' => 'string', 'example' => '颜色'], ], ], ], @@ -7169,30 +3768,14 @@ 'properties' => [ 'Error' => [ 'type' => 'array', - 'items' => [ - 'description' => '错误提示,为空//TODO', - 'type' => 'string', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '错误提示,为空//TODO', 'type' => 'string', 'example' => '参考JSON示例'], ], 'Warning' => [ 'type' => 'array', - 'items' => [ - 'description' => '异常提示,为空//TODO', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - ], - 'Text' => [ - 'description' => '表达式值', - 'type' => 'string', - 'example' => '参考JSON示例', - ], - 'Strict' => [ - 'description' => '是否严格匹配:true:是;false:否', - 'type' => 'boolean', - 'example' => 'false', + 'items' => ['description' => '异常提示,为空//TODO', 'type' => 'string', 'example' => '参考JSON示例'], ], + 'Text' => ['description' => '表达式值', 'type' => 'string', 'example' => '参考JSON示例'], + 'Strict' => ['description' => '是否严格匹配:true:是;false:否', 'type' => 'boolean', 'example' => 'false'], ], ], ], @@ -7208,14 +3791,8 @@ 'extraInfo' => ' ', ], 'CreateBot' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7223,49 +3800,27 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'LanguageCode', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈服务的语⾔,如 zh-cn、en-us', - 'type' => 'string', - 'required' => true, - 'example' => 'zh-cn', - ], + 'schema' => ['description' => '机器⼈服务的语⾔,如 zh-cn、en-us', 'type' => 'string', 'required' => true, 'example' => 'zh-cn'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈名称,不超过50个字符', - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => '机器⼈名称,不超过50个字符', 'type' => 'string', 'required' => true, 'example' => 'test'], ], [ 'name' => 'Avatar', 'in' => 'query', - 'schema' => [ - 'description' => '机器人头像URL,公网可用,比如OSS资源URL,长度不超过1024个字符', - 'type' => 'string', - 'required' => false, - 'example' => 'http://test.oss-cn-beijing.aliyuncs.com/test.jpg', - ], + 'schema' => ['description' => '机器人头像URL,公网可用,比如OSS资源URL,长度不超过1024个字符', 'type' => 'string', 'required' => false, 'example' => 'http://test.oss-cn-beijing.aliyuncs.com/test.jpg'], ], [ 'name' => 'Introduction', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈备注,不超过50个字符', - 'type' => 'string', - 'required' => false, - 'example' => '测试', - ], + 'schema' => ['description' => '机器⼈备注,不超过50个字符', 'type' => 'string', 'required' => false, 'example' => '测试'], ], [ 'name' => 'RobotType', @@ -7274,24 +3829,14 @@ 'description' => '机器⼈类型,默认为:scenario_im', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'scenario_callout' => '外呼机器人', - 'scenario_im' => '在线文本机器人', - 'scenario_ivr' => '外呼机器人', - ], + 'enumValueTitles' => ['scenario_callout' => '外呼机器人', 'scenario_im' => '在线文本机器人', 'scenario_ivr' => '外呼机器人'], 'example' => 'scenario_im', ], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -7299,16 +3844,8 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'CDFB7CDF-CCBF-4388-AC7D-9484DB457FFF', - ], - 'InstanceId' => [ - 'description' => '机器⼈唯⼀标识', - 'type' => 'string', - 'example' => 'chatbot-cn-7QuUfaqM', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'CDFB7CDF-CCBF-4388-AC7D-9484DB457FFF'], + 'InstanceId' => ['description' => '机器⼈唯⼀标识', 'type' => 'string', 'example' => 'chatbot-cn-7QuUfaqM'], ], ], ], @@ -7321,14 +3858,8 @@ 'extraInfo' => ' ', ], 'DeleteBot' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7336,30 +3867,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'delete'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器人ID', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-xxxxxxx', - ], + 'schema' => ['description' => '机器人ID', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-xxxxxxx'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -7367,11 +3885,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'F2E2C40D-AB09-45A1-B5C5-EB9F5C4E4E4A', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'F2E2C40D-AB09-45A1-B5C5-EB9F5C4E4E4A'], ], ], ], @@ -7381,14 +3895,8 @@ 'summary' => '调用DeleteBot接口删除机器人。', ], 'DescribeBot' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7396,30 +3904,17 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈ID', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqM', - ], + 'schema' => ['description' => '机器⼈ID', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqM'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -7427,77 +3922,27 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'LanguageCode' => [ - 'description' => '机器⼈服务的语⾔,如zh-cn、 en-us', - 'type' => 'string', - 'example' => 'zh-cn', - ], - 'TimeZone' => [ - 'description' => '机器⼈的时区,参考《公共-时区码》', - 'type' => 'string', - 'example' => 'Asia/Beijing', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'BF736BAB-5AC0-4092-82A9-85475D39D1', - ], - 'Introduction' => [ - 'description' => '机器⼈备注', - 'type' => 'string', - 'example' => '测试用的', - ], - 'InstanceId' => [ - 'description' => '公有云问答API,机器⼈唯⼀标识', - 'type' => 'string', - 'example' => 'chatbot-cn-7QuUfaqM', - ], + 'LanguageCode' => ['description' => '机器⼈服务的语⾔,如zh-cn、 en-us', 'type' => 'string', 'example' => 'zh-cn'], + 'TimeZone' => ['description' => '机器⼈的时区,参考《公共-时区码》', 'type' => 'string', 'example' => 'Asia/Beijing'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'BF736BAB-5AC0-4092-82A9-85475D39D1'], + 'Introduction' => ['description' => '机器⼈备注', 'type' => 'string', 'example' => '测试用的'], + 'InstanceId' => ['description' => '公有云问答API,机器⼈唯⼀标识', 'type' => 'string', 'example' => 'chatbot-cn-7QuUfaqM'], 'Categories' => [ 'description' => '类⽬列表', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'CategoryId' => [ - 'description' => '类⽬id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2100073048', - ], - 'Name' => [ - 'description' => '类⽬名称', - 'type' => 'string', - 'example' => 'test', - ], - 'ParentCategoryId' => [ - 'description' => '父类目id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '-1', - ], + 'CategoryId' => ['description' => '类⽬id', 'type' => 'integer', 'format' => 'int64', 'example' => '2100073048'], + 'Name' => ['description' => '类⽬名称', 'type' => 'string', 'example' => 'test'], + 'ParentCategoryId' => ['description' => '父类目id', 'type' => 'integer', 'format' => 'int64', 'example' => '-1'], ], ], ], - 'CreateTime' => [ - 'description' => '机器⼈创建的 UTC 时间', - 'type' => 'string', - 'example' => '2020-11-29T06:50:46Z', - ], - 'Avatar' => [ - 'description' => '机器⼈头像的URL', - 'type' => 'string', - 'example' => 'http://test.oss-cn-beijing.aliyuncs.com/test.jpg', - ], - 'Logo' => [ - 'description' => '返回值已下线,保持接口兼容因此字段保留', - 'type' => 'string', - 'example' => '返回值已下线,保持接口兼容因此字段保留', - ], - 'Name' => [ - 'description' => '机器⼈名称', - 'type' => 'string', - 'example' => 'test', - ], + 'CreateTime' => ['description' => '机器⼈创建的 UTC 时间', 'type' => 'string', 'example' => '2020-11-29T06:50:46Z'], + 'Avatar' => ['description' => '机器⼈头像的URL', 'type' => 'string', 'example' => 'http://test.oss-cn-beijing.aliyuncs.com/test.jpg'], + 'Logo' => ['description' => '返回值已下线,保持接口兼容因此字段保留', 'type' => 'string', 'example' => '返回值已下线,保持接口兼容因此字段保留'], + 'Name' => ['description' => '机器⼈名称', 'type' => 'string', 'example' => 'test'], ], ], ], @@ -7510,14 +3955,8 @@ 'extraInfo' => ' ', ], 'QueryBots' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7525,42 +3964,22 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '分⻚-第⼏⻚,默认1', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分⻚-第⼏⻚,默认1', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分⻚-⻚⾯⼤⼩,默认 10', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '分⻚-⻚⾯⼤⼩,默认 10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -7568,73 +3987,26 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'Bots' => [ 'description' => '机器⼈列表信息', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Introduction' => [ - 'description' => '机器⼈备注', - 'type' => 'string', - 'example' => '测试用的', - ], - 'Avatar' => [ - 'description' => '机器⼈头像的URL', - 'type' => 'string', - 'example' => 'C:\\\\Users\\\\ypfyu\\\\Pictures', - ], - 'TimeZone' => [ - 'description' => '机器⼈的时区,参考《公共-时区码》', - 'type' => 'string', - 'example' => 'Asia/Beijing', - ], - 'CreateTime' => [ - 'description' => '机器⼈创建的 UTC 时间', - 'type' => 'string', - 'example' => '2020-11-29T06:50:46Z', - ], - 'LanguageCode' => [ - 'description' => '机器⼈服务的语⾔,如zh-cn、 en-us', - 'type' => 'string', - 'example' => 'zh-cn', - ], - 'InstanceId' => [ - 'description' => '公有云问答API,机器⼈唯⼀标识', - 'type' => 'string', - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], - 'Name' => [ - 'description' => '机器⼈名称', - 'type' => 'string', - 'example' => 'test', - ], + 'Introduction' => ['description' => '机器⼈备注', 'type' => 'string', 'example' => '测试用的'], + 'Avatar' => ['description' => '机器⼈头像的URL', 'type' => 'string', 'example' => 'C:\\\\Users\\\\ypfyu\\\\Pictures'], + 'TimeZone' => ['description' => '机器⼈的时区,参考《公共-时区码》', 'type' => 'string', 'example' => 'Asia/Beijing'], + 'CreateTime' => ['description' => '机器⼈创建的 UTC 时间', 'type' => 'string', 'example' => '2020-11-29T06:50:46Z'], + 'LanguageCode' => ['description' => '机器⼈服务的语⾔,如zh-cn、 en-us', 'type' => 'string', 'example' => 'zh-cn'], + 'InstanceId' => ['description' => '公有云问答API,机器⼈唯⼀标识', 'type' => 'string', 'example' => 'chatbot-cn-7QuUfaqMQe'], + 'Name' => ['description' => '机器⼈名称', 'type' => 'string', 'example' => 'test'], ], ], ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '6FAC33F5-F76A-476C-9FEF-5838F869BD4B', - ], - 'PageSize' => [ - 'description' => '分⻚-⻚⾯⼤⼩', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '分⻚-第⼏⻚', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '6FAC33F5-F76A-476C-9FEF-5838F869BD4B'], + 'PageSize' => ['description' => '分⻚-⻚⾯⼤⼩', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '分⻚-第⼏⻚', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -7647,46 +4019,27 @@ 'extraInfo' => ' ', ], 'ListConversationLogs' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'SessionId', 'in' => 'query', - 'schema' => [ - 'description' => '会话ID,⽤于标识⼀个访问者 的会话和保持上下⽂信息。对'."\n" - .'于⼀个新的访问者,⾸次调⽤ Chat接⼝时⽆需传递此字段, 机器⼈会开启⼀个会话,并在 Chat接⼝的响应中返回该会话 的SessionId。对于该访问者的 后续轮次的会话,调⽤Chat接'."\n" - .'⼝时传递当前会话的 SessionId,机器⼈即可基于 SessionId继续该轮次会话。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'c1187530338311ebade7cf3eaeb3668a', - ], + 'schema' => ['description' => '会话ID,⽤于标识⼀个访问者 的会话和保持上下⽂信息。对'."\n" + .'于⼀个新的访问者,⾸次调⽤ Chat接⼝时⽆需传递此字段, 机器⼈会开启⼀个会话,并在 Chat接⼝的响应中返回该会话 的SessionId。对于该访问者的 后续轮次的会话,调⽤Chat接'."\n" + .'⼝时传递当前会话的 SessionId,机器⼈即可基于 SessionId继续该轮次会话。'."\n", 'type' => 'string', 'required' => false, 'example' => 'c1187530338311ebade7cf3eaeb3668a'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -7694,26 +4047,13 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'B6082275-D0E3-4030-9478-FFC35BA90312', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'B6082275-D0E3-4030-9478-FFC35BA90312'], 'ChatLogs' => [ 'description' => '详细对话列表', 'type' => 'array', - 'items' => [ - 'description' => '详细对话列表', - 'type' => 'object', - 'example' => '参考JSON示例', - ], - ], - 'Rounds' => [ - 'description' => '对话交互轮数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'items' => ['description' => '详细对话列表', 'type' => 'object', 'example' => '参考JSON示例'], ], + 'Rounds' => ['description' => '对话交互轮数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], ], @@ -7748,76 +4088,40 @@ 'extraInfo' => ' ', ], 'ListBotChatHistorys' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间,时间格式为yyyyMMdd或yyyy-MM-dd HH:mm:ss', - 'type' => 'string', - 'required' => true, - 'example' => '20201108,2023-10-01 12:30:00', - ], + 'schema' => ['description' => '查询开始时间,时间格式为yyyyMMdd或yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => true, 'example' => '20201108,2023-10-01 12:30:00'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间,时间格式为yyyyMMdd或yyyy-MM-dd HH:mm:ss,格式需要和StartTime保持一致', - 'type' => 'string', - 'required' => true, - 'example' => '20201207,2023-10-01 12:35:00', - ], + 'schema' => ['description' => '查询结束时间,时间格式为yyyyMMdd或yyyy-MM-dd HH:mm:ss,格式需要和StartTime保持一致', 'type' => 'string', 'required' => true, 'example' => '20201207,2023-10-01 12:35:00'], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈实例id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '数据条数,默认30条', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'default' => '30', - ], + 'schema' => ['description' => '数据条数,默认30条', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'default' => '30'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -7825,23 +4129,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CostTime' => [ - 'description' => '请求消耗时间', - 'type' => 'string', - 'example' => '146', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '897F3CD0-99CA-4879-BA1D-989C817FDF9E', - ], + 'CostTime' => ['description' => '请求消耗时间', 'type' => 'string', 'example' => '146'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '897F3CD0-99CA-4879-BA1D-989C817FDF9E'], 'Datas' => [ 'type' => 'array', - 'items' => [ - 'description' => '数据详情', - 'type' => 'object', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '数据详情', 'type' => 'object', 'example' => '参考JSON示例'], ], ], ], @@ -7866,14 +4158,8 @@ 'extraInfo' => ' ', ], 'GetConversationList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7881,93 +4167,50 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例ID。登录云⼩蜜控 制台,左侧⾯板选择开发者-> 基本配置,查看机器⼈示例信 息,可获得该实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈实例ID。登录云⼩蜜控 制台,左侧⾯板选择开发者-> 基本配置,查看机器⼈示例信 息,可获得该实例ID。', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'SessionId', 'in' => 'query', - 'schema' => [ - 'description' => '会话ID,⽤于标识⼀个访问者 的会话和保持上下⽂信息。对'."\n" - .'于⼀个新的访问者,⾸次调⽤ Chat接⼝时⽆需传递此字段, 机器⼈会开启⼀个会话,并在 Chat接⼝的响应中返回该会话 的SessionId。对于该访问者的 后续轮次的会话,调⽤Chat接'."\n" - .'⼝时传递当前会话的 SessionId,机器⼈即可基于 SessionId继续该轮次会话', - 'type' => 'string', - 'required' => false, - 'example' => 'c1187530338311ebade7cf3eaeb3668a', - ], + 'schema' => ['description' => '会话ID,⽤于标识⼀个访问者 的会话和保持上下⽂信息。对'."\n" + .'于⼀个新的访问者,⾸次调⽤ Chat接⼝时⽆需传递此字段, 机器⼈会开启⼀个会话,并在 Chat接⼝的响应中返回该会话 的SessionId。对于该访问者的 后续轮次的会话,调⽤Chat接'."\n" + .'⼝时传递当前会话的 SessionId,机器⼈即可基于 SessionId继续该轮次会话', 'type' => 'string', 'required' => false, 'example' => 'c1187530338311ebade7cf3eaeb3668a'], ], [ 'name' => 'SenderId', 'in' => 'query', - 'schema' => [ - 'description' => '访问者ID。⽤于识别当前会话'."\n" - .'中的⽤户。', - 'type' => 'string', - 'required' => false, - 'example' => '83325', - ], + 'schema' => ['description' => '访问者ID。⽤于识别当前会话'."\n" + .'中的⽤户。', 'type' => 'string', 'required' => false, 'example' => '83325'], ], [ 'name' => 'StartDate', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2020-12-01 11:17:38', - ], + 'schema' => ['description' => '开始时间。', 'type' => 'string', 'required' => false, 'example' => '2020-12-01 11:17:38'], ], [ 'name' => 'EndDate', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '2020-12-01 11:17:38', - ], + 'schema' => ['description' => '结束时间。', 'type' => 'string', 'required' => false, 'example' => '2020-12-01 11:17:38'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '当前⻚码(默认1)。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前⻚码(默认1)。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每⻚条数(默认10),最⼤50。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '每⻚条数(默认10),最⼤50。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -7980,35 +4223,14 @@ 'items' => [ 'description' => '会话消息的列表', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], 'example' => '参考JSON示例', ], ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'C83D94BB-D371-4DE9-AEE2-14FE7B9CEBA9', - ], - 'PageSize' => [ - 'description' => '当前⻚⾯条数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '当前⻚码', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalCounts' => [ - 'description' => '搜索范围内总条⽬', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'C83D94BB-D371-4DE9-AEE2-14FE7B9CEBA9'], + 'PageSize' => ['description' => '当前⻚⾯条数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'PageNumber' => ['description' => '当前⻚码', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TotalCounts' => ['description' => '搜索范围内总条⽬', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], ], ], @@ -8028,14 +4250,8 @@ 'extraInfo' => ' ', ], 'GetBotDsStatData' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8043,50 +4259,27 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201108', - ], + 'schema' => ['description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201108'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201207', - ], + 'schema' => ['description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201207'], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈实例id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ - 'name' => 'AgentKey', - 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -8094,23 +4287,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CostTime' => [ - 'description' => '请求消耗时间', - 'type' => 'string', - 'example' => '70', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'C7EDACCF-0268-4C4F-B529-317F98CA9EF9', - ], + 'CostTime' => ['description' => '请求消耗时间', 'type' => 'string', 'example' => '70'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'C7EDACCF-0268-4C4F-B529-317F98CA9EF9'], 'Datas' => [ 'type' => 'array', - 'items' => [ - 'description' => '数据详情', - 'type' => 'object', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '数据详情', 'type' => 'object', 'example' => '参考JSON示例'], ], ], ], @@ -8129,76 +4310,40 @@ 'extraInfo' => ' ', ], 'ListBotColdDsDatas' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201108', - ], + 'schema' => ['description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201108'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201207', - ], + 'schema' => ['description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201207'], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈实例id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '数据条数,默认30条', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'default' => '30', - ], + 'schema' => ['description' => '数据条数,默认30条', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'default' => '30'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -8206,23 +4351,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CostTime' => [ - 'description' => '请求消耗时间', - 'type' => 'string', - 'example' => '94', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'A270DBA1-694D-447D-9EF9-160EADDB115E', - ], + 'CostTime' => ['description' => '请求消耗时间', 'type' => 'string', 'example' => '94'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'A270DBA1-694D-447D-9EF9-160EADDB115E'], 'Datas' => [ 'type' => 'array', - 'items' => [ - 'description' => '数据详情', - 'type' => 'object', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '数据详情', 'type' => 'object', 'example' => '参考JSON示例'], ], ], ], @@ -8239,76 +4372,40 @@ 'extraInfo' => ' ', ], 'ListBotDsDetails' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201108', - ], + 'schema' => ['description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201108'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201207', - ], + 'schema' => ['description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201207'], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈实例id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '数据条数,默认30条', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'default' => '30', - ], + 'schema' => ['description' => '数据条数,默认30条', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'default' => '30'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -8316,23 +4413,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CostTime' => [ - 'description' => '请求消耗时间', - 'type' => 'string', - 'example' => '72', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '078144CD-7C10-4019-9831-09BC388AAF8C', - ], + 'CostTime' => ['description' => '请求消耗时间', 'type' => 'string', 'example' => '72'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '078144CD-7C10-4019-9831-09BC388AAF8C'], 'Datas' => [ 'type' => 'array', - 'items' => [ - 'description' => '数据详情', - 'type' => 'object', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '数据详情', 'type' => 'object', 'example' => '参考JSON示例'], ], ], ], @@ -8356,76 +4441,40 @@ 'extraInfo' => ' ', ], 'ListBotHotDsDatas' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201108', - ], + 'schema' => ['description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201108'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201207', - ], + 'schema' => ['description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201207'], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈实例id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '总条数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - 'default' => '30', - ], + 'schema' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'default' => '30'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -8433,23 +4482,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CostTime' => [ - 'description' => '请求消耗时间', - 'type' => 'string', - 'example' => '171', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '736994BD-AA35-4742-88C9-E64BE4BAA14B', - ], + 'CostTime' => ['description' => '请求消耗时间', 'type' => 'string', 'example' => '171'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '736994BD-AA35-4742-88C9-E64BE4BAA14B'], 'Datas' => [ 'type' => 'array', - 'items' => [ - 'description' => '数据详情', - 'type' => 'object', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '数据详情', 'type' => 'object', 'example' => '参考JSON示例'], ], ], ], @@ -8467,14 +4504,8 @@ 'extraInfo' => ' ', ], 'GetBotChatData' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8482,50 +4513,27 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201108', - ], + 'schema' => ['description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201108'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201207', - ], + 'schema' => ['description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201207'], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈实例id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -8533,23 +4541,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CostTime' => [ - 'description' => '请求消耗时间', - 'type' => 'string', - 'example' => '66', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'AD38E52B-B64E-435D-8627-ABB374046CCC', - ], + 'CostTime' => ['description' => '请求消耗时间', 'type' => 'string', 'example' => '66'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'AD38E52B-B64E-435D-8627-ABB374046CCC'], 'Datas' => [ 'type' => 'array', - 'items' => [ - 'description' => '数据详情', - 'type' => 'object', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '数据详情', 'type' => 'object', 'example' => '参考JSON示例'], ], ], ], @@ -8570,14 +4566,8 @@ 'extraInfo' => ' ', ], 'GetBotSessionData' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8585,50 +4575,27 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201108', - ], + 'schema' => ['description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201108'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201207', - ], + 'schema' => ['description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201207'], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈实例id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -8636,23 +4603,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CostTime' => [ - 'description' => '请求消耗时间(毫秒)', - 'type' => 'string', - 'example' => '116', - ], - 'RequestId' => [ - 'description' => '请求 id', - 'type' => 'string', - 'example' => '15CD94CC-CBEB-4189-806C-A132D1F45D51', - ], + 'CostTime' => ['description' => '请求消耗时间(毫秒)', 'type' => 'string', 'example' => '116'], + 'RequestId' => ['description' => '请求 id', 'type' => 'string', 'example' => '15CD94CC-CBEB-4189-806C-A132D1F45D51'], 'Datas' => [ 'type' => 'array', - 'items' => [ - 'description' => '数据详情', - 'type' => 'object', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '数据详情', 'type' => 'object', 'example' => '参考JSON示例'], ], ], ], @@ -8679,76 +4634,40 @@ 'extraInfo' => ' ', ], 'ListBotColdKnowledges' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201108', - ], + 'schema' => ['description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201108'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201207', - ], + 'schema' => ['description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201207'], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈实例id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '数据条数,默认30条', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - 'default' => '30', - ], + 'schema' => ['description' => '数据条数,默认30条', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'default' => '30'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -8756,24 +4675,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CostTime' => [ - 'description' => '请求消耗时间', - 'type' => 'string', - 'example' => '83', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '1B5B71F0-FE39-466A-BC5E-187A7B6F4632', - ], + 'CostTime' => ['description' => '请求消耗时间', 'type' => 'string', 'example' => '83'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '1B5B71F0-FE39-466A-BC5E-187A7B6F4632'], 'Datas' => [ 'description' => '数据详情列表', 'type' => 'array', - 'items' => [ - 'description' => '数据详情', - 'type' => 'object', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '数据详情', 'type' => 'object', 'example' => '参考JSON示例'], ], ], ], @@ -8790,14 +4697,8 @@ 'extraInfo' => ' ', ], 'ListBotHotKnowledges' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8805,62 +4706,32 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201108', - ], + 'schema' => ['description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201108'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201207', - ], + 'schema' => ['description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201207'], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqM', - ], + 'schema' => ['description' => '机器⼈实例id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqM'], ], [ 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '总条数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '500', - 'default' => '30', - ], + 'schema' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '500', 'default' => '30'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -8868,23 +4739,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CostTime' => [ - 'description' => '请求消耗时间', - 'type' => 'string', - 'example' => '13', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '9394952D-44A6-4AE2-8018-9E3423AAF3B7', - ], + 'CostTime' => ['description' => '请求消耗时间', 'type' => 'string', 'example' => '13'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '9394952D-44A6-4AE2-8018-9E3423AAF3B7'], 'Datas' => [ 'type' => 'array', - 'items' => [ - 'description' => '数据详情', - 'type' => 'object', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '数据详情', 'type' => 'object', 'example' => '参考JSON示例'], ], ], ], @@ -8902,75 +4761,40 @@ 'extraInfo' => ' ', ], 'ListBotKnowledgeDetails' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201108', - ], + 'schema' => ['description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201108'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201207', - ], + 'schema' => ['description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201207'], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈实例id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '数据条数,默认30条', - 'type' => 'string', - 'required' => false, - 'example' => '30', - 'default' => '100', - ], + 'schema' => ['description' => '数据条数,默认30条', 'type' => 'string', 'required' => false, 'example' => '30', 'default' => '100'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -8978,23 +4802,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CostTime' => [ - 'description' => '请求消耗时间', - 'type' => 'string', - 'example' => '78', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '1A0F7108-16AF-480C-AF54-45C11A97EAB4', - ], + 'CostTime' => ['description' => '请求消耗时间', 'type' => 'string', 'example' => '78'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '1A0F7108-16AF-480C-AF54-45C11A97EAB4'], 'Datas' => [ 'type' => 'array', - 'items' => [ - 'description' => '数据详情', - 'type' => 'object', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '数据详情', 'type' => 'object', 'example' => '参考JSON示例'], ], ], ], @@ -9017,64 +4829,35 @@ 'extraInfo' => ' ', ], 'ListBotReceptionDetailDatas' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201108', - ], + 'schema' => ['description' => '查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201108'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', - 'type' => 'string', - 'required' => true, - 'example' => '20201207', - ], + 'schema' => ['description' => '查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401', 'type' => 'string', 'required' => true, 'example' => '20201207'], ], [ 'name' => 'RobotInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '机器⼈实例id', - 'type' => 'string', - 'required' => true, - 'example' => 'chatbot-cn-7QuUfaqMQe', - ], + 'schema' => ['description' => '机器⼈实例id', 'type' => 'string', 'required' => true, 'example' => 'chatbot-cn-7QuUfaqMQe'], ], [ 'name' => 'AgentKey', 'in' => 'query', - 'schema' => [ - 'title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', - 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', - 'type' => 'string', - 'required' => false, - 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public', - ], + 'schema' => ['title' => '业务空间key,不设置则访问默认业务空间,key值在主账号业务管理页面获取', 'description' => '业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取', 'type' => 'string', 'required' => false, 'example' => 'ac627989eb4f8a98ed05fd098bbae5_p_beebot_public'], ], ], 'responses' => [ @@ -9082,23 +4865,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CostTime' => [ - 'description' => '请求消耗时间', - 'type' => 'string', - 'example' => '77', - ], - 'RequestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => '1CCB889E-9837-42C9-BAEC-641169D8DF2A', - ], + 'CostTime' => ['description' => '请求消耗时间', 'type' => 'string', 'example' => '77'], + 'RequestId' => ['description' => '请求id', 'type' => 'string', 'example' => '1CCB889E-9837-42C9-BAEC-641169D8DF2A'], 'Datas' => [ 'type' => 'array', - 'items' => [ - 'description' => '数据详情', - 'type' => 'object', - 'example' => '参考JSON示例', - ], + 'items' => ['description' => '数据详情', 'type' => 'object', 'example' => '参考JSON示例'], ], ], ], @@ -9125,13 +4896,6 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'chatbot.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'chatbot.cn-hongkong.aliyuncs.com', - ], + ['regionId' => 'cn-shanghai', 'endpoint' => 'chatbot.cn-shanghai.aliyuncs.com'], ], ]; -- cgit v1.2.3