Clean up: Remove detailed descriptions from completed tasks 4.1 and 4.2
This commit is contained in:
parent
589141e9aa
commit
f4dad969bc
@ -182,37 +182,12 @@ For each task completed:
|
|||||||
|
|
||||||
### Phase 4: API Layer
|
### Phase 4: API Layer
|
||||||
|
|
||||||
#### Task 4.1: Update Anime API Endpoints to Use Key ✅
|
#### Task 4.1: Update Anime API Endpoints to Use Key ✅ (November 27, 2025)
|
||||||
|
|
||||||
**Completed:** November 27, 2025
|
#### Task 4.2: Update Download API Endpoints to Use Key ✅ (November 27, 2025)
|
||||||
|
|
||||||
Updated `src/server/api/anime.py` to standardize all endpoints to use `key` as the primary series identifier:
|
|
||||||
|
|
||||||
- Updated `AnimeSummary` model with proper documentation (key as primary identifier)
|
|
||||||
- Updated `AnimeDetail` model with `key` field (replaced `id` field)
|
|
||||||
- Updated `get_anime()` endpoint with key-first lookup and folder fallback
|
|
||||||
- Updated `add_series()` endpoint to extract key from link URL
|
|
||||||
- Updated `_perform_search()` to use key as identifier
|
|
||||||
- All docstrings updated to clarify identifier usage
|
|
||||||
- All anime API tests pass (11/11)
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
#### Task 4.2: Update Download API Endpoints to Use Key ✅
|
|
||||||
|
|
||||||
**Completed:** November 27, 2025
|
|
||||||
|
|
||||||
Updated `src/server/api/download.py` and `src/server/models/download.py` to standardize identifier documentation:
|
|
||||||
|
|
||||||
- Updated `DownloadRequest` model with comprehensive docstrings explaining `serie_id` (key as primary identifier) vs `serie_folder` (filesystem metadata)
|
|
||||||
- Updated `DownloadItem` model with same clarification
|
|
||||||
- Updated `add_to_queue()` endpoint docstring to document request parameters
|
|
||||||
- Updated all test files to include required `serie_folder` field
|
|
||||||
- All download API tests pass (23/23)
|
|
||||||
- All integration tests pass (869/869)
|
|
||||||
|
|
||||||
------
|
|
||||||
|
|
||||||
#### Task 4.3: Update Queue API Endpoints to Use Key
|
#### Task 4.3: Update Queue API Endpoints to Use Key
|
||||||
|
|
||||||
**File:** [`src/server/api/queue.py`](src/server/api/queue.py)
|
**File:** [`src/server/api/queue.py`](src/server/api/queue.py)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user