mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-10 12:37:44 +00:00
fixing lint issues
This commit is contained in:
@@ -2,7 +2,7 @@ get:
|
||||
tags:
|
||||
- Library
|
||||
summary: Search Library
|
||||
operationId: searchLibrary
|
||||
operationId: get-search-library
|
||||
description: |
|
||||
Search for content within a specific section of the library.
|
||||
|
||||
@@ -29,8 +29,8 @@ get:
|
||||
description: the Id of the library to query
|
||||
schema:
|
||||
type: integer
|
||||
- $ref: "../../parameters/accept-application-json.yaml"
|
||||
- $ref: "../../parameters/type.yaml"
|
||||
- $ref: "../../../parameters/accept-application-json.yaml"
|
||||
- $ref: "../../../parameters/type.yaml"
|
||||
responses:
|
||||
"200":
|
||||
description: The contents of the library by section and type
|
||||
@@ -161,6 +161,6 @@ get:
|
||||
format: int32
|
||||
example: 1705636920
|
||||
"400":
|
||||
$ref: "../../responses/400.yaml"
|
||||
$ref: "../../../responses/400.yaml"
|
||||
"401":
|
||||
$ref: "../../responses/401.yaml"
|
||||
$ref: "../../../responses/401.yaml"
|
||||
@@ -1,36 +0,0 @@
|
||||
get:
|
||||
tags:
|
||||
- Library
|
||||
summary: Get Common Library Items
|
||||
description: |
|
||||
Represents a "Common" item. It contains only the common attributes of the items selected by the provided filter
|
||||
operationId: getCommonLibraryItems
|
||||
parameters:
|
||||
- name: sectionId
|
||||
description: the Id of the library to query
|
||||
in: path
|
||||
schema:
|
||||
type: number
|
||||
required: true
|
||||
- name: type
|
||||
description: item type
|
||||
in: query
|
||||
schema:
|
||||
type: number
|
||||
required: true
|
||||
- name: filter
|
||||
description: the filter parameter
|
||||
in: query
|
||||
schema:
|
||||
type: string
|
||||
required: false
|
||||
|
||||
responses:
|
||||
"200":
|
||||
description: The details of the library
|
||||
"400":
|
||||
$ref: "../../responses/400.yaml"
|
||||
"401":
|
||||
$ref: "../../responses/401.yaml"
|
||||
"404":
|
||||
description: In response to a non-existant sectionId.
|
||||
@@ -8,6 +8,7 @@ get:
|
||||
operationId: getUserDetails
|
||||
parameters:
|
||||
- $ref: '../../parameters/plex-token.yaml'
|
||||
- $ref: "../../parameters/accept-application-json.yaml"
|
||||
responses:
|
||||
'200':
|
||||
description: Logged in user details
|
||||
|
||||
Reference in New Issue
Block a user