summaryrefslogtreecommitdiff
path: root/data/en_us/appflow
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/appflow')
-rw-r--r--data/en_us/appflow/2023-09-04/api-docs.php1461
1 files changed, 1390 insertions, 71 deletions
diff --git a/data/en_us/appflow/2023-09-04/api-docs.php b/data/en_us/appflow/2023-09-04/api-docs.php
index 244f792..b165d61 100644
--- a/data/en_us/appflow/2023-09-04/api-docs.php
+++ b/data/en_us/appflow/2023-09-04/api-docs.php
@@ -1,26 +1,156 @@
<?php return [
'version' => '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' => 'Generate Login Session Token',
- 'methods' => [
- 'post',
- 'get',
+ 'CreateFlow' => [
+ 'summary' => 'Creates a flow.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '195309',
+ 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FlowId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the flow. This parameter is required when you update a flow or create a new flow version.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'flow-647da8e366a74d1cab6e'],
+ ],
+ [
+ 'name' => 'FlowName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the flow.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '企业微信自建应用大模型自动回复'],
+ ],
+ [
+ 'name' => 'FlowDesc',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The description of the flow.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '在钉钉中使用OpenClaw(MoltBot、MoltBot)'],
+ ],
+ [
+ 'name' => 'FlowTemplate',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The content of the template.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '{'."\n"
+ .' "FormatVersion": "appflow-2025-07-01",'."\n"
+ .' "Nodes": ['."\n"
+ ."\n"
+ .' ]'."\n"
+ .'}'],
+ ],
+ [
+ 'name' => 'TemplateId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the template. Specify this parameter when you create a flow from a template in the Template Center.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'tl-715d93e708b546b7b464'],
+ ],
+ [
+ 'name' => 'Parameters',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ParameterKey' => ['description' => 'The name of a parameter defined in the template. If no parameter name or value is specified, ROS uses the default value defined in the template.'."\n"
+ ."\n"
+ .'The maximum value of N is 200.<br>'."\n"
+ .'The name must be 1 to 128 characters in length, cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n"
+ ."\n"
+ .'> Parameters is optional. If you specify Parameters, you must specify both Parameters.N.ParameterKey and Parameters.N.ParameterValue.', 'type' => 'string', 'required' => false, 'example' => 'dingdingAuthId', 'title' => ''],
+ 'ParameterValue' => ['description' => 'The value for the parameter.', 'type' => 'string', 'required' => false, 'example' => 'uac-xxxxxxx', 'title' => ''],
+ ],
+ 'description' => 'A template parameter.',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'maxItems' => 100,
+ 'description' => 'The parameters for the template.'."\n"
+ ."\n"
+ .'You can specify up to 200 parameters.'."\n"
+ ."\n"
+ .'> This parameter is optional. If you use this parameter, you must specify both ParameterKey and ParameterValue for each entry.',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The tag key. You can filter the cluster list by tag. You can specify up to 20 tag pairs. The number N in each tag pair must be unique and a consecutive integer starting from 1. The value corresponding to `Tag.N.Key` is `Tag.N.Value`.'."\n"
+ ."\n"
+ .'> The tag key can be up to 64 characters long and cannot start with `aliyun`, `acs:`, `http://`, or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'CreateBy', 'title' => ''],
+ 'Value' => ['description' => 'The authentication content.', 'type' => 'string', 'required' => false, 'example' => 'zhangsan', 'title' => ''],
+ ],
+ 'description' => 'A resource tag.',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'maxItems' => 20,
+ 'description' => 'The object tags to which the rule applies. You can specify multiple tags.',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'LaunchStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The publication status of the flow: True for published, False for unpublished.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '32F02021-11D2-5196-BC85-72890E9AA090'],
+ 'Data' => ['description' => 'The information of the newly created product returned when the call succeeds.', 'type' => 'string', 'example' => 'flow-9691a04fc7f94525aac1', 'title' => ''],
+ ],
+ 'title' => '',
+ 'description' => 'The response schema.',
+ 'example' => '',
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
+ 'title' => 'CreateFlow',
+ 'description' => 'Creates a flow or a flow version.',
+ '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' => [
[
'AK' => [],
@@ -32,124 +162,1313 @@
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '214832',
- 'abilityTreeNodes' => [
- 'FEATUREcomputenest1X0UFA',
+ 'abilityTreeCode' => '198257',
+ 'abilityTreeNodes' => ['FEATUREcomputenest50MM9Y'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConnectorId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the connector.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'connector-3c60c6e123e146fbb6f8'],
+ ],
+ [
+ 'name' => 'ConnectorVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The version of the connector.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'],
+ ],
+ [
+ 'name' => 'AuthConfigName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the credential.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'bailian-01ce5586-420f-4cbf-9392-7001a1c33bc1'],
+ ],
+ [
+ 'name' => 'AuthType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The type of the credential.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'DingdingAccessToken'],
+ ],
+ [
+ 'name' => 'AuthConfig',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The authentication information.', 'type' => 'string', 'required' => true, 'example' => '***', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '249048A1-7FF7-5D2E-A322-695420112094'],
+ 'Data' => ['description' => 'The ID of the user credential.', 'type' => 'string', 'example' => 'uac-a2253c40486c40c1b910', 'title' => ''],
+ ],
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'CreateUserAuthConfig',
+ 'summary' => 'Creates a user authentication credential.',
+ 'description' => 'Creates a connection flow or a connection flow version.',
+ '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' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '196073',
+ 'abilityTreeNodes' => ['FEATUREcomputenest1X0UFA'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'FlowId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The flow ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'flow-xxxxxxxxx'],
+ ],
+ [
+ 'name' => 'FlowVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The flow version.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '8'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'Id of the request', 'type' => 'string', 'title' => '', 'example' => 'D6382BE4-9F02-5F03-B26E-BF74FC521842'],
+ ],
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DeleteFlow',
+ 'summary' => 'Deletes a connection flow.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6382BE4-9F02-5F03-B26E-BF74FC521842\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteUserAuthConfig' => [
+ 'summary' => 'Deletes a user authentication credential.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '198271',
+ 'abilityTreeNodes' => ['FEATUREcomputenest50MM9Y'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConnectorId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the connector.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'connector-5e43ef26b53e4a158529'],
+ ],
+ [
+ 'name' => 'ConnectorVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The connector name.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '2'],
+ ],
+ [
+ 'name' => 'AuthConfigId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The credential ID.', 'type' => 'string', 'required' => true, 'example' => 'uac-8f4bfe29041441d8bdd9', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => '6C38D3F9-B340-5230-B108-77E675452733'],
+ ],
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DeleteUserAuthConfig',
+ 'description' => 'Creates a connection flow or a connection flow version.',
+ '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' => 'FlowId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The flow ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'flow-xxxxxx'],
+ ],
+ [
+ 'name' => 'FlowVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The flow version.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C0CEBCD9-CE5D-5BDE-B8E5-F3ADD1BB943F'],
+ 'Data' => ['description' => 'The data returned by the operation.', 'type' => 'string', 'example' => '无', 'title' => ''],
+ ],
+ 'title' => '',
+ 'description' => 'The response object.',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DisableFlow',
+ 'summary' => 'Disables a flow.',
+ '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' => ['description' => 'The ID of the flow.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'flow-0bf98338eb1f4d10ad6a'],
+ ],
+ [
+ 'name' => 'FlowVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The version of the flow.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '2'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '17CADBF7-B0F4-5FE6-87EB-76B1A69AC422'],
+ 'Data' => ['description' => 'The response data.', 'type' => 'string', 'example' => 'None', 'title' => ''],
+ ],
+ 'title' => '',
+ 'description' => 'The response schema.',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'EnableFlow',
+ 'summary' => 'Enables a flow.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"17CADBF7-B0F4-5FE6-87EB-76B1A69AC422\\",\\n \\"Data\\": \\"None\\"\\n}","type":"json"}]',
+ ],
+ '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' => 'RDS Copilot ID', 'type' => 'string', 'required' => false, 'example' => 'cb-069d508f9ab341b1****'],
+ ],
+ [
+ 'name' => 'IntegrateId',
+ 'in' => 'query',
+ 'schema' => ['title' => '集成ID', 'description' => 'Integration ID', 'type' => 'string', 'required' => false, 'example' => 'cit-960f499au184m7****'],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => ['title' => '用户ID', 'description' => 'User ID', 'type' => 'string', 'required' => true, 'example' => '929293312213****'],
+ ],
+ [
+ 'name' => 'UserName',
+ 'in' => 'query',
+ 'schema' => ['title' => '用户昵称', 'description' => 'Nickname', 'type' => 'string', 'required' => false, 'example' => 'testxxx'],
+ ],
+ [
+ 'name' => 'UserAvatar',
+ 'in' => 'query',
+ 'schema' => ['title' => '用户头像', 'description' => 'Profile picture (URL)', 'type' => 'string', 'required' => false, 'example' => 'https://xxxx.com/xxx'],
+ ],
+ [
+ 'name' => 'ExpireSecond',
+ 'in' => 'query',
+ 'schema' => ['title' => '过期时间,单位:秒, 默认24小时', 'description' => 'Time-to-live (TTL) in seconds. Default is 24 hours.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '6000'],
+ ],
+ [
+ 'name' => 'ExtraInfo',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => 'AI助手ID',
- 'description' => 'AI Assistant ID',
- 'type' => 'string',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '34C2713A-2270-5EEC-825E-115F9AD3BAC9'],
+ 'UserSessionToken' => ['description' => 'Token', 'type' => 'string', 'example' => '960f499au184m7****', 'title' => ''],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GenerateUserSessionToken',
+ 'summary' => 'Generates a logon session token.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'appflow:GenerateUserSessionToken',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AppFlow', 'resourceType' => 'All Resource', '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' => ['description' => 'The ID of the flow.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'flow-xxxxx'],
+ ],
+ [
+ 'name' => 'FlowVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The version of the flow.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '6'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'B6E1E38D-011F-5368-ADD8-4DC278254AA3'],
+ 'Flow' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FlowId' => ['description' => 'The flow ID.', 'type' => 'string', 'title' => '', 'example' => 'flow-xxxxxxxx'],
+ 'FlowVersion' => ['description' => 'The flow version.', 'type' => 'string', 'title' => '', 'example' => '2'],
+ 'FlowName' => ['description' => 'The flow name.', 'type' => 'string', 'title' => '', 'example' => '微信连接流1'],
+ 'FlowDesc' => ['description' => 'The flow description.', 'type' => 'string', 'title' => '', 'example' => '以AI卡片形式发送至钉钉群聊,如果想要支持私聊,请使用同时支持群聊&私聊的模版'],
+ 'Enabled' => ['description' => 'Indicates whether the flow is enabled.', 'type' => 'string', 'title' => '', 'example' => 'true'],
+ 'FlowVersionStatus' => ['description' => 'The flow version status.', 'type' => 'string', 'title' => '', 'example' => '1'],
+ 'FlowTemplate' => ['description' => 'The flow template content.', 'type' => 'string', 'title' => '', 'example' => '{'."\n"
+ .' "FormatVersion": "appflow-2025-07-01",'."\n"
+ .' "Nodes": ['."\n"
+ .' {}'."\n"
+ .' ]'."\n"
+ .'}'],
+ 'GmtCreate' => ['description' => 'The creation time.', 'type' => 'string', 'title' => '', 'example' => '2025-07-30T02:13:22Z'],
+ 'GmtModified' => ['description' => 'The last modification time.', 'type' => 'string', 'title' => '', 'example' => '2025-11-13T02:11:56Z'],
+ 'FlowNodes' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FlowId' => ['description' => 'The flow ID.', 'type' => 'string', 'example' => 'flow-856cb84b309747e48b43', 'title' => ''],
+ 'FlowVersion' => ['description' => 'The flow version.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'ConnectorId' => ['description' => 'The connector ID.', 'type' => 'string', 'example' => 'connector-xxx24b139c62', 'title' => ''],
+ 'ConnectorVersion' => ['description' => 'The connector version.', 'type' => 'string', 'example' => '2', 'title' => ''],
+ 'RefId' => ['description' => 'The ID of the trigger or action.', 'type' => 'string', 'example' => 'trigger-xxxxxxxxxx', 'title' => ''],
+ 'RefVersion' => ['description' => 'The trigger or action version.', 'type' => 'string', 'example' => '1', 'title' => ''],
+ 'NodeId' => ['description' => 'The node ID.', 'type' => 'string', 'example' => 'fn-xxxxxxxx', 'title' => ''],
+ 'NodeKey' => ['description' => 'The node key.', 'type' => 'string', 'example' => 'Node1', 'title' => ''],
+ 'NodeName' => ['description' => 'The node name.', 'type' => 'string', 'example' => 'NotifyMessage_1', 'title' => ''],
+ 'NodeType' => ['description' => 'The node type.', 'type' => 'string', 'example' => 'Trigger', 'title' => ''],
+ 'PrevNodeId' => ['description' => 'The ID of the previous node.', 'type' => 'string', 'example' => 'fn-xxxxx,fn-yyyyyy', 'title' => ''],
+ 'InputSchema' => ['description' => 'The metadata of the node.', 'type' => 'string', 'example' => '{}', 'title' => ''],
+ 'AuthMetadata' => ['description' => 'The authentication credentials of the node.', 'type' => 'string', 'example' => '{\\"authconfigId\\":\\"uac-xxxxxxxxx\\"}', 'title' => ''],
+ 'WebhookUrl' => ['description' => 'The webhook URL.', 'type' => 'string', 'example' => 'https://{uid}.computenest.aliyun.com/webhook/xxxxxxxx', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'The list of nodes.',
+ 'example' => '连接流节点信息',
+ 'title' => '',
+ ],
+ 'Tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The tag key. The value can be up to 64 characters in length.', 'type' => 'string', 'example' => 'Environment', 'title' => ''],
+ 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'pre', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'description' => 'A list of tags.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => 'The flow object.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'description' => 'The response schema.',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Queries the details of a flow',
+ 'summary' => 'Queries the details of a flow.',
+ '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' => ['description' => 'The connector ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'connector-5e43ef26b53e4a158529'],
+ ],
+ [
+ 'name' => 'ConnectorVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The connector version.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'],
+ ],
+ [
+ 'name' => 'AuthConfigId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The credential ID.', 'type' => 'string', 'required' => true, 'example' => 'uac-ac11e0f1db7647ce8469', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '458CB9FE-8C71-58A8-AD49-97EF28D58FAB'],
+ 'UserAuthConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ConnectorId' => ['description' => 'The connector ID.', 'type' => 'string', 'title' => '', 'example' => 'connector-172176821387'],
+ 'ConnectorVersion' => ['description' => 'The connector version.', 'type' => 'string', 'title' => '', 'example' => '1'],
+ 'AuthConfigId' => ['description' => 'The credential ID.', 'type' => 'string', 'title' => '', 'example' => 'uac-111111111'],
+ 'AuthConfigName' => ['description' => 'The credential name.', 'type' => 'string', 'title' => '', 'example' => 'dingtlak_name'],
+ 'AuthType' => ['description' => 'The authentication type.', 'type' => 'string', 'title' => '', 'example' => 'ApiKey'],
+ 'AuthConfig' => ['description' => 'The auth config, specified as a JSON string.', 'type' => 'string', 'title' => '', 'example' => '{\\"apiKey":\\"xxxxxxxxxx\\"}'],
+ ],
+ 'description' => 'Contains the credential details.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'description' => 'The response body.',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'GetUserAuthConfig',
+ 'summary' => 'Gets the details of a user authentication credential.',
+ 'description' => 'This operation gets the details of a specified credential.',
+ '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' => 'Invokes a connector action.',
+ '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' => ['description' => 'The connector ID.', 'type' => 'string', 'required' => true, 'example' => 'connector-xxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'ConnectorVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The connector version.', 'type' => 'string', 'example' => '1', 'title' => '', 'required' => false],
+ ],
+ [
+ 'name' => 'ActionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The action ID.', 'type' => 'string', 'required' => true, 'example' => 'action-xxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'ActionVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The action version.', 'type' => 'string', 'example' => '1', 'title' => '', 'required' => false],
+ ],
+ [
+ 'name' => 'Body',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['description' => 'The content of the request body. All content must be in JSON format.', 'type' => 'any', 'example' => '{'."\n"
+ .' "model": "openclaw",'."\n"
+ .' "input": "hello"'."\n"
+ .' "user": "test-user"'."\n"
+ .' }', 'title' => ''],
+ 'title' => '',
+ 'description' => 'The request body for the action.',
'required' => false,
- 'example' => 'cb-069d508f9ab341b1****',
+ 'example' => '',
],
],
[
- 'name' => 'IntegrateId',
+ 'name' => 'Headers',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'title' => '集成ID',
- 'description' => 'Integration ID',
- 'type' => 'string',
+ 'type' => 'object',
+ 'additionalProperties' => ['description' => 'A request header.', 'type' => 'string', 'example' => '{"X-Request-User":"test"}', 'title' => ''],
+ 'title' => '',
+ 'description' => 'The request header parameters for the action.',
'required' => false,
- 'example' => 'cit-960f499au184m7****',
+ 'example' => '',
],
],
[
- 'name' => 'UserId',
+ 'name' => 'Query',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'title' => '用户ID',
- 'description' => 'User ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => '929293312213****',
+ 'type' => 'object',
+ 'additionalProperties' => ['description' => 'A query parameter.', 'type' => 'string', 'example' => '{"count":3}', 'title' => ''],
+ 'title' => '',
+ 'description' => 'The query parameters for the action.',
+ 'required' => false,
+ 'example' => '',
],
],
[
- 'name' => 'UserName',
+ 'name' => 'Path',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'title' => '用户昵称',
- 'description' => 'User Nickname',
- 'type' => 'string',
+ 'type' => 'object',
+ 'additionalProperties' => ['description' => 'A path parameter.', 'type' => 'string', 'example' => '{"version":1}', 'title' => ''],
+ 'title' => '',
+ 'description' => 'The path parameters for the action.',
'required' => false,
- 'example' => 'testxxx',
+ 'example' => '',
],
],
[
- 'name' => 'UserAvatar',
+ 'name' => 'AuthConfig',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'title' => '用户头像',
- 'description' => 'User Avatar (URL)',
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The type of authentication information.',
+ 'enumValueTitles' => ['raw' => 'The raw authentication content in JSON format.', 'id' => 'The ID of the AppFlow credential.'],
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'raw',
+ 'title' => '',
+ ],
+ 'Value' => ['description' => 'The authentication content. Its value is a raw JSON object or a credential ID, as determined by the `Type` parameter.', 'type' => 'any', 'required' => false, 'example' => '{"AppId":"xxxx","AppSecret":"sk-xxx"}', 'title' => ''],
+ ],
+ 'description' => 'The authentication information for the action.',
'required' => false,
- 'example' => 'https://xxxx.com/xxx',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ExpireSecond',
+ 'name' => 'Stream',
'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to use streaming output.', 'type' => 'boolean', 'example' => 'false', 'default' => 'false', 'title' => '', 'required' => false],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '过期时间,单位:秒, 默认24小时',
- 'description' => 'Expiration Time, in seconds, default 24 hours',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '346E5EE9-D5FE-56A0-B3E2-A43E0F67302A'],
+ 'Result' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'The execution status.', 'type' => 'string', 'example' => 'RUNNING、COMPLETED', 'title' => ''],
+ 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'The provided parameter xxx is invalid.'],
+ 'Output' => ['description' => 'The output of the action.', 'type' => 'any', 'title' => '', '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"
+ .'}'],
+ ],
+ 'description' => 'The execution result.',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'description' => 'The response object.',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'InvokeAction',
+ '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' => ['description' => 'The ID of the flow.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'flow-6a3acc07d51541b0b836'],
+ ],
+ [
+ 'name' => 'FlowVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The version of the flow.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'FlowName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the flow.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '通过飞书使用OpenClaw——多模态'],
+ ],
+ [
+ 'name' => 'FlowDesc',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The description of the flow.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '公司管理群内定期消息提醒'],
+ ],
+ [
+ 'name' => 'FlowTemplate',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The template of the flow.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '{'."\n"
+ .' "FormatVersion": "appflow-2025-07-01",'."\n"
+ .' "Nodes": ['."\n"
+ ."\n"
+ .' ]'."\n"
+ .'}'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '965C0149-B68B-5A0C-AEA8-48DAEC7779BD'],
+ 'Data' => ['description' => 'The returned object.', 'type' => 'string', 'example' => 'None', 'title' => ''],
+ ],
+ 'title' => '',
+ 'description' => 'Response schema',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'LaunchFlow',
+ 'summary' => 'Launches a flow.',
+ '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' => 'The maximum number of entries to return.', 'type' => 'string', 'required' => false, 'example' => '20'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => 'The pagination token for the next page.', 'type' => 'string', 'required' => false, 'example' => 'AAAAAVY3rYiv9VoUJQSiCitgjgTlo5Q2D1qyq9rPPhxWJPl6j8bgHiGAwZWnCMJPepC+WRjTa7fpTA0Diy2AQ4aWoPY='],
+ ],
+ [
+ 'name' => 'Filter',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The filter conditions.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The filter conditions.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => 'The name of the filter field.', 'type' => 'string', 'required' => false, 'example' => 'FlowId\\FlowName', 'title' => ''],
+ 'Values' => [
+ 'description' => 'The filter values.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The filter values.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => false,
- 'example' => '6000',
+ 'maxItems' => 100,
+ 'example' => '',
],
],
[
- 'name' => 'ExtraInfo',
+ 'name' => 'Tag',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'title' => '额外信息:使用 JSON String 格式。示例:'."\n"
- .'{ "phone": "手机号", "dept":["部门1","部门2"]}',
- 'type' => 'string',
+ 'description' => 'Specifies the object tags to which the rule applies. You can specify multiple tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Specifies the object tags to which the rule applies. You can specify multiple tags.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The tag key. You can filter the cluster list by tag. You can specify up to 20 tag pairs. The numeric value n for each tag pair must be unique and must be a consecutive integer starting from 1. The value of Tag.N.Key corresponds to Tag.N.Value.'."\n"
+ ."\n"
+ .'> The tag key can be up to 64 characters in length and cannot start with `aliyun`, `acs:`, `http://`, or `https://`.', 'type' => 'string', 'required' => false, 'example' => 'CreateBy', 'title' => ''],
+ 'Value' => ['description' => 'The authentication content.', 'type' => 'string', 'required' => false, 'example' => 'zhangsan', 'title' => ''],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 20,
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
+ 'title' => '',
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '34C2713A-2270-5EEC-825E-115F9AD3BAC9',
+ 'RequestId' => ['title' => '', 'description' => 'Id of the request', 'type' => 'string', 'example' => '02FB9782-5390-5DF9-A1DA-9F2DE2FA1E3D'],
+ 'Flows' => [
+ 'title' => '',
+ 'description' => 'The list of connector flows.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The flow information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FlowId' => ['title' => '', 'description' => 'The connector flow ID.', 'type' => 'string', 'example' => 'flow-xxxxxxxx'],
+ 'FlowVersion' => ['title' => '', 'description' => 'The connector flow version.', 'type' => 'string', 'example' => '1'],
+ 'ReleasedVersion' => ['title' => '', 'description' => 'The released version number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'FlowName' => ['title' => '', 'description' => 'The connector flow name.', 'type' => 'string', 'example' => '钉钉群聊 - 流式调用百炼应用-小助手'],
+ 'FlowDesc' => ['title' => '', 'description' => 'The connector flow description.', 'type' => 'string', 'example' => '在未认证的公众号中更实用Qwen3开源版本自动回复'],
+ 'Enabled' => ['description' => 'Indicates whether the connector flow is enabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'FlowVersionStatus' => ['title' => '', 'description' => 'The connector flow version status.', 'type' => 'string', 'example' => '0 - 草稿'."\n"
+ .'1- 发布'."\n"
+ .'2- 下线'],
+ 'FlowTemplate' => ['title' => '', 'description' => 'The connector flow template content.', 'type' => 'string', 'example' => '{}'],
+ 'GmtCreate' => ['title' => '', 'description' => 'The time when the connector flow was created.', 'type' => 'string', 'example' => '2025-12-30T02:29:51Z'],
+ 'GmtModified' => ['title' => '', 'description' => 'The time when the connector flow was last modified.', 'type' => 'string', 'example' => '2025-12-30T02:29:48Z'],
+ 'WebhookUrl' => ['description' => 'The webhook URL.', 'type' => 'string', 'example' => 'https://{uid}.appflow.aliyunnest.com/webhook/xxxxxx', 'title' => ''],
+ 'Tags' => [
+ 'description' => 'The tag values.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag values.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The tag key. The tag key can be up to 64 characters in length.', 'type' => 'string', 'example' => 'tuoluo', 'title' => ''],
+ 'Value' => ['description' => 'The tag values.', 'type' => 'string', 'example' => '{\\"connectorId\\": \\"connector-5e43ef26b53e4a158529\\", \\"authConfig\\": \\"{\\\\\\"apiKey\\\\\\": \\\\\\"sk-77e7c7ed775f4fd388d505d37b2b1b33\\\\\\"}\\"}', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
],
- 'UserSessionToken' => [
- 'description' => 'Token.',
- 'type' => 'string',
- 'example' => '960f499au184m7****',
+ 'NextToken' => ['description' => 'The token for the next query.', 'type' => 'string', 'example' => 'AAAAAVY3rYiv9VoUJQSiCitgjgRCGYBJsWLezzDdq2+aDNB4j8bgHiGAwZWnCMJPepC+WYZ4J1BLMwE7gJm++1ku/AI=', 'title' => ''],
+ 'MaxResults' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'List connector flows',
+ 'summary' => 'Retrieves a list of connector flows.',
+ 'description' => 'Creates a connector flow or a connector flow version.',
+ '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' => 'Lists user authentication credentials.',
+ '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' => ['description' => 'The maximum number of entries.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '20'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The pagination token for the request.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'AAAAAVY3rYiv9VoUJQSiCitgjgQu5rMgGgvUoNWg8LykhA85j8bgHiGAwZWnCMJPepC+WWc0DK5hx1qIycMHVWP2AjQ='],
+ ],
+ [
+ 'name' => 'ConnectorId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the connector.', 'type' => 'string', 'required' => true, 'example' => 'connector-88d2c03da8c9410e8a91', 'title' => ''],
+ ],
+ [
+ 'name' => 'ConnectorVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The version of the connector.', 'type' => 'string', 'required' => false, 'example' => '6', 'title' => ''],
+ ],
+ [
+ 'name' => 'AuthType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The authentication type.', 'type' => 'string', 'required' => false, 'example' => 'QQBotAccessToken', 'title' => ''],
+ ],
+ [
+ 'name' => 'Filter',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => 'The name of the filter field.', 'type' => 'string', 'required' => false, 'example' => 'AuthConfigName', 'title' => ''],
+ 'Values' => [
+ 'type' => 'array',
+ 'items' => ['description' => 'A value for the filter.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''],
+ 'maxItems' => 20,
+ 'description' => 'The list of filter values. The valid range for N is 1 to 10.',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => 'A filter.',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 100,
+ 'title' => '',
+ 'description' => 'The query conditions.',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'Id of the request', 'type' => 'string', 'title' => '', 'example' => '35A48818-81F2-506C-891C-2296BE8DD667'],
+ 'UserAuthConfigs' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ConnectorId' => ['description' => 'The ID of the connector.', 'type' => 'string', 'title' => '', 'example' => 'connector-xxxxxxxxx'],
+ 'ConnectorVersion' => ['description' => 'The version of the connector.', 'type' => 'string', 'title' => '', 'example' => '1'],
+ 'AuthConfigId' => ['description' => 'The credential ID.', 'type' => 'string', 'title' => '', 'example' => 'uac-xxxxxxxx'],
+ 'AuthConfigName' => ['description' => 'The credential name.', 'type' => 'string', 'title' => '', 'example' => 'name'],
+ 'AuthType' => ['description' => 'The authentication type.', 'type' => 'string', 'title' => '', 'example' => 'ApiKey'],
+ 'FlowCount' => ['description' => 'The number of connection flows that use this credential.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'GmtCreate' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2026-04-01 14:22:33', 'title' => ''],
+ 'GmtModified' => ['description' => 'The last modification time.', 'type' => 'string', 'example' => '2026-04-01 14:22:33', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'description' => 'The user authentication credentials.',
+ 'example' => '',
],
+ 'NextToken' => ['description' => 'The token for the next query.', 'type' => 'string', 'example' => 'AAAAAVY3rYiv9VoUJQSiCitgjgRBp055u+7M/ZFoi7I0NZHJj8bgHiGAwZWnCMJPepC+WQbLSjoLewJIqkMQqvaJO7M=', 'title' => ''],
+ 'MaxResults' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''],
+ 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''],
],
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ListUserAuthConfigs',
+ 'description' => 'This operation retrieves user auth configs that match specified filters.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34C2713A-2270-5EEC-825E-115F9AD3BAC9\\",\\n \\"UserSessionToken\\": \\"960f499au184m7****\\"\\n}","type":"json"}]',
- 'title' => 'GenerateUserSessionToken',
- 'translator' => 'machine',
+ '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' => ['description' => 'The ID of the connection flow.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'flow-15550241a1e942c29835'],
+ ],
+ [
+ 'name' => 'FlowVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The version of the connection flow.', 'type' => 'string', 'required' => false, 'example' => '9', 'title' => ''],
+ ],
+ [
+ 'name' => 'FlowName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the connection flow.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '新建流程'],
+ ],
+ [
+ 'name' => 'FlowDesc',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The description of the connection flow.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '新建流程'],
+ ],
+ [
+ 'name' => 'FlowTemplate',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The template of the connection flow.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '{'."\n"
+ .' "FormatVersion": "appflow-2025-07-01",'."\n"
+ .' "Nodes": ['."\n"
+ ."\n"
+ .' ]'."\n"
+ .'}'],
+ ],
+ [
+ 'name' => 'Enabled',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether the connection flow is enabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'title' => '', 'example' => 'A053FC9D-AB9D-5258-9355-8FA57EE888C0'],
+ 'Data' => ['description' => 'The data returned by the operation.', 'type' => 'string', 'example' => 'None', 'title' => ''],
+ ],
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'UpdateFlow',
+ 'summary' => 'Updates a connection flow.',
+ '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' => ['description' => 'The ID of the connector.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'connector-6b8df2297dca4a5f8f15'],
+ ],
+ [
+ 'name' => 'ConnectorVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The connector version.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '1'],
+ ],
+ [
+ 'name' => 'AuthConfigId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the credential.', 'type' => 'string', 'required' => true, 'example' => 'uac-42b60d53bcce466d9d08', 'title' => ''],
+ ],
+ [
+ 'name' => 'AuthConfigName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the credential.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'name'],
+ ],
+ [
+ 'name' => 'AuthConfig',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The user authentication credential, provided as a JSON string.', 'type' => 'string', 'required' => false, 'example' => '{\\"apiKey\\": \\"************\\"}', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The unique request ID.', 'type' => 'string', 'title' => '', 'example' => '83C6468F-3D68-5791-860E-29AB8FCACC73'],
+ ],
+ 'title' => '',
+ 'description' => 'The response object.',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'UpdateUserAuthConfig',
+ 'summary' => 'Updates a user authentication credential.',
+ 'description' => 'Updates the configuration of a specific user authentication credential.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"83C6468F-3D68-5791-860E-29AB8FCACC73\\"\\n}","type":"json"}]',
+ ],
+ 'WithdrawFlow' => [
+ 'summary' => 'Withdraws a connection flow.',
+ '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' => ['description' => 'The connection flow ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'flow-6b03788c25244c93b254'],
+ ],
+ [
+ 'name' => 'FlowVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The connection flow version.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '39B608FB-906F-51CF-AD82-7EFE46C0D56A'],
+ 'Data' => ['description' => 'The returned data.', 'type' => 'string', 'example' => 'None', 'title' => ''],
+ ],
+ 'title' => '',
+ 'description' => 'The response object.',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'WithdrawFlow',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"39B608FB-906F-51CF-AD82-7EFE46C0D56A\\",\\n \\"Data\\": \\"None\\"\\n}","type":"json"}]',
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'appflow.cn-hangzhou.aliyuncs.com',
+ ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'Compute Nest',
+ 'ramCodes' => ['appflow'],
+ 'ramLevel' => 'OPERATION',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'GenerateUserSessionToken',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'appflow:GenerateUserSessionToken',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'AppFlow', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'Identity', 'arn' => 'acs:appflow:{#regionId}:{#accountId}:identity/*'],
],
],
];