mirror of
https://github.com/LukeHagar/plex-docs.git
synced 2025-12-06 12:37:45 +00:00
Updating PMS Spec
This commit is contained in:
@@ -4782,80 +4782,81 @@ paths:
|
|||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: Access Token
|
description: Access Token
|
||||||
application/json:
|
content:
|
||||||
schema:
|
application/json:
|
||||||
type: object
|
schema:
|
||||||
properties:
|
type: object
|
||||||
id:
|
properties:
|
||||||
description: PinID for use with authentication
|
id:
|
||||||
type: number
|
description: PinID for use with authentication
|
||||||
example: 1272322473
|
type: number
|
||||||
code:
|
example: 1272322473
|
||||||
type: string
|
code:
|
||||||
example: 3patfx1a78ukcbr7x0n9bl26t
|
type: string
|
||||||
product:
|
example: 3patfx1a78ukcbr7x0n9bl26t
|
||||||
type: string
|
product:
|
||||||
example: Plex Web
|
type: string
|
||||||
trusted:
|
example: Plex Web
|
||||||
type: boolean
|
trusted:
|
||||||
qr:
|
type: boolean
|
||||||
description: |
|
qr:
|
||||||
a link to a QR code hosted on plex.tv
|
description: |
|
||||||
The QR code redirects to the relevant `plex.tv/link` authentication page
|
a link to a QR code hosted on plex.tv
|
||||||
Which then prompts the user for the 4 Digit Link Pin
|
The QR code redirects to the relevant `plex.tv/link` authentication page
|
||||||
type: string
|
Which then prompts the user for the 4 Digit Link Pin
|
||||||
example: 'https://plex.tv/api/v2/pins/qr/3patfx1a78ukcbr7x0n9bl26t'
|
type: string
|
||||||
clientIdentifier:
|
example: 'https://plex.tv/api/v2/pins/qr/3patfx1a78ukcbr7x0n9bl26t'
|
||||||
type: string
|
clientIdentifier:
|
||||||
example: Postman
|
type: string
|
||||||
location:
|
example: Postman
|
||||||
type: object
|
location:
|
||||||
properties:
|
type: object
|
||||||
code:
|
properties:
|
||||||
type: string
|
code:
|
||||||
example: US
|
type: string
|
||||||
european_union_member:
|
example: US
|
||||||
type: boolean
|
european_union_member:
|
||||||
continent_code:
|
type: boolean
|
||||||
type: string
|
continent_code:
|
||||||
example: NA
|
type: string
|
||||||
country:
|
example: NA
|
||||||
type: string
|
country:
|
||||||
example: United States
|
type: string
|
||||||
city:
|
example: United States
|
||||||
type: string
|
city:
|
||||||
example: Austin
|
type: string
|
||||||
time_zone:
|
example: Austin
|
||||||
type: string
|
time_zone:
|
||||||
example: America/Chicago
|
type: string
|
||||||
postal_code:
|
example: America/Chicago
|
||||||
type: string
|
postal_code:
|
||||||
example: 78732
|
type: string
|
||||||
in_privacy_restricted_country:
|
example: 78732
|
||||||
type: boolean
|
in_privacy_restricted_country:
|
||||||
subdivisions:
|
type: boolean
|
||||||
type: string
|
subdivisions:
|
||||||
example: Texas
|
type: string
|
||||||
coordinates:
|
example: Texas
|
||||||
type: string
|
coordinates:
|
||||||
example: 30.3768 -97.8935
|
type: string
|
||||||
expiresIn:
|
example: 30.3768 -97.8935
|
||||||
type: number
|
expiresIn:
|
||||||
example: 1800
|
type: number
|
||||||
createdAt:
|
example: 1800
|
||||||
type: string
|
createdAt:
|
||||||
format: date-time
|
type: string
|
||||||
example: 2023-04-12T17:00:03.000Z
|
format: date-time
|
||||||
expiresAt:
|
example: 2023-04-12T17:00:03.000Z
|
||||||
type: string
|
expiresAt:
|
||||||
format: date-time
|
type: string
|
||||||
example: 2023-04-12T17:30:03.000Z
|
format: date-time
|
||||||
authToken:
|
example: 2023-04-12T17:30:03.000Z
|
||||||
type: string
|
authToken:
|
||||||
format: nullable
|
type: string
|
||||||
newRegistration:
|
format: nullable
|
||||||
type: string
|
newRegistration:
|
||||||
format: nullable
|
type: string
|
||||||
|
format: nullable
|
||||||
'400':
|
'400':
|
||||||
description: X-Plex-Client-Identifier is missing
|
description: X-Plex-Client-Identifier is missing
|
||||||
content:
|
content:
|
||||||
|
|||||||
Reference in New Issue
Block a user