mirror of
https://github.com/readest/readest.git
synced 2026-05-05 15:24:09 +00:00
feat(kosync): use metadata hash to aggregate different versions of the same book (#2063)
This commit is contained in:
parent
91a5454b46
commit
3380912cdb
4 changed files with 116 additions and 48 deletions
|
|
@ -1,19 +1,19 @@
|
|||
{
|
||||
"base_url": "https://web.readest.com/api",
|
||||
"name": "readest-sync-api",
|
||||
"methods": {
|
||||
"pullChanges": {
|
||||
"path": "/sync",
|
||||
"method": "GET",
|
||||
"required_params": ["since", "type", "book"],
|
||||
"expected_status": [200, 400, 301, 401, 403]
|
||||
},
|
||||
"pushChanges": {
|
||||
"path": "/sync",
|
||||
"method": "POST",
|
||||
"required_params": ["books", "notes", "configs"],
|
||||
"payload": ["books", "notes", "configs"],
|
||||
"expected_status": [200, 201, 301, 400, 401, 403]
|
||||
}
|
||||
"base_url": "https://web.readest.com/api",
|
||||
"name": "readest-sync-api",
|
||||
"methods": {
|
||||
"pullChanges": {
|
||||
"path": "/sync",
|
||||
"method": "GET",
|
||||
"required_params": ["since", "type", "book", "meta_hash"],
|
||||
"expected_status": [200, 400, 301, 401, 403]
|
||||
},
|
||||
"pushChanges": {
|
||||
"path": "/sync",
|
||||
"method": "POST",
|
||||
"required_params": ["books", "notes", "configs"],
|
||||
"payload": ["books", "notes", "configs"],
|
||||
"expected_status": [200, 201, 301, 400, 401, 403]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue