POST
https://diy.chijing.xyz/api/export
默认返回ZIP:PNG + XLSX
单独获取?format=png 或 ?format=xlsx
正在加载示例…
请求说明
- 请求头:
Content-Type: application/json
- 可用行键:
cpu、disk、memory、mainboard、gpu、cooler、psu、pcCase、monitor、other1、other2、other3
- 机箱兼容键名:
case、chassis、cabinet、housing、机箱
- 空白配置行会自动从 PNG 和 Excel 中省略
- 每行字段:
model、price、qty、condition、remark
速率限制
- 每 IP:12 次/分钟,允许 4 次突发
- 全局:60 次/分钟,最多 2 个并发生成任务
- 请求体上限:64 KB
- 超限返回
429,带 Retry-After
字段与返回格式说明
condition 仅支持 全新、二手 或空字符串;qty 默认是 1;price 可以为空。
format 可写为 png、xlsx、png,xlsx;也可以用查询参数 ?format=png。默认返回 ZIP。
接口错误返回 JSON,例如 {"ok":false,"error":{"code":"rate_limited","message":"..."}}。