Updating OpenAPI Spec

This commit is contained in:
lukehagar
2023-04-12 15:43:34 +00:00
parent 7e5c82ee49
commit bafc59ef67

View File

@@ -8,6 +8,9 @@ info:
name: Luke Hagar
email: Lukeslakemail@gmail.com
url: 'https://www.LukeHagar.com'
license:
name: MIT
url: 'https://opensource.org/licenses/MIT'
servers:
- url: '{Protocol}://{Local IP}:{Port}'
variables:
@@ -39,78 +42,6 @@ paths:
summary: Get Available Clients
description: Get Available Clients
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:
'200':
description: Available Clients
@@ -1282,7 +1213,7 @@ paths:
parameters:
- name: url
description: 'This is the path to the local file, must be prefixed by `file://`'
in: path
in: query
schema:
type: string
example: 'file://C:\Image.png&type=13'