Revert "feat(tv): tv seasons"

This reverts commit c117b37cd9.
This commit is contained in:
Nicolai Van der Storm
2022-06-05 18:37:50 +02:00
parent b22f20b6fa
commit 5f2ebfe662
5 changed files with 1 additions and 109 deletions

View File

@@ -1031,13 +1031,6 @@ components:
type: array
items:
$ref: '#/components/schemas/WatchProviders'
TvSeasons:
type: object
properties:
seasons:
type: array
items:
$ref: '#/components/schemas/Season'
MediaRequest:
type: object
properties:
@@ -5089,37 +5082,6 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/TvDetails'
/tv/{tvId}/seasons:
get:
summary: Get TV seasons
description: Returns TV seasons based on the provided tvId in a JSON object.
tags:
- tv
parameters:
- in: path
name: tvId
required: true
schema:
type: number
example: 76479
- in: query
name: page
schema:
type: number
example: 1
default: 1
- in: query
name: language
schema:
type: string
example: en
responses:
'200':
description: TV seasons
content:
application/json:
schema:
$ref: '#/components/schemas/TvSeasons'
/tv/{tvId}/season/{seasonId}:
get:
summary: Get season details and episode list