From 7812f751b7f4282526f5740f839b13028ef7db8a Mon Sep 17 00:00:00 2001 From: sct Date: Fri, 14 Oct 2022 23:32:09 +0000 Subject: [PATCH] deploy: 1dfa9431a95e7e2a1843746c2473d8a06f03e184 --- overseerr-api.yml | 43 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/overseerr-api.yml b/overseerr-api.yml index 164187de3..0be47e668 100644 --- a/overseerr-api.yml +++ b/overseerr-api.yml @@ -4585,9 +4585,13 @@ paths: type: number example: 123 seasons: - type: array - items: - type: number + oneOf: + - type: array + items: + type: number + minimum: 1 + - type: string + enum: [all] is4k: type: boolean example: false @@ -4666,7 +4670,7 @@ paths: $ref: '#/components/schemas/MediaRequest' put: 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: - request parameters: @@ -4677,6 +4681,37 @@ paths: example: '1' schema: 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: '200': description: Succesfully updated request