Updating PlexTV Spec

This commit is contained in:
lukehagar
2023-06-02 20:15:03 +00:00
parent ede7c1cf4f
commit 31f1ce7a75

View File

@@ -109,6 +109,8 @@ paths:
token: token:
type: string type: string
example: VFnxitsRFdWx_WrzsKL example: VFnxitsRFdWx_WrzsKL
'400':
description: 'Bad Request - A parameter was not specified, or was specified incorrectly.'
'401': '401':
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query. description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
content: content:
@@ -161,6 +163,8 @@ paths:
type: boolean type: boolean
subscription: subscription:
type: boolean type: boolean
'400':
description: 'Bad Request - A parameter was not specified, or was specified incorrectly.'
'401': '401':
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query. description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
content: content:
@@ -213,6 +217,8 @@ paths:
type: boolean type: boolean
subscription: subscription:
type: boolean type: boolean
'400':
description: 'Bad Request - A parameter was not specified, or was specified incorrectly.'
'401': '401':
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query. description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
content: content:
@@ -520,6 +526,8 @@ paths:
type: boolean type: boolean
IPv6: IPv6:
type: boolean type: boolean
'400':
description: 'Bad Request - A parameter was not specified, or was specified incorrectly.'
'401': '401':
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query. description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
content: content:
@@ -551,6 +559,8 @@ paths:
responses: responses:
'200': '200':
description: Logged in user details description: Logged in user details
'400':
description: 'Bad Request - A parameter was not specified, or was specified incorrectly.'
'401': '401':
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query. description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
content: content:
@@ -602,6 +612,8 @@ paths:
updatedAt: updatedAt:
type: number type: number
example: 1681769995 example: 1681769995
'400':
description: 'Bad Request - A parameter was not specified, or was specified incorrectly.'
'401': '401':
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query. description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
content: content:
@@ -656,6 +668,8 @@ paths:
scrobbling: scrobbling:
type: string type: string
example: opt_in example: opt_in
'400':
description: 'Bad Request - A parameter was not specified, or was specified incorrectly.'
'401': '401':
description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query. description: Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
content: content: