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/appflow/2023-09-04/api-docs.php | 1424 ++++++++++++++++++++++++++-- 1 file changed, 1339 insertions(+), 85 deletions(-) (limited to 'data/zh_cn/appflow/2023-09-04/api-docs.php') diff --git a/data/zh_cn/appflow/2023-09-04/api-docs.php b/data/zh_cn/appflow/2023-09-04/api-docs.php index f3eea5b..6a1176e 100644 --- a/data/zh_cn/appflow/2023-09-04/api-docs.php +++ b/data/zh_cn/appflow/2023-09-04/api-docs.php @@ -1,26 +1,14 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'appflow', - 'version' => '2023-09-04', - ], - 'directories' => [ - 'GenerateUserSessionToken', - ], + 'info' => ['style' => 'RPC', 'product' => 'appflow', 'version' => '2023-09-04'], + 'directories' => ['GenerateUserSessionToken', 'CreateFlow', 'CreateUserAuthConfig', 'DeleteFlow', 'DeleteUserAuthConfig', 'DisableFlow', 'EnableFlow', 'GetFlow', 'GetUserAuthConfig', 'InvokeAction', 'LaunchFlow', 'ListFlows', 'ListUserAuthConfigs', 'UpdateFlow', 'UpdateUserAuthConfig', 'WithdrawFlow'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'GenerateUserSessionToken' => [ - 'summary' => '生成登录会话Token。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateFlow' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -29,96 +17,385 @@ 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '214832', - 'abilityTreeNodes' => [ - 'FEATUREcomputenest1X0UFA', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '195309', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], ], 'parameters' => [ [ - 'name' => 'ChatbotId', + 'name' => 'FlowId', + 'in' => 'query', + 'schema' => ['title' => '连接流id', 'description' => '连接流id,更新或者创建新版本时必填', 'type' => 'string', 'required' => false, 'example' => 'flow-647da8e366a74d1cab6e'], + ], + [ + 'name' => 'FlowName', + 'in' => 'query', + 'schema' => ['title' => '连接流名称', 'description' => '连接流名称', 'type' => 'string', 'required' => true, 'example' => '企业微信自建应用大模型自动回复'], + ], + [ + 'name' => 'FlowDesc', + 'in' => 'query', + 'schema' => ['title' => '连接流描述', 'description' => '连接流描述', 'type' => 'string', 'required' => false, 'example' => '在钉钉中使用OpenClaw(MoltBot、MoltBot)'], + ], + [ + 'name' => 'FlowTemplate', + 'in' => 'query', + 'schema' => ['title' => '连接流模版', 'description' => '连接流模版内容', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "FormatVersion": "appflow-2025-07-01",'."\n" + .' "Nodes": ['."\n" + ."\n" + .' ]'."\n" + .'}'], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['title' => '连接流模版ID。通过模版中心创建模版时传入此参数', 'description' => '连接流模版ID。通过模版中心创建模版时传入此参数', 'type' => 'string', 'required' => false, 'example' => 'tl-715d93e708b546b7b464'], + ], + [ + 'name' => 'Parameters', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => 'AI助手ID', - 'description' => 'AI助手ID', - 'type' => 'string', + 'description' => '用户输入的模板参数。'."\n" + ."\n" + .'N最大值为200。'."\n" + ."\n" + .'> Parameters为可选参数。如果需要指定Parameters,则Parameters.N.ParameterKey和Parameters.N.ParameterValue必须同时指定。'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '任务参数', + 'type' => 'object', + 'properties' => [ + 'ParameterKey' => ['description' => '模板中已定义的参数的名称。如果未指定参数的名称和值,则ROS将使用模板中指定的默认值。'."\n" + ."\n" + .'N最大值为200。 '."\n" + .'长度为1~128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://` 。'."\n" + ."\n" + .'> Parameters为可选参数。如果需要指定Parameters,则Parameters.N.ParameterKey和Parameters.N.ParameterValue必须同时指定。', 'type' => 'string', 'required' => false, 'example' => 'dingdingAuthId'], + 'ParameterValue' => ['description' => '参数值', 'type' => 'string', 'required' => false, 'example' => 'uac-xxxxxxx'], + ], + 'required' => false, + ], 'required' => false, - 'example' => 'cb-069d508f9ab341b1****', + 'maxItems' => 100, ], ], [ - 'name' => 'IntegrateId', + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => '集成ID', - 'description' => '集成ID', - 'type' => 'string', + 'description' => '指定规则所适用的对象标签,可设置多个。', + 'type' => 'array', + 'items' => [ + 'description' => '资源标签', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签键,可以根据标签过滤集群列表。最多20对标签,各个标签对的数字n必须不同,且必须是从1开始的连续整数。`Tag.N.Key`对应的值为`Tag.N.Value`。'."\n" + ."\n" + .'> 最多支持64个字符,不能以`aliyun`、`acs:`、`http://`或者`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'CreateBy'], + 'Value' => ['description' => '鉴权内容', 'type' => 'string', 'required' => false, 'example' => 'zhangsan'], + ], + 'required' => false, + ], 'required' => false, - 'example' => 'cit-960f499au184m7****', + 'maxItems' => 20, ], ], [ - 'name' => 'UserId', + 'name' => 'LaunchStatus', 'in' => 'query', + 'schema' => ['title' => '连接流发布状态:True发布状态,False下线状态', 'description' => '连接流发布状态:True发布状态,False下线状态', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '用户ID', - 'description' => '用户ID', - 'type' => 'string', - 'required' => true, - 'example' => '929293312213****', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '32F02021-11D2-5196-BC85-72890E9AA090'], + 'Data' => ['description' => '调用成功时,返回的新建产品信息。', 'type' => 'string', 'example' => 'flow-9691a04fc7f94525aac1'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '创建连接流', + 'summary' => '创建连接流', + 'description' => '创建连接流或者连接流版本', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"32F02021-11D2-5196-BC85-72890E9AA090\\",\\n \\"Data\\": \\"flow-9691a04fc7f94525aac1\\"\\n}","type":"json"}]', + ], + 'CreateUserAuthConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'UserName', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '198257', + 'abilityTreeNodes' => ['FEATUREcomputenest50MM9Y'], + ], + 'parameters' => [ + [ + 'name' => 'ConnectorId', + 'in' => 'query', + 'schema' => ['title' => '连接器id', 'description' => '连接器id', 'type' => 'string', 'required' => true, 'example' => 'connector-3c60c6e123e146fbb6f8'], + ], + [ + 'name' => 'ConnectorVersion', + 'in' => 'query', + 'schema' => ['title' => '连接器名称', 'description' => '连接器版本', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'AuthConfigName', + 'in' => 'query', + 'schema' => ['title' => '连接器图标', 'description' => '凭据名称', 'type' => 'string', 'required' => true, 'example' => 'bailian-01ce5586-420f-4cbf-9392-7001a1c33bc1'], + ], + [ + 'name' => 'AuthType', 'in' => 'query', + 'schema' => ['title' => '连接器描述', 'description' => '凭据类型', 'type' => 'string', 'required' => false, 'example' => 'DingdingAccessToken'], + ], + [ + 'name' => 'AuthConfig', + 'in' => 'query', + 'schema' => ['description' => '鉴权信息', 'type' => 'string', 'required' => true, 'example' => '***'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '用户昵称', - 'description' => '用户昵称', - 'type' => 'string', - 'required' => false, - 'example' => 'testxxx', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '249048A1-7FF7-5D2E-A322-695420112094'], + 'Data' => ['description' => '用户凭据ID', 'type' => 'string', 'example' => 'uac-a2253c40486c40c1b910'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建用户凭据', + 'summary' => '创建用户鉴权凭证', + 'description' => '创建连接流或者连接流版本', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"249048A1-7FF7-5D2E-A322-695420112094\\",\\n \\"Data\\": \\"uac-a2253c40486c40c1b910\\"\\n}","type":"json"}]', + ], + 'DeleteFlow' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'UserAvatar', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '196073', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], + ], + 'parameters' => [ + [ + 'name' => 'FlowId', + 'in' => 'query', + 'schema' => ['title' => '连接流id', 'description' => '连接流id', 'type' => 'string', 'required' => true, 'example' => 'flow-xxxxxxxxx'], + ], + [ + 'name' => 'FlowVersion', 'in' => 'query', + 'schema' => ['title' => '连接流版本', 'description' => '连接流版本', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '用户头像', - 'description' => '用户头像(url地址)', - 'type' => 'string', - 'required' => false, - 'example' => 'https://xxxx.com/xxx', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D6382BE4-9F02-5F03-B26E-BF74FC521842'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除连接流', + 'summary' => '删除连接流', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6382BE4-9F02-5F03-B26E-BF74FC521842\\"\\n}","type":"json"}]', + ], + 'DeleteUserAuthConfig' => [ + 'summary' => '删除用户鉴权凭证', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '198271', + 'abilityTreeNodes' => ['FEATUREcomputenest50MM9Y'], + ], + 'parameters' => [ [ - 'name' => 'ExpireSecond', + 'name' => 'ConnectorId', + 'in' => 'query', + 'schema' => ['title' => '连接器id', 'description' => '连接器id', 'type' => 'string', 'required' => true, 'example' => 'connector-5e43ef26b53e4a158529'], + ], + [ + 'name' => 'ConnectorVersion', + 'in' => 'query', + 'schema' => ['title' => '连接器名称', 'description' => '连接器名称', 'type' => 'string', 'required' => false, 'example' => '2'], + ], + [ + 'name' => 'AuthConfigId', 'in' => 'query', + 'schema' => ['description' => '凭据ID', 'type' => 'string', 'required' => true, 'example' => 'uac-8f4bfe29041441d8bdd9'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '过期时间,单位:秒, 默认24小时', - 'description' => '过期时间,单位:秒, 默认24小时', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '6000', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '6C38D3F9-B340-5230-B108-77E675452733'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除用户凭据', + 'description' => '创建连接流或者连接流版本', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6C38D3F9-B340-5230-B108-77E675452733\\"\\n}","type":"json"}]', + ], + 'DisableFlow' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '205713', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], + ], + 'parameters' => [ [ - 'name' => 'ExtraInfo', + 'name' => 'FlowId', 'in' => 'query', + 'schema' => ['title' => '连接流id', 'description' => '连接流id', 'type' => 'string', 'required' => true, 'example' => 'flow-xxxxxx'], + ], + [ + 'name' => 'FlowVersion', + 'in' => 'query', + 'schema' => ['title' => '连接流版本', 'description' => '连接流版本', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '额外信息:使用 JSON String 格式。示例:'."\n" - .'{ "phone": "手机号", "dept":["部门1","部门2"]}', - 'description' => '额外信息:使用 JSON String 格式。示例:'."\n" - .'{ "phone": "手机号", "dept":["部门1","部门2"]}', - 'type' => 'string', - 'required' => false, + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'C0CEBCD9-CE5D-5BDE-B8E5-F3ADD1BB943F'], + 'Data' => ['description' => '返回数据。', 'type' => 'string', 'example' => '无'], + ], ], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '禁用连接流', + 'summary' => '禁用连接流', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C0CEBCD9-CE5D-5BDE-B8E5-F3ADD1BB943F\\",\\n \\"Data\\": \\"无\\"\\n}","type":"json"}]', + ], + 'EnableFlow' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '205680', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], + ], + 'parameters' => [ + [ + 'name' => 'FlowId', + 'in' => 'query', + 'schema' => ['title' => '连接流id', 'description' => '连接流id', 'type' => 'string', 'required' => true, 'example' => 'flow-0bf98338eb1f4d10ad6a'], + ], + [ + 'name' => 'FlowVersion', + 'in' => 'query', + 'schema' => ['title' => '连接流版本', 'description' => '连接流版本', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ @@ -126,32 +403,1009 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '34C2713A-2270-5EEC-825E-115F9AD3BAC9', - ], - 'UserSessionToken' => [ - 'description' => 'Token', - 'type' => 'string', - 'example' => '960f499au184m7****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '17CADBF7-B0F4-5FE6-87EB-76B1A69AC422'], + 'Data' => ['description' => '返回数据。', 'type' => 'string', 'example' => 'None'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '启用流', + 'summary' => '启用连接流', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34C2713A-2270-5EEC-825E-115F9AD3BAC9\\",\\n \\"UserSessionToken\\": \\"960f499au184m7****\\"\\n}","type":"json"}]', - 'title' => '生成登录会话Token', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"17CADBF7-B0F4-5FE6-87EB-76B1A69AC422\\",\\n \\"Data\\": \\"None\\"\\n}","type":"json"}]', ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'appflow.cn-hangzhou.aliyuncs.com', + 'GenerateUserSessionToken' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '214832', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ChatbotId', + 'in' => 'query', + 'schema' => ['title' => 'AI助手ID', 'description' => 'AI助手ID', 'type' => 'string', 'required' => false, 'example' => 'cb-069d508f9ab341b1****'], + ], + [ + 'name' => 'IntegrateId', + 'in' => 'query', + 'schema' => ['title' => '集成ID', 'description' => '集成ID', 'type' => 'string', 'required' => false, 'example' => 'cit-960f499au184m7****'], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => ['title' => '用户ID', 'description' => '用户ID', 'type' => 'string', 'required' => true, 'example' => '929293312213****'], + ], + [ + 'name' => 'UserName', + 'in' => 'query', + 'schema' => ['title' => '用户昵称', 'description' => '用户昵称', 'type' => 'string', 'required' => false, 'example' => 'testxxx'], + ], + [ + 'name' => 'UserAvatar', + 'in' => 'query', + 'schema' => ['title' => '用户头像', 'description' => '用户头像(url地址)', 'type' => 'string', 'required' => false, 'example' => 'https://xxxx.com/xxx'], + ], + [ + 'name' => 'ExpireSecond', + 'in' => 'query', + 'schema' => ['title' => '过期时间,单位:秒, 默认24小时', 'description' => '过期时间,单位:秒, 默认24小时', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '6000'], + ], + [ + 'name' => 'ExtraInfo', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '34C2713A-2270-5EEC-825E-115F9AD3BAC9'], + 'UserSessionToken' => ['description' => 'Token', 'type' => 'string', 'example' => '960f499au184m7****'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '生成登录会话Token', + 'summary' => '生成登录会话Token。', + 'changeSet' => [ + ['createdAt' => '2025-05-13T17:43:03.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'appflow:GenerateUserSessionToken', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppFlow', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34C2713A-2270-5EEC-825E-115F9AD3BAC9\\",\\n \\"UserSessionToken\\": \\"960f499au184m7****\\"\\n}","type":"json"}]', + ], + 'GetFlow' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195376', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], + ], + 'parameters' => [ + [ + 'name' => 'FlowId', + 'in' => 'query', + 'schema' => ['title' => '连接流id', 'description' => '连接流id', 'type' => 'string', 'required' => true, 'example' => 'flow-xxxxx'], + ], + [ + 'name' => 'FlowVersion', + 'in' => 'query', + 'schema' => ['title' => '连接流版本', 'description' => '连接流版本', 'type' => 'string', 'required' => false, 'example' => '6'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'B6E1E38D-011F-5368-ADD8-4DC278254AA3'], + 'Flow' => [ + 'description' => '连接流对象', + 'type' => 'object', + 'properties' => [ + 'FlowId' => ['title' => '连接流id'."\n", 'description' => '连接流id'."\n", 'type' => 'string', 'example' => 'flow-xxxxxxxx'], + 'FlowVersion' => ['title' => '连接流版本', 'description' => '连接流版本', 'type' => 'string', 'example' => '2'], + 'FlowName' => ['title' => '连接流名称', 'description' => '连接流名称', 'type' => 'string', 'example' => '微信连接流1'], + 'FlowDesc' => ['title' => '连接流描述', 'description' => '连接流描述', 'type' => 'string', 'example' => '以AI卡片形式发送至钉钉群聊,如果想要支持私聊,请使用同时支持群聊&私聊的模版'], + 'Enabled' => ['title' => '是否启用', 'description' => '是否启用', 'type' => 'string', 'example' => 'true'], + 'FlowVersionStatus' => ['title' => '连接流版本状态', 'description' => '连接流版本状态', 'type' => 'string', 'example' => '1'], + 'FlowTemplate' => ['title' => '连接流分组类型', 'description' => '连接流模版内容', 'type' => 'string', 'example' => '{'."\n" + .' "FormatVersion": "appflow-2025-07-01",'."\n" + .' "Nodes": ['."\n" + .' {}'."\n" + .' ]'."\n" + .'}'], + 'GmtCreate' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2025-07-30T02:13:22Z'], + 'GmtModified' => ['title' => '修改时间', 'description' => '修改时间', 'type' => 'string', 'example' => '2025-11-13T02:11:56Z'], + 'FlowNodes' => [ + 'description' => '节点列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FlowId' => ['description' => '连接流ID', 'type' => 'string', 'example' => 'flow-856cb84b309747e48b43'], + 'FlowVersion' => ['description' => '连接流版本', 'type' => 'string', 'example' => '1'], + 'ConnectorId' => ['description' => '连接器ID', 'type' => 'string', 'example' => 'connector-xxx24b139c62'], + 'ConnectorVersion' => ['description' => '连接器版本', 'type' => 'string', 'example' => '2'], + 'RefId' => ['description' => '触发器或者执行动作ID', 'type' => 'string', 'example' => 'trigger-xxxxxxxxxx'], + 'RefVersion' => ['description' => '触发器或者执行动作版本', 'type' => 'string', 'example' => '1'], + 'NodeId' => ['description' => '节点ID', 'type' => 'string', 'example' => 'fn-xxxxxxxx'], + 'NodeKey' => ['description' => '节点Key', 'type' => 'string', 'example' => 'Node1'], + 'NodeName' => ['description' => '节点名称', 'type' => 'string', 'example' => 'NotifyMessage_1'], + 'NodeType' => ['description' => '节点类型', 'type' => 'string', 'example' => 'Trigger'], + 'PrevNodeId' => ['description' => '前一个节点ID', 'type' => 'string', 'example' => 'fn-xxxxx,fn-yyyyyy'], + 'InputSchema' => ['description' => '节点元数据', 'type' => 'string', 'example' => '{}'], + 'AuthMetadata' => ['description' => '节点凭据信息', 'type' => 'string', 'example' => '{\\"authconfigId\\":\\"uac-xxxxxxxxx\\"}'], + 'WebhookUrl' => ['description' => 'webhook地址', 'type' => 'string', 'example' => 'https://{uid}.computenest.aliyun.com/webhook/xxxxxxxx'], + ], + 'description' => '', + ], + 'example' => '连接流节点信息', + ], + 'Tags' => [ + 'description' => '标签列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签的键。'."\n" + .'长度限制为64个字符。', 'type' => 'string', 'example' => 'Environment'], + 'Value' => ['description' => '标签值', 'type' => 'string', 'example' => 'pre'], + ], + 'description' => '', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取连接流详情', + 'summary' => '获取连接流详情', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B6E1E38D-011F-5368-ADD8-4DC278254AA3\\",\\n \\"Flow\\": {\\n \\"FlowId\\": \\"flow-xxxxxxxx\\",\\n \\"FlowVersion\\": \\"2\\",\\n \\"FlowName\\": \\"微信连接流1\\",\\n \\"FlowDesc\\": \\"以AI卡片形式发送至钉钉群聊,如果想要支持私聊,请使用同时支持群聊&私聊的模版\\",\\n \\"Enabled\\": \\"true\\",\\n \\"FlowVersionStatus\\": \\"1\\",\\n \\"FlowTemplate\\": \\"{\\\\n \\\\\\"FormatVersion\\\\\\": \\\\\\"appflow-2025-07-01\\\\\\",\\\\n \\\\\\"Nodes\\\\\\": [\\\\n {}\\\\n ]\\\\n}\\",\\n \\"GmtCreate\\": \\"2025-07-30T02:13:22Z\\",\\n \\"GmtModified\\": \\"2025-11-13T02:11:56Z\\",\\n \\"FlowNodes\\": [\\n {\\n \\"FlowId\\": \\"flow-856cb84b309747e48b43\\",\\n \\"FlowVersion\\": \\"1\\",\\n \\"ConnectorId\\": \\"connector-xxx24b139c62\\",\\n \\"ConnectorVersion\\": \\"2\\",\\n \\"RefId\\": \\"trigger-xxxxxxxxxx\\",\\n \\"RefVersion\\": \\"1\\",\\n \\"NodeId\\": \\"fn-xxxxxxxx\\",\\n \\"NodeKey\\": \\"Node1\\",\\n \\"NodeName\\": \\"NotifyMessage_1\\",\\n \\"NodeType\\": \\"Trigger\\",\\n \\"PrevNodeId\\": \\"fn-xxxxx,fn-yyyyyy\\",\\n \\"InputSchema\\": \\"{}\\",\\n \\"AuthMetadata\\": \\"{\\\\\\\\\\\\\\"authconfigId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"uac-xxxxxxxxx\\\\\\\\\\\\\\"}\\",\\n \\"WebhookUrl\\": \\"https://{uid}.computenest.aliyun.com/webhook/xxxxxxxx\\"\\n }\\n ],\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"Environment\\",\\n \\"Value\\": \\"pre\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'GetUserAuthConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '198254', + 'abilityTreeNodes' => ['FEATUREcomputenest50MM9Y'], + ], + 'parameters' => [ + [ + 'name' => 'ConnectorId', + 'in' => 'query', + 'schema' => ['title' => '连接流id', 'description' => '连接流id', 'type' => 'string', 'required' => true, 'example' => 'connector-5e43ef26b53e4a158529'], + ], + [ + 'name' => 'ConnectorVersion', + 'in' => 'query', + 'schema' => ['title' => '连接流版本', 'description' => '连接流版本', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'AuthConfigId', + 'in' => 'query', + 'schema' => ['description' => '凭据ID', 'type' => 'string', 'required' => true, 'example' => 'uac-ac11e0f1db7647ce8469'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '458CB9FE-8C71-58A8-AD49-97EF28D58FAB'], + 'UserAuthConfig' => [ + 'description' => '凭据对象', + 'type' => 'object', + 'properties' => [ + 'ConnectorId' => ['title' => '连接流id'."\n", 'description' => '连接流id'."\n", 'type' => 'string', 'example' => 'connector-172176821387'], + 'ConnectorVersion' => ['title' => '连接流版本', 'description' => '连接流版本', 'type' => 'string', 'example' => '1'], + 'AuthConfigId' => ['title' => '连接流描述', 'description' => '连接流描述', 'type' => 'string', 'example' => 'uac-111111111'], + 'AuthConfigName' => ['title' => '连接流名称', 'description' => '连接流名称', 'type' => 'string', 'example' => 'dingtlak_name'], + 'AuthType' => ['title' => '是否启用', 'description' => '是否启用', 'type' => 'string', 'example' => 'ApiKey'], + 'AuthConfig' => ['title' => '连接流版本状态', 'description' => '连接流版本状态', 'type' => 'string', 'example' => '{\\"apiKey":\\"xxxxxxxxxx\\"}'], + ], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取用户凭据详情', + 'summary' => '获取用户鉴权凭证详情', + 'description' => '创建连接流或者连接流版本', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"458CB9FE-8C71-58A8-AD49-97EF28D58FAB\\",\\n \\"UserAuthConfig\\": {\\n \\"ConnectorId\\": \\"connector-172176821387\\",\\n \\"ConnectorVersion\\": \\"1\\",\\n \\"AuthConfigId\\": \\"uac-111111111\\",\\n \\"AuthConfigName\\": \\"dingtlak_name\\",\\n \\"AuthType\\": \\"ApiKey\\",\\n \\"AuthConfig\\": \\"{\\\\\\\\\\\\\\"apiKey\\\\\\":\\\\\\\\\\\\\\"xxxxxxxxxx\\\\\\\\\\\\\\"}\\"\\n }\\n}","type":"json"}]', + ], + 'InvokeAction' => [ + 'summary' => '运行连接器的执行动作', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https', 'sse'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ConnectorId', + 'in' => 'query', + 'schema' => ['title' => '连接器ID', 'description' => '连接器ID', 'type' => 'string', 'required' => true, 'example' => 'connector-xxx'], + ], + [ + 'name' => 'ConnectorVersion', + 'in' => 'query', + 'schema' => ['title' => '连接器版本', 'description' => '连接器版本', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'ActionId', + 'in' => 'query', + 'schema' => ['title' => '执行动作ID', 'description' => '执行动作ID', 'type' => 'string', 'required' => true, 'example' => 'action-xxx'], + ], + [ + 'name' => 'ActionVersion', + 'in' => 'query', + 'schema' => ['title' => '执行动作版本', 'description' => '执行动作版本', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'Body', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '执行动作调用请求体参数', + 'description' => '执行动作调用请求体参数', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'any', 'example' => '{'."\n" + .' "model": "openclaw",'."\n" + .' "input": "hello"'."\n" + .' "user": "test-user"'."\n" + .' }', 'description' => '执行动作运行请求体内容,均采用JSON格式。'], + ], + ], + [ + 'name' => 'Headers', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '执行动作调用请求头参数', + 'description' => '执行动作调用请求头参数', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string', 'example' => '{"X-Request-User":"test"}', 'description' => '请求头参数'], + ], + ], + [ + 'name' => 'Query', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '执行动作调用查询参数', + 'description' => '执行动作调用查询参数', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string', 'description' => '查询参数', 'example' => '{"count":3}'], + ], + ], + [ + 'name' => 'Path', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '执行动作调用路径参数', + 'description' => '执行动作调用路径参数', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string', 'description' => '路径参数', 'example' => '{"version":1}'], + ], + ], + [ + 'name' => 'AuthConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '执行动作调用鉴权信息', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '鉴权信息类型', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['raw' => '鉴权内容原文,JSON格式', 'id' => 'AppFlow鉴权凭证ID'], + 'example' => 'raw', + ], + 'Value' => ['description' => '鉴权内容', 'type' => 'any', 'required' => false, 'example' => '{"AppId":"xxxx","AppSecret":"sk-xxx"}'], + ], + 'required' => false, + ], + ], + [ + 'name' => 'Stream', + 'in' => 'query', + 'schema' => ['title' => '是否采用流式输出', 'description' => '是否采用流式输出', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '346E5EE9-D5FE-56A0-B3E2-A43E0F67302A'], + 'Result' => [ + 'title' => '', + 'description' => '返回结果', + 'type' => 'object', + 'properties' => [ + 'Status' => ['title' => '运行状态', 'description' => '运行状态', 'type' => 'string', 'example' => 'RUNNING、COMPLETED'], + 'ErrorMessage' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'The provided parameter xxx is invalid.'], + 'Output' => ['title' => '执行动作输出', 'description' => '执行动作输出', 'type' => 'any', 'example' => '{'."\n" + .' "output": {'."\n" + .' "finishReason": "stop",'."\n" + .' "text": "hello"'."\n" + .' },'."\n" + .' "requestId": "433944e3-2163-9c7a-9664-2a27c0dda0ec",'."\n" + .' "usage": {'."\n" + .' "inputTokens": 13,'."\n" + .' "outputTokens": 16,'."\n" + .' "totalTokens": 29'."\n" + .' }'."\n" + .'}'], + ], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '运行执行动作', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"346E5EE9-D5FE-56A0-B3E2-A43E0F67302A\\",\\n \\"Result\\": {\\n \\"Status\\": \\"RUNNING、COMPLETED\\",\\n \\"ErrorMessage\\": \\"The provided parameter xxx is invalid.\\",\\n \\"Output\\": \\"{\\\\n \\\\\\"output\\\\\\": {\\\\n \\\\\\"finishReason\\\\\\": \\\\\\"stop\\\\\\",\\\\n \\\\\\"text\\\\\\": \\\\\\"hello\\\\\\"\\\\n },\\\\n \\\\\\"requestId\\\\\\": \\\\\\"433944e3-2163-9c7a-9664-2a27c0dda0ec\\\\\\",\\\\n \\\\\\"usage\\\\\\": {\\\\n \\\\\\"inputTokens\\\\\\": 13,\\\\n \\\\\\"outputTokens\\\\\\": 16,\\\\n \\\\\\"totalTokens\\\\\\": 29\\\\n }\\\\n}\\"\\n }\\n}","type":"json"}]', + ], + 'LaunchFlow' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195396', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], + ], + 'parameters' => [ + [ + 'name' => 'FlowId', + 'in' => 'query', + 'schema' => ['title' => '连接流id', 'description' => '连接流id', 'type' => 'string', 'required' => true, 'example' => 'flow-6a3acc07d51541b0b836'], + ], + [ + 'name' => 'FlowVersion', + 'in' => 'query', + 'schema' => ['title' => '连接流版本', 'description' => '连接流版本', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'FlowName', + 'in' => 'query', + 'schema' => ['title' => '连接流名称', 'description' => '连接流名称', 'type' => 'string', 'required' => false, 'example' => '通过飞书使用OpenClaw——多模态'], + ], + [ + 'name' => 'FlowDesc', + 'in' => 'query', + 'schema' => ['title' => '连接流描述', 'description' => '连接流描述', 'type' => 'string', 'required' => false, 'example' => '公司管理群内定期消息提醒'], + ], + [ + 'name' => 'FlowTemplate', + 'in' => 'query', + 'schema' => ['title' => '连接流模版', 'description' => '连接流模版', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "FormatVersion": "appflow-2025-07-01",'."\n" + .' "Nodes": ['."\n" + ."\n" + .' ]'."\n" + .'}'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '965C0149-B68B-5A0C-AEA8-48DAEC7779BD'], + 'Data' => ['description' => '返回对象', 'type' => 'string', 'example' => 'None'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '发布连接流', + 'summary' => '发布连接流', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"965C0149-B68B-5A0C-AEA8-48DAEC7779BD\\",\\n \\"Data\\": \\"None\\"\\n}","type":"json"}]', + ], + 'ListFlows' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195383', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], + ], + 'parameters' => [ + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['title' => '最大条数', 'description' => '最大条数', 'type' => 'string', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['title' => '请求分页token', 'description' => '请求分页token', 'type' => 'string', 'required' => false, 'example' => 'AAAAAVY3rYiv9VoUJQSiCitgjgTlo5Q2D1qyq9rPPhxWJPl6j8bgHiGAwZWnCMJPepC+WRjTa7fpTA0Diy2AQ4aWoPY='], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '查询条件', + 'description' => '查询条件', + 'type' => 'array', + 'items' => [ + 'description' => '查询条件', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '过滤字段名称', 'type' => 'string', 'required' => false, 'example' => 'FlowId\\FlowName'], + 'Values' => [ + 'description' => '条件值', + 'type' => 'array', + 'items' => ['description' => '条件值', 'type' => 'string', 'required' => false, 'example' => 'name'], + 'required' => false, + 'maxItems' => 20, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '指定规则所适用的对象标签,可设置多个。', + 'type' => 'array', + 'items' => [ + 'description' => '指定规则所适用的对象标签,可设置多个。', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签键,可以根据标签过滤集群列表。最多20对标签,各个标签对的数字n必须不同,且必须是从1开始的连续整数。`Tag.N.Key`对应的值为`Tag.N.Value`。'."\n" + ."\n" + .'> 最多支持64个字符,不能以`aliyun`、`acs:`、`http://`或者`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'CreateBy'], + 'Value' => ['description' => '鉴权内容', 'type' => 'string', 'required' => false, 'example' => 'zhangsan'], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '02FB9782-5390-5DF9-A1DA-9F2DE2FA1E3D'], + 'Flows' => [ + 'title' => '连接器', + 'description' => '连接流列表', + 'type' => 'array', + 'items' => [ + 'description' => '流程信息列表', + 'type' => 'object', + 'properties' => [ + 'FlowId' => ['title' => '连接流id'."\n", 'description' => '连接流id'."\n", 'type' => 'string', 'example' => 'flow-xxxxxxxx'], + 'FlowVersion' => ['title' => '连接流版本', 'description' => '连接流版本', 'type' => 'string', 'example' => '1'], + 'ReleasedVersion' => ['title' => '发布版本号', 'description' => '发布版本号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'FlowName' => ['title' => '连接流名称', 'description' => '连接流名称', 'type' => 'string', 'example' => '钉钉群聊 - 流式调用百炼应用-小助手'], + 'FlowDesc' => ['title' => '连接流描述', 'description' => '连接流描述', 'type' => 'string', 'example' => '在未认证的公众号中更实用Qwen3开源版本自动回复'], + 'Enabled' => ['description' => '是否启用', 'type' => 'boolean', 'example' => 'true'], + 'FlowVersionStatus' => ['title' => '连接流版本状态', 'description' => '连接流版本状态', 'type' => 'string', 'example' => '0 - 草稿'."\n" + .'1- 发布'."\n" + .'2- 下线'], + 'FlowTemplate' => ['title' => '连接流分组类型', 'description' => '连接流模版内容', 'type' => 'string', 'example' => '{}'], + 'GmtCreate' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string', 'example' => '2025-12-30T02:29:51Z'], + 'GmtModified' => ['title' => '修改时间', 'description' => '修改时间', 'type' => 'string', 'example' => '2025-12-30T02:29:48Z'], + 'WebhookUrl' => ['description' => 'webhook地址', 'type' => 'string', 'example' => 'https://{uid}.appflow.aliyunnest.com/webhook/xxxxxx'], + 'Tags' => [ + 'description' => '标签值', + 'type' => 'array', + 'items' => [ + 'description' => '标签值', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签的键。'."\n" + .'长度限制为64个字符。', 'type' => 'string', 'example' => 'tuoluo'], + 'Value' => ['description' => '标签值', 'type' => 'string', 'example' => '{\\"connectorId\\": \\"connector-5e43ef26b53e4a158529\\", \\"authConfig\\": \\"{\\\\\\"apiKey\\\\\\": \\\\\\"sk-77e7c7ed775f4fd388d505d37b2b1b33\\\\\\"}\\"}'], + ], + ], + ], + ], + ], + ], + 'NextToken' => ['description' => '下一个查询开始的Token。', 'type' => 'string', 'example' => 'AAAAAVY3rYiv9VoUJQSiCitgjgRCGYBJsWLezzDdq2+aDNB4j8bgHiGAwZWnCMJPepC+WYZ4J1BLMwE7gJm++1ku/AI='], + 'MaxResults' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取连接器流列表', + 'summary' => '获取连接流列表', + 'description' => '创建连接流或者连接流版本', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"02FB9782-5390-5DF9-A1DA-9F2DE2FA1E3D\\",\\n \\"Flows\\": [\\n {\\n \\"FlowId\\": \\"flow-xxxxxxxx\\",\\n \\"FlowVersion\\": \\"1\\",\\n \\"ReleasedVersion\\": 1,\\n \\"FlowName\\": \\"钉钉群聊 - 流式调用百炼应用-小助手\\",\\n \\"FlowDesc\\": \\"在未认证的公众号中更实用Qwen3开源版本自动回复\\",\\n \\"Enabled\\": true,\\n \\"FlowVersionStatus\\": \\"0 - 草稿\\\\n1- 发布\\\\n2- 下线\\",\\n \\"FlowTemplate\\": \\"{}\\",\\n \\"GmtCreate\\": \\"2025-12-30T02:29:51Z\\",\\n \\"GmtModified\\": \\"2025-12-30T02:29:48Z\\",\\n \\"WebhookUrl\\": \\"https://{uid}.appflow.aliyunnest.com/webhook/xxxxxx\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"tuoluo\\",\\n \\"Value\\": \\"{\\\\\\\\\\\\\\"connectorId\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"connector-5e43ef26b53e4a158529\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"authConfig\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"apiKey\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"sk-77e7c7ed775f4fd388d505d37b2b1b33\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}\\\\\\\\\\\\\\"}\\"\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"AAAAAVY3rYiv9VoUJQSiCitgjgRCGYBJsWLezzDdq2+aDNB4j8bgHiGAwZWnCMJPepC+WYZ4J1BLMwE7gJm++1ku/AI=\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + ], + 'ListUserAuthConfigs' => [ + 'summary' => '获取用户鉴权凭证列表', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '198253', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], + ], + 'parameters' => [ + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['title' => '最大条数', 'description' => '最大条数', 'type' => 'string', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['title' => '请求分页token', 'description' => '请求分页token', 'type' => 'string', 'required' => false, 'example' => 'AAAAAVY3rYiv9VoUJQSiCitgjgQu5rMgGgvUoNWg8LykhA85j8bgHiGAwZWnCMJPepC+WWc0DK5hx1qIycMHVWP2AjQ='], + ], + [ + 'name' => 'ConnectorId', + 'in' => 'query', + 'schema' => ['description' => '连接器ID', 'type' => 'string', 'required' => true, 'example' => 'connector-88d2c03da8c9410e8a91'], + ], + [ + 'name' => 'ConnectorVersion', + 'in' => 'query', + 'schema' => ['description' => '连接器版本', 'type' => 'string', 'required' => false, 'example' => '6'], + ], + [ + 'name' => 'AuthType', + 'in' => 'query', + 'schema' => ['description' => '鉴权类型', 'type' => 'string', 'required' => false, 'example' => 'QQBotAccessToken'], + ], + [ + 'name' => 'Filter', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '查询条件', + 'description' => '查询条件', + 'type' => 'array', + 'items' => [ + 'description' => '过滤器。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '过滤字段名称', 'type' => 'string', 'required' => false, 'example' => 'AuthConfigName'], + 'Values' => [ + 'description' => '过滤器值列表。N取值范围为:1~10。', + 'type' => 'array', + 'items' => ['description' => '条件值', 'type' => 'string', 'required' => false, 'example' => 'name'], + 'required' => false, + 'maxItems' => 20, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '35A48818-81F2-506C-891C-2296BE8DD667'], + 'UserAuthConfigs' => [ + 'title' => '连接器', + 'description' => '连接器', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ConnectorId' => ['title' => '连接器id'."\n", 'description' => '连接器id'."\n", 'type' => 'string', 'example' => 'connector-xxxxxxxxx'], + 'ConnectorVersion' => ['title' => '连接器版本', 'description' => '连接器版本', 'type' => 'string', 'example' => '1'], + 'AuthConfigId' => ['title' => '连接器图标', 'description' => '连接器图标', 'type' => 'string', 'example' => 'uac-xxxxxxxx'], + 'AuthConfigName' => ['title' => '连接器名称', 'description' => '连接器名称', 'type' => 'string', 'example' => 'name'], + 'AuthType' => ['title' => '连接器描述', 'description' => '连接器描述', 'type' => 'string', 'example' => 'ApiKey'], + 'FlowCount' => ['description' => '使用该凭据的连接流数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'GmtCreate' => ['description' => '创建时间', 'type' => 'string', 'example' => '2026-04-01 14:22:33'], + 'GmtModified' => ['description' => '更新时间', 'type' => 'string', 'example' => '2026-04-01 14:22:33'], + ], + 'description' => '', + ], + ], + 'NextToken' => ['description' => '下一个查询开始的Token。', 'type' => 'string', 'example' => 'AAAAAVY3rYiv9VoUJQSiCitgjgRBp055u+7M/ZFoi7I0NZHJj8bgHiGAwZWnCMJPepC+WQbLSjoLewJIqkMQqvaJO7M='], + 'MaxResults' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取用户凭据列表', + 'description' => '创建连接流或者连接流版本', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35A48818-81F2-506C-891C-2296BE8DD667\\",\\n \\"UserAuthConfigs\\": [\\n {\\n \\"ConnectorId\\": \\"connector-xxxxxxxxx\\",\\n \\"ConnectorVersion\\": \\"1\\",\\n \\"AuthConfigId\\": \\"uac-xxxxxxxx\\",\\n \\"AuthConfigName\\": \\"name\\",\\n \\"AuthType\\": \\"ApiKey\\",\\n \\"FlowCount\\": 1,\\n \\"GmtCreate\\": \\"2026-04-01 14:22:33\\",\\n \\"GmtModified\\": \\"2026-04-01 14:22:33\\"\\n }\\n ],\\n \\"NextToken\\": \\"AAAAAVY3rYiv9VoUJQSiCitgjgRBp055u+7M/ZFoi7I0NZHJj8bgHiGAwZWnCMJPepC+WQbLSjoLewJIqkMQqvaJO7M=\\",\\n \\"MaxResults\\": 20,\\n \\"TotalCount\\": 0\\n}","type":"json"}]', + ], + 'UpdateFlow' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195390', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], + ], + 'parameters' => [ + [ + 'name' => 'FlowId', + 'in' => 'query', + 'schema' => ['title' => '连接流id', 'description' => '连接流id', 'type' => 'string', 'required' => true, 'example' => 'flow-15550241a1e942c29835'], + ], + [ + 'name' => 'FlowVersion', + 'in' => 'query', + 'schema' => ['description' => '连接流版本', 'type' => 'string', 'required' => false, 'example' => '9'], + ], + [ + 'name' => 'FlowName', + 'in' => 'query', + 'schema' => ['title' => '连接流名称', 'description' => '连接流名称', 'type' => 'string', 'required' => false, 'example' => '新建流程'], + ], + [ + 'name' => 'FlowDesc', + 'in' => 'query', + 'schema' => ['title' => '连接流描述', 'description' => '连接流描述', 'type' => 'string', 'required' => false, 'example' => '新建流程'], + ], + [ + 'name' => 'FlowTemplate', + 'in' => 'query', + 'schema' => ['title' => '连接流模版', 'description' => '连接流模版', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "FormatVersion": "appflow-2025-07-01",'."\n" + .' "Nodes": ['."\n" + ."\n" + .' ]'."\n" + .'}'], + ], + [ + 'name' => 'Enabled', + 'in' => 'query', + 'schema' => ['description' => '是否启用连接流', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'A053FC9D-AB9D-5258-9355-8FA57EE888C0'], + 'Data' => ['description' => '返回的数据内容。', 'type' => 'string', 'example' => 'None'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新连接流', + 'summary' => '更新连接流', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A053FC9D-AB9D-5258-9355-8FA57EE888C0\\",\\n \\"Data\\": \\"None\\"\\n}","type":"json"}]', + ], + 'UpdateUserAuthConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '198268', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], + ], + 'parameters' => [ + [ + 'name' => 'ConnectorId', + 'in' => 'query', + 'schema' => ['title' => '连接器id', 'description' => '连接器id', 'type' => 'string', 'required' => true, 'example' => 'connector-6b8df2297dca4a5f8f15'], + ], + [ + 'name' => 'ConnectorVersion', + 'in' => 'query', + 'schema' => ['title' => '连接器名称', 'description' => '连接器名称', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'AuthConfigId', + 'in' => 'query', + 'schema' => ['description' => '凭据ID', 'type' => 'string', 'required' => true, 'example' => 'uac-42b60d53bcce466d9d08'], + ], + [ + 'name' => 'AuthConfigName', + 'in' => 'query', + 'schema' => ['title' => '连接器图标', 'description' => '凭据名称', 'type' => 'string', 'required' => false, 'example' => 'name'], + ], + [ + 'name' => 'AuthConfig', + 'in' => 'query', + 'schema' => ['description' => '执行动作调用鉴权信息', 'type' => 'string', 'required' => false, 'example' => '{\\"apiKey\\": \\"************\\"}'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '83C6468F-3D68-5791-860E-29AB8FCACC73'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新用户凭据', + 'summary' => '编辑用户鉴权凭证', + 'description' => '创建连接流或者连接流版本', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"83C6468F-3D68-5791-860E-29AB8FCACC73\\"\\n}","type":"json"}]', + ], + 'WithdrawFlow' => [ + 'summary' => '下线连接流', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '195397', + 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'], + ], + 'parameters' => [ + [ + 'name' => 'FlowId', + 'in' => 'query', + 'schema' => ['title' => '连接流id', 'description' => '连接流id', 'type' => 'string', 'required' => true, 'example' => 'flow-6b03788c25244c93b254'], + ], + [ + 'name' => 'FlowVersion', + 'in' => 'query', + 'schema' => ['title' => '连接流版本', 'description' => '连接流版本', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '39B608FB-906F-51CF-AD82-7EFE46C0D56A'], + 'Data' => ['description' => '返回的数据内容。', 'type' => 'string', 'example' => 'None'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '下线连接流', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39B608FB-906F-51CF-AD82-7EFE46C0D56A\\",\\n \\"Data\\": \\"None\\"\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'appflow.cn-hangzhou.aliyuncs.com', 'endpoint' => 'appflow.cn-hangzhou.aliyuncs.com', 'vpc' => 'appflow-vpc.cn-hangzhou.aliyuncs.com'], + ], + 'errorCodes' => [], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ram' => [ + 'productCode' => 'AppFlow', + 'productName' => '计算巢服务', + 'ramCodes' => ['appflow'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'GenerateUserSessionToken', + 'description' => '生成登录会话Token', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'appflow:GenerateUserSessionToken', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppFlow', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'Identity', 'arn' => 'acs:appflow:{#regionId}:{#accountId}:identity/*'], ], ], ]; -- cgit v1.2.3