Add series endpoint parity: /credits, /images, /videos
CI / lint (push) Canceled after 0s
CI / typecheck (push) Canceled after 0s
CI / unit-tests (push) Canceled after 0s
CI / integration-tests (push) Canceled after 0s
CI / container-build (push) Canceled after 0s
CI / dependency-audit (push) Canceled after 0s

Movies have separate /credits, /images, /videos sub-endpoints; series
only had /seasons. Adds the matching three for series, reusing the
same cast/crew/creators three-way split series detail already does
(extracted into _split_series_credits so both share it).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
NixReaper
2026-09-05 09:52:08 -05:00
co-authored by Claude Sonnet 5
parent 6956bf7406
commit 74adcf77bc
5 changed files with 184 additions and 5 deletions
+17
View File
@@ -76,6 +76,23 @@ class SeriesSeasonsOut(BaseModel):
seasons: list[SeasonBriefOut] = []
class SeriesCreditsOut(BaseModel):
id: str
cast: list[CastCreditOut] = []
crew: list[CrewCreditOut] = []
creators: list[CrewCreditOut] = []
class SeriesImagesOut(BaseModel):
id: str
images: ImagesOut = ImagesOut()
class SeriesVideosOut(BaseModel):
id: str
videos: list[VideoOut] = []
class SeriesListOut(BaseModel):
page: int
page_size: int