mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-06 04:20:40 +00:00
Moved files into package.json project setup
This commit is contained in:
100
src/models/AuthPinContainer.yaml
Normal file
100
src/models/AuthPinContainer.yaml
Normal file
@@ -0,0 +1,100 @@
|
||||
type: object
|
||||
x-examples:
|
||||
Example 1:
|
||||
id: 373040866
|
||||
code: 7RQZ
|
||||
product: '0'
|
||||
trusted: false
|
||||
qr: 'https://plex.tv/api/v2/pins/qr/7RQZ'
|
||||
clientIdentifier: 9klpwueublnfbvlx95w83ah9
|
||||
location:
|
||||
code: NL
|
||||
european_union_member: true
|
||||
continent_code: EU
|
||||
country: The Netherlands
|
||||
city: Breda
|
||||
time_zone: Europe/Amsterdam
|
||||
postal_code: '4814'
|
||||
in_privacy_restricted_country: true
|
||||
in_privacy_restricted_region: true
|
||||
subdivisions: North Brabant
|
||||
coordinates: '51.5869, 4.7471'
|
||||
expiresIn: 876
|
||||
createdAt: '2024-07-16T17:03:05Z'
|
||||
expiresAt: '2024-07-16T17:18:05Z'
|
||||
authToken: null
|
||||
newRegistration: null
|
||||
title: AuthPinContainer
|
||||
examples:
|
||||
- id: 308667304
|
||||
code: 7RQZ
|
||||
product: '0'
|
||||
trusted: false
|
||||
qr: 'https://plex.tv/api/v2/pins/qr/7RQZ'
|
||||
clientIdentifier: string
|
||||
location:
|
||||
code: VI
|
||||
continent_code: NA
|
||||
country: United States Virgin Islands
|
||||
city: Amsterdam
|
||||
european_union_member: true
|
||||
time_zone: America/St_Thomas
|
||||
postal_code: 802
|
||||
in_privacy_restricted_country: true
|
||||
in_privacy_restricted_region: true
|
||||
subdivisions: Saint Thomas
|
||||
coordinates: '18.3381, -64.8941'
|
||||
expiresIn: 876
|
||||
createdAt: '2024-07-16T17:03:05Z'
|
||||
expiresAt: '2024-07-16T17:18:05Z'
|
||||
authToken: null
|
||||
newRegistration: null
|
||||
required:
|
||||
- id
|
||||
- code
|
||||
- product
|
||||
- trusted
|
||||
- qr
|
||||
- clientIdentifier
|
||||
- location
|
||||
- expiresIn
|
||||
- createdAt
|
||||
- expiresAt
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
example: 308667304
|
||||
code:
|
||||
type: string
|
||||
example: 7RQZ
|
||||
product:
|
||||
type: string
|
||||
example: '0'
|
||||
trusted:
|
||||
type: boolean
|
||||
default: false
|
||||
qr:
|
||||
type: string
|
||||
example: 'https://plex.tv/api/v2/pins/qr/7RQZ'
|
||||
clientIdentifier:
|
||||
type: string
|
||||
description: The X-Client-Identifier used in the request
|
||||
location:
|
||||
$ref: ./GeoData.yaml
|
||||
expiresIn:
|
||||
type: integer
|
||||
example: 876
|
||||
description: 'The number of seconds this pin expires, by default 900 seconds'
|
||||
default: 900
|
||||
createdAt:
|
||||
type: string
|
||||
example: '2024-07-16T17:03:05Z'
|
||||
format: date-time
|
||||
expiresAt:
|
||||
type: string
|
||||
format: date-time
|
||||
example: '2024-07-16T17:18:05Z'
|
||||
authToken:
|
||||
type: 'null'
|
||||
newRegistration:
|
||||
type: 'null'
|
||||
Reference in New Issue
Block a user