From f4dad969bcbf1e3c82477021671990d9081b60d8 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 27 Nov 2025 19:34:20 +0100 Subject: [PATCH] Clean up: Remove detailed descriptions from completed tasks 4.1 and 4.2 --- instructions.md | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/instructions.md b/instructions.md index ee82e40..8ed505f 100644 --- a/instructions.md +++ b/instructions.md @@ -182,37 +182,12 @@ For each task completed: ### 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 - -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 ✅ (November 27, 2025) --- -#### 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 **File:** [`src/server/api/queue.py`](src/server/api/queue.py)