mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-09 20:47:46 +00:00
adding global params to pins endpoint, customized names
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
name: X-Plex-Device
|
||||
x-speakeasy-name-override: DeviceName
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: X-Plex-Client-Identifier
|
||||
x-speakeasy-name-override: ClientID
|
||||
description: |
|
||||
The unique identifier for the client application
|
||||
This is used to track the client application and its usage
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: X-Plex-Product
|
||||
x-speakeasy-name-override: ClientName
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
name: X-Plex-Version
|
||||
x-speakeasy-name-override: ClientVersion
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
|
||||
@@ -5,7 +5,7 @@ post:
|
||||
- Plex
|
||||
summary: Get a Pin
|
||||
operationId: getPin
|
||||
description: Retrieve a Pin from Plex.tv for authentication flows
|
||||
description: Retrieve a Pin ID from Plex.tv to use for authentication flows
|
||||
security: [] # No security required
|
||||
parameters:
|
||||
- name: strong
|
||||
@@ -20,6 +20,9 @@ post:
|
||||
required: false
|
||||
- $ref: ../../parameters/plex/x-plex-identifier.yaml
|
||||
- $ref: ../../parameters/plex/x-plex-product.yaml
|
||||
- $ref: ../../parameters/plex/x-plex-device.yaml
|
||||
- $ref: ../../parameters/plex/x-plex-version.yaml
|
||||
- $ref: ../../parameters/plex/x-plex-platform.yaml
|
||||
responses:
|
||||
"200":
|
||||
description: Requests a new pin id used in the authentication flow
|
||||
|
||||
@@ -31,6 +31,10 @@ servers:
|
||||
x-speakeasy-globals:
|
||||
parameters:
|
||||
- $ref: "./parameters/plex/x-plex-identifier.yaml"
|
||||
- $ref: "./parameters/plex/x-plex-product.yaml"
|
||||
- $ref: "./parameters/plex/x-plex-device.yaml"
|
||||
- $ref: "./parameters/plex/x-plex-version.yaml"
|
||||
- $ref: "./parameters/plex/x-plex-platform.yaml"
|
||||
|
||||
security:
|
||||
- accessToken: []
|
||||
|
||||
Reference in New Issue
Block a user