mirror of
https://github.com/LukeHagar/plex-docs.git
synced 2025-12-06 12:37:45 +00:00
Updating OpenAPI Spec
This commit is contained in:
@@ -39,6 +39,78 @@ paths:
|
|||||||
summary: Get Available Clients
|
summary: Get Available Clients
|
||||||
description: Get Available Clients
|
description: Get Available Clients
|
||||||
operationId: getAvailableClients
|
operationId: getAvailableClients
|
||||||
|
parameters:
|
||||||
|
- in: header
|
||||||
|
name: X-Plex-Platform
|
||||||
|
description: 'Platform name, eg iOS, MacOSX, Android, LG, etc'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example:
|
||||||
|
- iOS
|
||||||
|
- MacOSX
|
||||||
|
- Android
|
||||||
|
- LG
|
||||||
|
required: true
|
||||||
|
- in: header
|
||||||
|
name: X-Plex-Platform-Version
|
||||||
|
description: 'Operating system version, eg 4.3.1, 10.6.7, 3.2'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example:
|
||||||
|
- 4.3.1
|
||||||
|
- 10.6.7
|
||||||
|
- 3.2
|
||||||
|
required: true
|
||||||
|
- in: header
|
||||||
|
name: X-Plex-Provides
|
||||||
|
description: 'One or more of [player, controller, server]'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example:
|
||||||
|
- iOS
|
||||||
|
- MacOSX
|
||||||
|
- Android
|
||||||
|
- LG
|
||||||
|
required: true
|
||||||
|
- in: header
|
||||||
|
name: X-Plex-Client-Identifier
|
||||||
|
description: 'UUID, serial number, or other number unique per device'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
- in: header
|
||||||
|
name: X-Plex-Product
|
||||||
|
description: 'Plex application name, eg Laika, Plex Media Server, Media Link'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example:
|
||||||
|
- Laika
|
||||||
|
- Plex Media Server
|
||||||
|
- Media Link
|
||||||
|
required: true
|
||||||
|
- in: header
|
||||||
|
name: X-Plex-Version
|
||||||
|
description: Plex application version number
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
- in: header
|
||||||
|
name: X-Plex-Device
|
||||||
|
description: 'Device name and model number, eg iPhone3,2, Motorola XOOM™, LG5200TV'
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example:
|
||||||
|
- 'iPhone3,2'
|
||||||
|
- Motorola XOOM™
|
||||||
|
- LG5200TV
|
||||||
|
required: true
|
||||||
|
- in: header
|
||||||
|
name: X-Plex-Device-Name
|
||||||
|
description: Primary name for the device eg. `Plex Web (Chrome)`
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example: Plex Web (Chrome)
|
||||||
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: Available Clients
|
description: Available Clients
|
||||||
|
|||||||
Reference in New Issue
Block a user