mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-10 04:20:52 +00:00
adding and adjusting headers
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
name: X-Plex-Device-Name
|
||||
x-speakeasy-name-override: DeviceName
|
||||
description: The name of the device the client application is running on. This is used to track the client application and its usage. (Chrome, Safari, etc.)
|
||||
in: query
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
name: X-Plex-Device-Screen-Resolution
|
||||
x-speakeasy-name-override: DeviceScreenResolution
|
||||
description: The resolution of the device the client application is running on. This is used to track the client application and its usage. (1487x1165,2560x1440)
|
||||
in: query
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
|
||||
9
src/parameters/plex/x-plex-device-vendor.yaml
Normal file
9
src/parameters/plex/x-plex-device-vendor.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
name: X-Plex-Device-Vendor
|
||||
x-speakeasy-name-override: DeviceVendor
|
||||
description: The device vendor
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
examples:
|
||||
- Roku
|
||||
@@ -1,8 +1,9 @@
|
||||
name: X-Plex-Device
|
||||
x-speakeasy-name-override: DeviceName
|
||||
description: The name of the device the client application is running on. This is used to track the client application and its usage. (Linux, iOS, Android, etc.)
|
||||
in: query
|
||||
x-speakeasy-name-override: DeviceNickname
|
||||
description: A relatively friendly name for the client device
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
example: "Linux"
|
||||
examples:
|
||||
- Roku 3
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
name: X-Plex-Features
|
||||
x-speakeasy-name-override: ClientFeatures
|
||||
description: The features of the client application. This is used to track the client application and its usage. (external-media,indirect-media,hub-style-list)
|
||||
in: query
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
name: X-Plex-Client-Identifier
|
||||
x-speakeasy-name-override: ClientID
|
||||
description: The unique identifier for the client application. This is used to track the client application and its usage. (UUID, serial number, or other number unique per device)
|
||||
in: query
|
||||
description: An opaque identifier unique to the client (UUID, serial number, or other unique device ID)
|
||||
required: true
|
||||
in: header
|
||||
schema:
|
||||
type: string
|
||||
example: gcgzw5rz2xovp84b4vha3a40
|
||||
required: true
|
||||
examples:
|
||||
- 3381b62b-9ab7-4e37-827b-203e9809eb58
|
||||
- SMPH00123
|
||||
- 4CE0460D0G
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: X-Plex-Language
|
||||
description: The language of the client application. This is used to track the client application and its usage. (en, ja, etc.)
|
||||
in: query
|
||||
description: The language of the client application.
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
|
||||
9
src/parameters/plex/x-plex-marketplace.yaml
Normal file
9
src/parameters/plex/x-plex-marketplace.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
name: X-Plex-Marketplace
|
||||
x-speakeasy-name-override: Marketplace
|
||||
description: The marketplace on which the client application is distributed
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
examples:
|
||||
- googlePlay
|
||||
@@ -1,7 +1,9 @@
|
||||
name: X-Plex-Model
|
||||
description: The model of the device the client application is running on. This is used to track the client application and its usage. (bundled, desktop, etc.)
|
||||
in: query
|
||||
x-speakeasy-name-override: Model
|
||||
description: A potentially less friendly identifier for the device model
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
example: "bundled"
|
||||
examples:
|
||||
- 4200X
|
||||
|
||||
9
src/parameters/plex/x-plex-platform-version.yaml
Normal file
9
src/parameters/plex/x-plex-platform-version.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
name: X-Plex-Platform-Version
|
||||
x-speakeasy-name-override: PlatformVersion
|
||||
description: The version of the platform
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
examples:
|
||||
- 4.3 build 1057
|
||||
@@ -1,8 +1,10 @@
|
||||
name: X-Plex-Platform
|
||||
x-speakeasy-name-override: ClientPlatform
|
||||
description: The platform of the client application. This is used to track the client application and its usage. (Chrome, Safari, etc.)
|
||||
in: query
|
||||
x-speakeasy-name-override: Platform
|
||||
description: The platform of the client application.
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
example: "Chrome"
|
||||
examples:
|
||||
- Chrome
|
||||
- Roku
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
name: X-Plex-Product
|
||||
x-speakeasy-name-override: ClientName
|
||||
description: The name of the client application. This is used to track the client application and its usage. (Plex Web, Plex Media Server, etc.)
|
||||
in: query
|
||||
description: The name of the client application. (Plex Web, Plex Media Server, etc.)
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
example: "Plex Web"
|
||||
examples:
|
||||
- Plex Web
|
||||
- Plex for Roku
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: X-Plex-Session-Id
|
||||
description: The session ID of the client application. This is used to track the client application and its usage. (97e136ef-4ddd-4ff3-89a7-a5820c96c2ca)
|
||||
in: query
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: X-Plex-Token
|
||||
in: query
|
||||
description: Plex Authentication Token
|
||||
in: header
|
||||
description: An authentication token, obtained from plex.tv
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
example: CV5xoxjTpFKUzBTShsaf
|
||||
required: true
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
name: X-Plex-Version
|
||||
x-speakeasy-name-override: ClientVersion
|
||||
description: The version of the client application. This is used to track the client application and its usage. (4.133.0, 5.0.0, etc.)
|
||||
in: query
|
||||
description: The version of the client application.
|
||||
in: header
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
example: "4.133.0"
|
||||
examples:
|
||||
- "2.4.1"
|
||||
- "4.133.0"
|
||||
|
||||
Reference in New Issue
Block a user