ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.531.4

This commit is contained in:
speakeasybot
2025-06-05 00:11:29 +00:00
parent 881e2ef097
commit 71d9f3cf9f
173 changed files with 1093 additions and 914 deletions

File diff suppressed because one or more lines are too long

View File

@@ -4,6 +4,7 @@ generation:
maintainOpenAPIOrder: true
usageSnippets:
optionalPropertyRendering: withExample
sdkInitStyle: constructor
useClassNamesForArrayFields: true
fixes:
nameResolutionDec2023: true
@@ -16,7 +17,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
ruby:
version: 0.13.1
version: 0.15.0
additionalDependencies:
development: {}
runtime: {}

View File

@@ -9,19 +9,19 @@ sources:
- main
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:37adc934a79841fb00cfe6ed569f5b1c88534b20202ecbde64b4e84828cee22a
sourceBlobDigest: sha256:ffb5b8d288111a763e4d035c8c9e37f5c89690d146b7297493b43a71d8298e6c
sourceRevisionDigest: sha256:78d07ad78ff60d0e9918696208d8c68a562e170d4e9c431797c02995fb8816d0
sourceBlobDigest: sha256:d38dd2a36c1b2fd73409267f7b30c2d5d45d709616141803ea01db424ec68ae4
tags:
- latest
- speakeasy-sdk-regen-1746490160
- speakeasy-sdk-regen-1749082164
targets:
plexruby:
source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:37adc934a79841fb00cfe6ed569f5b1c88534b20202ecbde64b4e84828cee22a
sourceBlobDigest: sha256:ffb5b8d288111a763e4d035c8c9e37f5c89690d146b7297493b43a71d8298e6c
sourceRevisionDigest: sha256:78d07ad78ff60d0e9918696208d8c68a562e170d4e9c431797c02995fb8816d0
sourceBlobDigest: sha256:d38dd2a36c1b2fd73409267f7b30c2d5d45d709616141803ea01db424ec68ae4
codeSamplesNamespace: code-samples-ruby-plexruby
codeSamplesRevisionDigest: sha256:dd78738e06592ab1ee075ec410c9abdd14fd18a7d7d6e58e34b3a55f6941700e
codeSamplesRevisionDigest: sha256:8762b4797b28c7f1c47bdbc7aa0b2e2c1b5a9c0b9596cd2c3cfb9ed7b6601caa
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest

View File

@@ -1,7 +1,7 @@
PATH
remote: .
specs:
plex_ruby_sdk (0.13.1)
plex_ruby_sdk (0.15.0)
faraday
faraday-multipart
faraday-retry (~> 2.2.1)

View File

@@ -160,7 +160,7 @@ end
* [get_library_details](docs/sdks/library/README.md#get_library_details) - Get Library Details
* [delete_library](docs/sdks/library/README.md#delete_library) - Delete Library Section
* [get_library_items](docs/sdks/library/README.md#get_library_items) - Get Library Items
* [get_all_media_library](docs/sdks/library/README.md#get_all_media_library) - Get all media of library
* [get_library_sections_all](docs/sdks/library/README.md#get_library_sections_all) - Get Library section media by tag ALL
* [get_refresh_library_metadata](docs/sdks/library/README.md#get_refresh_library_metadata) - Refresh Metadata Of The Library
* [get_search_library](docs/sdks/library/README.md#get_search_library) - Search Library
* [get_genres_library](docs/sdks/library/README.md#get_genres_library) - Get Genres of library media
@@ -294,7 +294,7 @@ require 'plex_ruby_sdk'
s = ::PlexRubySDK::PlexAPI.new(
security: Models::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
access_token: '<YOUR_API_KEY_HERE>',
),
)

View File

@@ -817,3 +817,13 @@ Based on:
- [ruby v0.13.1] .
### Releases
- [Ruby Gems v0.13.1] https://rubygems.org/gems/plex_ruby_sdk/versions/0.13.1 - .
## 2025-06-05 00:09:08
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.531.4 (2.570.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [ruby v0.15.0] .
### Releases
- [Ruby Gems v0.15.0] https://rubygems.org/gems/plex_ruby_sdk/versions/0.15.0 - .

View File

@@ -506,7 +506,7 @@ actions:
),
)
res = s.library.get_top_watched_content(type=Models::Operations::GetTopWatchedContentQueryParamType::TV_SHOW, include_guids=1)
res = s.library.get_top_watched_content(type=Models::Operations::GetTopWatchedContentQueryParamType::TV_SHOW, include_guids=Models::Operations::GetTopWatchedContentQueryParamIncludeGuids::ENABLE)
if ! res.object.nil?
# handle response
@@ -545,7 +545,7 @@ actions:
)
req = Models::Operations::GetMediaMetaDataRequest.new(
rating_key: 9518,
rating_key: "21119,21617",
include_concerts: true,
include_extras: true,
include_on_deck: true,
@@ -904,10 +904,10 @@ actions:
),
)
req = Models::Operations::GetAllMediaLibraryRequest.new(
req = Models::Operations::GetLibrarySectionsAllRequest.new(
section_key: 9518,
type: Models::Operations::GetAllMediaLibraryQueryParamType::TV_SHOW,
include_meta: Models::Operations::GetAllMediaLibraryQueryParamIncludeMeta::ENABLE,
type: Models::Operations::GetLibrarySectionsAllQueryParamType::TV_SHOW,
include_meta: Models::Operations::GetLibrarySectionsAllQueryParamIncludeMeta::ENABLE,
include_guids: Models::Operations::QueryParamIncludeGuids::ENABLE,
include_advanced: Models::Operations::IncludeAdvanced::ENABLE,
include_collections: Models::Operations::QueryParamIncludeCollections::ENABLE,
@@ -916,7 +916,7 @@ actions:
x_plex_container_size: 50,
)
res = s.library.get_all_media_library(req)
res = s.library.get_library_sections_all(req)
if ! res.object.nil?
# handle response

View File

@@ -1,11 +0,0 @@
# GetAllMediaLibraryBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.
## Fields
| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| `errors` | T::Array<[Models::Errors::GetAllMediaLibraryErrors](../../models/errors/getallmedialibraryerrors.md)> | :heavy_minus_sign: | N/A |
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -1,11 +0,0 @@
# GetAllMediaLibraryUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `errors` | T::Array<[Models::Errors::GetAllMediaLibraryLibraryErrors](../../models/errors/getallmedialibrarylibraryerrors.md)> | :heavy_minus_sign: | N/A |
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -0,0 +1,11 @@
# GetLibrarySectionsAllBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.
## Fields
| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `errors` | T::Array<[Models::Errors::GetLibrarySectionsAllErrors](../../models/errors/getlibrarysectionsallerrors.md)> | :heavy_minus_sign: | N/A |
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryErrors
# GetLibrarySectionsAllErrors
## Fields

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryLibraryErrors
# GetLibrarySectionsAllLibraryErrors
## Fields

View File

@@ -0,0 +1,11 @@
# GetLibrarySectionsAllUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `errors` | T::Array<[Models::Errors::GetLibrarySectionsAllLibraryErrors](../../models/errors/getlibrarysectionsalllibraryerrors.md)> | :heavy_minus_sign: | N/A |
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -6,7 +6,7 @@ The filter query string for country media items.
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | N/A | 259 |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | The unique identifier for the country.<br/>NOTE: This is different for each Plex server and is not globally unique.<br/> | 259 |
| `tag` | *::String* | :heavy_check_mark: | The country of origin of this media item | United States of America |
| `filter` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | country=19 |
| `filter` | *::String* | :heavy_check_mark: | N/A | country=19 |

View File

@@ -4,5 +4,9 @@
## Fields
| Field | Type | Required | Description | Example |
| -------------------- | -------------------- | -------------------- | -------------------- | -------------------- |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | Unique identifier for the director. | 126522 |
| `filter` | *::String* | :heavy_check_mark: | The filter string used to query this director. | director=235876 |
| `tag` | *::String* | :heavy_check_mark: | The role of Director | Danny Boyle |
| `tag_key` | *::String* | :heavy_check_mark: | A unique 24-character hexadecimal key associated with the director's tag, used for internal identification. | 5d776831151a60001f24d031 |
| `thumb` | *T.nilable(::String)* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the director. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |

View File

@@ -6,7 +6,7 @@ The filter query string for similar items.
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | N/A | 259 |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | The unique identifier for the genre.<br/>NOTE: This is different for each Plex server and is not globally unique.<br/> | 259 |
| `filter` | *::String* | :heavy_check_mark: | N/A | genre=19 |
| `tag` | *::String* | :heavy_check_mark: | The genre name of this media-item<br/> | Crime |

View File

@@ -12,11 +12,13 @@ E.g. A movie library will not return anything with type 3 as there are no season
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | 1 |
| `TV_SHOW` | 2 |
| `SEASON` | 3 |
| `EPISODE` | 4 |
| `AUDIO` | 8 |
| `ALBUM` | 9 |
| `TRACK` | 10 |
| `ARTIST` | 5 |
| `ALBUM` | 6 |
| `TRACK` | 7 |
| `PHOTO_ALBUM` | 8 |
| `PHOTO` | 9 |

View File

@@ -6,10 +6,14 @@ The library type
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | movie |
| `TV_SHOW` | show |
| `SEASON` | season |
| `EPISODE` | episode |
| `ARTIST` | artist |
| `ALBUM` | album |
| `TRACK` | track |
| `PHOTO_ALBUM` | photoalbum |
| `PHOTO` | photo |
| `COLLECTION` | collection |

View File

@@ -1,9 +0,0 @@
# GetAllMediaLibraryFieldType
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `type` | *::String* | :heavy_check_mark: | N/A | tag |
| `operator` | T::Array<[Models::Operations::GetAllMediaLibraryOperator](../../models/operations/getallmedialibraryoperator.md)> | :heavy_check_mark: | N/A | |

View File

@@ -1,8 +0,0 @@
# GetAllMediaLibraryGuids
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `id` | *T.nilable(::String)* | :heavy_minus_sign: | The unique identifier for the Guid. Can be imdb://tt0286347, tmdb://1763, tvdb://2337<br/> | tvdb://2337 |

View File

@@ -1,10 +0,0 @@
# GetAllMediaLibraryImage
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `alt` | *::String* | :heavy_check_mark: | N/A | Episode 1 |
| `type` | [Models::Operations::GetAllMediaLibraryLibraryResponseType](../../models/operations/getallmedialibrarylibraryresponsetype.md) | :heavy_check_mark: | N/A | background |
| `url` | *::String* | :heavy_check_mark: | N/A | /library/metadata/45521/thumb/1644710589 |

View File

@@ -1,16 +0,0 @@
# GetAllMediaLibraryLibraryType
The type of media content
## Values
| Name | Value |
| --------- | --------- |
| `MOVIE` | movie |
| `TV_SHOW` | show |
| `SEASON` | season |
| `EPISODE` | episode |
| `ARTIST` | artist |
| `ALBUM` | album |

View File

@@ -1,26 +0,0 @@
# GetAllMediaLibraryMediaContainer
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `size` | *::Integer* | :heavy_check_mark: | Number of media items returned in this response. | 50 |
| `total_size` | *::Integer* | :heavy_check_mark: | Total number of media items in the library. | 50 |
| `offset` | *::Integer* | :heavy_check_mark: | Offset value for pagination. | 0 |
| `allow_sync` | *T::Boolean* | :heavy_check_mark: | Indicates whether syncing is allowed. | false |
| `art` | *::String* | :heavy_check_mark: | URL for the background artwork of the media container. | /:/resources/show-fanart.jpg |
| `content` | *::String* | :heavy_check_mark: | The content type or mode. | secondary |
| `identifier` | *::String* | :heavy_check_mark: | An plugin identifier for the media container. | com.plexapp.plugins.library |
| `library_section_id` | *::Integer* | :heavy_check_mark: | The unique identifier for the library section. | 2 |
| `library_section_title` | *::String* | :heavy_check_mark: | The title of the library section. | TV Series |
| `library_section_uuid` | *T.nilable(::String)* | :heavy_minus_sign: | The universally unique identifier for the library section. | e69655a2-ef48-4aba-bb19-0cc34d1e7d36 |
| `media_tag_prefix` | *::String* | :heavy_check_mark: | The prefix used for media tag resource paths. | /system/bundle/media/flags/ |
| `media_tag_version` | *::Integer* | :heavy_check_mark: | The version number for media tags. | 1734362201 |
| `thumb` | *::String* | :heavy_check_mark: | URL for the thumbnail image of the media container. | /:/resources/show.png |
| `nocache` | *T::Boolean* | :heavy_check_mark: | Specifies whether caching is disabled. | true |
| `title1` | *::String* | :heavy_check_mark: | The primary title of the media container. | TV Series |
| `title2` | *::String* | :heavy_check_mark: | The secondary title of the media container. | By Starring Actor |
| `view_group` | *::String* | :heavy_check_mark: | Identifier for the view group layout. | secondary |
| `meta` | [T.nilable(Models::Operations::GetAllMediaLibraryMeta)](../../models/operations/getallmedialibrarymeta.md) | :heavy_minus_sign: | The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.<br/> | |
| `metadata` | T::Array<[Models::Operations::GetAllMediaLibraryMetadata](../../models/operations/getallmedialibrarymetadata.md)> | :heavy_minus_sign: | An array of metadata items. | |

View File

@@ -1,12 +0,0 @@
# GetAllMediaLibraryMeta
The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `type` | T::Array<[Models::Operations::GetAllMediaLibraryType](../../models/operations/getallmedialibrarytype.md)> | :heavy_minus_sign: | N/A |
| `field_type` | T::Array<[Models::Operations::GetAllMediaLibraryFieldType](../../models/operations/getallmedialibraryfieldtype.md)> | :heavy_minus_sign: | N/A |

View File

@@ -1,22 +0,0 @@
# GetAllMediaLibraryQueryParamType
The type of media to retrieve or filter by.
1 = movie
2 = show
3 = season
4 = episode
E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
## Values
| Name | Value |
| --------- | --------- |
| `MOVIE` | 1 |
| `TV_SHOW` | 2 |
| `SEASON` | 3 |
| `EPISODE` | 4 |
| `AUDIO` | 8 |
| `ALBUM` | 9 |
| `TRACK` | 10 |

View File

@@ -1,11 +0,0 @@
# GetAllMediaLibraryResponse
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation |
| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `object` | [T.nilable(Models::Operations::GetAllMediaLibraryResponseBody)](../../models/operations/getallmedialibraryresponsebody.md) | :heavy_minus_sign: | Successful response containing media container data. |

View File

@@ -1,58 +0,0 @@
# GetAllMediaLibraryStream
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | Unique stream identifier. | 1002625 |
| `stream_type` | [Models::Operations::GetAllMediaLibraryStreamType](../../models/operations/getallmedialibrarystreamtype.md) | :heavy_check_mark: | Stream type:<br/> - 1 = video<br/> - 2 = audio<br/> - 3 = subtitle<br/> | 1 |
| `format` | *T.nilable(::String)* | :heavy_minus_sign: | Format of the stream (e.g., srt). | srt |
| `default` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if this stream is default. | true |
| `codec` | *::String* | :heavy_check_mark: | Codec used by the stream. | hevc |
| `index` | *T.nilable(::Integer)* | :heavy_minus_sign: | Index of the stream. | 0 |
| `bitrate` | *T.nilable(::Integer)* | :heavy_minus_sign: | Bitrate of the stream. | 24743 |
| `language` | *T.nilable(::String)* | :heavy_minus_sign: | Language of the stream. | English |
| `language_tag` | *T.nilable(::String)* | :heavy_minus_sign: | Language tag (e.g., en). | en |
| `language_code` | *T.nilable(::String)* | :heavy_minus_sign: | ISO language code. | eng |
| `header_compression` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates whether header compression is enabled. | true |
| `dovibl_compat_id` | *T.nilable(::Integer)* | :heavy_minus_sign: | Dolby Vision BL compatibility ID. | 1 |
| `dovibl_present` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if Dolby Vision BL is present. | true |
| `doviel_present` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if Dolby Vision EL is present. | false |
| `dovi_level` | *T.nilable(::Integer)* | :heavy_minus_sign: | Dolby Vision level. | 6 |
| `dovi_present` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if Dolby Vision is present. | true |
| `dovi_profile` | *T.nilable(::Integer)* | :heavy_minus_sign: | Dolby Vision profile. | 8 |
| `dovirpu_present` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if Dolby Vision RPU is present. | true |
| `dovi_version` | *T.nilable(::String)* | :heavy_minus_sign: | Dolby Vision version. | 1.0 |
| `bit_depth` | *T.nilable(::Integer)* | :heavy_minus_sign: | Bit depth of the video stream. | 10 |
| `chroma_location` | *T.nilable(::String)* | :heavy_minus_sign: | Chroma sample location. | topleft |
| `chroma_subsampling` | *T.nilable(::String)* | :heavy_minus_sign: | Chroma subsampling format. | 4:2:0 |
| `coded_height` | *T.nilable(::Integer)* | :heavy_minus_sign: | Coded video height. | 1608 |
| `coded_width` | *T.nilable(::Integer)* | :heavy_minus_sign: | Coded video width. | 3840 |
| `closed_captions` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A | true |
| `color_primaries` | *T.nilable(::String)* | :heavy_minus_sign: | Color primaries used. | bt2020 |
| `color_range` | *T.nilable(::String)* | :heavy_minus_sign: | Color range (e.g., tv). | tv |
| `color_space` | *T.nilable(::String)* | :heavy_minus_sign: | Color space. | bt2020nc |
| `color_trc` | *T.nilable(::String)* | :heavy_minus_sign: | Color transfer characteristics. | smpte2084 |
| `frame_rate` | *T.nilable(::Float)* | :heavy_minus_sign: | Frame rate of the stream. | 23.976 |
| `key` | *T.nilable(::String)* | :heavy_minus_sign: | Key to access this stream part. | /library/streams/216389 |
| `height` | *T.nilable(::Integer)* | :heavy_minus_sign: | Height of the video stream. | 1602 |
| `level` | *T.nilable(::Integer)* | :heavy_minus_sign: | Video level. | 150 |
| `original` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if this is the original stream. | true |
| `has_scaling_matrix` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A | false |
| `profile` | *T.nilable(::String)* | :heavy_minus_sign: | Video profile. | main 10 |
| `scan_type` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | progressive |
| `embedded_in_video` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | progressive |
| `ref_frames` | *T.nilable(::Integer)* | :heavy_minus_sign: | Number of reference frames. | 1 |
| `width` | *T.nilable(::Integer)* | :heavy_minus_sign: | Width of the video stream. | 3840 |
| `display_title` | *::String* | :heavy_check_mark: | Display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
| `extended_display_title` | *::String* | :heavy_check_mark: | Extended display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
| `selected` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if this stream is selected (applicable for audio streams). | true |
| `forced` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A | true |
| `channels` | *T.nilable(::Integer)* | :heavy_minus_sign: | Number of audio channels (for audio streams). | 6 |
| `audio_channel_layout` | *T.nilable(::String)* | :heavy_minus_sign: | Audio channel layout. | 5.1(side) |
| `sampling_rate` | *T.nilable(::Integer)* | :heavy_minus_sign: | Sampling rate for the audio stream. | 48000 |
| `can_auto_sync` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if the stream can auto-sync. | false |
| `hearing_impaired` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if the stream is for the hearing impaired. | true |
| `dub` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if the stream is a dub. | true |
| `title` | *T.nilable(::String)* | :heavy_minus_sign: | Optional title for the stream (e.g., language variant). | SDH |

View File

@@ -1,15 +0,0 @@
# GetAllMediaLibraryType
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| `key` | *::String* | :heavy_check_mark: | N/A | /library/sections/2/all?type=2 |
| `type` | *::String* | :heavy_check_mark: | N/A | filter |
| `subtype` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | clip |
| `title` | *::String* | :heavy_check_mark: | N/A | TV Shows |
| `active` | *T::Boolean* | :heavy_check_mark: | N/A | false |
| `filter` | T::Array<[Models::Operations::GetAllMediaLibraryFilter](../../models/operations/getallmedialibraryfilter.md)> | :heavy_minus_sign: | N/A | |
| `sort` | T::Array<[Models::Operations::GetAllMediaLibrarySort](../../models/operations/getallmedialibrarysort.md)> | :heavy_minus_sign: | N/A | |
| `field` | T::Array<[Models::Operations::GetAllMediaLibraryField](../../models/operations/getallmedialibraryfield.md)> | :heavy_minus_sign: | N/A | |

View File

@@ -12,11 +12,13 @@ E.g. A movie library will not return anything with type 3 as there are no season
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | 1 |
| `TV_SHOW` | 2 |
| `SEASON` | 3 |
| `EPISODE` | 4 |
| `AUDIO` | 8 |
| `ALBUM` | 9 |
| `TRACK` | 10 |
| `ARTIST` | 5 |
| `ALBUM` | 6 |
| `TRACK` | 7 |
| `PHOTO_ALBUM` | 8 |
| `PHOTO` | 9 |

View File

@@ -12,11 +12,13 @@ E.g. A movie library will not return anything with type 3 as there are no season
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | 1 |
| `TV_SHOW` | 2 |
| `SEASON` | 3 |
| `EPISODE` | 4 |
| `AUDIO` | 8 |
| `ALBUM` | 9 |
| `TRACK` | 10 |
| `ARTIST` | 5 |
| `ALBUM` | 6 |
| `TRACK` | 7 |
| `PHOTO_ALBUM` | 8 |
| `PHOTO` | 9 |

View File

@@ -1,16 +1,20 @@
# GetLibraryItemsLibraryType
The type of media content
The type of media content in the Plex library. This can represent videos, music, or photos.
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | movie |
| `TV_SHOW` | show |
| `SEASON` | season |
| `EPISODE` | episode |
| `ARTIST` | artist |
| `ALBUM` | album |
| `TRACK` | track |
| `PHOTO_ALBUM` | photoalbum |
| `PHOTO` | photo |
| `COLLECTION` | collection |

View File

@@ -13,7 +13,7 @@
| `library_section_id` | *T.nilable(::Integer)* | :heavy_minus_sign: | N/A | 1 |
| `library_section_title` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | Movies |
| `library_section_key` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | /library/sections/1 |
| `type` | [Models::Operations::GetLibraryItemsLibraryType](../../models/operations/getlibraryitemslibrarytype.md) | :heavy_check_mark: | The type of media content<br/> | movie |
| `type` | [Models::Operations::GetLibraryItemsLibraryType](../../models/operations/getlibraryitemslibrarytype.md) | :heavy_check_mark: | The type of media content in the Plex library. This can represent videos, music, or photos.<br/> | movie |
| `title` | *::String* | :heavy_check_mark: | N/A | Avatar: The Way of Water |
| `slug` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | 4-for-texas |
| `content_rating` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | PG-13 |

View File

@@ -12,11 +12,13 @@ E.g. A movie library will not return anything with type 3 as there are no season
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | 1 |
| `TV_SHOW` | 2 |
| `SEASON` | 3 |
| `EPISODE` | 4 |
| `AUDIO` | 8 |
| `ALBUM` | 9 |
| `TRACK` | 10 |
| `ARTIST` | 5 |
| `ALBUM` | 6 |
| `TRACK` | 7 |
| `PHOTO_ALBUM` | 8 |
| `PHOTO` | 9 |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryActiveDirection
# GetLibrarySectionsAllActiveDirection
The direction of the sort. Can be either `asc` or `desc`.

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryCollection
# GetLibrarySectionsAllCollection
## Fields

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryCountry
# GetLibrarySectionsAllCountry
## Fields

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryDefaultDirection
# GetLibrarySectionsAllDefaultDirection
The direction of the sort. Can be either `asc` or `desc`.

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryDirector
# GetLibrarySectionsAllDirector
## Fields

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryField
# GetLibrarySectionsAllField
## Fields

View File

@@ -0,0 +1,9 @@
# GetLibrarySectionsAllFieldType
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `type` | *::String* | :heavy_check_mark: | N/A | tag |
| `operator` | T::Array<[Models::Operations::GetLibrarySectionsAllOperator](../../models/operations/getlibrarysectionsalloperator.md)> | :heavy_check_mark: | N/A | |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryFilter
# GetLibrarySectionsAllFilter
## Fields

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryGenre
# GetLibrarySectionsAllGenre
## Fields

View File

@@ -0,0 +1,8 @@
# GetLibrarySectionsAllGuids
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id` | *::String* | :heavy_check_mark: | The unique identifier for the Guid. Can be prefixed with imdb://, tmdb://, tvdb://<br/> | {<br/>"imdbExample": {<br/>"summary": "IMDB example",<br/>"value": "imdb://tt13015952"<br/>},<br/>"tmdbExample": {<br/>"summary": "TMDB example",<br/>"value": "tmdb://2434012"<br/>},<br/>"tvdbExample": {<br/>"summary": "TVDB example",<br/>"value": "tvdb://7945991"<br/>}<br/>} |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryHasThumbnail
# GetLibrarySectionsAllHasThumbnail
Indicates if the part has a thumbnail.

View File

@@ -0,0 +1,10 @@
# GetLibrarySectionsAllImage
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `alt` | *::String* | :heavy_check_mark: | N/A | Episode 1 |
| `type` | [Models::Operations::GetLibrarySectionsAllLibraryResponseType](../../models/operations/getlibrarysectionsalllibraryresponsetype.md) | :heavy_check_mark: | N/A | background |
| `url` | *::String* | :heavy_check_mark: | N/A | /library/metadata/45521/thumb/1644710589 |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryLibraryOptimizedForStreaming
# GetLibrarySectionsAllLibraryOptimizedForStreaming
Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryLibraryResponseType
# GetLibrarySectionsAllLibraryResponseType
## Values

View File

@@ -0,0 +1,20 @@
# GetLibrarySectionsAllLibraryType
The type of media content in the Plex library. This can represent videos, music, or photos.
## Values
| Name | Value |
| ------------- | ------------- |
| `MOVIE` | movie |
| `TV_SHOW` | show |
| `SEASON` | season |
| `EPISODE` | episode |
| `ARTIST` | artist |
| `ALBUM` | album |
| `TRACK` | track |
| `PHOTO_ALBUM` | photoalbum |
| `PHOTO` | photo |
| `COLLECTION` | collection |

View File

@@ -1,10 +1,10 @@
# GetAllMediaLibraryMedia
# GetLibrarySectionsAllMedia
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | Unique media identifier. | 387322 |
| `duration` | *T.nilable(::Integer)* | :heavy_minus_sign: | Duration of the media in milliseconds. | 9610350 |
| `bitrate` | *T.nilable(::Integer)* | :heavy_minus_sign: | Bitrate in bits per second. | 25512 |
@@ -21,6 +21,6 @@
| `video_profile` | *T.nilable(::String)* | :heavy_minus_sign: | Video profile (e.g., main 10). | main 10 |
| `has_voice_activity` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates whether voice activity is detected. | false |
| `audio_profile` | *T.nilable(::String)* | :heavy_minus_sign: | The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). | dts |
| `optimized_for_streaming` | [T.nilable(T.any(Models::Operations::OptimizedForStreaming1, T::Boolean))](../../models/operations/getallmedialibraryoptimizedforstreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
| `optimized_for_streaming` | [T.nilable(T.any(Models::Operations::OptimizedForStreaming1, T::Boolean))](../../models/operations/getlibrarysectionsalloptimizedforstreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
| `has64bit_offsets` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A | false |
| `part` | T::Array<[Models::Operations::GetAllMediaLibraryPart](../../models/operations/getallmedialibrarypart.md)> | :heavy_minus_sign: | An array of parts for this media item. | |
| `part` | T::Array<[Models::Operations::GetLibrarySectionsAllPart](../../models/operations/getlibrarysectionsallpart.md)> | :heavy_minus_sign: | An array of parts for this media item. | |

View File

@@ -0,0 +1,26 @@
# GetLibrarySectionsAllMediaContainer
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `size` | *::Integer* | :heavy_check_mark: | Number of media items returned in this response. | 50 |
| `total_size` | *::Integer* | :heavy_check_mark: | Total number of media items in the library. | 50 |
| `offset` | *::Integer* | :heavy_check_mark: | Offset value for pagination. | 0 |
| `allow_sync` | *T::Boolean* | :heavy_check_mark: | Indicates whether syncing is allowed. | false |
| `art` | *::String* | :heavy_check_mark: | URL for the background artwork of the media container. | /:/resources/show-fanart.jpg |
| `content` | *::String* | :heavy_check_mark: | The content type or mode. | secondary |
| `identifier` | *::String* | :heavy_check_mark: | An plugin identifier for the media container. | com.plexapp.plugins.library |
| `library_section_id` | *::Integer* | :heavy_check_mark: | The unique identifier for the library section. | 2 |
| `library_section_title` | *::String* | :heavy_check_mark: | The title of the library section. | TV Series |
| `library_section_uuid` | *T.nilable(::String)* | :heavy_minus_sign: | The universally unique identifier for the library section. | e69655a2-ef48-4aba-bb19-0cc34d1e7d36 |
| `media_tag_prefix` | *::String* | :heavy_check_mark: | The prefix used for media tag resource paths. | /system/bundle/media/flags/ |
| `media_tag_version` | *::Integer* | :heavy_check_mark: | The version number for media tags. | 1734362201 |
| `thumb` | *::String* | :heavy_check_mark: | URL for the thumbnail image of the media container. | /:/resources/show.png |
| `nocache` | *T::Boolean* | :heavy_check_mark: | Specifies whether caching is disabled. | true |
| `title1` | *::String* | :heavy_check_mark: | The primary title of the media container. | TV Series |
| `title2` | *::String* | :heavy_check_mark: | The secondary title of the media container. | By Starring Actor |
| `view_group` | *::String* | :heavy_check_mark: | Identifier for the view group layout. | secondary |
| `meta` | [T.nilable(Models::Operations::GetLibrarySectionsAllMeta)](../../models/operations/getlibrarysectionsallmeta.md) | :heavy_minus_sign: | The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.<br/> | |
| `metadata` | T::Array<[Models::Operations::GetLibrarySectionsAllMetadata](../../models/operations/getlibrarysectionsallmetadata.md)> | :heavy_minus_sign: | An array of metadata items. | |

View File

@@ -0,0 +1,12 @@
# GetLibrarySectionsAllMeta
The Meta object is only included in the response if the `includeMeta` parameter is set to `1`.
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| `type` | T::Array<[Models::Operations::GetLibrarySectionsAllType](../../models/operations/getlibrarysectionsalltype.md)> | :heavy_minus_sign: | N/A |
| `field_type` | T::Array<[Models::Operations::GetLibrarySectionsAllFieldType](../../models/operations/getlibrarysectionsallfieldtype.md)> | :heavy_minus_sign: | N/A |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryMetadata
# GetLibrarySectionsAllMetadata
Unknown
@@ -13,7 +13,7 @@ Unknown
| `guid` | *::String* | :heavy_check_mark: | The globally unique identifier for the media item. | plex://movie/5d7768ba96b655001fdc0408 |
| `slug` | *::String* | :heavy_check_mark: | A URLfriendly version of the media title. | 4-for-texas |
| `studio` | *T.nilable(::String)* | :heavy_minus_sign: | The studio that produced the media item. | 20th Century Studios |
| `type` | [Models::Operations::GetAllMediaLibraryLibraryType](../../models/operations/getallmedialibrarylibrarytype.md) | :heavy_check_mark: | N/A | movie |
| `type` | [Models::Operations::GetLibrarySectionsAllLibraryType](../../models/operations/getlibrarysectionsalllibrarytype.md) | :heavy_check_mark: | N/A | movie |
| `title` | *::String* | :heavy_check_mark: | The title of the media item. | Avatar: The Way of Water |
| `title_sort` | *::String* | :heavy_check_mark: | The sort title used for ordering media items. | Whale |
| `content_rating` | *T.nilable(::String)* | :heavy_minus_sign: | The content rating for the media item. | PG-13 |
@@ -62,13 +62,13 @@ Unknown
| `created_at_tz_offset` | *T.nilable(::String)* | :heavy_minus_sign: | The time zone offset for the creation timestamp, represented as a string. This offset indicates the difference from UTC. | 0 |
| `last_viewed_at` | *T.nilable(::Integer)* | :heavy_minus_sign: | Unix timestamp for when the media item was last viewed. | 1682752242 |
| `user_rating` | *T.nilable(::Float)* | :heavy_minus_sign: | The rating provided by a user for the item. This value is expressed as a decimal number. | 10 |
| `image` | T::Array<[Models::Operations::GetAllMediaLibraryImage](../../models/operations/getallmedialibraryimage.md)> | :heavy_minus_sign: | N/A | |
| `ultra_blur_colors` | [T.nilable(Models::Operations::GetAllMediaLibraryUltraBlurColors)](../../models/operations/getallmedialibraryultrablurcolors.md) | :heavy_minus_sign: | N/A | |
| `media` | T::Array<[Models::Operations::GetAllMediaLibraryMedia](../../models/operations/getallmedialibrarymedia.md)> | :heavy_minus_sign: | N/A | |
| `genre` | T::Array<[Models::Operations::GetAllMediaLibraryGenre](../../models/operations/getallmedialibrarygenre.md)> | :heavy_minus_sign: | N/A | |
| `country` | T::Array<[Models::Operations::GetAllMediaLibraryCountry](../../models/operations/getallmedialibrarycountry.md)> | :heavy_minus_sign: | N/A | |
| `director` | T::Array<[Models::Operations::GetAllMediaLibraryDirector](../../models/operations/getallmedialibrarydirector.md)> | :heavy_minus_sign: | N/A | |
| `writer` | T::Array<[Models::Operations::GetAllMediaLibraryWriter](../../models/operations/getallmedialibrarywriter.md)> | :heavy_minus_sign: | N/A | |
| `role` | T::Array<[Models::Operations::GetAllMediaLibraryRole](../../models/operations/getallmedialibraryrole.md)> | :heavy_minus_sign: | N/A | |
| `guids` | T::Array<[Models::Operations::GetAllMediaLibraryGuids](../../models/operations/getallmedialibraryguids.md)> | :heavy_minus_sign: | N/A | |
| `collection` | T::Array<[Models::Operations::GetAllMediaLibraryCollection](../../models/operations/getallmedialibrarycollection.md)> | :heavy_minus_sign: | N/A | |
| `image` | T::Array<[Models::Operations::GetLibrarySectionsAllImage](../../models/operations/getlibrarysectionsallimage.md)> | :heavy_minus_sign: | N/A | |
| `ultra_blur_colors` | [T.nilable(Models::Operations::GetLibrarySectionsAllUltraBlurColors)](../../models/operations/getlibrarysectionsallultrablurcolors.md) | :heavy_minus_sign: | N/A | |
| `guids` | T::Array<[Models::Operations::GetLibrarySectionsAllGuids](../../models/operations/getlibrarysectionsallguids.md)> | :heavy_minus_sign: | N/A | |
| `media` | T::Array<[Models::Operations::GetLibrarySectionsAllMedia](../../models/operations/getlibrarysectionsallmedia.md)> | :heavy_minus_sign: | N/A | |
| `genre` | T::Array<[Models::Operations::GetLibrarySectionsAllGenre](../../models/operations/getlibrarysectionsallgenre.md)> | :heavy_minus_sign: | N/A | |
| `country` | T::Array<[Models::Operations::GetLibrarySectionsAllCountry](../../models/operations/getlibrarysectionsallcountry.md)> | :heavy_minus_sign: | N/A | |
| `director` | T::Array<[Models::Operations::GetLibrarySectionsAllDirector](../../models/operations/getlibrarysectionsalldirector.md)> | :heavy_minus_sign: | N/A | |
| `writer` | T::Array<[Models::Operations::GetLibrarySectionsAllWriter](../../models/operations/getlibrarysectionsallwriter.md)> | :heavy_minus_sign: | N/A | |
| `role` | T::Array<[Models::Operations::GetLibrarySectionsAllRole](../../models/operations/getlibrarysectionsallrole.md)> | :heavy_minus_sign: | N/A | |
| `collection` | T::Array<[Models::Operations::GetLibrarySectionsAllCollection](../../models/operations/getlibrarysectionsallcollection.md)> | :heavy_minus_sign: | N/A | |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryOperator
# GetLibrarySectionsAllOperator
## Fields

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryOptimizedForStreaming
# GetLibrarySectionsAllOptimizedForStreaming
Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryOptimizedForStreaming1
# GetLibrarySectionsAllOptimizedForStreaming1
## Values

View File

@@ -1,10 +1,10 @@
# GetAllMediaLibraryPart
# GetLibrarySectionsAllPart
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accessible` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if the part is accessible. | true |
| `exists` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if the part exists. | true |
| `id` | *::Integer* | :heavy_check_mark: | Unique part identifier. | 418385 |
@@ -18,6 +18,6 @@
| `video_profile` | *T.nilable(::String)* | :heavy_minus_sign: | Video profile for the part. | main 10 |
| `audio_profile` | *T.nilable(::String)* | :heavy_minus_sign: | The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). | dts |
| `has64bit_offsets` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A | false |
| `optimized_for_streaming` | [T.nilable(T.any(Models::Operations::GetAllMediaLibraryOptimizedForStreaming1, T::Boolean))](../../models/operations/getallmedialibrarylibraryoptimizedforstreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
| `has_thumbnail` | [T.nilable(Models::Operations::GetAllMediaLibraryHasThumbnail)](../../models/operations/getallmedialibraryhasthumbnail.md) | :heavy_minus_sign: | N/A | 1 |
| `stream` | T::Array<[Models::Operations::GetAllMediaLibraryStream](../../models/operations/getallmedialibrarystream.md)> | :heavy_minus_sign: | An array of streams for this part. | |
| `optimized_for_streaming` | [T.nilable(T.any(Models::Operations::GetLibrarySectionsAllOptimizedForStreaming1, T::Boolean))](../../models/operations/getlibrarysectionsalllibraryoptimizedforstreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
| `has_thumbnail` | [T.nilable(Models::Operations::GetLibrarySectionsAllHasThumbnail)](../../models/operations/getlibrarysectionsallhasthumbnail.md) | :heavy_minus_sign: | N/A | 1 |
| `stream` | T::Array<[Models::Operations::GetLibrarySectionsAllStream](../../models/operations/getlibrarysectionsallstream.md)> | :heavy_minus_sign: | An array of streams for this part. | |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryQueryParamIncludeMeta
# GetLibrarySectionsAllQueryParamIncludeMeta
Adds the Meta object to the response

View File

@@ -0,0 +1,24 @@
# GetLibrarySectionsAllQueryParamType
The type of media to retrieve or filter by.
1 = movie
2 = show
3 = season
4 = episode
E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
## Values
| Name | Value |
| ------------- | ------------- |
| `MOVIE` | 1 |
| `TV_SHOW` | 2 |
| `SEASON` | 3 |
| `EPISODE` | 4 |
| `ARTIST` | 5 |
| `ALBUM` | 6 |
| `TRACK` | 7 |
| `PHOTO_ALBUM` | 8 |
| `PHOTO` | 9 |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryRequest
# GetLibrarySectionsAllRequest
## Fields
@@ -6,8 +6,8 @@
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `section_key` | *::Integer* | :heavy_check_mark: | The unique key of the Plex library. <br/>Note: This is unique in the context of the Plex server.<br/> | 9518 |
| `type` | [Models::Operations::GetAllMediaLibraryQueryParamType](../../models/operations/getallmedialibraryqueryparamtype.md) | :heavy_check_mark: | The type of media to retrieve or filter by.<br/>1 = movie<br/>2 = show<br/>3 = season<br/>4 = episode<br/>E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries<br/> | 2 |
| `include_meta` | [T.nilable(Models::Operations::GetAllMediaLibraryQueryParamIncludeMeta)](../../models/operations/getallmedialibraryqueryparamincludemeta.md) | :heavy_minus_sign: | Adds the Meta object to the response<br/> | 1 |
| `type` | [Models::Operations::GetLibrarySectionsAllQueryParamType](../../models/operations/getlibrarysectionsallqueryparamtype.md) | :heavy_check_mark: | The type of media to retrieve or filter by.<br/>1 = movie<br/>2 = show<br/>3 = season<br/>4 = episode<br/>E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries<br/> | 2 |
| `include_meta` | [T.nilable(Models::Operations::GetLibrarySectionsAllQueryParamIncludeMeta)](../../models/operations/getlibrarysectionsallqueryparamincludemeta.md) | :heavy_minus_sign: | Adds the Meta object to the response<br/> | 1 |
| `include_guids` | [T.nilable(Models::Operations::QueryParamIncludeGuids)](../../models/operations/queryparamincludeguids.md) | :heavy_minus_sign: | Adds the Guid object to the response<br/> | 1 |
| `include_advanced` | [T.nilable(Models::Operations::IncludeAdvanced)](../../models/operations/includeadvanced.md) | :heavy_minus_sign: | N/A | 1 |
| `include_collections` | [T.nilable(Models::Operations::QueryParamIncludeCollections)](../../models/operations/queryparamincludecollections.md) | :heavy_minus_sign: | N/A | 1 |

View File

@@ -0,0 +1,11 @@
# GetLibrarySectionsAllResponse
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `content_type` | *::String* | :heavy_check_mark: | HTTP response content type for this operation |
| `status_code` | *::Integer* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `object` | [T.nilable(Models::Operations::GetLibrarySectionsAllResponseBody)](../../models/operations/getlibrarysectionsallresponsebody.md) | :heavy_minus_sign: | Successful response containing media container data. |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryResponseBody
# GetLibrarySectionsAllResponseBody
Successful response containing media container data.
@@ -6,5 +6,5 @@ Successful response containing media container data.
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
| `media_container` | [T.nilable(Models::Operations::GetAllMediaLibraryMediaContainer)](../../models/operations/getallmedialibrarymediacontainer.md) | :heavy_minus_sign: | N/A |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| `media_container` | [T.nilable(Models::Operations::GetLibrarySectionsAllMediaContainer)](../../models/operations/getlibrarysectionsallmediacontainer.md) | :heavy_minus_sign: | N/A |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryRole
# GetLibrarySectionsAllRole
## Fields

View File

@@ -1,14 +1,14 @@
# GetAllMediaLibrarySort
# GetLibrarySectionsAllSort
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `default` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | asc |
| `active` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A | false |
| `active_direction` | [T.nilable(Models::Operations::GetAllMediaLibraryActiveDirection)](../../models/operations/getallmedialibraryactivedirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
| `default_direction` | [Models::Operations::GetAllMediaLibraryDefaultDirection](../../models/operations/getallmedialibrarydefaultdirection.md) | :heavy_check_mark: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
| `active_direction` | [T.nilable(Models::Operations::GetLibrarySectionsAllActiveDirection)](../../models/operations/getlibrarysectionsallactivedirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
| `default_direction` | [Models::Operations::GetLibrarySectionsAllDefaultDirection](../../models/operations/getlibrarysectionsalldefaultdirection.md) | :heavy_check_mark: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
| `desc_key` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | titleSort:desc |
| `first_character_key` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter |
| `key` | *::String* | :heavy_check_mark: | N/A | titleSort |

View File

@@ -0,0 +1,58 @@
# GetLibrarySectionsAllStream
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | Unique stream identifier. | 1002625 |
| `stream_type` | [Models::Operations::GetLibrarySectionsAllStreamType](../../models/operations/getlibrarysectionsallstreamtype.md) | :heavy_check_mark: | Stream type:<br/> - 1 = video<br/> - 2 = audio<br/> - 3 = subtitle<br/> | 1 |
| `format` | *T.nilable(::String)* | :heavy_minus_sign: | Format of the stream (e.g., srt). | srt |
| `default` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if this stream is default. | true |
| `codec` | *::String* | :heavy_check_mark: | Codec used by the stream. | hevc |
| `index` | *T.nilable(::Integer)* | :heavy_minus_sign: | Index of the stream. | 0 |
| `bitrate` | *T.nilable(::Integer)* | :heavy_minus_sign: | Bitrate of the stream. | 24743 |
| `language` | *T.nilable(::String)* | :heavy_minus_sign: | Language of the stream. | English |
| `language_tag` | *T.nilable(::String)* | :heavy_minus_sign: | Language tag (e.g., en). | en |
| `language_code` | *T.nilable(::String)* | :heavy_minus_sign: | ISO language code. | eng |
| `header_compression` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates whether header compression is enabled. | true |
| `dovibl_compat_id` | *T.nilable(::Integer)* | :heavy_minus_sign: | Dolby Vision BL compatibility ID. | 1 |
| `dovibl_present` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if Dolby Vision BL is present. | true |
| `doviel_present` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if Dolby Vision EL is present. | false |
| `dovi_level` | *T.nilable(::Integer)* | :heavy_minus_sign: | Dolby Vision level. | 6 |
| `dovi_present` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if Dolby Vision is present. | true |
| `dovi_profile` | *T.nilable(::Integer)* | :heavy_minus_sign: | Dolby Vision profile. | 8 |
| `dovirpu_present` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if Dolby Vision RPU is present. | true |
| `dovi_version` | *T.nilable(::String)* | :heavy_minus_sign: | Dolby Vision version. | 1.0 |
| `bit_depth` | *T.nilable(::Integer)* | :heavy_minus_sign: | Bit depth of the video stream. | 10 |
| `chroma_location` | *T.nilable(::String)* | :heavy_minus_sign: | Chroma sample location. | topleft |
| `chroma_subsampling` | *T.nilable(::String)* | :heavy_minus_sign: | Chroma subsampling format. | 4:2:0 |
| `coded_height` | *T.nilable(::Integer)* | :heavy_minus_sign: | Coded video height. | 1608 |
| `coded_width` | *T.nilable(::Integer)* | :heavy_minus_sign: | Coded video width. | 3840 |
| `closed_captions` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A | true |
| `color_primaries` | *T.nilable(::String)* | :heavy_minus_sign: | Color primaries used. | bt2020 |
| `color_range` | *T.nilable(::String)* | :heavy_minus_sign: | Color range (e.g., tv). | tv |
| `color_space` | *T.nilable(::String)* | :heavy_minus_sign: | Color space. | bt2020nc |
| `color_trc` | *T.nilable(::String)* | :heavy_minus_sign: | Color transfer characteristics. | smpte2084 |
| `frame_rate` | *T.nilable(::Float)* | :heavy_minus_sign: | Frame rate of the stream. | 23.976 |
| `key` | *T.nilable(::String)* | :heavy_minus_sign: | Key to access this stream part. | /library/streams/216389 |
| `height` | *T.nilable(::Integer)* | :heavy_minus_sign: | Height of the video stream. | 1602 |
| `level` | *T.nilable(::Integer)* | :heavy_minus_sign: | Video level. | 150 |
| `original` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if this is the original stream. | true |
| `has_scaling_matrix` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A | false |
| `profile` | *T.nilable(::String)* | :heavy_minus_sign: | Video profile. | main 10 |
| `scan_type` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | progressive |
| `embedded_in_video` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | progressive |
| `ref_frames` | *T.nilable(::Integer)* | :heavy_minus_sign: | Number of reference frames. | 1 |
| `width` | *T.nilable(::Integer)* | :heavy_minus_sign: | Width of the video stream. | 3840 |
| `display_title` | *::String* | :heavy_check_mark: | Display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
| `extended_display_title` | *::String* | :heavy_check_mark: | Extended display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
| `selected` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if this stream is selected (applicable for audio streams). | true |
| `forced` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A | true |
| `channels` | *T.nilable(::Integer)* | :heavy_minus_sign: | Number of audio channels (for audio streams). | 6 |
| `audio_channel_layout` | *T.nilable(::String)* | :heavy_minus_sign: | Audio channel layout. | 5.1(side) |
| `sampling_rate` | *T.nilable(::Integer)* | :heavy_minus_sign: | Sampling rate for the audio stream. | 48000 |
| `can_auto_sync` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if the stream can auto-sync. | false |
| `hearing_impaired` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if the stream is for the hearing impaired. | true |
| `dub` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Indicates if the stream is a dub. | true |
| `title` | *T.nilable(::String)* | :heavy_minus_sign: | Optional title for the stream (e.g., language variant). | SDH |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryStreamType
# GetLibrarySectionsAllStreamType
Stream type:
- 1 = video

View File

@@ -0,0 +1,15 @@
# GetLibrarySectionsAllType
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| `key` | *::String* | :heavy_check_mark: | N/A | /library/sections/2/all?type=2 |
| `type` | *::String* | :heavy_check_mark: | N/A | filter |
| `subtype` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | clip |
| `title` | *::String* | :heavy_check_mark: | N/A | TV Shows |
| `active` | *T::Boolean* | :heavy_check_mark: | N/A | false |
| `filter` | T::Array<[Models::Operations::GetLibrarySectionsAllFilter](../../models/operations/getlibrarysectionsallfilter.md)> | :heavy_minus_sign: | N/A | |
| `sort` | T::Array<[Models::Operations::GetLibrarySectionsAllSort](../../models/operations/getlibrarysectionsallsort.md)> | :heavy_minus_sign: | N/A | |
| `field` | T::Array<[Models::Operations::GetLibrarySectionsAllField](../../models/operations/getlibrarysectionsallfield.md)> | :heavy_minus_sign: | N/A | |

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryUltraBlurColors
# GetLibrarySectionsAllUltraBlurColors
## Fields

View File

@@ -1,4 +1,4 @@
# GetAllMediaLibraryWriter
# GetLibrarySectionsAllWriter
## Fields

View File

@@ -6,7 +6,7 @@ The filter query string for country media items.
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | N/A | 259 |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | The unique identifier for the country.<br/>NOTE: This is different for each Plex server and is not globally unique.<br/> | 259 |
| `tag` | *::String* | :heavy_check_mark: | The country of origin of this media item | United States of America |
| `filter` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | country=19 |
| `filter` | *::String* | :heavy_check_mark: | N/A | country=19 |

View File

@@ -4,9 +4,9 @@
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | Unique identifier for the director. | 126522 |
| `tag` | *::String* | :heavy_check_mark: | The role of Director | Danny Boyle |
| `filter` | *::String* | :heavy_check_mark: | The filter string used to query this director. | director=235876 |
| `tag_key` | *T.nilable(::String)* | :heavy_minus_sign: | A unique key associated with the director's tag, used for internal identification. | 5d776831151a60001f24d031 |
| `thumb` | *T.nilable(::String)* | :heavy_minus_sign: | The URL of the thumbnail image for the director. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |
| `tag_key` | *::String* | :heavy_check_mark: | A unique 24-character hexadecimal key associated with the director's tag, used for internal identification. | 5d776831151a60001f24d031 |
| `thumb` | *T.nilable(::String)* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the director. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |

View File

@@ -6,7 +6,7 @@ The filter query string for similar items.
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | N/A | 259 |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | The unique identifier for the genre.<br/>NOTE: This is different for each Plex server and is not globally unique.<br/> | 259 |
| `tag` | *::String* | :heavy_check_mark: | The genre name of this media-item<br/> | Crime |
| `filter` | *::String* | :heavy_check_mark: | N/A | genre=19 |

View File

@@ -4,5 +4,5 @@
## Fields
| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `id` | *::String* | :heavy_check_mark: | The GUID value. | imdb://tt3032476 |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id` | *::String* | :heavy_check_mark: | The unique identifier for the Guid. Can be prefixed with imdb://, tmdb://, tvdb://<br/> | {<br/>"imdbExample": {<br/>"summary": "IMDB example",<br/>"value": "imdb://tt13015952"<br/>},<br/>"tmdbExample": {<br/>"summary": "TMDB example",<br/>"value": "tmdb://2434012"<br/>},<br/>"tvdbExample": {<br/>"summary": "TVDB example",<br/>"value": "tvdb://7945991"<br/>}<br/>} |

View File

@@ -67,6 +67,7 @@ Unknown
| `library_section_id` | *::Integer* | :heavy_check_mark: | The identifier for the library section. | 1 |
| `library_section_title` | *::String* | :heavy_check_mark: | The title of the library section. | Movies |
| `library_section_key` | *::String* | :heavy_check_mark: | The key corresponding to the library section. | /library/sections/1 |
| `guids` | T::Array<[Models::Operations::GetMediaMetaDataGuids](../../models/operations/getmediametadataguids.md)> | :heavy_minus_sign: | N/A | |
| `media` | T::Array<[Models::Operations::GetMediaMetaDataMedia](../../models/operations/getmediametadatamedia.md)> | :heavy_minus_sign: | N/A | |
| `genre` | T::Array<[Models::Operations::GetMediaMetaDataGenre](../../models/operations/getmediametadatagenre.md)> | :heavy_minus_sign: | N/A | |
| `country` | T::Array<[Models::Operations::GetMediaMetaDataCountry](../../models/operations/getmediametadatacountry.md)> | :heavy_minus_sign: | N/A | |
@@ -74,7 +75,6 @@ Unknown
| `writer` | T::Array<[Models::Operations::GetMediaMetaDataWriter](../../models/operations/getmediametadatawriter.md)> | :heavy_minus_sign: | N/A | |
| `producer` | T::Array<[Models::Operations::GetMediaMetaDataProducer](../../models/operations/getmediametadataproducer.md)> | :heavy_minus_sign: | N/A | |
| `role` | T::Array<[Models::Operations::GetMediaMetaDataRole](../../models/operations/getmediametadatarole.md)> | :heavy_minus_sign: | N/A | |
| `guids` | T::Array<[Models::Operations::GetMediaMetaDataGuids](../../models/operations/getmediametadataguids.md)> | :heavy_minus_sign: | N/A | |
| `ratings` | T::Array<[Models::Operations::Ratings](../../models/operations/ratings.md)> | :heavy_minus_sign: | N/A | |
| `similar` | T::Array<[Models::Operations::GetMediaMetaDataSimilar](../../models/operations/getmediametadatasimilar.md)> | :heavy_minus_sign: | N/A | |
| `location` | T::Array<[Models::Operations::GetMediaMetaDataLocation](../../models/operations/getmediametadatalocation.md)> | :heavy_minus_sign: | N/A | |

View File

@@ -4,8 +4,8 @@
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ |
| `rating_key` | *::Integer* | :heavy_check_mark: | the id of the library item to return the children of. | 9518 |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `rating_key` | *::String* | :heavy_check_mark: | The id(s) of the library item(s) to return metadata for. Can be a single ID or comma-separated list of IDs. | 21119,21617 |
| `include_concerts` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Include concerts data if set to true. | true |
| `include_extras` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Include extra content (e.g. bonus features). | true |
| `include_on_deck` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Include on-deck items. | true |

View File

@@ -4,10 +4,10 @@
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | Unique identifier for the actor or role. | 126522 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | The unique identifier for the role.<br/>NOTE: This is different for each Plex server and is not globally unique.<br/> | 126522 |
| `tag` | *::String* | :heavy_check_mark: | The display tag for the actor (typically the actor's name). | Teller |
| `role` | *T.nilable(::String)* | :heavy_minus_sign: | The role played by the actor in the media item. | Self - Judge |
| `filter` | *::String* | :heavy_check_mark: | The filter string used to query this actor. For example, it may indicate that this is an actor with a given key. | actor=126522 |
| `tag_key` | *T.nilable(::String)* | :heavy_minus_sign: | A unique key associated with the actor's tag, used for internal identification. | 5d77683d85719b001f3a535e |
| `thumb` | *T.nilable(::String)* | :heavy_minus_sign: | The URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |
| `tag_key` | *::String* | :heavy_check_mark: | A 24-character hexadecimal unique key associated with the actor's tag, used for internal identification.<br/>NOTE: This is globally unique across all Plex Servers.<br/> | 5d77683d85719b001f3a535e |
| `thumb` | *T.nilable(::String)* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |

View File

@@ -1,16 +1,20 @@
# GetMediaMetaDataType
The type of media content
The type of media content in the Plex library. This can represent videos, music, or photos.
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | movie |
| `TV_SHOW` | show |
| `SEASON` | season |
| `EPISODE` | episode |
| `ARTIST` | artist |
| `ALBUM` | album |
| `TRACK` | track |
| `PHOTO_ALBUM` | photoalbum |
| `PHOTO` | photo |
| `COLLECTION` | collection |

View File

@@ -4,9 +4,9 @@
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | Unique identifier for the writer. | 126522 |
| `tag` | *::String* | :heavy_check_mark: | The role of Writer | Jamie P. Hanson |
| `filter` | *::String* | :heavy_check_mark: | The filter string used to query this writer. | writer=126522 |
| `thumb` | *T.nilable(::String)* | :heavy_minus_sign: | The URL of the thumbnail image for the writer. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |
| `tag_key` | *T.nilable(::String)* | :heavy_minus_sign: | A unique key associated with the writers tag, used for internal identification. | 5d77683d85719b001f3a535e |
| `thumb` | *T.nilable(::String)* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the writer. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |
| `tag_key` | *T.nilable(::String)* | :heavy_minus_sign: | A 24-character hexadecimal unique key associated with the writers tag, used for internal identification. | 5d77683d85719b001f3a535e |

View File

@@ -12,11 +12,13 @@ E.g. A movie library will not return anything with type 3 as there are no season
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | 1 |
| `TV_SHOW` | 2 |
| `SEASON` | 3 |
| `EPISODE` | 4 |
| `AUDIO` | 8 |
| `ALBUM` | 9 |
| `TRACK` | 10 |
| `ARTIST` | 5 |
| `ALBUM` | 6 |
| `TRACK` | 7 |
| `PHOTO_ALBUM` | 8 |
| `PHOTO` | 9 |

View File

@@ -1,16 +1,20 @@
# GetRecentlyAddedHubsType
The type of media content
The type of media content in the Plex library. This can represent videos, music, or photos.
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | movie |
| `TV_SHOW` | show |
| `SEASON` | season |
| `EPISODE` | episode |
| `ARTIST` | artist |
| `ALBUM` | album |
| `TRACK` | track |
| `PHOTO_ALBUM` | photoalbum |
| `PHOTO` | photo |
| `COLLECTION` | collection |

View File

@@ -71,6 +71,7 @@ Unknown
| `year` | *T.nilable(::Integer)* | :heavy_minus_sign: | The release year of the media item. | 2022 |
| `image` | T::Array<[Models::Operations::GetRecentlyAddedImage](../../models/operations/getrecentlyaddedimage.md)> | :heavy_minus_sign: | N/A | |
| `ultra_blur_colors` | [T.nilable(Models::Operations::UltraBlurColors)](../../models/operations/ultrablurcolors.md) | :heavy_minus_sign: | N/A | |
| `guids` | T::Array<[Models::Operations::Guids](../../models/operations/guids.md)> | :heavy_minus_sign: | N/A | |
| `media` | T::Array<[Models::Operations::Media](../../models/operations/media.md)> | :heavy_minus_sign: | N/A | |
| `genre` | T::Array<[Models::Operations::Genre](../../models/operations/genre.md)> | :heavy_minus_sign: | N/A | |
| `country` | T::Array<[Models::Operations::Country](../../models/operations/country.md)> | :heavy_minus_sign: | N/A | |
@@ -81,5 +82,4 @@ Unknown
| `rating1` | T::Array<[Models::Operations::Rating](../../models/operations/rating.md)> | :heavy_minus_sign: | N/A | |
| `similar` | T::Array<[Models::Operations::Similar](../../models/operations/similar.md)> | :heavy_minus_sign: | N/A | |
| `location` | T::Array<[Models::Operations::Location](../../models/operations/location.md)> | :heavy_minus_sign: | N/A | |
| `guids` | T::Array<[Models::Operations::Guids](../../models/operations/guids.md)> | :heavy_minus_sign: | N/A | |
| `collection` | T::Array<[Models::Operations::Collection](../../models/operations/collection.md)> | :heavy_minus_sign: | N/A | |

View File

@@ -13,7 +13,7 @@
| `library_section_id` | *T.nilable(::Integer)* | :heavy_minus_sign: | N/A | 1 |
| `library_section_title` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | Movies |
| `library_section_key` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | /library/sections/1 |
| `type` | [Models::Operations::GetSearchAllLibrariesType](../../models/operations/getsearchalllibrariestype.md) | :heavy_check_mark: | The type of media content<br/> | movie |
| `type` | [Models::Operations::GetSearchAllLibrariesType](../../models/operations/getsearchalllibrariestype.md) | :heavy_check_mark: | The type of media content in the Plex library. This can represent videos, music, or photos.<br/> | movie |
| `title` | *::String* | :heavy_check_mark: | N/A | Avatar: The Way of Water |
| `slug` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | 4-for-texas |
| `content_rating` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | PG-13 |

View File

@@ -1,16 +1,20 @@
# GetSearchAllLibrariesType
The type of media content
The type of media content in the Plex library. This can represent videos, music, or photos.
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | movie |
| `TV_SHOW` | show |
| `SEASON` | season |
| `EPISODE` | episode |
| `ARTIST` | artist |
| `ALBUM` | album |
| `TRACK` | track |
| `PHOTO_ALBUM` | photoalbum |
| `PHOTO` | photo |
| `COLLECTION` | collection |

View File

@@ -12,11 +12,13 @@ E.g. A movie library will not return anything with type 3 as there are no season
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | 1 |
| `TV_SHOW` | 2 |
| `SEASON` | 3 |
| `EPISODE` | 4 |
| `AUDIO` | 8 |
| `ALBUM` | 9 |
| `TRACK` | 10 |
| `ARTIST` | 5 |
| `ALBUM` | 6 |
| `TRACK` | 7 |
| `PHOTO_ALBUM` | 8 |
| `PHOTO` | 9 |

View File

@@ -5,9 +5,9 @@
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `size` | *T.nilable(::Integer)* | :heavy_minus_sign: | N/A | 1 |
| `allow_sync` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | N/A | true |
| `identifier` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | com.plexapp.plugins.library |
| `media_tag_prefix` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | /system/bundle/media/flags/ |
| `media_tag_version` | *T.nilable(::Integer)* | :heavy_minus_sign: | N/A | 1698860922 |
| `size` | *::Integer* | :heavy_check_mark: | Number of media items returned in this response. | 50 |
| `allow_sync` | *T::Boolean* | :heavy_check_mark: | Indicates whether syncing is allowed. | false |
| `identifier` | *::String* | :heavy_check_mark: | An plugin identifier for the media container. | com.plexapp.plugins.library |
| `media_tag_prefix` | *::String* | :heavy_check_mark: | The prefix used for media tag resource paths. | /system/bundle/media/flags/ |
| `media_tag_version` | *::Integer* | :heavy_check_mark: | The version number for media tags. | 1734362201 |
| `metadata` | T::Array<[Models::Operations::GetTopWatchedContentMetadata](../../models/operations/gettopwatchedcontentmetadata.md)> | :heavy_minus_sign: | N/A | |

View File

@@ -0,0 +1,12 @@
# GetTopWatchedContentQueryParamIncludeGuids
Adds the Guid object to the response
## Values
| Name | Value |
| --------- | --------- |
| `DISABLE` | 0 |
| `ENABLE` | 1 |

View File

@@ -12,11 +12,13 @@ E.g. A movie library will not return anything with type 3 as there are no season
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | 1 |
| `TV_SHOW` | 2 |
| `SEASON` | 3 |
| `EPISODE` | 4 |
| `AUDIO` | 8 |
| `ALBUM` | 9 |
| `TRACK` | 10 |
| `ARTIST` | 5 |
| `ALBUM` | 6 |
| `TRACK` | 7 |
| `PHOTO_ALBUM` | 8 |
| `PHOTO` | 9 |

View File

@@ -5,5 +5,5 @@
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `include_guids` | *T.nilable(::Integer)* | :heavy_minus_sign: | Adds the Guids object to the response<br/> | 1 |
| `type` | [Models::Operations::GetTopWatchedContentQueryParamType](../../models/operations/gettopwatchedcontentqueryparamtype.md) | :heavy_check_mark: | The type of media to retrieve or filter by.<br/>1 = movie<br/>2 = show<br/>3 = season<br/>4 = episode<br/>E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries<br/> | 2 |
| `include_guids` | [T.nilable(Models::Operations::GetTopWatchedContentQueryParamIncludeGuids)](../../models/operations/gettopwatchedcontentqueryparamincludeguids.md) | :heavy_minus_sign: | Adds the Guid object to the response<br/> | 1 |

View File

@@ -4,5 +4,5 @@
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `id` | *T.nilable(::String)* | :heavy_minus_sign: | The unique identifier for the Guid. Can be imdb://tt0286347, tmdb://1763, tvdb://2337<br/> | tvdb://2337 |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id` | *::String* | :heavy_check_mark: | The unique identifier for the Guid. Can be prefixed with imdb://, tmdb://, tvdb://<br/> | {<br/>"imdbExample": {<br/>"summary": "IMDB example",<br/>"value": "imdb://tt13015952"<br/>},<br/>"tmdbExample": {<br/>"summary": "TMDB example",<br/>"value": "tmdb://2434012"<br/>},<br/>"tvdbExample": {<br/>"summary": "TVDB example",<br/>"value": "tvdb://7945991"<br/>}<br/>} |

View File

@@ -4,9 +4,9 @@
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `id` | *::Integer* | :heavy_check_mark: | Unique identifier for the producer. | 126522 |
| `filter` | *::String* | :heavy_check_mark: | The filter string used to query this producer. | producer=126522 |
| `tag` | *::String* | :heavy_check_mark: | The name of the producer | Amelia Knapp |
| `tag_key` | *T.nilable(::String)* | :heavy_minus_sign: | A unique key associated with the producer's tag, used for internal identification. | 5d77683d85719b001f3a535e |
| `thumb` | *T.nilable(::String)* | :heavy_minus_sign: | The URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |
| `tag_key` | *::String* | :heavy_check_mark: | A 24-character hexadecimal unique key associated with the producer's tag, used for internal identification.<br/> | 5d77683d85719b001f3a535e |
| `thumb` | *T.nilable(::String)* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the producer. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |

View File

@@ -12,11 +12,13 @@ E.g. A movie library will not return anything with type 3 as there are no season
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | 1 |
| `TV_SHOW` | 2 |
| `SEASON` | 3 |
| `EPISODE` | 4 |
| `AUDIO` | 8 |
| `ALBUM` | 9 |
| `TRACK` | 10 |
| `ARTIST` | 5 |
| `ALBUM` | 6 |
| `TRACK` | 7 |
| `PHOTO_ALBUM` | 8 |
| `PHOTO` | 9 |

View File

@@ -6,7 +6,7 @@ The type of rating, for example 'audience' or 'critic'.
## Fields
| Field | Type | Required | Description | Example |
| ------------------- | ------------------- | ------------------- | ------------------- | ------------------- |
| `image` | *::String* | :heavy_check_mark: | N/A | imdb://image.rating |
| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
| `image` | *::String* | :heavy_check_mark: | The URL for the rating image, for example from IMDb. | imdb://image.rating |
| `value` | *::Float* | :heavy_check_mark: | N/A | 5.1 |
| `type` | *::String* | :heavy_check_mark: | N/A | audience |

View File

@@ -4,10 +4,10 @@
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | Unique identifier for the actor or role. | 126522 |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | The unique identifier for the role.<br/>NOTE: This is different for each Plex server and is not globally unique.<br/> | 126522 |
| `filter` | *::String* | :heavy_check_mark: | The filter string used to query this actor. For example, it may indicate that this is an actor with a given key. | actor=126522 |
| `tag` | *::String* | :heavy_check_mark: | The display tag for the actor (typically the actor's name). | Teller |
| `tag_key` | *T.nilable(::String)* | :heavy_minus_sign: | A unique key associated with the actor's tag, used for internal identification. | 5d77683d85719b001f3a535e |
| `tag_key` | *::String* | :heavy_check_mark: | A 24-character hexadecimal unique key associated with the actor's tag, used for internal identification.<br/>NOTE: This is globally unique across all Plex Servers.<br/> | 5d77683d85719b001f3a535e |
| `role` | *T.nilable(::String)* | :heavy_minus_sign: | The role played by the actor in the media item. | Self - Judge |
| `thumb` | *T.nilable(::String)* | :heavy_minus_sign: | The URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |
| `thumb` | *T.nilable(::String)* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |

View File

@@ -12,11 +12,13 @@ E.g. A movie library will not return anything with type 3 as there are no season
## Values
| Name | Value |
| --------- | --------- |
| ------------- | ------------- |
| `MOVIE` | 1 |
| `TV_SHOW` | 2 |
| `SEASON` | 3 |
| `EPISODE` | 4 |
| `AUDIO` | 8 |
| `ALBUM` | 9 |
| `TRACK` | 10 |
| `ARTIST` | 5 |
| `ALBUM` | 6 |
| `TRACK` | 7 |
| `PHOTO_ALBUM` | 8 |
| `PHOTO` | 9 |

View File

@@ -4,8 +4,9 @@
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| `id` | *::Integer* | :heavy_check_mark: | Unique identifier for the writer. | 126522 |
| `filter` | *::String* | :heavy_check_mark: | The filter string used to query this writer. | writer=126522 |
| `tag` | *::String* | :heavy_check_mark: | The role of Writer | Jamie P. Hanson |
| `tag_key` | *T.nilable(::String)* | :heavy_minus_sign: | A unique key associated with the writers tag, used for internal identification. | 5d77683d85719b001f3a535e |
| `tag_key` | *T.nilable(::String)* | :heavy_minus_sign: | A 24-character hexadecimal unique key associated with the writers tag, used for internal identification. | 5d77683d85719b001f3a535e |
| `thumb` | *T.nilable(::String)* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the writer. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |

View File

@@ -14,7 +14,7 @@ API Calls interacting with Plex Media Server Libraries
* [get_library_details](#get_library_details) - Get Library Details
* [delete_library](#delete_library) - Delete Library Section
* [get_library_items](#get_library_items) - Get Library Items
* [get_all_media_library](#get_all_media_library) - Get all media of library
* [get_library_sections_all](#get_library_sections_all) - Get Library section media by tag ALL
* [get_refresh_library_metadata](#get_refresh_library_metadata) - Refresh Metadata Of The Library
* [get_search_library](#get_search_library) - Search Library
* [get_genres_library](#get_genres_library) - Get Genres of library media
@@ -335,7 +335,7 @@ end
## get_all_media_library
## get_library_sections_all
Retrieves a list of all general media data for this library.
@@ -351,10 +351,10 @@ s = ::PlexRubySDK::PlexAPI.new(
),
)
req = Models::Operations::GetAllMediaLibraryRequest.new(
req = Models::Operations::GetLibrarySectionsAllRequest.new(
section_key: 9518,
type: Models::Operations::GetAllMediaLibraryQueryParamType::TV_SHOW,
include_meta: Models::Operations::GetAllMediaLibraryQueryParamIncludeMeta::ENABLE,
type: Models::Operations::GetLibrarySectionsAllQueryParamType::TV_SHOW,
include_meta: Models::Operations::GetLibrarySectionsAllQueryParamIncludeMeta::ENABLE,
include_guids: Models::Operations::QueryParamIncludeGuids::ENABLE,
include_advanced: Models::Operations::IncludeAdvanced::ENABLE,
include_collections: Models::Operations::QueryParamIncludeCollections::ENABLE,
@@ -363,7 +363,7 @@ req = Models::Operations::GetAllMediaLibraryRequest.new(
x_plex_container_size: 50,
)
res = s.library.get_all_media_library(req)
res = s.library.get_library_sections_all(req)
if ! res.object.nil?
# handle response
@@ -374,12 +374,12 @@ end
### Parameters
| Parameter | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| `request` | [Models::Operations::GetAllMediaLibraryRequest](../../models/operations/getallmedialibraryrequest.md) | :heavy_check_mark: | The request object to use for the request. |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| `request` | [Models::Operations::GetLibrarySectionsAllRequest](../../models/operations/getlibrarysectionsallrequest.md) | :heavy_check_mark: | The request object to use for the request. |
### Response
**[T.nilable(Models::Operations::GetAllMediaLibraryResponse)](../../models/operations/getallmedialibraryresponse.md)**
**[T.nilable(Models::Operations::GetLibrarySectionsAllResponse)](../../models/operations/getlibrarysectionsallresponse.md)**
@@ -633,7 +633,8 @@ end
## get_media_meta_data
This endpoint will return all the (meta)data of a library item specified with by the ratingKey.
This endpoint will return all the (meta)data of one or more library items specified by the ratingKey.
Multiple rating keys can be provided as a comma-separated list (e.g., "21119,21617").
### Example Usage
@@ -648,7 +649,7 @@ s = ::PlexRubySDK::PlexAPI.new(
)
req = Models::Operations::GetMediaMetaDataRequest.new(
rating_key: 9518,
rating_key: "21119,21617",
include_concerts: true,
include_extras: true,
include_on_deck: true,
@@ -881,7 +882,7 @@ s = ::PlexRubySDK::PlexAPI.new(
),
)
res = s.library.get_top_watched_content(type=Models::Operations::GetTopWatchedContentQueryParamType::TV_SHOW, include_guids=1)
res = s.library.get_top_watched_content(type=Models::Operations::GetTopWatchedContentQueryParamType::TV_SHOW, include_guids=Models::Operations::GetTopWatchedContentQueryParamIncludeGuids::ENABLE)
if ! res.object.nil?
# handle response
@@ -894,7 +895,7 @@ end
| Parameter | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `type` | [Models::Operations::GetTopWatchedContentQueryParamType](../../models/operations/gettopwatchedcontentqueryparamtype.md) | :heavy_check_mark: | The type of media to retrieve or filter by.<br/>1 = movie<br/>2 = show<br/>3 = season<br/>4 = episode<br/>E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries<br/> | 2 |
| `include_guids` | *T.nilable(::Integer)* | :heavy_minus_sign: | Adds the Guids object to the response<br/> | 1 |
| `include_guids` | [T.nilable(Models::Operations::GetTopWatchedContentQueryParamIncludeGuids)](../../models/operations/gettopwatchedcontentqueryparamincludeguids.md) | :heavy_minus_sign: | Adds the Guid object to the response<br/> | 1 |
### Response

View File

@@ -879,21 +879,21 @@ module PlexRubySDK
end
sig { params(request: T.nilable(Models::Operations::GetAllMediaLibraryRequest), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetAllMediaLibraryResponse) }
def get_all_media_library(request, timeout_ms = nil)
# get_all_media_library - Get all media of library
sig { params(request: T.nilable(Models::Operations::GetLibrarySectionsAllRequest), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetLibrarySectionsAllResponse) }
def get_library_sections_all(request, timeout_ms = nil)
# get_library_sections_all - Get Library section media by tag ALL
# Retrieves a list of all general media data for this library.
#
url, params = @sdk_configuration.get_server_details
base_url = Utils.template_url(url, params)
url = Utils.generate_url(
Models::Operations::GetAllMediaLibraryRequest,
Models::Operations::GetLibrarySectionsAllRequest,
base_url,
'/library/sections/{sectionKey}/all',
request
)
headers = {}
query_params = Utils.get_query_params(Models::Operations::GetAllMediaLibraryRequest, request)
query_params = Utils.get_query_params(Models::Operations::GetLibrarySectionsAllRequest, request)
headers['Accept'] = 'application/json'
headers['user-agent'] = @sdk_configuration.user_agent
@@ -907,7 +907,7 @@ module PlexRubySDK
hook_ctx = SDKHooks::HookContext.new(
base_url: base_url,
oauth2_scopes: [],
operation_id: 'get-all-media-library',
operation_id: 'get-library-sections-all',
security_source: @sdk_configuration.security_source
)
@@ -964,8 +964,8 @@ module PlexRubySDK
),
response: http_response
)
obj = Crystalline.unmarshal_json(JSON.parse(http_response.env.response_body), Models::Operations::GetAllMediaLibraryResponseBody)
response = Models::Operations::GetAllMediaLibraryResponse.new(
obj = Crystalline.unmarshal_json(JSON.parse(http_response.env.response_body), Models::Operations::GetLibrarySectionsAllResponseBody)
response = Models::Operations::GetLibrarySectionsAllResponse.new(
status_code: http_response.status,
content_type: content_type,
raw_response: http_response,
@@ -984,7 +984,7 @@ module PlexRubySDK
),
response: http_response
)
obj = Crystalline.unmarshal_json(JSON.parse(http_response.env.response_body), Models::Errors::GetAllMediaLibraryBadRequest)
obj = Crystalline.unmarshal_json(JSON.parse(http_response.env.response_body), Models::Errors::GetLibrarySectionsAllBadRequest)
obj.raw_response = http_response
throw obj
else
@@ -998,7 +998,7 @@ module PlexRubySDK
),
response: http_response
)
obj = Crystalline.unmarshal_json(JSON.parse(http_response.env.response_body), Models::Errors::GetAllMediaLibraryUnauthorized)
obj = Crystalline.unmarshal_json(JSON.parse(http_response.env.response_body), Models::Errors::GetLibrarySectionsAllUnauthorized)
obj.raw_response = http_response
throw obj
else
@@ -1863,7 +1863,8 @@ module PlexRubySDK
sig { params(request: T.nilable(Models::Operations::GetMediaMetaDataRequest), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetMediaMetaDataResponse) }
def get_media_meta_data(request, timeout_ms = nil)
# get_media_meta_data - Get Media Metadata
# This endpoint will return all the (meta)data of a library item specified with by the ratingKey.
# This endpoint will return all the (meta)data of one or more library items specified by the ratingKey.
# Multiple rating keys can be provided as a comma-separated list (e.g., "21119,21617").
#
url, params = @sdk_configuration.get_server_details
base_url = Utils.template_url(url, params)
@@ -2587,7 +2588,7 @@ module PlexRubySDK
end
sig { params(type: Models::Operations::GetTopWatchedContentQueryParamType, include_guids: T.nilable(::Integer), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetTopWatchedContentResponse) }
sig { params(type: Models::Operations::GetTopWatchedContentQueryParamType, include_guids: T.nilable(Models::Operations::GetTopWatchedContentQueryParamIncludeGuids), timeout_ms: T.nilable(Integer)).returns(Models::Operations::GetTopWatchedContentResponse) }
def get_top_watched_content(type, include_guids = nil, timeout_ms = nil)
# get_top_watched_content - Get Top Watched Content
# This endpoint will return the top watched content from libraries of a certain type

View File

@@ -52,10 +52,6 @@ module PlexRubySDK
autoload :GetAllLibrariesLibraryErrors, 'plex_ruby_sdk/models/errors/get_all_libraries_library_errors.rb'
autoload :GetAllLibrariesUnauthorized, 'plex_ruby_sdk/models/errors/get_all_libraries_unauthorized.rb'
autoload :GetAllLibrariesErrors, 'plex_ruby_sdk/models/errors/get_all_libraries_errors.rb'
autoload :GetAllMediaLibraryBadRequest, 'plex_ruby_sdk/models/errors/get_all_media_library_badrequest.rb'
autoload :GetAllMediaLibraryLibraryErrors, 'plex_ruby_sdk/models/errors/get_all_media_library_library_errors.rb'
autoload :GetAllMediaLibraryUnauthorized, 'plex_ruby_sdk/models/errors/get_all_media_library_unauthorized.rb'
autoload :GetAllMediaLibraryErrors, 'plex_ruby_sdk/models/errors/get_all_media_library_errors.rb'
autoload :GetBannerImageBadRequest, 'plex_ruby_sdk/models/errors/get_banner_image_badrequest.rb'
autoload :GetBannerImageMediaErrors, 'plex_ruby_sdk/models/errors/get_banner_image_media_errors.rb'
autoload :GetBannerImageUnauthorized, 'plex_ruby_sdk/models/errors/get_banner_image_unauthorized.rb'
@@ -76,6 +72,10 @@ module PlexRubySDK
autoload :GetLibraryItemsLibraryErrors, 'plex_ruby_sdk/models/errors/get_library_items_library_errors.rb'
autoload :GetLibraryItemsUnauthorized, 'plex_ruby_sdk/models/errors/get_library_items_unauthorized.rb'
autoload :GetLibraryItemsErrors, 'plex_ruby_sdk/models/errors/get_library_items_errors.rb'
autoload :GetLibrarySectionsAllBadRequest, 'plex_ruby_sdk/models/errors/get_library_sections_all_badrequest.rb'
autoload :GetLibrarySectionsAllLibraryErrors, 'plex_ruby_sdk/models/errors/get_library_sections_all_library_errors.rb'
autoload :GetLibrarySectionsAllUnauthorized, 'plex_ruby_sdk/models/errors/get_library_sections_all_unauthorized.rb'
autoload :GetLibrarySectionsAllErrors, 'plex_ruby_sdk/models/errors/get_library_sections_all_errors.rb'
autoload :GetMediaMetaDataBadRequest, 'plex_ruby_sdk/models/errors/get_media_meta_data_badrequest.rb'
autoload :GetMediaMetaDataLibraryErrors, 'plex_ruby_sdk/models/errors/get_media_meta_data_library_errors.rb'
autoload :GetMediaMetaDataUnauthorized, 'plex_ruby_sdk/models/errors/get_media_meta_data_unauthorized.rb'

View File

@@ -9,17 +9,17 @@ module PlexRubySDK
module Errors
# Bad Request - A parameter was not specified, or was specified incorrectly.
class GetAllMediaLibraryBadRequest
class GetLibrarySectionsAllBadRequest
extend T::Sig
include Crystalline::MetadataFields
field :errors, T.nilable(T::Array[Models::Errors::GetAllMediaLibraryErrors]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('errors') } }
field :errors, T.nilable(T::Array[Models::Errors::GetLibrarySectionsAllErrors]), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('errors') } }
# Raw HTTP response; suitable for custom response parsing
field :raw_response, T.nilable(::Faraday::Response), { 'format_json': { 'letter_case': ::PlexRubySDK::Utils.field_name('-') } }
sig { params(errors: T.nilable(T::Array[Models::Errors::GetAllMediaLibraryErrors]), raw_response: T.nilable(::Faraday::Response)).void }
sig { params(errors: T.nilable(T::Array[Models::Errors::GetLibrarySectionsAllErrors]), raw_response: T.nilable(::Faraday::Response)).void }
def initialize(errors: nil, raw_response: nil)
@errors = errors
@raw_response = raw_response

View File

@@ -9,7 +9,7 @@ module PlexRubySDK
module Errors
class GetAllMediaLibraryErrors
class GetLibrarySectionsAllErrors
extend T::Sig
include Crystalline::MetadataFields

View File

@@ -9,7 +9,7 @@ module PlexRubySDK
module Errors
class GetAllMediaLibraryLibraryErrors
class GetLibrarySectionsAllLibraryErrors
extend T::Sig
include Crystalline::MetadataFields

Some files were not shown because too many files have changed in this diff Show More