Updating OpenAPI Spec

This commit is contained in:
lukehagar
2023-04-18 17:48:17 +00:00
parent c5f22a71ac
commit 39501274ea

View File

@@ -32,7 +32,6 @@ servers:
security: security:
- Token: [] - Token: []
ClientIdentifier: [] ClientIdentifier: []
Host: []
DeviceName: [] DeviceName: []
components: components:
securitySchemes: securitySchemes:
@@ -46,15 +45,32 @@ components:
type: apiKey type: apiKey
in: header in: header
name: X-Plex-Client-Identifier name: X-Plex-Client-Identifier
Host:
type: apiKey
in: header
name: Host
DeviceName: DeviceName:
description: Primary name for the device eg. `Plex Web (Chrome)` description: Primary name for the device eg. `Plex Web (Chrome)`
type: apiKey type: apiKey
in: header in: header
name: X-Plex-Device-Name name: X-Plex-Device-Name
Device:
description: |
The type of device your application is running on
Device name and or model number, eg `iPhone3,2`, `Motorola XOOM™`, `LG5200TV`
type: apiKey
in: header
name: X-Plex-Device
PlatformVersion:
description: |
Operating system version
eg `4.3.1`, `10.6.7`, `3.2`
type: apiKey
in: header
name: X-Plex-Platform-Version
Platform:
description: |
Platform name
eg: `Web`, `iOS`, `MacOSX`, `Android`, `LG`
type: apiKey
in: header
name: X-Plex-Platform
paths: paths:
/: /:
get: get: