mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-10 12:37:44 +00:00
added missing properties
This commit is contained in:
@@ -14,3 +14,9 @@ description: |
|
|||||||
3 = season
|
3 = season
|
||||||
4 = episode
|
4 = episode
|
||||||
E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
|
E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
|
||||||
|
x-speakeasy-enums:
|
||||||
|
- NONE
|
||||||
|
- MOVIE
|
||||||
|
- TV_SHOW
|
||||||
|
- SEASON
|
||||||
|
- EPISODE
|
||||||
|
|||||||
14
src/models/common/PlexMediaTypeString.yaml
Normal file
14
src/models/common/PlexMediaTypeString.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- movie
|
||||||
|
- show
|
||||||
|
- season
|
||||||
|
- episode
|
||||||
|
example: "movie"
|
||||||
|
description: |
|
||||||
|
The type of media content
|
||||||
|
x-speakeasy-enums:
|
||||||
|
- MOVIE
|
||||||
|
- TV_SHOW
|
||||||
|
- SEASON
|
||||||
|
- EPISODE
|
||||||
@@ -174,12 +174,16 @@ get:
|
|||||||
- type
|
- type
|
||||||
- year
|
- year
|
||||||
- duration
|
- duration
|
||||||
|
- addedAt
|
||||||
- Media
|
- Media
|
||||||
- UltraBlurColors
|
- UltraBlurColors
|
||||||
properties:
|
properties:
|
||||||
ratingKey:
|
ratingKey:
|
||||||
type: string
|
type: string
|
||||||
example: "58683"
|
example: "58683"
|
||||||
|
description: |
|
||||||
|
The rating key (Media ID) of this media item.
|
||||||
|
Note: This is always an integer, but is represented as a string in the API.
|
||||||
key:
|
key:
|
||||||
type: string
|
type: string
|
||||||
example: /library/metadata/58683
|
example: /library/metadata/58683
|
||||||
@@ -190,8 +194,7 @@ get:
|
|||||||
type: string
|
type: string
|
||||||
example: 20th Century Studios
|
example: 20th Century Studios
|
||||||
type:
|
type:
|
||||||
type: string
|
$ref: "../../../models/common/PlexMediaTypeString.yaml"
|
||||||
example: movie
|
|
||||||
title:
|
title:
|
||||||
type: string
|
type: string
|
||||||
example: "Avatar: The Way of Water"
|
example: "Avatar: The Way of Water"
|
||||||
@@ -227,6 +230,9 @@ get:
|
|||||||
art:
|
art:
|
||||||
type: string
|
type: string
|
||||||
example: /library/metadata/58683/art/1703239236
|
example: /library/metadata/58683/art/1703239236
|
||||||
|
banner:
|
||||||
|
type: string
|
||||||
|
example: /library/metadata/58683/banner/1703239236
|
||||||
duration:
|
duration:
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
@@ -236,13 +242,9 @@ get:
|
|||||||
format: date
|
format: date
|
||||||
example: 2022-12-14
|
example: 2022-12-14
|
||||||
addedAt:
|
addedAt:
|
||||||
type: integer
|
$ref: "../../../models/common/PlexDateTime.yaml"
|
||||||
format: int32
|
|
||||||
example: 1680457607
|
|
||||||
updatedAt:
|
updatedAt:
|
||||||
type: integer
|
$ref: "../../../models/common/PlexDateTime.yaml"
|
||||||
format: int32
|
|
||||||
example: 1703239236
|
|
||||||
audienceRatingImage:
|
audienceRatingImage:
|
||||||
type: string
|
type: string
|
||||||
example: rottentomatoes://image.rating.upright
|
example: rottentomatoes://image.rating.upright
|
||||||
@@ -555,6 +557,8 @@ get:
|
|||||||
example: "1"
|
example: "1"
|
||||||
parentRatingKey:
|
parentRatingKey:
|
||||||
type: string
|
type: string
|
||||||
|
description: |
|
||||||
|
The rating key of the parent item.
|
||||||
example: "66"
|
example: "66"
|
||||||
parentGuid:
|
parentGuid:
|
||||||
type: string
|
type: string
|
||||||
|
|||||||
Reference in New Issue
Block a user