more fixes

This commit is contained in:
JasonLandbridge
2024-09-17 17:45:03 +02:00
parent 8e9339b46c
commit bff472e4ee
3 changed files with 378 additions and 16 deletions

View File

@@ -3887,22 +3887,30 @@ paths:
Adds the Guids object to the response
schema:
type: integer
format: int32
enum:
- 0
- 1
example: 1
required: false
example: 1
default: 0
x-speakeasy-enums:
- DISABLE
- ENABLE
- name: includeMeta
in: query
description: |
Adds the Meta object to the response
schema:
type: integer
format: int32
enum:
- 0
- 1
example: 1
required: false
example: 1
default: 0
x-speakeasy-enums:
- DISABLE
- ENABLE
- name: type
in: query
description: |
@@ -3920,6 +3928,11 @@ paths:
- 3
- 4
example: 2
x-speakeasy-enums:
- MOVIE
- SHOW
- SEASON
- EPISODE
required: true
- name: X-Plex-Container-Start
in: query
@@ -3964,6 +3977,23 @@ paths:
properties:
MediaContainer:
type: object
required:
- size
- totalSize
- offset
- allowSync
- art
- content
- identifier
- librarySectionID
- librarySectionTitle
- librarySectionUUID
- mediaTagPrefix
- mediaTagVersion
- thumb
- title1
- title2
- viewGroup
properties:
size:
type: integer
@@ -4021,6 +4051,15 @@ paths:
type: array
items:
type: object
required:
- ratingKey
- key
- guid
- title
- type
- year
- duration
- Media
properties:
ratingKey:
type: string
@@ -4233,6 +4272,22 @@ paths:
tag:
type: string
example: Sigourney Weaver
Guid:
x-speakeasy-name-override: MediaGuid
description: |
The Guid object is only included in the response if the `includeGuids` parameter is set to `1`.
type: array
items:
type: object
required:
- id
properties:
id:
type: string
description: |
Can be one of the following formats:
imdb://tt13015952, tmdb://2434012, tvdb://7945991
example: 'imdb://tt13015952'
titleSort:
type: string
example: Whale
@@ -4309,6 +4364,132 @@ paths:
parentTheme:
type: string
example: /library/metadata/66/theme/1705716261
Meta:
description: |
The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
type: object
properties:
Type:
type: array
items:
type: object
required:
- key
- type
- title
- active
properties:
key:
type: string
example: /library/sections/2/all?type=2
type:
type: string
example: show
title:
type: string
example: TV Shows
active:
type: boolean
example: false
Filter:
type: array
items:
type: object
required:
- filter
- filterType
- key
- title
- type
properties:
filter:
type: string
example: genre
filterType:
type: string
example: string
key:
type: string
example: /library/sections/2/genre?type=2
title:
type: string
example: Genre
type:
type: string
example: filter
Sort:
type: array
items:
type: object
required:
- key
- title
- defaultDirection
properties:
default:
type: string
example: asc
defaultDirection:
type: string
example: asc
descKey:
type: string
example: 'titleSort:desc'
firstCharacterKey:
type: string
example: /library/sections/2/firstCharacter
key:
type: string
example: titleSort
title:
type: string
example: Title
Field:
type: array
items:
type: object
required:
- key
- title
- type
properties:
key:
type: string
example: show.title
title:
type: string
example: Show Title
type:
type: string
example: string
subType:
type: string
example: rating
FieldType:
type: array
items:
type: object
required:
- type
- Operator
properties:
type:
type: string
example: tag
Operator:
type: array
items:
type: object
required:
- key
- title
properties:
key:
type: string
example: '='
title:
type: string
example: is
'400':
description: 'Bad Request - A parameter was not specified, or was specified incorrectly.'
content:
@@ -4495,6 +4676,11 @@ paths:
- 3
- 4
example: 2
x-speakeasy-enums:
- MOVIE
- SHOW
- SEASON
- EPISODE
required: true
responses:
'200':
@@ -5816,6 +6002,11 @@ paths:
- 3
- 4
example: 2
x-speakeasy-enums:
- MOVIE
- SHOW
- SEASON
- EPISODE
required: true
- name: includeGuids
in: query
@@ -8187,6 +8378,11 @@ paths:
- 3
- 4
example: 2
x-speakeasy-enums:
- MOVIE
- SHOW
- SEASON
- EPISODE
required: true
responses:
'200':

