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:
@@ -8,6 +8,9 @@ info:
|
|||||||
name: Luke Hagar
|
name: Luke Hagar
|
||||||
email: Lukeslakemail@gmail.com
|
email: Lukeslakemail@gmail.com
|
||||||
url: 'https://www.LukeHagar.com'
|
url: 'https://www.LukeHagar.com'
|
||||||
|
license:
|
||||||
|
name: MIT
|
||||||
|
url: 'https://opensource.org/licenses/MIT'
|
||||||
servers:
|
servers:
|
||||||
- url: '{Protocol}://{Local IP}:{Port}'
|
- url: '{Protocol}://{Local IP}:{Port}'
|
||||||
variables:
|
variables:
|
||||||
@@ -39,78 +42,6 @@ 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-Client-Identifier
|
|
||||||
description: 'UUID, serial number, or other number unique per device'
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
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: false
|
|
||||||
- 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: false
|
|
||||||
- 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: false
|
|
||||||
- in: header
|
|
||||||
name: X-Plex-Platform
|
|
||||||
description: 'Platform name, eg `iOS`, `MacOSX`, `Android`, `LG`'
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
example:
|
|
||||||
- iOS
|
|
||||||
- MacOSX
|
|
||||||
- Android
|
|
||||||
- LG
|
|
||||||
required: false
|
|
||||||
- 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: false
|
|
||||||
- in: header
|
|
||||||
name: X-Plex-Provides
|
|
||||||
description: 'One or more of `[player, controller, server]`'
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
example:
|
|
||||||
- iOS
|
|
||||||
- MacOSX
|
|
||||||
- Android
|
|
||||||
- LG
|
|
||||||
required: false
|
|
||||||
- in: header
|
|
||||||
name: X-Plex-Version
|
|
||||||
description: Plex application version number
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
required: false
|
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: Available Clients
|
description: Available Clients
|
||||||
@@ -1282,7 +1213,7 @@ paths:
|
|||||||
parameters:
|
parameters:
|
||||||
- name: url
|
- name: url
|
||||||
description: 'This is the path to the local file, must be prefixed by `file://`'
|
description: 'This is the path to the local file, must be prefixed by `file://`'
|
||||||
in: path
|
in: query
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
example: 'file://C:\Image.png&type=13'
|
example: 'file://C:\Image.png&type=13'
|
||||||
|
|||||||
Reference in New Issue
Block a user