mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-10 12:37:44 +00:00
replaced guids with a ref
This commit is contained in:
25
src/models/meta-data/guid/guid-array.yaml
Normal file
25
src/models/meta-data/guid/guid-array.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
Guid:
|
||||||
|
x-speakeasy-name-override: guids
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
description: |
|
||||||
|
The unique identifier for the Guid. Can be prefixed with imdb://, tmdb://, tvdb://
|
||||||
|
pattern: "^(imdb|tmdb|tvdb)://.+$"
|
||||||
|
example:
|
||||||
|
imdbExample:
|
||||||
|
summary: IMDB example
|
||||||
|
value: imdb://tt13015952
|
||||||
|
tmdbExample:
|
||||||
|
summary: TMDB example
|
||||||
|
value: tmdb://2434012
|
||||||
|
tvdbExample:
|
||||||
|
summary: TVDB example
|
||||||
|
value: tvdb://7945991
|
||||||
@@ -1,10 +1,8 @@
|
|||||||
|
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- image
|
- image
|
||||||
description: "The URL for the rating image, for example from IMDb."
|
|
||||||
properties:
|
properties:
|
||||||
image:
|
image:
|
||||||
type: string
|
type: string
|
||||||
|
description: "The URL for the rating image, for example from IMDb."
|
||||||
example: "imdb://image.rating"
|
example: "imdb://image.rating"
|
||||||
|
|
||||||
|
|||||||
@@ -112,6 +112,7 @@ get:
|
|||||||
- $ref: "../../../models/meta-data/year.yaml"
|
- $ref: "../../../models/meta-data/year.yaml"
|
||||||
- $ref: "../../../models/meta-data/objects/image.yaml"
|
- $ref: "../../../models/meta-data/objects/image.yaml"
|
||||||
- $ref: "../../../models/meta-data/objects/ultra-blur-colors.yaml"
|
- $ref: "../../../models/meta-data/objects/ultra-blur-colors.yaml"
|
||||||
|
- $ref: "../../../models/meta-data/guid/guid-array.yaml"
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
Media:
|
Media:
|
||||||
@@ -187,17 +188,6 @@ get:
|
|||||||
items:
|
items:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "../../../models/meta-data/location/path.yaml"
|
- $ref: "../../../models/meta-data/location/path.yaml"
|
||||||
Guid:
|
|
||||||
x-speakeasy-name-override: guids
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
id:
|
|
||||||
type: string
|
|
||||||
description: |
|
|
||||||
The unique identifier for the Guid. Can be imdb://tt0286347, tmdb://1763, tvdb://2337
|
|
||||||
example: tvdb://2337
|
|
||||||
Collection:
|
Collection:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ get:
|
|||||||
description: The id(s) of the library item(s) to return metadata for. Can be a single ID or comma-separated list of IDs.
|
description: The id(s) of the library item(s) to return metadata for. Can be a single ID or comma-separated list of IDs.
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
pattern: '^[0-9]+(,[0-9]+)*$'
|
pattern: "^[0-9]+(,[0-9]+)*$"
|
||||||
example: "21119,21617"
|
example: "21119,21617"
|
||||||
required: true
|
required: true
|
||||||
- name: includeConcerts
|
- name: includeConcerts
|
||||||
@@ -194,6 +194,7 @@ get:
|
|||||||
- $ref: "../../../../models/meta-data/library-section-id.yaml"
|
- $ref: "../../../../models/meta-data/library-section-id.yaml"
|
||||||
- $ref: "../../../../models/meta-data/library-section-title.yaml"
|
- $ref: "../../../../models/meta-data/library-section-title.yaml"
|
||||||
- $ref: "../../../../models/meta-data/library-section-key.yaml"
|
- $ref: "../../../../models/meta-data/library-section-key.yaml"
|
||||||
|
- $ref: "../../../../models/meta-data/guid/guid-array.yaml"
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
Media:
|
Media:
|
||||||
@@ -246,18 +247,6 @@ get:
|
|||||||
- $ref: "../../../../models/role/filter.yaml"
|
- $ref: "../../../../models/role/filter.yaml"
|
||||||
- $ref: "../../../../models/role/tag-key.yaml"
|
- $ref: "../../../../models/role/tag-key.yaml"
|
||||||
- $ref: "../../../../models/role/thumb.yaml"
|
- $ref: "../../../../models/role/thumb.yaml"
|
||||||
Guid:
|
|
||||||
x-speakeasy-name-override: Guids
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- id
|
|
||||||
properties:
|
|
||||||
id:
|
|
||||||
type: string
|
|
||||||
description: "The GUID value."
|
|
||||||
example: "imdb://tt3032476"
|
|
||||||
Rating:
|
Rating:
|
||||||
x-speakeasy-name-override: Ratings
|
x-speakeasy-name-override: Ratings
|
||||||
type: array
|
type: array
|
||||||
|
|||||||
@@ -110,6 +110,7 @@ get:
|
|||||||
- $ref: "../../../../models/meta-data/user-rating.yaml"
|
- $ref: "../../../../models/meta-data/user-rating.yaml"
|
||||||
- $ref: "../../../../models/meta-data/objects/image.yaml"
|
- $ref: "../../../../models/meta-data/objects/image.yaml"
|
||||||
- $ref: "../../../../models/meta-data/objects/ultra-blur-colors.yaml"
|
- $ref: "../../../../models/meta-data/objects/ultra-blur-colors.yaml"
|
||||||
|
- $ref: "../../../../models/meta-data/guid/guid-array.yaml"
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
Media:
|
Media:
|
||||||
@@ -140,17 +141,6 @@ get:
|
|||||||
items:
|
items:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "../../../../models/role/tag.yaml"
|
- $ref: "../../../../models/role/tag.yaml"
|
||||||
Guid:
|
|
||||||
x-speakeasy-name-override: guids
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
id:
|
|
||||||
type: string
|
|
||||||
description: |
|
|
||||||
The unique identifier for the Guid. Can be imdb://tt0286347, tmdb://1763, tvdb://2337
|
|
||||||
example: tvdb://2337
|
|
||||||
Collection:
|
Collection:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
|||||||
Reference in New Issue
Block a user