# Media ## 1. High-Level Overview **Purpose:** Upload, batch-upload, list, delete, and download **media** files for missions/waypoints โ€” `01_annotations.md` ยง7โ€“10 and *Media Browsing*. **Architectural pattern:** Service + controller; filesystem + DB. **Upstream dependencies:** Platform (auth, DB, paths for storage roots). **Downstream consumers:** Annotator UI; Annotations REST (references `MediaId`). ## 2. Internal interfaces `MediaService`, `MediaController` โ€” JSON create, **multipart** batch with `waypointId`, paged list, file download, delete. ## 3. External API | Policy | Base | |--------|------| | `ANN` | `/media` | ## 4. Data access `media` table; files on disk under configured video/image roots. ## 5. Modules included `media-service`.