From 8df4388d070342756a72792e36ceb6ded8fc4eec Mon Sep 17 00:00:00 2001 From: sct Date: Mon, 22 Aug 2022 05:50:43 +0000 Subject: [PATCH] deploy: 0839718806a04ee094445dd7276bba7f49424ab7 --- overseerr-api.yml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/overseerr-api.yml b/overseerr-api.yml index fccc26bc0..25a246675 100644 --- a/overseerr-api.yml +++ b/overseerr-api.yml @@ -3512,6 +3512,53 @@ paths: restricted: type: boolean example: false + /user/{userId}/watchlist: + get: + summary: Get user by ID + description: | + Retrieves a user's Plex Watchlist in a JSON object. + tags: + - users + parameters: + - in: path + name: userId + required: true + schema: + type: number + - in: query + name: page + schema: + type: number + example: 1 + default: 1 + responses: + '200': + description: Watchlist data returned + content: + application/json: + schema: + type: object + properties: + page: + type: number + totalPages: + type: number + totalResults: + type: number + results: + type: array + items: + type: object + properties: + tmdbId: + type: number + example: 1 + ratingKey: + type: string + type: + type: string + title: + type: string /user/{userId}/settings/main: get: summary: Get general settings for a user