Update plex-api-spec.yaml

This commit is contained in:
Luke Hagar
2023-04-12 10:53:54 -05:00
parent d2a9bdf0cf
commit eda974449e

View File

@@ -30,14 +30,19 @@ servers:
description: The port to access your plex server
security:
- PlexToken: []
- PlexToken-Header: []
- PlexToken-Query: []
components:
securitySchemes:
PlexToken: # arbitrary name for the security scheme
PlexToken-Header: # arbitrary name for the security scheme
type: apiKey
in: header # can be "header", "query" or "cookie"
name: X-Plex-Token # name of the header, query parameter or cookie
PlexToken-Query: # arbitrary name for the security scheme
type: apiKey
in: query # can be "header", "query" or "cookie"
name: X-Plex-Token # name of the header, query parameter or cookie
paths:
/clients: