网站目录
GET /sites
Section titled “GET /sites”无需认证。返回已启用网站卡片,按置顶量降序、创建时间与 ID 升序稳定排序。
curl https://account.ylfcat.top/api/v1/sites \ -H 'accept: application/json'{ "items": [ { "id": "site_01J...", "slug": "account", "title": "账号中心", "displayUrl": "account.ylfcat.top", "description": "管理账号、安全设置与授权。", "kind": "internal", "pinWeight": 2 } ]}GET /sites/{slug}/redirect
Section titled “GET /sites/{slug}/redirect”仅用于外部卡片。服务端读取当前配置并返回 HTTP 重定向,避免把任意目标地址作为查询参数形成开放重定向。