'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', ], ], ];