mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
fix: update API docs to allow 'all' seasons value (#3073)
This commit is contained in:
@@ -4585,9 +4585,13 @@ paths:
|
|||||||
type: number
|
type: number
|
||||||
example: 123
|
example: 123
|
||||||
seasons:
|
seasons:
|
||||||
type: array
|
oneOf:
|
||||||
|
- type: array
|
||||||
items:
|
items:
|
||||||
type: number
|
type: number
|
||||||
|
minimum: 1
|
||||||
|
- type: string
|
||||||
|
enum: [all]
|
||||||
is4k:
|
is4k:
|
||||||
type: boolean
|
type: boolean
|
||||||
example: false
|
example: false
|
||||||
@@ -4666,7 +4670,7 @@ paths:
|
|||||||
$ref: '#/components/schemas/MediaRequest'
|
$ref: '#/components/schemas/MediaRequest'
|
||||||
put:
|
put:
|
||||||
summary: Update MediaRequest
|
summary: Update MediaRequest
|
||||||
description: Updates a specific media request and returns the request in a JSON object.. Requires the `MANAGE_REQUESTS` permission.
|
description: Updates a specific media request and returns the request in a JSON object. Requires the `MANAGE_REQUESTS` permission.
|
||||||
tags:
|
tags:
|
||||||
- request
|
- request
|
||||||
parameters:
|
parameters:
|
||||||
@@ -4677,6 +4681,37 @@ paths:
|
|||||||
example: '1'
|
example: '1'
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
requestBody:
|
||||||
|
required: true
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
mediaType:
|
||||||
|
type: string
|
||||||
|
enum: [movie, tv]
|
||||||
|
seasons:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: number
|
||||||
|
minimum: 1
|
||||||
|
is4k:
|
||||||
|
type: boolean
|
||||||
|
example: false
|
||||||
|
serverId:
|
||||||
|
type: number
|
||||||
|
profileId:
|
||||||
|
type: number
|
||||||
|
rootFolder:
|
||||||
|
type: string
|
||||||
|
languageProfileId:
|
||||||
|
type: number
|
||||||
|
userId:
|
||||||
|
type: number
|
||||||
|
nullable: true
|
||||||
|
required:
|
||||||
|
- mediaType
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: Succesfully updated request
|
description: Succesfully updated request
|
||||||
|
|||||||
Reference in New Issue
Block a user