From 316ac61e1713e5953c7430234cbb80b14a5c574c Mon Sep 17 00:00:00 2001 From: Xwite <82232510+Xwite@users.noreply.github.com> Date: Mon, 27 Mar 2023 09:47:54 +0800 Subject: [PATCH] Update api.md --- api.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/api.md b/api.md index 3060d9b25..fd92ca2fb 100644 --- a/api.md +++ b/api.md @@ -59,6 +59,16 @@ URL = http://127.0.0.1:1234/deleteRssSources Method = POST ``` +#### 调试源 + +key为书源搜索关键词,tag为源链接 + +``` +URL = ws://127.0.0.1:1235/bookSourceDebug +URL = ws://127.0.0.1:1235/rssSourceDebug +Message = { key: [String], tag: [String] } +``` + #### 获取替换规则 ``` @@ -99,7 +109,7 @@ Body = { rule: [ReplaceRule], text: [String] } #### 搜索在线书籍 ``` -URL = ws://127.0.0.1:1234/searchBook +URL = ws://127.0.0.1:1235/searchBook Message = { key: [String] } ```