API 开发文档

为开发者提供的标准数据接口服务

概览

本站提供基于 HTTP GET 的 RESTful 风格 API,所有响应均以 JSON 格式返回。

API 基地址: /api.php

接口列表

GET ?action=getVersions

获取版本列表,支持按类型筛选。

常用查询参数
参数 说明
type 版本类型,可用:正式版/测试版/iOS版 或 release/beta/ios
page 页码(可选,传入则启用分页)
limit 每页数量(可选,默认 10)
search 版本号模糊搜索(可选)
fetch('/api.php?action=getVersions&type=正式版') .then(response => response.json()) .then(data => console.log(data));
fetch('/api.php?action=getVersions&type=release&page=1&limit=20&search=1.20') .then(response => response.json()) .then(data => console.log(data));
GET ?action=getVersion&id={id}

获取指定版本的详细信息。

下载McTool APP,第一时间更新基岩版最新版本。
下载安卓APP