mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-11 04:20:52 +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
|
||||
required:
|
||||
- image
|
||||
description: "The URL for the rating image, for example from IMDb."
|
||||
properties:
|
||||
image:
|
||||
type: string
|
||||
description: "The URL for the rating image, for example from IMDb."
|
||||
example: "imdb://image.rating"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user