From 724edd9114e6d3879d8d4a0722647a321426f71c Mon Sep 17 00:00:00 2001 From: sct Date: Fri, 14 Jan 2022 10:33:10 +0000 Subject: [PATCH] deploy: 9cb97db13ced5df2dc595cd9033470b1a0750093 --- overseerr-api.yml | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/overseerr-api.yml b/overseerr-api.yml index e3fc90e32..8ad5afa46 100644 --- a/overseerr-api.yml +++ b/overseerr-api.yml @@ -1994,6 +1994,36 @@ paths: type: array items: $ref: '#/components/schemas/PlexDevice' + /settings/plex/users: + get: + summary: Get Plex users + description: | + Returns a list of Plex users in a JSON array. + + Requires the `MANAGE_USERS` permission. + tags: + - settings + - users + responses: + '200': + description: Plex users + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: string + title: + type: string + username: + type: string + email: + type: string + thumb: + type: string /settings/radarr: get: summary: Get Radarr settings @@ -3196,11 +3226,22 @@ paths: post: summary: Import all users from Plex description: | - Requests users from the Plex Server and creates a new user for each of them + Fetches and imports users from the Plex server. If a list of Plex IDs is provided in the request body, only the specified users will be imported. Otherwise, all users will be imported. Requires the `MANAGE_USERS` permission. tags: - users + requestBody: + required: false + content: + application/json: + schema: + type: object + properties: + plexIds: + type: array + items: + type: string responses: '201': description: A list of the newly created users