Update api.md

This commit is contained in:
Xwite 2023-03-27 09:47:54 +08:00 committed by GitHub
parent b10660f5b1
commit 316ac61e17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
api.md
View File

@ -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] }
```