JS 插件
插件 API 转发 catch-all(动态路由)
接受任意 HTTP 方法,分发到插件 static 兜底、入站 WebSocket upgrade(调用 onWebSocket),或转发到 QuickJS 沙盒中的插件代码。{entryPath} 和子路径均由运行时决定,OpenAPI 仅作占位。需要 BearerAuth。
get/jsplugin/{entryPath}/{path}
Path parameters
entryPathstring required
插件入口标识(运行时动态)
Headers
X-Plugin-Timeout-Msinteger
可选:放宽本次插件调用的超时(毫秒),宿主 clamp 到 [30000, 300000]。慢端点(如 yt-dlp 展开歌单)用于避免默认 30s 超时
Response
插件自定义响应
object required