summaryrefslogtreecommitdiff
path: root/data/zh_cn/appflow/2023-09-04/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/zh_cn/appflow/2023-09-04/api-docs.php
downloadacs-metadata-full-1.0.0+20260212.tar.gz
acs-metadata-full-1.0.0+20260212.zip
Diffstat (limited to 'data/zh_cn/appflow/2023-09-04/api-docs.php')
-rw-r--r--data/zh_cn/appflow/2023-09-04/api-docs.php157
1 files changed, 157 insertions, 0 deletions
diff --git a/data/zh_cn/appflow/2023-09-04/api-docs.php b/data/zh_cn/appflow/2023-09-04/api-docs.php
new file mode 100644
index 0000000..f3eea5b
--- /dev/null
+++ b/data/zh_cn/appflow/2023-09-04/api-docs.php
@@ -0,0 +1,157 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'appflow',
+ 'version' => '2023-09-04',
+ ],
+ 'directories' => [
+ 'GenerateUserSessionToken',
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'GenerateUserSessionToken' => [
+ 'summary' => '生成登录会话Token。',
+ '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' => [
+ 'title' => '额外信息:使用 JSON String 格式。示例:'."\n"
+ .'{ "phone": "手机号", "dept":["部门1","部门2"]}',
+ 'description' => '额外信息:使用 JSON String 格式。示例:'."\n"
+ .'{ "phone": "手机号", "dept":["部门1","部门2"]}',
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '请求ID。',
+ 'type' => 'string',
+ 'example' => '34C2713A-2270-5EEC-825E-115F9AD3BAC9',
+ ],
+ 'UserSessionToken' => [
+ 'description' => 'Token',
+ 'type' => 'string',
+ 'example' => '960f499au184m7****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34C2713A-2270-5EEC-825E-115F9AD3BAC9\\",\\n \\"UserSessionToken\\": \\"960f499au184m7****\\"\\n}","type":"json"}]',
+ 'title' => '生成登录会话Token',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'appflow.cn-hangzhou.aliyuncs.com',
+ ],
+ ],
+];