mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-10 04:20:52 +00:00
Revert "fix: remove duplicate imports that will lead to failed js builds"
This reverts commit 5756869660.
This commit is contained in:
@@ -7,6 +7,7 @@ get:
|
||||
Search the provided query across all library sections, or a single section, and return matches as hubs, split up by type.
|
||||
parameters:
|
||||
- $ref: "../../parameters/query.yaml"
|
||||
- $ref: "../../parameters/plex/x-plex-identifier.yaml"
|
||||
- name: limit
|
||||
in: query
|
||||
required: false
|
||||
|
||||
@@ -14,6 +14,11 @@ get:
|
||||
required: true
|
||||
schema:
|
||||
type: integer
|
||||
- $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: The Pin with a non-null authToken when it has been verified by the user
|
||||
|
||||
@@ -18,6 +18,11 @@ post:
|
||||
type: boolean
|
||||
default: false
|
||||
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:
|
||||
"201":
|
||||
|
||||
@@ -24,6 +24,7 @@ get:
|
||||
description: Include IPv6 entries in the results
|
||||
schema:
|
||||
$ref: "../../models/common/PlexBoolean.yaml"
|
||||
- $ref: "../../parameters/plex/x-plex-identifier.yaml"
|
||||
responses:
|
||||
"200":
|
||||
description: List of Plex Devices. This includes Plex hosted servers and clients
|
||||
|
||||
@@ -7,6 +7,12 @@ post:
|
||||
summary: Get User Sign In Data
|
||||
description: Sign in user with username and password and return user data with Plex authentication token
|
||||
operationId: post-users-sign-in-data
|
||||
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
|
||||
requestBody:
|
||||
content:
|
||||
application/x-www-form-urlencoded:
|
||||
|
||||
Reference in New Issue
Block a user