diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/appflow/2023-09-04/api-docs.php | |
| download | acs-metadata-full-1.0.0+20260212.tar.gz acs-metadata-full-1.0.0+20260212.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/appflow/2023-09-04/api-docs.php')
| -rw-r--r-- | data/en_us/appflow/2023-09-04/api-docs.php | 155 |
1 files changed, 155 insertions, 0 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 new file mode 100644 index 0000000..244f792 --- /dev/null +++ b/data/en_us/appflow/2023-09-04/api-docs.php @@ -0,0 +1,155 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'appflow', + 'version' => '2023-09-04', + ], + 'directories' => [ + 'GenerateUserSessionToken', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'GenerateUserSessionToken' => [ + 'summary' => 'Generate Login Session 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 Assistant 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' => 'User Nickname', + 'type' => 'string', + 'required' => false, + 'example' => 'testxxx', + ], + ], + [ + 'name' => 'UserAvatar', + 'in' => 'query', + 'schema' => [ + 'title' => '用户头像', + 'description' => 'User Avatar (URL)', + 'type' => 'string', + 'required' => false, + 'example' => 'https://xxxx.com/xxx', + ], + ], + [ + 'name' => 'ExpireSecond', + 'in' => 'query', + 'schema' => [ + 'title' => '过期时间,单位:秒, 默认24小时', + 'description' => 'Expiration Time, in seconds, default 24 hours', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '6000', + ], + ], + [ + 'name' => 'ExtraInfo', + 'in' => 'query', + 'schema' => [ + 'title' => '额外信息:使用 JSON String 格式。示例:'."\n" + .'{ "phone": "手机号", "dept":["部门1","部门2"]}', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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****', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"34C2713A-2270-5EEC-825E-115F9AD3BAC9\\",\\n \\"UserSessionToken\\": \\"960f499au184m7****\\"\\n}","type":"json"}]', + 'title' => 'GenerateUserSessionToken', + 'translator' => 'machine', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'appflow.cn-hangzhou.aliyuncs.com', + ], + ], +]; |
