mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-09 20:47:46 +00:00
Add X-Plex-Product header for pin call
Calling https://plex.tv/api/v2/pins expects the X-Plex-Product header with name of the application (product) which wants to create the PIN.
This commit is contained in:
8
parameters/ClientProduct.yaml
Normal file
8
parameters/ClientProduct.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
name: X-Plex-Product
|
||||
description: |
|
||||
Product name of the application shown in the list of devices
|
||||
in: header
|
||||
schema:
|
||||
type: string
|
||||
example: Postman
|
||||
required: true
|
||||
@@ -19,6 +19,7 @@ post:
|
||||
default: false
|
||||
required: false
|
||||
- $ref: "../../parameters/ClientIdentifier.yaml"
|
||||
- $ref: "../../parameters/ClientProduct.yaml"
|
||||
responses:
|
||||
"201":
|
||||
description: The Pin
|
||||
|
||||
Reference in New Issue
Block a user