# docs_wx **Repository Path**: haml/docs_wx ## Basic Information - **Project Name**: docs_wx - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-05 - **Last Updated**: 2024-09-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 一、 [下载详情页](https://www.openeuler.org/zh/download/?version=openEuler%2024.03%20LTS) ### 1. 根据版本返回 repo 仓内文件数据 参数: ```ts { version:string; } ``` 返回: ```ts [ { tree:[ { name: string; // 文件名 size:string; // 大小 shacode:string; // sha256 type:string; // file | dir 嵌入式场景存在文件夹 recommended:[ // 根据用户ip 返回带宽最大的五条数据,带宽由大到小排列 { site:string; // 站点名称 bandwidth:number; // 网络带宽 path:string; //具体文件下载路径 } ] } ... ], arch:'x86_64' | 'aarch64' | 'arm32' | 'loongarch64' | 'riscv64' | 'power' | 'sw64'; scenario:'ISO' | 'edge_img' | 'virtual_machine_img' | 'embedded_img'; // 对应服务器,边缘计算,云计算,嵌入式四大场景 }, ... ], ``` 特殊说明 嵌入式目录较特殊,架构下是文件夹。当只有一个文件夹时需返回文件夹内文件,当存在多个文件夹时直接返回文件夹名称,size 和 shacode 为空。 ## 二、 [归档页面](https://www.openeuler.org/zh/download/archive/) ### 2. 查询版本信息 参数: 无 返回: ```ts [ { version: string; // 版本名称 arch: string[]; // 所有架构 scenario:string[]; // 所有场景 is_lts:boolean; // 版本名称中带 LTS的为 LTS 版本不带的为创新版本 }, ... ] ``` https://jenkins.osinfra.cn/view/openEuler/job/openeuler-test/job/openeuler-test-website/925/console