feat: readest koplugin for progress sync (#1753)

This commit is contained in:
Huang Xin 2025-08-06 23:12:00 +08:00 committed by GitHub
parent df074082a8
commit 6a5694d2b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 903 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{
"base_url": "http://localhost:3000/api",
"name": "readest-sync-api",
"methods": {
"pullChanges": {
"path": "/sync",
"method": "GET",
"required_params": [
"since",
"type",
"book"
],
"expected_status": [
200,
400,
401
]
},
"pushChanges": {
"path": "/sync",
"method": "POST",
"required_params": [],
"payload": [],
"expected_status": [
200,
201,
400,
401,
422
]
}
}
}