Update plex-api-spec.yaml

This commit is contained in:
Luke Hagar
2023-04-18 15:45:53 -05:00
parent 2699ca5bc0
commit c20a897053

View File

@@ -34,7 +34,12 @@ servers:
security: security:
- Token: [] - Token: []
ClientIdentifier: [] ClientIdentifier: []
Device: []
DeviceName: [] DeviceName: []
Platform: []
PlatformVersion: []
Product: []
Version: []
components: components:
securitySchemes: securitySchemes:
@@ -74,6 +79,18 @@ components:
type: apiKey type: apiKey
in: header # can be "header", "query" or "cookie" in: header # can be "header", "query" or "cookie"
name: X-Plex-Platform # name of the header, query parameter or cookie name: X-Plex-Platform # name of the header, query parameter or cookie
Product: # arbitrary name for the security scheme
description: |
Plex application name
eg: `Laika`, `Plex Media Server`, `Media Link`
type: apiKey
in: header # can be "header", "query" or "cookie"
name: X-Plex-Product # name of the header, query parameter or cookie
Version: # arbitrary name for the security scheme
description: Plex application version number
type: apiKey
in: header # can be "header", "query" or "cookie"
name: X-Plex-Version # name of the header, query parameter or cookie
paths: paths:
# Plex Media Server endpoints # Plex Media Server endpoints