forked from akai/readest
fix(koplugin): add expected 301 status code (#1791)
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
{
|
||||
"base_url": "http://web.readest.com/api",
|
||||
"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, 401, 403]
|
||||
"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, 400, 401, 403]
|
||||
"expected_status": [200, 201, 301, 400, 401, 403]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user