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
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:
co-authored by
Claude Sonnet 5
parent
6956bf7406
commit
74adcf77bc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user