mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-09 20:47:46 +00:00
Merge pull request #25 from faugusztin/pins_x_plex_product
Add X-Plex-Product header for pin call
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
|
default: false
|
||||||
required: false
|
required: false
|
||||||
- $ref: "../../parameters/ClientIdentifier.yaml"
|
- $ref: "../../parameters/ClientIdentifier.yaml"
|
||||||
|
- $ref: "../../parameters/ClientProduct.yaml"
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: The Pin
|
description: The Pin
|
||||||
|
|||||||
Reference in New Issue
Block a user