logo
WeChat Login
Phira-download
Phira-download
Phira/Phira-mp镜像站
No description

仓库说明

这里是Phirahttps://github.com/TeamFlos/phira/releases)在CNB的非官方release镜像仓库,用于同步GitHub Release的内容。下载Phira可前往https://phira.dmocken.top/

Here is the unofficial release repository of Phira (https://github.com/TeamFlos/phira/releases) in CNB, which is used to synchronize the contents of GitHub Release. To download Phira, please visit https://phira.dmocken.top/

Files download API

GET https://phira.dmocken.top/api/files

参数

参数必填说明
source下载源,domestic(国内 CNB)或 foreign(国际 R2),默认 domestic
platform平台筛选,可选值:windows linux android ios hmos,不传则返回所有平台
page页码,默认 1,仅对 source=domestic 有效
version版本筛选,支持带或不带 v 前缀,如 0.6.7v0.6.7

响应结构

{ "files": [ { "name": "phira-windows-0.6.7.zip", "version": "0.6.7", "size": 12345678, "last_modified": "2024-01-01T00:00:00.000Z", "url_download": "https://example.com/phira-windows-0.6.7.zip", "bitness": "64位" } ], "total_files": 1, "has_more": false, "page": 1 }

bitness 字段仅 Android 平台有,值为 64位32位
has_moretrue 时可请求下一页
source=foreign 和指定 versionhas_more 始终为 false

示例

获取 Windows 最新版本列表(国内源)

GET /api/files?source=domestic&platform=windows

分页加载

GET /api/files?source=domestic&platform=android&page=2

筛选指定版本

GET /api/files?source=domestic&version=0.6.7 GET /api/files?source=domestic&platform=windows&version=0.6.7 GET /api/files?source=domestic&platform=windows&version=latest

国际源

GET /api/files?source=foreign&platform=linux GET /api/files?source=foreign&version=v0.6.7

说明

  • source=domestic 数据来自 CNB Releases,支持分页,每页固定 10 条
  • source=foreign 数据来自 R2 对象存储,无分页
  • 不传 platform 时会合并所有平台的文件返回
  • ios 平台支持通过 source 选择下载源(domesticforeign

Pinned

Recent updates