给一个 AsyncAPI 3.x 文档地址,直接产出可导入 Apipost 的私有项目 JSON。
GET /apipost |
?source= 必填,AsyncAPI YAML/JSON 的 http(s) 地址&name= 可选,项目名(默认取 info.title)&projectId= 可选,指定 project_id(默认按源地址哈希,稳定不变)&download=1 可选,作为附件下载
|
|---|---|
GET /healthz | 健康检查 |
curl -s "https://<worker>/apipost?source=https://raw.githubusercontent.com/.../asyncapi.yaml" -o project.json
安全:默认拒绝内网/回环地址,避免被当作 SSRF 代理;源文档有超时与体积上限。