View File

@@ -15,4 +15,9 @@ schema:
- 3
- 4
example: 2
x-speakeasy-enums:
- MOVIE
- SHOW
- SEASON
- EPISODE
required: true

View File

@@ -57,23 +57,13 @@ get:
description: |
Adds the Guids object to the response
schema:
type: integer
enum:
- 0
- 1
example: 1
required: false
$ref: "../../../models/common/PlexBoolean.yaml"
- name: includeMeta
in: query
description: |
Adds the Meta object to the response
schema:
type: integer
enum:
- 0
- 1
example: 1
required: false
$ref: "../../../models/common/PlexBoolean.yaml"
- $ref: "../../../parameters/type.yaml"
- $ref: "../../../parameters/container-start.yaml"
- $ref: "../../../parameters/container-size.yaml"
@@ -88,6 +78,23 @@ get:
properties:
MediaContainer:
type: object
required:
- size
- totalSize
- offset
- allowSync
- art
- content
- identifier
- librarySectionID
- librarySectionTitle
- librarySectionUUID
- mediaTagPrefix
- mediaTagVersion
- thumb
- title1
- title2
- viewGroup
properties:
size:
type: integer
@@ -143,6 +150,15 @@ get:
type: array
items:
type: object
required:
- ratingKey
- key
- guid
- title
- type
- year
- duration
- Media
properties:
ratingKey:
type: string
@@ -360,6 +376,22 @@ get:
tag:
type: string
example: Sigourney Weaver
Guid:
x-speakeasy-name-override: MediaGuid
description: |
The Guid object is only included in the response if the `includeGuids` parameter is set to `1`.
type: array
items:
type: object
required:
- id
properties:
id:
type: string
description: |
Can be one of the following formats:
imdb://tt13015952, tmdb://2434012, tvdb://7945991
example: imdb://tt13015952
titleSort:
type: string
example: Whale
@@ -436,6 +468,135 @@ get:
parentTheme:
type: string
example: /library/metadata/66/theme/1705716261
Meta:
description: |
The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
type: object
properties:
Type:
type: array
items:
type: object
required:
- key
- type
- title
- active
- Filter
- Sort
properties:
key:
type: string
example: "/library/sections/2/all?type=2"
type:
type: string
example: "show"
title:
type: string
example: "TV Shows"
active:
type: boolean
example: false
Filter:
type: array
items:
type: object
required:
- filter
- filterType
- key
- title
- type
properties:
filter:
type: string
example: "genre"
filterType:
type: string
example: "string"
key:
type: string
example: "/library/sections/2/genre?type=2"
title:
type: string
example: "Genre"
type:
type: string
example: "filter"
Sort:
type: array
items:
type: object
required:
- key
- title
- defaultDirection
properties:
default:
type: string
example: "asc"
defaultDirection:
type: string
example: "asc"
descKey:
type: string
example: "titleSort:desc"
firstCharacterKey:
type: string
example: "/library/sections/2/firstCharacter"
key:
type: string
example: "titleSort"
title:
type: string
example: "Title"
Field:
type: array
items:
type: object
required:
- key
- title
- type
properties:
key:
type: string
example: "show.title"
title:
type: string
example: "Show Title"
type:
type: string
example: "string"
subType:
type: string
example: "rating"
FieldType:
type: array
items:
type: object
required:
- type
- Operator
properties:
type:
type: string
example: "tag"
Operator:
type: array
items:
type: object
required:
- key
- title
properties:
key:
type: string
example: "="
title:
type: string
example: "is"
"400":
$ref: "../../../responses/400.yaml"
"401":