mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 16:36:53 +08:00
refactor(cache): simplify recognition cache persistence
This commit is contained in:
@@ -444,9 +444,9 @@ Streaming search sends `{"type":"heartbeat"}` every 15 seconds without business
|
||||
| POST | `/api/v1/torrent/cache/refresh` | Refresh torrent cache |
|
||||
| POST | `/api/v1/torrent/cache/reidentify/{domain}/{torrent_hash}` | Re-identify torrent. Params: `tmdbid`, `doubanid` |
|
||||
|
||||
### Recognition Cache (6 endpoints)
|
||||
### Recognition Cache (3 endpoints)
|
||||
|
||||
The two list endpoints return local cache totals plus `shared_recognized` and
|
||||
The list endpoint returns local cache totals plus `shared_recognized` and
|
||||
`shared_recognize_enabled` for the persisted successful shared-recognition count.
|
||||
|
||||
| Method | Path | Description |
|
||||
@@ -454,9 +454,6 @@ The two list endpoints return local cache totals plus `shared_recognized` and
|
||||
| GET | `/api/v1/tmdb/cache` | Get TheMovieDb recognition cache statistics |
|
||||
| DELETE | `/api/v1/tmdb/cache/{cache_key}` | Delete one URL-encoded TheMovieDb recognition cache key |
|
||||
| DELETE | `/api/v1/tmdb/cache` | Clear TheMovieDb recognition cache |
|
||||
| GET | `/api/v1/douban/cache` | Get Douban recognition cache statistics |
|
||||
| DELETE | `/api/v1/douban/cache/{cache_key}` | Delete one URL-encoded Douban recognition cache key |
|
||||
| DELETE | `/api/v1/douban/cache` | Clear Douban recognition cache |
|
||||
|
||||
### Message (8 endpoints)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user