mirror of
https://github.com/LukeHagar/plexphp.git
synced 2025-12-06 04:20:51 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.555.3
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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
|
||||
php:
|
||||
version: 0.14.8
|
||||
version: 0.14.9
|
||||
additionalDependencies:
|
||||
autoload: {}
|
||||
autoload-dev: {}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
speakeasyVersion: 1.542.3
|
||||
speakeasyVersion: 1.555.3
|
||||
sources:
|
||||
my-source:
|
||||
sourceNamespace: my-source
|
||||
@@ -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-1746490278
|
||||
- speakeasy-sdk-regen-1749082302
|
||||
targets:
|
||||
plexphp:
|
||||
source: plexapi
|
||||
sourceNamespace: plexapi
|
||||
sourceRevisionDigest: sha256:37adc934a79841fb00cfe6ed569f5b1c88534b20202ecbde64b4e84828cee22a
|
||||
sourceBlobDigest: sha256:ffb5b8d288111a763e4d035c8c9e37f5c89690d146b7297493b43a71d8298e6c
|
||||
sourceRevisionDigest: sha256:78d07ad78ff60d0e9918696208d8c68a562e170d4e9c431797c02995fb8816d0
|
||||
sourceBlobDigest: sha256:d38dd2a36c1b2fd73409267f7b30c2d5d45d709616141803ea01db424ec68ae4
|
||||
codeSamplesNamespace: code-samples-php-plexphp
|
||||
codeSamplesRevisionDigest: sha256:d68f139a4c5678d2a46aad679423268b5f5cc548378be4c9f1fe1f820feed44f
|
||||
codeSamplesRevisionDigest: sha256:4ca8d0766e43f9b1d14040ccc0fef1806a7a1b762560ecc219d955f4cc05e011
|
||||
workflow:
|
||||
workflowVersion: 1.0.0
|
||||
speakeasyVersion: latest
|
||||
|
||||
@@ -175,7 +175,7 @@ if ($response->object !== null) {
|
||||
* [getLibraryDetails](docs/sdks/library/README.md#getlibrarydetails) - Get Library Details
|
||||
* [deleteLibrary](docs/sdks/library/README.md#deletelibrary) - Delete Library Section
|
||||
* [getLibraryItems](docs/sdks/library/README.md#getlibraryitems) - Get Library Items
|
||||
* [getAllMediaLibrary](docs/sdks/library/README.md#getallmedialibrary) - Get all media of library
|
||||
* [getLibrarySectionsAll](docs/sdks/library/README.md#getlibrarysectionsall) - Get Library section media by tag ALL
|
||||
* [getRefreshLibraryMetadata](docs/sdks/library/README.md#getrefreshlibrarymetadata) - Refresh Metadata Of The Library
|
||||
* [getSearchLibrary](docs/sdks/library/README.md#getsearchlibrary) - Search Library
|
||||
* [getGenresLibrary](docs/sdks/library/README.md#getgenreslibrary) - Get Genres of library media
|
||||
@@ -363,8 +363,8 @@ use LukeHagar\Plex_API;
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setProtocol('https')
|
||||
->setIp('e0c3:bcc0:6bac:dccc:c4ec:34b1:ca98:4cb9')
|
||||
->setPort('40311')
|
||||
->setIp('4982:bc2a:b4f8:efb5:2394:5bc3:ab4f:0e6d')
|
||||
->setPort('44765')
|
||||
->setSecurity(
|
||||
'<YOUR_API_KEY_HERE>'
|
||||
)
|
||||
|
||||
12
RELEASES.md
12
RELEASES.md
@@ -882,4 +882,14 @@ Based on:
|
||||
### Generated
|
||||
- [php v0.14.8] .
|
||||
### Releases
|
||||
- [Composer v0.14.8] https://packagist.org/packages/lukehagar/plex-api#v0.14.8 - .
|
||||
- [Composer v0.14.8] https://packagist.org/packages/lukehagar/plex-api#v0.14.8 - .
|
||||
|
||||
## 2025-06-05 00:11:24
|
||||
### Changes
|
||||
Based on:
|
||||
- OpenAPI Doc
|
||||
- Speakeasy CLI 1.555.3 (2.620.2) https://github.com/speakeasy-api/speakeasy
|
||||
### Generated
|
||||
- [php v0.14.9] .
|
||||
### Releases
|
||||
- [Composer v0.14.9] https://packagist.org/packages/lukehagar/plex-api#v0.14.9 - .
|
||||
@@ -337,7 +337,7 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->butler->stopTask(
|
||||
taskName: Operations\PathParamTaskName::BackupDatabase
|
||||
taskName: Operations\PathParamTaskName::CleanOldCacheFiles
|
||||
);
|
||||
|
||||
if ($response->statusCode === 200) {
|
||||
@@ -365,7 +365,7 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->butler->startTask(
|
||||
taskName: Operations\TaskName::CleanOldBundles
|
||||
taskName: Operations\TaskName::RefreshPeriodicMetadata
|
||||
);
|
||||
|
||||
if ($response->statusCode === 200) {
|
||||
@@ -540,7 +540,6 @@ actions:
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
use LukeHagar\Plex_API;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setSecurity(
|
||||
@@ -551,8 +550,6 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->hubs->getGlobalHubs(
|
||||
count: 1262.49,
|
||||
onlyTransient: Operations\OnlyTransient::One
|
||||
|
||||
);
|
||||
|
||||
@@ -579,9 +576,10 @@ actions:
|
||||
->build();
|
||||
|
||||
$request = new Operations\GetRecentlyAddedRequest(
|
||||
contentDirectoryID: 470161,
|
||||
contentDirectoryID: 39486,
|
||||
sectionID: 2,
|
||||
type: Operations\Type::TvShow,
|
||||
includeMeta: Operations\IncludeMeta::Enable,
|
||||
);
|
||||
|
||||
$response = $sdk->hubs->getRecentlyAdded(
|
||||
@@ -612,8 +610,7 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->search->performSearch(
|
||||
query: 'dylan',
|
||||
sectionId: 9372.7,
|
||||
query: 'arnold',
|
||||
limit: 5
|
||||
|
||||
);
|
||||
@@ -643,7 +640,6 @@ actions:
|
||||
|
||||
$response = $sdk->search->performVoiceSearch(
|
||||
query: 'dead+poop',
|
||||
sectionId: 4094.8,
|
||||
limit: 5
|
||||
|
||||
);
|
||||
@@ -662,7 +658,6 @@ actions:
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
use LukeHagar\Plex_API;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setSecurity(
|
||||
@@ -673,10 +668,7 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->hubs->getLibraryHubs(
|
||||
sectionId: 6728.76,
|
||||
count: 639.24,
|
||||
onlyTransient: Operations\QueryParamOnlyTransient::One
|
||||
|
||||
sectionId: 492.74
|
||||
);
|
||||
|
||||
if ($response->object !== null) {
|
||||
@@ -728,7 +720,7 @@ actions:
|
||||
|
||||
$response = $sdk->library->getTopWatchedContent(
|
||||
type: Operations\GetTopWatchedContentQueryParamType::TvShow,
|
||||
includeGuids: 1
|
||||
includeGuids: Operations\GetTopWatchedContentQueryParamIncludeGuids::Enable
|
||||
|
||||
);
|
||||
|
||||
@@ -756,9 +748,7 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->library->getFileHash(
|
||||
url: 'file://C:\Image.png&type=13',
|
||||
type: 4462.17
|
||||
|
||||
url: 'file://C:\Image.png&type=13'
|
||||
);
|
||||
|
||||
if ($response->statusCode === 200) {
|
||||
@@ -784,7 +774,7 @@ actions:
|
||||
->build();
|
||||
|
||||
$request = new Operations\GetMediaMetaDataRequest(
|
||||
ratingKey: 9518,
|
||||
ratingKey: '21119,21617',
|
||||
includeConcerts: true,
|
||||
includeExtras: true,
|
||||
includeOnDeck: true,
|
||||
@@ -856,8 +846,7 @@ actions:
|
||||
|
||||
$response = $sdk->library->postMediaArts(
|
||||
ratingKey: 2268,
|
||||
url: 'https://api.mediux.pro/assets/fcfdc487-dd07-4993-a0c1-0a3015362e5b',
|
||||
requestBody: '0xee51EFC6De'
|
||||
url: 'https://api.mediux.pro/assets/fcfdc487-dd07-4993-a0c1-0a3015362e5b'
|
||||
|
||||
);
|
||||
|
||||
@@ -920,8 +909,8 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->library->getMetadataChildren(
|
||||
ratingKey: 1539.14,
|
||||
includeElements: '<value>'
|
||||
ratingKey: 2403.67,
|
||||
includeElements: 'Stream'
|
||||
|
||||
);
|
||||
|
||||
@@ -977,8 +966,7 @@ actions:
|
||||
|
||||
$response = $sdk->library->postMediaPoster(
|
||||
ratingKey: 2268,
|
||||
url: 'https://api.mediux.pro/assets/fcfdc487-dd07-4993-a0c1-0a3015362e5b',
|
||||
requestBody: '0x7C3d45ad4B'
|
||||
url: 'https://api.mediux.pro/assets/fcfdc487-dd07-4993-a0c1-0a3015362e5b'
|
||||
|
||||
);
|
||||
|
||||
@@ -1057,6 +1045,7 @@ actions:
|
||||
],
|
||||
sectionID: 2,
|
||||
type: Operations\QueryParamType::TvShow,
|
||||
includeMeta: Operations\QueryParamIncludeMeta::Enable,
|
||||
);
|
||||
|
||||
$response = $sdk->library->getRecentlyAddedLibrary(
|
||||
@@ -1091,6 +1080,8 @@ actions:
|
||||
searchTypes: [
|
||||
Operations\SearchTypes::People,
|
||||
],
|
||||
includeCollections: Operations\GetSearchAllLibrariesQueryParamIncludeCollections::Enable,
|
||||
includeExternalMedia: Operations\GetSearchAllLibrariesQueryParamIncludeExternalMedia::Enable,
|
||||
);
|
||||
|
||||
$response = $sdk->library->getSearchAllLibraries(
|
||||
@@ -1147,7 +1138,7 @@ actions:
|
||||
->build();
|
||||
|
||||
$request = new Operations\GetWatchListRequest(
|
||||
filter: Operations\Filter::Available,
|
||||
filter: Operations\Filter::Released,
|
||||
xPlexToken: 'CV5xoxjTpFKUzBTShsaf',
|
||||
);
|
||||
|
||||
@@ -1264,12 +1255,17 @@ actions:
|
||||
)
|
||||
->build();
|
||||
|
||||
$request = new Operations\GetAllMediaLibraryRequest(
|
||||
$request = new Operations\GetLibrarySectionsAllRequest(
|
||||
sectionKey: 9518,
|
||||
type: Operations\GetAllMediaLibraryQueryParamType::TvShow,
|
||||
type: Operations\GetLibrarySectionsAllQueryParamType::TvShow,
|
||||
includeMeta: Operations\GetLibrarySectionsAllQueryParamIncludeMeta::Enable,
|
||||
includeGuids: Operations\QueryParamIncludeGuids::Enable,
|
||||
includeAdvanced: Operations\IncludeAdvanced::Enable,
|
||||
includeCollections: Operations\QueryParamIncludeCollections::Enable,
|
||||
includeExternalMedia: Operations\QueryParamIncludeExternalMedia::Enable,
|
||||
);
|
||||
|
||||
$response = $sdk->library->getAllMediaLibrary(
|
||||
$response = $sdk->library->getLibrarySectionsAll(
|
||||
request: $request
|
||||
);
|
||||
|
||||
@@ -1359,7 +1355,7 @@ actions:
|
||||
|
||||
$response = $sdk->library->getRefreshLibraryMetadata(
|
||||
sectionKey: 9518,
|
||||
force: Operations\Force::One
|
||||
force: Operations\Force::Zero
|
||||
|
||||
);
|
||||
|
||||
@@ -1416,9 +1412,11 @@ actions:
|
||||
->build();
|
||||
|
||||
$request = new Operations\GetLibraryItemsRequest(
|
||||
tag: Operations\Tag::Edition,
|
||||
tag: Operations\Tag::Newest,
|
||||
includeGuids: Operations\IncludeGuids::Enable,
|
||||
type: Operations\GetLibraryItemsQueryParamType::TvShow,
|
||||
sectionKey: 9518,
|
||||
includeMeta: Operations\GetLibraryItemsQueryParamIncludeMeta::Enable,
|
||||
);
|
||||
|
||||
$response = $sdk->library->getLibraryItems(
|
||||
@@ -1591,10 +1589,9 @@ actions:
|
||||
$request = new Operations\GetResizedPhotoRequest(
|
||||
width: 110,
|
||||
height: 165,
|
||||
opacity: 100,
|
||||
blur: 20,
|
||||
blur: 0,
|
||||
minSize: Operations\MinSize::Zero,
|
||||
upscale: Operations\Upscale::One,
|
||||
upscale: Operations\Upscale::Zero,
|
||||
url: '/library/metadata/49564/thumb/1654258204',
|
||||
);
|
||||
|
||||
@@ -1651,7 +1648,7 @@ actions:
|
||||
$sdk = Plex_API\PlexAPI::builder()->build();
|
||||
|
||||
$request = new Operations\GetTokenByPinIdRequest(
|
||||
pinID: 408895,
|
||||
pinID: 232248,
|
||||
clientID: '3381b62b-9ab7-4e37-827b-203e9809eb58',
|
||||
clientName: 'Plex for Roku',
|
||||
deviceNickname: 'Roku 3',
|
||||
@@ -1677,7 +1674,6 @@ actions:
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
use LukeHagar\Plex_API;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setSecurity(
|
||||
@@ -1688,8 +1684,6 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->playlists->getPlaylists(
|
||||
playlistType: Operations\PlaylistType::Audio,
|
||||
smart: Operations\QueryParamSmart::Zero
|
||||
|
||||
);
|
||||
|
||||
@@ -1717,9 +1711,9 @@ actions:
|
||||
|
||||
$request = new Operations\CreatePlaylistRequest(
|
||||
title: '<value>',
|
||||
type: Operations\CreatePlaylistQueryParamType::Photo,
|
||||
type: Operations\CreatePlaylistQueryParamType::Audio,
|
||||
smart: Operations\Smart::One,
|
||||
uri: 'https://hoarse-testing.info/',
|
||||
uri: 'https://short-term-disconnection.name/',
|
||||
);
|
||||
|
||||
$response = $sdk->playlists->createPlaylist(
|
||||
@@ -1752,7 +1746,7 @@ actions:
|
||||
|
||||
$response = $sdk->playlists->uploadPlaylist(
|
||||
path: '/home/barkley/playlist.m3u',
|
||||
force: Operations\QueryParamForce::Zero,
|
||||
force: Operations\QueryParamForce::One,
|
||||
sectionID: 1
|
||||
|
||||
);
|
||||
@@ -1781,7 +1775,7 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->playlists->deletePlaylist(
|
||||
playlistID: 216.22
|
||||
playlistID: 3432.93
|
||||
);
|
||||
|
||||
if ($response->statusCode === 200) {
|
||||
@@ -1808,7 +1802,7 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->playlists->getPlaylist(
|
||||
playlistID: 4109.48
|
||||
playlistID: 8419.53
|
||||
);
|
||||
|
||||
if ($response->object !== null) {
|
||||
@@ -1835,10 +1829,7 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->playlists->updatePlaylist(
|
||||
playlistID: 3915,
|
||||
title: '<value>',
|
||||
summary: '<value>'
|
||||
|
||||
playlistID: 1579.66
|
||||
);
|
||||
|
||||
if ($response->statusCode === 200) {
|
||||
@@ -1865,7 +1856,7 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->playlists->clearPlaylistContents(
|
||||
playlistID: 1893.18
|
||||
playlistID: 4137.37
|
||||
);
|
||||
|
||||
if ($response->statusCode === 200) {
|
||||
@@ -1893,7 +1884,7 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->playlists->getPlaylistContents(
|
||||
playlistID: 5004.46,
|
||||
playlistID: 5535.42,
|
||||
type: Operations\GetPlaylistContentsQueryParamType::TvShow
|
||||
|
||||
);
|
||||
@@ -1922,7 +1913,7 @@ actions:
|
||||
|
||||
|
||||
$response = $sdk->playlists->addPlaylistContents(
|
||||
playlistID: 8502.01,
|
||||
playlistID: 7013.44,
|
||||
uri: 'server://12345/com.plexapp.plugins.library/library/metadata/1',
|
||||
playQueueID: 123
|
||||
|
||||
@@ -2204,7 +2195,7 @@ actions:
|
||||
$filter = new Operations\QueryParamFilter();
|
||||
|
||||
$response = $sdk->sessions->getSessionHistory(
|
||||
sort: '<value>',
|
||||
sort: 'viewedAt:desc',
|
||||
accountId: 1,
|
||||
filter: $filter,
|
||||
librarySectionID: 12
|
||||
|
||||
@@ -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` | array<[Errors\GetAllMediaLibraryLibraryErrors](../../Models/Errors/GetAllMediaLibraryLibraryErrors.md)> | :heavy_minus_sign: | N/A |
|
||||
| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryBadRequest
|
||||
# GetLibrarySectionsAllBadRequest
|
||||
|
||||
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
|
||||
@@ -7,5 +7,5 @@ Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||
|
||||
| Field | Type | Required | Description |
|
||||
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
|
||||
| `errors` | array<[Errors\GetAllMediaLibraryErrors](../../Models/Errors/GetAllMediaLibraryErrors.md)> | :heavy_minus_sign: | N/A |
|
||||
| `errors` | array<[Errors\GetLibrarySectionsAllErrors](../../Models/Errors/GetLibrarySectionsAllErrors.md)> | :heavy_minus_sign: | N/A |
|
||||
| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryErrors
|
||||
# GetLibrarySectionsAllErrors
|
||||
|
||||
|
||||
## Fields
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryLibraryErrors
|
||||
# GetLibrarySectionsAllLibraryErrors
|
||||
|
||||
|
||||
## Fields
|
||||
11
docs/Models/Errors/GetLibrarySectionsAllUnauthorized.md
Normal file
11
docs/Models/Errors/GetLibrarySectionsAllUnauthorized.md
Normal 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` | array<[Errors\GetLibrarySectionsAllLibraryErrors](../../Models/Errors/GetLibrarySectionsAllLibraryErrors.md)> | :heavy_minus_sign: | N/A |
|
||||
| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||
@@ -5,8 +5,8 @@ The filter query string for country media items.
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | N/A | 259 |
|
||||
| `tag` | *string* | :heavy_check_mark: | The country of origin of this media item | United States of America |
|
||||
| `filter` | *?string* | :heavy_minus_sign: | N/A | country=19 |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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` | *string* | :heavy_check_mark: | N/A | country=19 |
|
||||
@@ -3,6 +3,10 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------- | -------------------- | -------------------- | -------------------- | -------------------- |
|
||||
| `tag` | *string* | :heavy_check_mark: | The role of Director | Danny Boyle |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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 |
|
||||
| `tagKey` | *string* | :heavy_check_mark: | A unique 24-character hexadecimal key associated with the director's tag, used for internal identification. | 5d776831151a60001f24d031 |
|
||||
| `thumb` | *?string* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the director. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |
|
||||
@@ -5,8 +5,8 @@ The filter query string for similar items.
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | N/A | 259 |
|
||||
| `filter` | *string* | :heavy_check_mark: | N/A | genre=19 |
|
||||
| `tag` | *string* | :heavy_check_mark: | The genre name of this media-item<br/> | Crime |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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 |
|
||||
@@ -11,12 +11,14 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
| `Album` | 9 |
|
||||
| `Track` | 10 |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Artist` | 5 |
|
||||
| `Album` | 6 |
|
||||
| `Track` | 7 |
|
||||
| `PhotoAlbum` | 8 |
|
||||
| `Photo` | 9 |
|
||||
@@ -5,11 +5,15 @@ The library type
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Movie` | movie |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | movie |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
| `Track` | track |
|
||||
| `PhotoAlbum` | photoalbum |
|
||||
| `Photo` | photo |
|
||||
| `Collection` | collection |
|
||||
@@ -1,9 +0,0 @@
|
||||
# GetAllMediaLibraryFieldType
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
||||
| `type` | *string* | :heavy_check_mark: | N/A | tag |
|
||||
| `operator` | array<[Operations\GetAllMediaLibraryOperator](../../Models/Operations/GetAllMediaLibraryOperator.md)> | :heavy_check_mark: | N/A | |
|
||||
@@ -1,8 +0,0 @@
|
||||
# GetAllMediaLibraryGuids
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
||||
| `id` | *?string* | :heavy_minus_sign: | The unique identifier for the Guid. Can be imdb://tt0286347, tmdb://1763, tvdb://2337<br/> | tvdb://2337 |
|
||||
@@ -1,10 +0,0 @@
|
||||
# GetAllMediaLibraryImage
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
|
||||
| `alt` | *string* | :heavy_check_mark: | N/A | Episode 1 |
|
||||
| `type` | [Operations\GetAllMediaLibraryLibraryResponseType](../../Models/Operations/GetAllMediaLibraryLibraryResponseType.md) | :heavy_check_mark: | N/A | background |
|
||||
| `url` | *string* | :heavy_check_mark: | N/A | /library/metadata/45521/thumb/1644710589 |
|
||||
@@ -1,25 +0,0 @@
|
||||
# GetAllMediaLibraryLibraryOptimizedForStreaming
|
||||
|
||||
Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
|
||||
|
||||
|
||||
## Supported Types
|
||||
|
||||
### `Operations\GetAllMediaLibraryOptimizedForStreaming1`
|
||||
|
||||
```php
|
||||
/**
|
||||
* @var Operations\GetAllMediaLibraryOptimizedForStreaming1
|
||||
*/
|
||||
Operations\GetAllMediaLibraryOptimizedForStreaming1 $value = /* values here */
|
||||
```
|
||||
|
||||
### `bool`
|
||||
|
||||
```php
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
bool $value = /* values here */
|
||||
```
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
# GetAllMediaLibraryLibraryType
|
||||
|
||||
The type of media content
|
||||
|
||||
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Movie` | movie |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
@@ -1,26 +0,0 @@
|
||||
# GetAllMediaLibraryMedia
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique media identifier. | 387322 |
|
||||
| `duration` | *?int* | :heavy_minus_sign: | Duration of the media in milliseconds. | 9610350 |
|
||||
| `bitrate` | *?int* | :heavy_minus_sign: | Bitrate in bits per second. | 25512 |
|
||||
| `width` | *?int* | :heavy_minus_sign: | Video width in pixels. | 3840 |
|
||||
| `height` | *?int* | :heavy_minus_sign: | Video height in pixels. | 1602 |
|
||||
| `aspectRatio` | *?float* | :heavy_minus_sign: | Aspect ratio of the video. | 2.35 |
|
||||
| `audioChannels` | *?int* | :heavy_minus_sign: | Number of audio channels. | 6 |
|
||||
| `displayOffset` | *?int* | :heavy_minus_sign: | N/A | 50 |
|
||||
| `audioCodec` | *?string* | :heavy_minus_sign: | Audio codec used. | eac3 |
|
||||
| `videoCodec` | *?string* | :heavy_minus_sign: | Video codec used. | hevc |
|
||||
| `videoResolution` | *?string* | :heavy_minus_sign: | Video resolution (e.g., 4k). | 4k |
|
||||
| `container` | *?string* | :heavy_minus_sign: | File container type. | mkv |
|
||||
| `videoFrameRate` | *?string* | :heavy_minus_sign: | Frame rate of the video. Values found include NTSC, PAL, 24p<br/> | 24p |
|
||||
| `videoProfile` | *?string* | :heavy_minus_sign: | Video profile (e.g., main 10). | main 10 |
|
||||
| `hasVoiceActivity` | *?bool* | :heavy_minus_sign: | Indicates whether voice activity is detected. | false |
|
||||
| `audioProfile` | *?string* | :heavy_minus_sign: | The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). | dts |
|
||||
| `optimizedForStreaming` | [Operations\OptimizedForStreaming1\|bool\|null](../../Models/Operations/GetAllMediaLibraryOptimizedForStreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
|
||||
| `has64bitOffsets` | *?bool* | :heavy_minus_sign: | N/A | false |
|
||||
| `part` | array<[Operations\GetAllMediaLibraryPart](../../Models/Operations/GetAllMediaLibraryPart.md)> | :heavy_minus_sign: | An array of parts for this media item. | |
|
||||
@@ -1,26 +0,0 @@
|
||||
# GetAllMediaLibraryMediaContainer
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
||||
| `size` | *int* | :heavy_check_mark: | Number of media items returned in this response. | 50 |
|
||||
| `totalSize` | *int* | :heavy_check_mark: | Total number of media items in the library. | 50 |
|
||||
| `offset` | *int* | :heavy_check_mark: | Offset value for pagination. | 0 |
|
||||
| `allowSync` | *bool* | :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 |
|
||||
| `librarySectionID` | *int* | :heavy_check_mark: | The unique identifier for the library section. | 2 |
|
||||
| `librarySectionTitle` | *string* | :heavy_check_mark: | The title of the library section. | TV Series |
|
||||
| `librarySectionUUID` | *?string* | :heavy_minus_sign: | The universally unique identifier for the library section. | e69655a2-ef48-4aba-bb19-0cc34d1e7d36 |
|
||||
| `mediaTagPrefix` | *string* | :heavy_check_mark: | The prefix used for media tag resource paths. | /system/bundle/media/flags/ |
|
||||
| `mediaTagVersion` | *int* | :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` | *bool* | :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 |
|
||||
| `viewGroup` | *string* | :heavy_check_mark: | Identifier for the view group layout. | secondary |
|
||||
| `meta` | [?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` | array<[Operations\GetAllMediaLibraryMetadata](../../Models/Operations/GetAllMediaLibraryMetadata.md)> | :heavy_minus_sign: | An array of metadata items. | |
|
||||
@@ -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` | array<[Operations\GetAllMediaLibraryType](../../Models/Operations/GetAllMediaLibraryType.md)> | :heavy_minus_sign: | N/A |
|
||||
| `fieldType` | array<[Operations\GetAllMediaLibraryFieldType](../../Models/Operations/GetAllMediaLibraryFieldType.md)> | :heavy_minus_sign: | N/A |
|
||||
@@ -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 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
| `Album` | 9 |
|
||||
| `Track` | 10 |
|
||||
@@ -1,11 +0,0 @@
|
||||
# GetAllMediaLibraryResponse
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description |
|
||||
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
|
||||
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
||||
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
|
||||
| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
||||
| `object` | [?Operations\GetAllMediaLibraryResponseBody](../../Models/Operations/GetAllMediaLibraryResponseBody.md) | :heavy_minus_sign: | Successful response containing media container data. |
|
||||
@@ -1,10 +0,0 @@
|
||||
# GetAllMediaLibraryResponseBody
|
||||
|
||||
Successful response containing media container data.
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description |
|
||||
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||
| `mediaContainer` | [?Operations\GetAllMediaLibraryMediaContainer](../../Models/Operations/GetAllMediaLibraryMediaContainer.md) | :heavy_minus_sign: | N/A |
|
||||
@@ -1,15 +0,0 @@
|
||||
# GetAllMediaLibrarySort
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
|
||||
| `default` | *?string* | :heavy_minus_sign: | N/A | asc |
|
||||
| `active` | *?bool* | :heavy_minus_sign: | N/A | false |
|
||||
| `activeDirection` | [?Operations\GetAllMediaLibraryActiveDirection](../../Models/Operations/GetAllMediaLibraryActiveDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
|
||||
| `defaultDirection` | [?Operations\GetAllMediaLibraryDefaultDirection](../../Models/Operations/GetAllMediaLibraryDefaultDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
|
||||
| `descKey` | *?string* | :heavy_minus_sign: | N/A | titleSort:desc |
|
||||
| `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter |
|
||||
| `key` | *string* | :heavy_check_mark: | N/A | titleSort |
|
||||
| `title` | *string* | :heavy_check_mark: | N/A | Title |
|
||||
@@ -1,58 +0,0 @@
|
||||
# GetAllMediaLibraryStream
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique stream identifier. | 1002625 |
|
||||
| `streamType` | [Operations\GetAllMediaLibraryStreamType](../../Models/Operations/GetAllMediaLibraryStreamType.md) | :heavy_check_mark: | Stream type:<br/> - 1 = video<br/> - 2 = audio<br/> - 3 = subtitle<br/> | 1 |
|
||||
| `format` | *?string* | :heavy_minus_sign: | Format of the stream (e.g., srt). | srt |
|
||||
| `default` | *?bool* | :heavy_minus_sign: | Indicates if this stream is default. | true |
|
||||
| `codec` | *string* | :heavy_check_mark: | Codec used by the stream. | hevc |
|
||||
| `index` | *?int* | :heavy_minus_sign: | Index of the stream. | 0 |
|
||||
| `bitrate` | *?int* | :heavy_minus_sign: | Bitrate of the stream. | 24743 |
|
||||
| `language` | *?string* | :heavy_minus_sign: | Language of the stream. | English |
|
||||
| `languageTag` | *?string* | :heavy_minus_sign: | Language tag (e.g., en). | en |
|
||||
| `languageCode` | *?string* | :heavy_minus_sign: | ISO language code. | eng |
|
||||
| `headerCompression` | *?bool* | :heavy_minus_sign: | Indicates whether header compression is enabled. | true |
|
||||
| `doviblCompatID` | *?int* | :heavy_minus_sign: | Dolby Vision BL compatibility ID. | 1 |
|
||||
| `doviblPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision BL is present. | true |
|
||||
| `dovielPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision EL is present. | false |
|
||||
| `doviLevel` | *?int* | :heavy_minus_sign: | Dolby Vision level. | 6 |
|
||||
| `doviPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision is present. | true |
|
||||
| `doviProfile` | *?int* | :heavy_minus_sign: | Dolby Vision profile. | 8 |
|
||||
| `dovirpuPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision RPU is present. | true |
|
||||
| `doviVersion` | *?string* | :heavy_minus_sign: | Dolby Vision version. | 1.0 |
|
||||
| `bitDepth` | *?int* | :heavy_minus_sign: | Bit depth of the video stream. | 10 |
|
||||
| `chromaLocation` | *?string* | :heavy_minus_sign: | Chroma sample location. | topleft |
|
||||
| `chromaSubsampling` | *?string* | :heavy_minus_sign: | Chroma subsampling format. | 4:2:0 |
|
||||
| `codedHeight` | *?int* | :heavy_minus_sign: | Coded video height. | 1608 |
|
||||
| `codedWidth` | *?int* | :heavy_minus_sign: | Coded video width. | 3840 |
|
||||
| `closedCaptions` | *?bool* | :heavy_minus_sign: | N/A | true |
|
||||
| `colorPrimaries` | *?string* | :heavy_minus_sign: | Color primaries used. | bt2020 |
|
||||
| `colorRange` | *?string* | :heavy_minus_sign: | Color range (e.g., tv). | tv |
|
||||
| `colorSpace` | *?string* | :heavy_minus_sign: | Color space. | bt2020nc |
|
||||
| `colorTrc` | *?string* | :heavy_minus_sign: | Color transfer characteristics. | smpte2084 |
|
||||
| `frameRate` | *?float* | :heavy_minus_sign: | Frame rate of the stream. | 23.976 |
|
||||
| `key` | *?string* | :heavy_minus_sign: | Key to access this stream part. | /library/streams/216389 |
|
||||
| `height` | *?int* | :heavy_minus_sign: | Height of the video stream. | 1602 |
|
||||
| `level` | *?int* | :heavy_minus_sign: | Video level. | 150 |
|
||||
| `original` | *?bool* | :heavy_minus_sign: | Indicates if this is the original stream. | true |
|
||||
| `hasScalingMatrix` | *?bool* | :heavy_minus_sign: | N/A | false |
|
||||
| `profile` | *?string* | :heavy_minus_sign: | Video profile. | main 10 |
|
||||
| `scanType` | *?string* | :heavy_minus_sign: | N/A | progressive |
|
||||
| `embeddedInVideo` | *?string* | :heavy_minus_sign: | N/A | progressive |
|
||||
| `refFrames` | *?int* | :heavy_minus_sign: | Number of reference frames. | 1 |
|
||||
| `width` | *?int* | :heavy_minus_sign: | Width of the video stream. | 3840 |
|
||||
| `displayTitle` | *string* | :heavy_check_mark: | Display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
|
||||
| `extendedDisplayTitle` | *string* | :heavy_check_mark: | Extended display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
|
||||
| `selected` | *?bool* | :heavy_minus_sign: | Indicates if this stream is selected (applicable for audio streams). | true |
|
||||
| `forced` | *?bool* | :heavy_minus_sign: | N/A | true |
|
||||
| `channels` | *?int* | :heavy_minus_sign: | Number of audio channels (for audio streams). | 6 |
|
||||
| `audioChannelLayout` | *?string* | :heavy_minus_sign: | Audio channel layout. | 5.1(side) |
|
||||
| `samplingRate` | *?int* | :heavy_minus_sign: | Sampling rate for the audio stream. | 48000 |
|
||||
| `canAutoSync` | *?bool* | :heavy_minus_sign: | Indicates if the stream can auto-sync. | false |
|
||||
| `hearingImpaired` | *?bool* | :heavy_minus_sign: | Indicates if the stream is for the hearing impaired. | true |
|
||||
| `dub` | *?bool* | :heavy_minus_sign: | Indicates if the stream is a dub. | true |
|
||||
| `title` | *?string* | :heavy_minus_sign: | Optional title for the stream (e.g., language variant). | SDH |
|
||||
@@ -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` | *?string* | :heavy_minus_sign: | N/A | clip |
|
||||
| `title` | *string* | :heavy_check_mark: | N/A | TV Shows |
|
||||
| `active` | *bool* | :heavy_check_mark: | N/A | false |
|
||||
| `filter` | array<[Operations\GetAllMediaLibraryFilter](../../Models/Operations/GetAllMediaLibraryFilter.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `sort` | array<[Operations\GetAllMediaLibrarySort](../../Models/Operations/GetAllMediaLibrarySort.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `field` | array<[Operations\GetAllMediaLibraryField](../../Models/Operations/GetAllMediaLibraryField.md)> | :heavy_minus_sign: | N/A | |
|
||||
@@ -11,12 +11,14 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
| `Album` | 9 |
|
||||
| `Track` | 10 |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Artist` | 5 |
|
||||
| `Album` | 6 |
|
||||
| `Track` | 7 |
|
||||
| `PhotoAlbum` | 8 |
|
||||
| `Photo` | 9 |
|
||||
@@ -11,12 +11,14 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
| `Album` | 9 |
|
||||
| `Track` | 10 |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Artist` | 5 |
|
||||
| `Album` | 6 |
|
||||
| `Track` | 7 |
|
||||
| `PhotoAlbum` | 8 |
|
||||
| `Photo` | 9 |
|
||||
@@ -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 |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | movie |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
| `Track` | track |
|
||||
| `PhotoAlbum` | photoalbum |
|
||||
| `Photo` | photo |
|
||||
| `Collection` | collection |
|
||||
@@ -13,7 +13,7 @@
|
||||
| `librarySectionID` | *?int* | :heavy_minus_sign: | N/A | 1 |
|
||||
| `librarySectionTitle` | *?string* | :heavy_minus_sign: | N/A | Movies |
|
||||
| `librarySectionKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/1 |
|
||||
| `type` | [Operations\GetLibraryItemsLibraryType](../../Models/Operations/GetLibraryItemsLibraryType.md) | :heavy_check_mark: | The type of media content<br/> | movie |
|
||||
| `type` | [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` | *?string* | :heavy_minus_sign: | N/A | 4-for-texas |
|
||||
| `contentRating` | *?string* | :heavy_minus_sign: | N/A | PG-13 |
|
||||
|
||||
@@ -11,12 +11,14 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
| `Album` | 9 |
|
||||
| `Track` | 10 |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Artist` | 5 |
|
||||
| `Album` | 6 |
|
||||
| `Track` | 7 |
|
||||
| `PhotoAlbum` | 8 |
|
||||
| `Photo` | 9 |
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryActiveDirection
|
||||
# GetLibrarySectionsAllActiveDirection
|
||||
|
||||
The direction of the sort. Can be either `asc` or `desc`.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryCollection
|
||||
# GetLibrarySectionsAllCollection
|
||||
|
||||
|
||||
## Fields
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryCountry
|
||||
# GetLibrarySectionsAllCountry
|
||||
|
||||
|
||||
## Fields
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryDefaultDirection
|
||||
# GetLibrarySectionsAllDefaultDirection
|
||||
|
||||
The direction of the sort. Can be either `asc` or `desc`.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryDirector
|
||||
# GetLibrarySectionsAllDirector
|
||||
|
||||
|
||||
## Fields
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryField
|
||||
# GetLibrarySectionsAllField
|
||||
|
||||
|
||||
## Fields
|
||||
9
docs/Models/Operations/GetLibrarySectionsAllFieldType.md
Normal file
9
docs/Models/Operations/GetLibrarySectionsAllFieldType.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# GetLibrarySectionsAllFieldType
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||
| `type` | *string* | :heavy_check_mark: | N/A | tag |
|
||||
| `operator` | array<[Operations\GetLibrarySectionsAllOperator](../../Models/Operations/GetLibrarySectionsAllOperator.md)> | :heavy_check_mark: | N/A | |
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryFilter
|
||||
# GetLibrarySectionsAllFilter
|
||||
|
||||
|
||||
## Fields
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryGenre
|
||||
# GetLibrarySectionsAllGenre
|
||||
|
||||
|
||||
## Fields
|
||||
8
docs/Models/Operations/GetLibrarySectionsAllGuids.md
Normal file
8
docs/Models/Operations/GetLibrarySectionsAllGuids.md
Normal 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/>} |
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryHasThumbnail
|
||||
# GetLibrarySectionsAllHasThumbnail
|
||||
|
||||
Indicates if the part has a thumbnail.
|
||||
|
||||
10
docs/Models/Operations/GetLibrarySectionsAllImage.md
Normal file
10
docs/Models/Operations/GetLibrarySectionsAllImage.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# GetLibrarySectionsAllImage
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `alt` | *string* | :heavy_check_mark: | N/A | Episode 1 |
|
||||
| `type` | [Operations\GetLibrarySectionsAllLibraryResponseType](../../Models/Operations/GetLibrarySectionsAllLibraryResponseType.md) | :heavy_check_mark: | N/A | background |
|
||||
| `url` | *string* | :heavy_check_mark: | N/A | /library/metadata/45521/thumb/1644710589 |
|
||||
@@ -0,0 +1,25 @@
|
||||
# GetLibrarySectionsAllLibraryOptimizedForStreaming
|
||||
|
||||
Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
|
||||
|
||||
|
||||
## Supported Types
|
||||
|
||||
### `Operations\GetLibrarySectionsAllOptimizedForStreaming1`
|
||||
|
||||
```php
|
||||
/**
|
||||
* @var Operations\GetLibrarySectionsAllOptimizedForStreaming1
|
||||
*/
|
||||
Operations\GetLibrarySectionsAllOptimizedForStreaming1 $value = /* values here */
|
||||
```
|
||||
|
||||
### `bool`
|
||||
|
||||
```php
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
bool $value = /* values here */
|
||||
```
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryLibraryResponseType
|
||||
# GetLibrarySectionsAllLibraryResponseType
|
||||
|
||||
|
||||
## Values
|
||||
20
docs/Models/Operations/GetLibrarySectionsAllLibraryType.md
Normal file
20
docs/Models/Operations/GetLibrarySectionsAllLibraryType.md
Normal 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 |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
| `Track` | track |
|
||||
| `PhotoAlbum` | photoalbum |
|
||||
| `Photo` | photo |
|
||||
| `Collection` | collection |
|
||||
26
docs/Models/Operations/GetLibrarySectionsAllMedia.md
Normal file
26
docs/Models/Operations/GetLibrarySectionsAllMedia.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# GetLibrarySectionsAllMedia
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique media identifier. | 387322 |
|
||||
| `duration` | *?int* | :heavy_minus_sign: | Duration of the media in milliseconds. | 9610350 |
|
||||
| `bitrate` | *?int* | :heavy_minus_sign: | Bitrate in bits per second. | 25512 |
|
||||
| `width` | *?int* | :heavy_minus_sign: | Video width in pixels. | 3840 |
|
||||
| `height` | *?int* | :heavy_minus_sign: | Video height in pixels. | 1602 |
|
||||
| `aspectRatio` | *?float* | :heavy_minus_sign: | Aspect ratio of the video. | 2.35 |
|
||||
| `audioChannels` | *?int* | :heavy_minus_sign: | Number of audio channels. | 6 |
|
||||
| `displayOffset` | *?int* | :heavy_minus_sign: | N/A | 50 |
|
||||
| `audioCodec` | *?string* | :heavy_minus_sign: | Audio codec used. | eac3 |
|
||||
| `videoCodec` | *?string* | :heavy_minus_sign: | Video codec used. | hevc |
|
||||
| `videoResolution` | *?string* | :heavy_minus_sign: | Video resolution (e.g., 4k). | 4k |
|
||||
| `container` | *?string* | :heavy_minus_sign: | File container type. | mkv |
|
||||
| `videoFrameRate` | *?string* | :heavy_minus_sign: | Frame rate of the video. Values found include NTSC, PAL, 24p<br/> | 24p |
|
||||
| `videoProfile` | *?string* | :heavy_minus_sign: | Video profile (e.g., main 10). | main 10 |
|
||||
| `hasVoiceActivity` | *?bool* | :heavy_minus_sign: | Indicates whether voice activity is detected. | false |
|
||||
| `audioProfile` | *?string* | :heavy_minus_sign: | The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). | dts |
|
||||
| `optimizedForStreaming` | [Operations\OptimizedForStreaming1\|bool\|null](../../Models/Operations/GetLibrarySectionsAllOptimizedForStreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
|
||||
| `has64bitOffsets` | *?bool* | :heavy_minus_sign: | N/A | false |
|
||||
| `part` | array<[Operations\GetLibrarySectionsAllPart](../../Models/Operations/GetLibrarySectionsAllPart.md)> | :heavy_minus_sign: | An array of parts for this media item. | |
|
||||
@@ -0,0 +1,26 @@
|
||||
# GetLibrarySectionsAllMediaContainer
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||
| `size` | *int* | :heavy_check_mark: | Number of media items returned in this response. | 50 |
|
||||
| `totalSize` | *int* | :heavy_check_mark: | Total number of media items in the library. | 50 |
|
||||
| `offset` | *int* | :heavy_check_mark: | Offset value for pagination. | 0 |
|
||||
| `allowSync` | *bool* | :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 |
|
||||
| `librarySectionID` | *int* | :heavy_check_mark: | The unique identifier for the library section. | 2 |
|
||||
| `librarySectionTitle` | *string* | :heavy_check_mark: | The title of the library section. | TV Series |
|
||||
| `librarySectionUUID` | *?string* | :heavy_minus_sign: | The universally unique identifier for the library section. | e69655a2-ef48-4aba-bb19-0cc34d1e7d36 |
|
||||
| `mediaTagPrefix` | *string* | :heavy_check_mark: | The prefix used for media tag resource paths. | /system/bundle/media/flags/ |
|
||||
| `mediaTagVersion` | *int* | :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` | *bool* | :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 |
|
||||
| `viewGroup` | *string* | :heavy_check_mark: | Identifier for the view group layout. | secondary |
|
||||
| `meta` | [?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` | array<[Operations\GetLibrarySectionsAllMetadata](../../Models/Operations/GetLibrarySectionsAllMetadata.md)> | :heavy_minus_sign: | An array of metadata items. | |
|
||||
12
docs/Models/Operations/GetLibrarySectionsAllMeta.md
Normal file
12
docs/Models/Operations/GetLibrarySectionsAllMeta.md
Normal 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` | array<[Operations\GetLibrarySectionsAllType](../../Models/Operations/GetLibrarySectionsAllType.md)> | :heavy_minus_sign: | N/A |
|
||||
| `fieldType` | array<[Operations\GetLibrarySectionsAllFieldType](../../Models/Operations/GetLibrarySectionsAllFieldType.md)> | :heavy_minus_sign: | N/A |
|
||||
@@ -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 URL‐friendly version of the media title. | 4-for-texas |
|
||||
| `studio` | *?string* | :heavy_minus_sign: | The studio that produced the media item. | 20th Century Studios |
|
||||
| `type` | [Operations\GetAllMediaLibraryLibraryType](../../Models/Operations/GetAllMediaLibraryLibraryType.md) | :heavy_check_mark: | N/A | movie |
|
||||
| `type` | [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 |
|
||||
| `titleSort` | *string* | :heavy_check_mark: | The sort title used for ordering media items. | Whale |
|
||||
| `contentRating` | *?string* | :heavy_minus_sign: | The content rating for the media item. | PG-13 |
|
||||
@@ -62,13 +62,13 @@ Unknown
|
||||
| `createdAtTZOffset` | *?string* | :heavy_minus_sign: | The time zone offset for the creation timestamp, represented as a string. This offset indicates the difference from UTC. | 0 |
|
||||
| `lastViewedAt` | *?int* | :heavy_minus_sign: | Unix timestamp for when the media item was last viewed. | 1682752242 |
|
||||
| `userRating` | *?float* | :heavy_minus_sign: | The rating provided by a user for the item. This value is expressed as a decimal number. | 10 |
|
||||
| `image` | array<[Operations\GetAllMediaLibraryImage](../../Models/Operations/GetAllMediaLibraryImage.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `ultraBlurColors` | [?Operations\GetAllMediaLibraryUltraBlurColors](../../Models/Operations/GetAllMediaLibraryUltraBlurColors.md) | :heavy_minus_sign: | N/A | |
|
||||
| `media` | array<[Operations\GetAllMediaLibraryMedia](../../Models/Operations/GetAllMediaLibraryMedia.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `genre` | array<[Operations\GetAllMediaLibraryGenre](../../Models/Operations/GetAllMediaLibraryGenre.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `country` | array<[Operations\GetAllMediaLibraryCountry](../../Models/Operations/GetAllMediaLibraryCountry.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `director` | array<[Operations\GetAllMediaLibraryDirector](../../Models/Operations/GetAllMediaLibraryDirector.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `writer` | array<[Operations\GetAllMediaLibraryWriter](../../Models/Operations/GetAllMediaLibraryWriter.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `role` | array<[Operations\GetAllMediaLibraryRole](../../Models/Operations/GetAllMediaLibraryRole.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `guids` | array<[Operations\GetAllMediaLibraryGuids](../../Models/Operations/GetAllMediaLibraryGuids.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `collection` | array<[Operations\GetAllMediaLibraryCollection](../../Models/Operations/GetAllMediaLibraryCollection.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `image` | array<[Operations\GetLibrarySectionsAllImage](../../Models/Operations/GetLibrarySectionsAllImage.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `ultraBlurColors` | [?Operations\GetLibrarySectionsAllUltraBlurColors](../../Models/Operations/GetLibrarySectionsAllUltraBlurColors.md) | :heavy_minus_sign: | N/A | |
|
||||
| `guids` | array<[Operations\GetLibrarySectionsAllGuids](../../Models/Operations/GetLibrarySectionsAllGuids.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `media` | array<[Operations\GetLibrarySectionsAllMedia](../../Models/Operations/GetLibrarySectionsAllMedia.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `genre` | array<[Operations\GetLibrarySectionsAllGenre](../../Models/Operations/GetLibrarySectionsAllGenre.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `country` | array<[Operations\GetLibrarySectionsAllCountry](../../Models/Operations/GetLibrarySectionsAllCountry.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `director` | array<[Operations\GetLibrarySectionsAllDirector](../../Models/Operations/GetLibrarySectionsAllDirector.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `writer` | array<[Operations\GetLibrarySectionsAllWriter](../../Models/Operations/GetLibrarySectionsAllWriter.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `role` | array<[Operations\GetLibrarySectionsAllRole](../../Models/Operations/GetLibrarySectionsAllRole.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `collection` | array<[Operations\GetLibrarySectionsAllCollection](../../Models/Operations/GetLibrarySectionsAllCollection.md)> | :heavy_minus_sign: | N/A | |
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryOperator
|
||||
# GetLibrarySectionsAllOperator
|
||||
|
||||
|
||||
## Fields
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryOptimizedForStreaming
|
||||
# GetLibrarySectionsAllOptimizedForStreaming
|
||||
|
||||
Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryOptimizedForStreaming1
|
||||
# GetLibrarySectionsAllOptimizedForStreaming1
|
||||
|
||||
|
||||
## Values
|
||||
@@ -1,23 +1,23 @@
|
||||
# GetAllMediaLibraryPart
|
||||
# GetLibrarySectionsAllPart
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| `accessible` | *?bool* | :heavy_minus_sign: | Indicates if the part is accessible. | true |
|
||||
| `exists` | *?bool* | :heavy_minus_sign: | Indicates if the part exists. | true |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique part identifier. | 418385 |
|
||||
| `key` | *string* | :heavy_check_mark: | Key to access this part. | /library/parts/418385/1735864239/file.mkv |
|
||||
| `indexes` | *?string* | :heavy_minus_sign: | N/A | sd |
|
||||
| `duration` | *?int* | :heavy_minus_sign: | Duration of the part in milliseconds. | 9610350 |
|
||||
| `file` | *string* | :heavy_check_mark: | File path for the part. | /mnt/Movies_1/W/Wicked (2024).mkv |
|
||||
| `size` | *int* | :heavy_check_mark: | File size in bytes. | 30649952104 |
|
||||
| `packetLength` | *?int* | :heavy_minus_sign: | N/A | 188 |
|
||||
| `container` | *?string* | :heavy_minus_sign: | Container format of the part. | mkv |
|
||||
| `videoProfile` | *?string* | :heavy_minus_sign: | Video profile for the part. | main 10 |
|
||||
| `audioProfile` | *?string* | :heavy_minus_sign: | The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). | dts |
|
||||
| `has64bitOffsets` | *?bool* | :heavy_minus_sign: | N/A | false |
|
||||
| `optimizedForStreaming` | [Operations\GetAllMediaLibraryOptimizedForStreaming1\|bool\|null](../../Models/Operations/GetAllMediaLibraryLibraryOptimizedForStreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
|
||||
| `hasThumbnail` | [?Operations\GetAllMediaLibraryHasThumbnail](../../Models/Operations/GetAllMediaLibraryHasThumbnail.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
| `stream` | array<[Operations\GetAllMediaLibraryStream](../../Models/Operations/GetAllMediaLibraryStream.md)> | :heavy_minus_sign: | An array of streams for this part. | |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| `accessible` | *?bool* | :heavy_minus_sign: | Indicates if the part is accessible. | true |
|
||||
| `exists` | *?bool* | :heavy_minus_sign: | Indicates if the part exists. | true |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique part identifier. | 418385 |
|
||||
| `key` | *string* | :heavy_check_mark: | Key to access this part. | /library/parts/418385/1735864239/file.mkv |
|
||||
| `indexes` | *?string* | :heavy_minus_sign: | N/A | sd |
|
||||
| `duration` | *?int* | :heavy_minus_sign: | Duration of the part in milliseconds. | 9610350 |
|
||||
| `file` | *string* | :heavy_check_mark: | File path for the part. | /mnt/Movies_1/W/Wicked (2024).mkv |
|
||||
| `size` | *int* | :heavy_check_mark: | File size in bytes. | 30649952104 |
|
||||
| `packetLength` | *?int* | :heavy_minus_sign: | N/A | 188 |
|
||||
| `container` | *?string* | :heavy_minus_sign: | Container format of the part. | mkv |
|
||||
| `videoProfile` | *?string* | :heavy_minus_sign: | Video profile for the part. | main 10 |
|
||||
| `audioProfile` | *?string* | :heavy_minus_sign: | The audio profile used for the media (e.g., DTS, Dolby Digital, etc.). | dts |
|
||||
| `has64bitOffsets` | *?bool* | :heavy_minus_sign: | N/A | false |
|
||||
| `optimizedForStreaming` | [Operations\GetLibrarySectionsAllOptimizedForStreaming1\|bool\|null](../../Models/Operations/GetLibrarySectionsAllLibraryOptimizedForStreaming.md) | :heavy_minus_sign: | Has this media been optimized for streaming. NOTE: This can be 0, 1, false or true | |
|
||||
| `hasThumbnail` | [?Operations\GetLibrarySectionsAllHasThumbnail](../../Models/Operations/GetLibrarySectionsAllHasThumbnail.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
| `stream` | array<[Operations\GetLibrarySectionsAllStream](../../Models/Operations/GetLibrarySectionsAllStream.md)> | :heavy_minus_sign: | An array of streams for this part. | |
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryQueryParamIncludeMeta
|
||||
# GetLibrarySectionsAllQueryParamIncludeMeta
|
||||
|
||||
Adds the Meta object to the response
|
||||
|
||||
@@ -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 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Artist` | 5 |
|
||||
| `Album` | 6 |
|
||||
| `Track` | 7 |
|
||||
| `PhotoAlbum` | 8 |
|
||||
| `Photo` | 9 |
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryRequest
|
||||
# GetLibrarySectionsAllRequest
|
||||
|
||||
|
||||
## Fields
|
||||
@@ -6,8 +6,8 @@
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `sectionKey` | *int* | :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` | [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 |
|
||||
| `includeMeta` | [?Operations\GetAllMediaLibraryQueryParamIncludeMeta](../../Models/Operations/GetAllMediaLibraryQueryParamIncludeMeta.md) | :heavy_minus_sign: | Adds the Meta object to the response<br/> | 1 |
|
||||
| `type` | [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 |
|
||||
| `includeMeta` | [?Operations\GetLibrarySectionsAllQueryParamIncludeMeta](../../Models/Operations/GetLibrarySectionsAllQueryParamIncludeMeta.md) | :heavy_minus_sign: | Adds the Meta object to the response<br/> | 1 |
|
||||
| `includeGuids` | [?Operations\QueryParamIncludeGuids](../../Models/Operations/QueryParamIncludeGuids.md) | :heavy_minus_sign: | Adds the Guid object to the response<br/> | 1 |
|
||||
| `includeAdvanced` | [?Operations\IncludeAdvanced](../../Models/Operations/IncludeAdvanced.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
| `includeCollections` | [?Operations\QueryParamIncludeCollections](../../Models/Operations/QueryParamIncludeCollections.md) | :heavy_minus_sign: | N/A | 1 |
|
||||
11
docs/Models/Operations/GetLibrarySectionsAllResponse.md
Normal file
11
docs/Models/Operations/GetLibrarySectionsAllResponse.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# GetLibrarySectionsAllResponse
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description |
|
||||
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|
||||
| `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
|
||||
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
|
||||
| `rawResponse` | [\Psr\Http\Message\ResponseInterface](https://www.php-fig.org/psr/psr-7/#33-psrhttpmessageresponseinterface) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
|
||||
| `object` | [?Operations\GetLibrarySectionsAllResponseBody](../../Models/Operations/GetLibrarySectionsAllResponseBody.md) | :heavy_minus_sign: | Successful response containing media container data. |
|
||||
10
docs/Models/Operations/GetLibrarySectionsAllResponseBody.md
Normal file
10
docs/Models/Operations/GetLibrarySectionsAllResponseBody.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# GetLibrarySectionsAllResponseBody
|
||||
|
||||
Successful response containing media container data.
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description |
|
||||
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
|
||||
| `mediaContainer` | [?Operations\GetLibrarySectionsAllMediaContainer](../../Models/Operations/GetLibrarySectionsAllMediaContainer.md) | :heavy_minus_sign: | N/A |
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryRole
|
||||
# GetLibrarySectionsAllRole
|
||||
|
||||
|
||||
## Fields
|
||||
15
docs/Models/Operations/GetLibrarySectionsAllSort.md
Normal file
15
docs/Models/Operations/GetLibrarySectionsAllSort.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# GetLibrarySectionsAllSort
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
|
||||
| `default` | *?string* | :heavy_minus_sign: | N/A | asc |
|
||||
| `active` | *?bool* | :heavy_minus_sign: | N/A | false |
|
||||
| `activeDirection` | [?Operations\GetLibrarySectionsAllActiveDirection](../../Models/Operations/GetLibrarySectionsAllActiveDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
|
||||
| `defaultDirection` | [?Operations\GetLibrarySectionsAllDefaultDirection](../../Models/Operations/GetLibrarySectionsAllDefaultDirection.md) | :heavy_minus_sign: | The direction of the sort. Can be either `asc` or `desc`.<br/> | asc |
|
||||
| `descKey` | *?string* | :heavy_minus_sign: | N/A | titleSort:desc |
|
||||
| `firstCharacterKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/2/firstCharacter |
|
||||
| `key` | *string* | :heavy_check_mark: | N/A | titleSort |
|
||||
| `title` | *string* | :heavy_check_mark: | N/A | Title |
|
||||
58
docs/Models/Operations/GetLibrarySectionsAllStream.md
Normal file
58
docs/Models/Operations/GetLibrarySectionsAllStream.md
Normal file
@@ -0,0 +1,58 @@
|
||||
# GetLibrarySectionsAllStream
|
||||
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique stream identifier. | 1002625 |
|
||||
| `streamType` | [Operations\GetLibrarySectionsAllStreamType](../../Models/Operations/GetLibrarySectionsAllStreamType.md) | :heavy_check_mark: | Stream type:<br/> - 1 = video<br/> - 2 = audio<br/> - 3 = subtitle<br/> | 1 |
|
||||
| `format` | *?string* | :heavy_minus_sign: | Format of the stream (e.g., srt). | srt |
|
||||
| `default` | *?bool* | :heavy_minus_sign: | Indicates if this stream is default. | true |
|
||||
| `codec` | *string* | :heavy_check_mark: | Codec used by the stream. | hevc |
|
||||
| `index` | *?int* | :heavy_minus_sign: | Index of the stream. | 0 |
|
||||
| `bitrate` | *?int* | :heavy_minus_sign: | Bitrate of the stream. | 24743 |
|
||||
| `language` | *?string* | :heavy_minus_sign: | Language of the stream. | English |
|
||||
| `languageTag` | *?string* | :heavy_minus_sign: | Language tag (e.g., en). | en |
|
||||
| `languageCode` | *?string* | :heavy_minus_sign: | ISO language code. | eng |
|
||||
| `headerCompression` | *?bool* | :heavy_minus_sign: | Indicates whether header compression is enabled. | true |
|
||||
| `doviblCompatID` | *?int* | :heavy_minus_sign: | Dolby Vision BL compatibility ID. | 1 |
|
||||
| `doviblPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision BL is present. | true |
|
||||
| `dovielPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision EL is present. | false |
|
||||
| `doviLevel` | *?int* | :heavy_minus_sign: | Dolby Vision level. | 6 |
|
||||
| `doviPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision is present. | true |
|
||||
| `doviProfile` | *?int* | :heavy_minus_sign: | Dolby Vision profile. | 8 |
|
||||
| `dovirpuPresent` | *?bool* | :heavy_minus_sign: | Indicates if Dolby Vision RPU is present. | true |
|
||||
| `doviVersion` | *?string* | :heavy_minus_sign: | Dolby Vision version. | 1.0 |
|
||||
| `bitDepth` | *?int* | :heavy_minus_sign: | Bit depth of the video stream. | 10 |
|
||||
| `chromaLocation` | *?string* | :heavy_minus_sign: | Chroma sample location. | topleft |
|
||||
| `chromaSubsampling` | *?string* | :heavy_minus_sign: | Chroma subsampling format. | 4:2:0 |
|
||||
| `codedHeight` | *?int* | :heavy_minus_sign: | Coded video height. | 1608 |
|
||||
| `codedWidth` | *?int* | :heavy_minus_sign: | Coded video width. | 3840 |
|
||||
| `closedCaptions` | *?bool* | :heavy_minus_sign: | N/A | true |
|
||||
| `colorPrimaries` | *?string* | :heavy_minus_sign: | Color primaries used. | bt2020 |
|
||||
| `colorRange` | *?string* | :heavy_minus_sign: | Color range (e.g., tv). | tv |
|
||||
| `colorSpace` | *?string* | :heavy_minus_sign: | Color space. | bt2020nc |
|
||||
| `colorTrc` | *?string* | :heavy_minus_sign: | Color transfer characteristics. | smpte2084 |
|
||||
| `frameRate` | *?float* | :heavy_minus_sign: | Frame rate of the stream. | 23.976 |
|
||||
| `key` | *?string* | :heavy_minus_sign: | Key to access this stream part. | /library/streams/216389 |
|
||||
| `height` | *?int* | :heavy_minus_sign: | Height of the video stream. | 1602 |
|
||||
| `level` | *?int* | :heavy_minus_sign: | Video level. | 150 |
|
||||
| `original` | *?bool* | :heavy_minus_sign: | Indicates if this is the original stream. | true |
|
||||
| `hasScalingMatrix` | *?bool* | :heavy_minus_sign: | N/A | false |
|
||||
| `profile` | *?string* | :heavy_minus_sign: | Video profile. | main 10 |
|
||||
| `scanType` | *?string* | :heavy_minus_sign: | N/A | progressive |
|
||||
| `embeddedInVideo` | *?string* | :heavy_minus_sign: | N/A | progressive |
|
||||
| `refFrames` | *?int* | :heavy_minus_sign: | Number of reference frames. | 1 |
|
||||
| `width` | *?int* | :heavy_minus_sign: | Width of the video stream. | 3840 |
|
||||
| `displayTitle` | *string* | :heavy_check_mark: | Display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
|
||||
| `extendedDisplayTitle` | *string* | :heavy_check_mark: | Extended display title for the stream. | 4K DoVi/HDR10 (HEVC Main 10) |
|
||||
| `selected` | *?bool* | :heavy_minus_sign: | Indicates if this stream is selected (applicable for audio streams). | true |
|
||||
| `forced` | *?bool* | :heavy_minus_sign: | N/A | true |
|
||||
| `channels` | *?int* | :heavy_minus_sign: | Number of audio channels (for audio streams). | 6 |
|
||||
| `audioChannelLayout` | *?string* | :heavy_minus_sign: | Audio channel layout. | 5.1(side) |
|
||||
| `samplingRate` | *?int* | :heavy_minus_sign: | Sampling rate for the audio stream. | 48000 |
|
||||
| `canAutoSync` | *?bool* | :heavy_minus_sign: | Indicates if the stream can auto-sync. | false |
|
||||
| `hearingImpaired` | *?bool* | :heavy_minus_sign: | Indicates if the stream is for the hearing impaired. | true |
|
||||
| `dub` | *?bool* | :heavy_minus_sign: | Indicates if the stream is a dub. | true |
|
||||
| `title` | *?string* | :heavy_minus_sign: | Optional title for the stream (e.g., language variant). | SDH |
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryStreamType
|
||||
# GetLibrarySectionsAllStreamType
|
||||
|
||||
Stream type:
|
||||
- 1 = video
|
||||
15
docs/Models/Operations/GetLibrarySectionsAllType.md
Normal file
15
docs/Models/Operations/GetLibrarySectionsAllType.md
Normal 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` | *?string* | :heavy_minus_sign: | N/A | clip |
|
||||
| `title` | *string* | :heavy_check_mark: | N/A | TV Shows |
|
||||
| `active` | *bool* | :heavy_check_mark: | N/A | false |
|
||||
| `filter` | array<[Operations\GetLibrarySectionsAllFilter](../../Models/Operations/GetLibrarySectionsAllFilter.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `sort` | array<[Operations\GetLibrarySectionsAllSort](../../Models/Operations/GetLibrarySectionsAllSort.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `field` | array<[Operations\GetLibrarySectionsAllField](../../Models/Operations/GetLibrarySectionsAllField.md)> | :heavy_minus_sign: | N/A | |
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryUltraBlurColors
|
||||
# GetLibrarySectionsAllUltraBlurColors
|
||||
|
||||
|
||||
## Fields
|
||||
@@ -1,4 +1,4 @@
|
||||
# GetAllMediaLibraryWriter
|
||||
# GetLibrarySectionsAllWriter
|
||||
|
||||
|
||||
## Fields
|
||||
@@ -5,8 +5,8 @@ The filter query string for country media items.
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | N/A | 259 |
|
||||
| `tag` | *string* | :heavy_check_mark: | The country of origin of this media item | United States of America |
|
||||
| `filter` | *?string* | :heavy_minus_sign: | N/A | country=19 |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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` | *string* | :heavy_check_mark: | N/A | country=19 |
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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 |
|
||||
| `tagKey` | *?string* | :heavy_minus_sign: | A unique key associated with the director's tag, used for internal identification. | 5d776831151a60001f24d031 |
|
||||
| `thumb` | *?string* | :heavy_minus_sign: | The URL of the thumbnail image for the director. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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 |
|
||||
| `tagKey` | *string* | :heavy_check_mark: | A unique 24-character hexadecimal key associated with the director's tag, used for internal identification. | 5d776831151a60001f24d031 |
|
||||
| `thumb` | *?string* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the director. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |
|
||||
@@ -5,8 +5,8 @@ The filter query string for similar items.
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | N/A | 259 |
|
||||
| `tag` | *string* | :heavy_check_mark: | The genre name of this media-item<br/> | Crime |
|
||||
| `filter` | *string* | :heavy_check_mark: | N/A | genre=19 |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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 |
|
||||
@@ -3,6 +3,6 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
|
||||
| `id` | *string* | :heavy_check_mark: | The GUID value. | imdb://tt3032476 |
|
||||
| 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/>} |
|
||||
@@ -67,6 +67,7 @@ Unknown
|
||||
| `librarySectionID` | *int* | :heavy_check_mark: | The identifier for the library section. | 1 |
|
||||
| `librarySectionTitle` | *string* | :heavy_check_mark: | The title of the library section. | Movies |
|
||||
| `librarySectionKey` | *string* | :heavy_check_mark: | The key corresponding to the library section. | /library/sections/1 |
|
||||
| `guids` | array<[Operations\GetMediaMetaDataGuids](../../Models/Operations/GetMediaMetaDataGuids.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `media` | array<[Operations\GetMediaMetaDataMedia](../../Models/Operations/GetMediaMetaDataMedia.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `genre` | array<[Operations\GetMediaMetaDataGenre](../../Models/Operations/GetMediaMetaDataGenre.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `country` | array<[Operations\GetMediaMetaDataCountry](../../Models/Operations/GetMediaMetaDataCountry.md)> | :heavy_minus_sign: | N/A | |
|
||||
@@ -74,7 +75,6 @@ Unknown
|
||||
| `writer` | array<[Operations\GetMediaMetaDataWriter](../../Models/Operations/GetMediaMetaDataWriter.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `producer` | array<[Operations\GetMediaMetaDataProducer](../../Models/Operations/GetMediaMetaDataProducer.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `role` | array<[Operations\GetMediaMetaDataRole](../../Models/Operations/GetMediaMetaDataRole.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `guids` | array<[Operations\GetMediaMetaDataGuids](../../Models/Operations/GetMediaMetaDataGuids.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `ratings` | array<[Operations\Ratings](../../Models/Operations/Ratings.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `similar` | array<[Operations\GetMediaMetaDataSimilar](../../Models/Operations/GetMediaMetaDataSimilar.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `location` | array<[Operations\GetMediaMetaDataLocation](../../Models/Operations/GetMediaMetaDataLocation.md)> | :heavy_minus_sign: | N/A | |
|
||||
|
||||
@@ -3,19 +3,19 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ |
|
||||
| `ratingKey` | *int* | :heavy_check_mark: | the id of the library item to return the children of. | 9518 |
|
||||
| `includeConcerts` | *?bool* | :heavy_minus_sign: | Include concerts data if set to true. | true |
|
||||
| `includeExtras` | *?bool* | :heavy_minus_sign: | Include extra content (e.g. bonus features). | true |
|
||||
| `includeOnDeck` | *?bool* | :heavy_minus_sign: | Include on-deck items. | true |
|
||||
| `includePopularLeaves` | *?bool* | :heavy_minus_sign: | Include popular leaves (episodes/chapters). | true |
|
||||
| `includePreferences` | *?bool* | :heavy_minus_sign: | Include preferences information. | true |
|
||||
| `includeReviews` | *?bool* | :heavy_minus_sign: | Include reviews for the content. | true |
|
||||
| `includeChapters` | *?bool* | :heavy_minus_sign: | Include chapter details. | true |
|
||||
| `includeStations` | *?bool* | :heavy_minus_sign: | Include station data. | true |
|
||||
| `includeExternalMedia` | *?bool* | :heavy_minus_sign: | Include external media data. | true |
|
||||
| `asyncAugmentMetadata` | *?bool* | :heavy_minus_sign: | Trigger asynchronous metadata augmentation. | true |
|
||||
| `asyncCheckFiles` | *?bool* | :heavy_minus_sign: | Trigger asynchronous file checking. | true |
|
||||
| `asyncRefreshAnalysis` | *?bool* | :heavy_minus_sign: | Trigger asynchronous refresh of analysis. | true |
|
||||
| `asyncRefreshLocalMediaAgent` | *?bool* | :heavy_minus_sign: | Trigger asynchronous refresh of the local media agent. | true |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||
| `ratingKey` | *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 |
|
||||
| `includeConcerts` | *?bool* | :heavy_minus_sign: | Include concerts data if set to true. | true |
|
||||
| `includeExtras` | *?bool* | :heavy_minus_sign: | Include extra content (e.g. bonus features). | true |
|
||||
| `includeOnDeck` | *?bool* | :heavy_minus_sign: | Include on-deck items. | true |
|
||||
| `includePopularLeaves` | *?bool* | :heavy_minus_sign: | Include popular leaves (episodes/chapters). | true |
|
||||
| `includePreferences` | *?bool* | :heavy_minus_sign: | Include preferences information. | true |
|
||||
| `includeReviews` | *?bool* | :heavy_minus_sign: | Include reviews for the content. | true |
|
||||
| `includeChapters` | *?bool* | :heavy_minus_sign: | Include chapter details. | true |
|
||||
| `includeStations` | *?bool* | :heavy_minus_sign: | Include station data. | true |
|
||||
| `includeExternalMedia` | *?bool* | :heavy_minus_sign: | Include external media data. | true |
|
||||
| `asyncAugmentMetadata` | *?bool* | :heavy_minus_sign: | Trigger asynchronous metadata augmentation. | true |
|
||||
| `asyncCheckFiles` | *?bool* | :heavy_minus_sign: | Trigger asynchronous file checking. | true |
|
||||
| `asyncRefreshAnalysis` | *?bool* | :heavy_minus_sign: | Trigger asynchronous refresh of analysis. | true |
|
||||
| `asyncRefreshLocalMediaAgent` | *?bool* | :heavy_minus_sign: | Trigger asynchronous refresh of the local media agent. | true |
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique identifier for the actor or role. | 126522 |
|
||||
| `tag` | *string* | :heavy_check_mark: | The display tag for the actor (typically the actor's name). | Teller |
|
||||
| `role` | *?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 |
|
||||
| `tagKey` | *?string* | :heavy_minus_sign: | A unique key associated with the actor's tag, used for internal identification. | 5d77683d85719b001f3a535e |
|
||||
| `thumb` | *?string* | :heavy_minus_sign: | The URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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` | *?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 |
|
||||
| `tagKey` | *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` | *?string* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |
|
||||
@@ -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 |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | movie |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
| `Track` | track |
|
||||
| `PhotoAlbum` | photoalbum |
|
||||
| `Photo` | photo |
|
||||
| `Collection` | collection |
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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` | *?string* | :heavy_minus_sign: | The URL of the thumbnail image for the writer. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |
|
||||
| `tagKey` | *?string* | :heavy_minus_sign: | A unique key associated with the writers tag, used for internal identification. | 5d77683d85719b001f3a535e |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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` | *?string* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the writer. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |
|
||||
| `tagKey` | *?string* | :heavy_minus_sign: | A 24-character hexadecimal unique key associated with the writer’s tag, used for internal identification. | 5d77683d85719b001f3a535e |
|
||||
@@ -11,12 +11,14 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
| `Album` | 9 |
|
||||
| `Track` | 10 |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Artist` | 5 |
|
||||
| `Album` | 6 |
|
||||
| `Track` | 7 |
|
||||
| `PhotoAlbum` | 8 |
|
||||
| `Photo` | 9 |
|
||||
@@ -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 |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | movie |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
| `Track` | track |
|
||||
| `PhotoAlbum` | photoalbum |
|
||||
| `Photo` | photo |
|
||||
| `Collection` | collection |
|
||||
@@ -71,6 +71,7 @@ Unknown
|
||||
| `year` | *?int* | :heavy_minus_sign: | The release year of the media item. | 2022 |
|
||||
| `image` | array<[Operations\GetRecentlyAddedImage](../../Models/Operations/GetRecentlyAddedImage.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `ultraBlurColors` | [?Operations\UltraBlurColors](../../Models/Operations/UltraBlurColors.md) | :heavy_minus_sign: | N/A | |
|
||||
| `guids` | array<[Operations\Guids](../../Models/Operations/Guids.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `media` | array<[Operations\Media](../../Models/Operations/Media.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `genre` | array<[Operations\Genre](../../Models/Operations/Genre.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `country` | array<[Operations\Country](../../Models/Operations/Country.md)> | :heavy_minus_sign: | N/A | |
|
||||
@@ -81,5 +82,4 @@ Unknown
|
||||
| `rating1` | array<[Operations\Rating](../../Models/Operations/Rating.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `similar` | array<[Operations\Similar](../../Models/Operations/Similar.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `location` | array<[Operations\Location](../../Models/Operations/Location.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `guids` | array<[Operations\Guids](../../Models/Operations/Guids.md)> | :heavy_minus_sign: | N/A | |
|
||||
| `collection` | array<[Operations\Collection](../../Models/Operations/Collection.md)> | :heavy_minus_sign: | N/A | |
|
||||
@@ -13,7 +13,7 @@
|
||||
| `librarySectionID` | *?int* | :heavy_minus_sign: | N/A | 1 |
|
||||
| `librarySectionTitle` | *?string* | :heavy_minus_sign: | N/A | Movies |
|
||||
| `librarySectionKey` | *?string* | :heavy_minus_sign: | N/A | /library/sections/1 |
|
||||
| `type` | [Operations\GetSearchAllLibrariesType](../../Models/Operations/GetSearchAllLibrariesType.md) | :heavy_check_mark: | The type of media content<br/> | movie |
|
||||
| `type` | [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` | *?string* | :heavy_minus_sign: | N/A | 4-for-texas |
|
||||
| `contentRating` | *?string* | :heavy_minus_sign: | N/A | PG-13 |
|
||||
|
||||
@@ -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 |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | movie |
|
||||
| `TvShow` | show |
|
||||
| `Season` | season |
|
||||
| `Episode` | episode |
|
||||
| `Artist` | artist |
|
||||
| `Album` | album |
|
||||
| `Track` | track |
|
||||
| `PhotoAlbum` | photoalbum |
|
||||
| `Photo` | photo |
|
||||
| `Collection` | collection |
|
||||
@@ -11,12 +11,14 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
| `Album` | 9 |
|
||||
| `Track` | 10 |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Artist` | 5 |
|
||||
| `Album` | 6 |
|
||||
| `Track` | 7 |
|
||||
| `PhotoAlbum` | 8 |
|
||||
| `Photo` | 9 |
|
||||
@@ -5,9 +5,9 @@
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
|
||||
| `size` | *?int* | :heavy_minus_sign: | N/A | 1 |
|
||||
| `allowSync` | *?bool* | :heavy_minus_sign: | N/A | true |
|
||||
| `identifier` | *?string* | :heavy_minus_sign: | N/A | com.plexapp.plugins.library |
|
||||
| `mediaTagPrefix` | *?string* | :heavy_minus_sign: | N/A | /system/bundle/media/flags/ |
|
||||
| `mediaTagVersion` | *?int* | :heavy_minus_sign: | N/A | 1698860922 |
|
||||
| `size` | *int* | :heavy_check_mark: | Number of media items returned in this response. | 50 |
|
||||
| `allowSync` | *bool* | :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 |
|
||||
| `mediaTagPrefix` | *string* | :heavy_check_mark: | The prefix used for media tag resource paths. | /system/bundle/media/flags/ |
|
||||
| `mediaTagVersion` | *int* | :heavy_check_mark: | The version number for media tags. | 1734362201 |
|
||||
| `metadata` | array<[Operations\GetTopWatchedContentMetadata](../../Models/Operations/GetTopWatchedContentMetadata.md)> | :heavy_minus_sign: | N/A | |
|
||||
@@ -0,0 +1,12 @@
|
||||
# GetTopWatchedContentQueryParamIncludeGuids
|
||||
|
||||
Adds the Guid object to the response
|
||||
|
||||
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Disable` | 0 |
|
||||
| `Enable` | 1 |
|
||||
@@ -11,12 +11,14 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
| `Album` | 9 |
|
||||
| `Track` | 10 |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Artist` | 5 |
|
||||
| `Album` | 6 |
|
||||
| `Track` | 7 |
|
||||
| `PhotoAlbum` | 8 |
|
||||
| `Photo` | 9 |
|
||||
@@ -5,5 +5,5 @@
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `includeGuids` | *?int* | :heavy_minus_sign: | Adds the Guids object to the response<br/> | 1 |
|
||||
| `type` | [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 |
|
||||
| `type` | [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 |
|
||||
| `includeGuids` | [?Operations\GetTopWatchedContentQueryParamIncludeGuids](../../Models/Operations/GetTopWatchedContentQueryParamIncludeGuids.md) | :heavy_minus_sign: | Adds the Guid object to the response<br/> | 1 |
|
||||
@@ -3,6 +3,6 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
||||
| `id` | *?string* | :heavy_minus_sign: | The unique identifier for the Guid. Can be imdb://tt0286347, tmdb://1763, tvdb://2337<br/> | tvdb://2337 |
|
||||
| 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/>} |
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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 |
|
||||
| `tagKey` | *?string* | :heavy_minus_sign: | A unique key associated with the producer's tag, used for internal identification. | 5d77683d85719b001f3a535e |
|
||||
| `thumb` | *?string* | :heavy_minus_sign: | The URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
|
||||
| `id` | *int* | :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 |
|
||||
| `tagKey` | *string* | :heavy_check_mark: | A 24-character hexadecimal unique key associated with the producer's tag, used for internal identification.<br/> | 5d77683d85719b001f3a535e |
|
||||
| `thumb` | *?string* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the producer. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |
|
||||
@@ -11,12 +11,14 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
| `Album` | 9 |
|
||||
| `Track` | 10 |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Artist` | 5 |
|
||||
| `Album` | 6 |
|
||||
| `Track` | 7 |
|
||||
| `PhotoAlbum` | 8 |
|
||||
| `Photo` | 9 |
|
||||
@@ -5,8 +5,8 @@ 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 |
|
||||
| `value` | *float* | :heavy_check_mark: | N/A | 5.1 |
|
||||
| `type` | *string* | :heavy_check_mark: | N/A | audience |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
|
||||
| `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 |
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :heavy_check_mark: | Unique identifier for the actor or role. | 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 |
|
||||
| `tagKey` | *?string* | :heavy_minus_sign: | A unique key associated with the actor's tag, used for internal identification. | 5d77683d85719b001f3a535e |
|
||||
| `role` | *?string* | :heavy_minus_sign: | The role played by the actor in the media item. | Self - Judge |
|
||||
| `thumb` | *?string* | :heavy_minus_sign: | The URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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 |
|
||||
| `tagKey` | *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` | *?string* | :heavy_minus_sign: | The role played by the actor in the media item. | Self - Judge |
|
||||
| `thumb` | *?string* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the actor. | https://metadata-static.plex.tv/7/people/708568fd018d7aa8b1032dcf867747e8.jpg |
|
||||
@@ -11,12 +11,14 @@ E.g. A movie library will not return anything with type 3 as there are no season
|
||||
|
||||
## Values
|
||||
|
||||
| Name | Value |
|
||||
| --------- | --------- |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Audio` | 8 |
|
||||
| `Album` | 9 |
|
||||
| `Track` | 10 |
|
||||
| Name | Value |
|
||||
| ------------ | ------------ |
|
||||
| `Movie` | 1 |
|
||||
| `TvShow` | 2 |
|
||||
| `Season` | 3 |
|
||||
| `Episode` | 4 |
|
||||
| `Artist` | 5 |
|
||||
| `Album` | 6 |
|
||||
| `Track` | 7 |
|
||||
| `PhotoAlbum` | 8 |
|
||||
| `Photo` | 9 |
|
||||
@@ -3,9 +3,10 @@
|
||||
|
||||
## Fields
|
||||
|
||||
| Field | Type | Required | Description | Example |
|
||||
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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 |
|
||||
| `tagKey` | *?string* | :heavy_minus_sign: | A unique key associated with the writers tag, used for internal identification. | 5d77683d85719b001f3a535e |
|
||||
| Field | Type | Required | Description | Example |
|
||||
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
|
||||
| `id` | *int* | :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 |
|
||||
| `tagKey` | *?string* | :heavy_minus_sign: | A 24-character hexadecimal unique key associated with the writer’s tag, used for internal identification. | 5d77683d85719b001f3a535e |
|
||||
| `thumb` | *?string* | :heavy_minus_sign: | The absolute URL of the thumbnail image for the writer. | https://metadata-static.plex.tv/8/people/8d65fa96804802e08f2de09fe014408e.jpg |
|
||||
@@ -174,7 +174,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->butler->startTask(
|
||||
taskName: Operations\TaskName::CleanOldBundles
|
||||
taskName: Operations\TaskName::RefreshPeriodicMetadata
|
||||
);
|
||||
|
||||
if ($response->statusCode === 200) {
|
||||
@@ -224,7 +224,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->butler->stopTask(
|
||||
taskName: Operations\PathParamTaskName::BackupDatabase
|
||||
taskName: Operations\PathParamTaskName::CleanOldCacheFiles
|
||||
);
|
||||
|
||||
if ($response->statusCode === 200) {
|
||||
|
||||
@@ -24,7 +24,6 @@ declare(strict_types=1);
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
use LukeHagar\Plex_API;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setSecurity(
|
||||
@@ -35,8 +34,6 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->hubs->getGlobalHubs(
|
||||
count: 1262.49,
|
||||
onlyTransient: Operations\OnlyTransient::One
|
||||
|
||||
);
|
||||
|
||||
@@ -86,9 +83,10 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
->build();
|
||||
|
||||
$request = new Operations\GetRecentlyAddedRequest(
|
||||
contentDirectoryID: 470161,
|
||||
contentDirectoryID: 39486,
|
||||
sectionID: 2,
|
||||
type: Operations\Type::TvShow,
|
||||
includeMeta: Operations\IncludeMeta::Enable,
|
||||
);
|
||||
|
||||
$response = $sdk->hubs->getRecentlyAdded(
|
||||
@@ -129,7 +127,6 @@ declare(strict_types=1);
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
use LukeHagar\Plex_API;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setSecurity(
|
||||
@@ -140,10 +137,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->hubs->getLibraryHubs(
|
||||
sectionId: 6728.76,
|
||||
count: 639.24,
|
||||
onlyTransient: Operations\QueryParamOnlyTransient::One
|
||||
|
||||
sectionId: 492.74
|
||||
);
|
||||
|
||||
if ($response->object !== null) {
|
||||
|
||||
@@ -14,7 +14,7 @@ API Calls interacting with Plex Media Server Libraries
|
||||
* [getLibraryDetails](#getlibrarydetails) - Get Library Details
|
||||
* [deleteLibrary](#deletelibrary) - Delete Library Section
|
||||
* [getLibraryItems](#getlibraryitems) - Get Library Items
|
||||
* [getAllMediaLibrary](#getallmedialibrary) - Get all media of library
|
||||
* [getLibrarySectionsAll](#getlibrarysectionsall) - Get Library section media by tag ALL
|
||||
* [getRefreshLibraryMetadata](#getrefreshlibrarymetadata) - Refresh Metadata Of The Library
|
||||
* [getSearchLibrary](#getsearchlibrary) - Search Library
|
||||
* [getGenresLibrary](#getgenreslibrary) - Get Genres of library media
|
||||
@@ -51,9 +51,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->library->getFileHash(
|
||||
url: 'file://C:\Image.png&type=13',
|
||||
type: 4462.17
|
||||
|
||||
url: 'file://C:\Image.png&type=13'
|
||||
);
|
||||
|
||||
if ($response->statusCode === 200) {
|
||||
@@ -119,6 +117,7 @@ $request = new Operations\GetRecentlyAddedLibraryRequest(
|
||||
],
|
||||
sectionID: 2,
|
||||
type: Operations\QueryParamType::TvShow,
|
||||
includeMeta: Operations\QueryParamIncludeMeta::Enable,
|
||||
);
|
||||
|
||||
$response = $sdk->library->getRecentlyAddedLibrary(
|
||||
@@ -377,9 +376,11 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
->build();
|
||||
|
||||
$request = new Operations\GetLibraryItemsRequest(
|
||||
tag: Operations\Tag::Edition,
|
||||
tag: Operations\Tag::Newest,
|
||||
includeGuids: Operations\IncludeGuids::Enable,
|
||||
type: Operations\GetLibraryItemsQueryParamType::TvShow,
|
||||
sectionKey: 9518,
|
||||
includeMeta: Operations\GetLibraryItemsQueryParamIncludeMeta::Enable,
|
||||
);
|
||||
|
||||
$response = $sdk->library->getLibraryItems(
|
||||
@@ -409,7 +410,7 @@ if ($response->object !== null) {
|
||||
| Errors\GetLibraryItemsUnauthorized | 401 | application/json |
|
||||
| Errors\SDKException | 4XX, 5XX | \*/\* |
|
||||
|
||||
## getAllMediaLibrary
|
||||
## getLibrarySectionsAll
|
||||
|
||||
Retrieves a list of all general media data for this library.
|
||||
|
||||
@@ -430,12 +431,17 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
)
|
||||
->build();
|
||||
|
||||
$request = new Operations\GetAllMediaLibraryRequest(
|
||||
$request = new Operations\GetLibrarySectionsAllRequest(
|
||||
sectionKey: 9518,
|
||||
type: Operations\GetAllMediaLibraryQueryParamType::TvShow,
|
||||
type: Operations\GetLibrarySectionsAllQueryParamType::TvShow,
|
||||
includeMeta: Operations\GetLibrarySectionsAllQueryParamIncludeMeta::Enable,
|
||||
includeGuids: Operations\QueryParamIncludeGuids::Enable,
|
||||
includeAdvanced: Operations\IncludeAdvanced::Enable,
|
||||
includeCollections: Operations\QueryParamIncludeCollections::Enable,
|
||||
includeExternalMedia: Operations\QueryParamIncludeExternalMedia::Enable,
|
||||
);
|
||||
|
||||
$response = $sdk->library->getAllMediaLibrary(
|
||||
$response = $sdk->library->getLibrarySectionsAll(
|
||||
request: $request
|
||||
);
|
||||
|
||||
@@ -446,21 +452,21 @@ if ($response->object !== null) {
|
||||
|
||||
### Parameters
|
||||
|
||||
| Parameter | Type | Required | Description |
|
||||
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
||||
| `$request` | [Operations\GetAllMediaLibraryRequest](../../Models/Operations/GetAllMediaLibraryRequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
||||
| Parameter | Type | Required | Description |
|
||||
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
||||
| `$request` | [Operations\GetLibrarySectionsAllRequest](../../Models/Operations/GetLibrarySectionsAllRequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
||||
|
||||
### Response
|
||||
|
||||
**[?Operations\GetAllMediaLibraryResponse](../../Models/Operations/GetAllMediaLibraryResponse.md)**
|
||||
**[?Operations\GetLibrarySectionsAllResponse](../../Models/Operations/GetLibrarySectionsAllResponse.md)**
|
||||
|
||||
### Errors
|
||||
|
||||
| Error Type | Status Code | Content Type |
|
||||
| ------------------------------------- | ------------------------------------- | ------------------------------------- |
|
||||
| Errors\GetAllMediaLibraryBadRequest | 400 | application/json |
|
||||
| Errors\GetAllMediaLibraryUnauthorized | 401 | application/json |
|
||||
| Errors\SDKException | 4XX, 5XX | \*/\* |
|
||||
| Error Type | Status Code | Content Type |
|
||||
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
|
||||
| Errors\GetLibrarySectionsAllBadRequest | 400 | application/json |
|
||||
| Errors\GetLibrarySectionsAllUnauthorized | 401 | application/json |
|
||||
| Errors\SDKException | 4XX, 5XX | \*/\* |
|
||||
|
||||
## getRefreshLibraryMetadata
|
||||
|
||||
@@ -487,7 +493,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
$response = $sdk->library->getRefreshLibraryMetadata(
|
||||
sectionKey: 9518,
|
||||
force: Operations\Force::One
|
||||
force: Operations\Force::Zero
|
||||
|
||||
);
|
||||
|
||||
@@ -771,6 +777,8 @@ $request = new Operations\GetSearchAllLibrariesRequest(
|
||||
searchTypes: [
|
||||
Operations\SearchTypes::People,
|
||||
],
|
||||
includeCollections: Operations\GetSearchAllLibrariesQueryParamIncludeCollections::Enable,
|
||||
includeExternalMedia: Operations\GetSearchAllLibrariesQueryParamIncludeExternalMedia::Enable,
|
||||
);
|
||||
|
||||
$response = $sdk->library->getSearchAllLibraries(
|
||||
@@ -802,7 +810,8 @@ if ($response->object !== null) {
|
||||
|
||||
## getMediaMetaData
|
||||
|
||||
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
|
||||
@@ -822,7 +831,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
->build();
|
||||
|
||||
$request = new Operations\GetMediaMetaDataRequest(
|
||||
ratingKey: 9518,
|
||||
ratingKey: '21119,21617',
|
||||
includeConcerts: true,
|
||||
includeExtras: true,
|
||||
includeOnDeck: true,
|
||||
@@ -934,8 +943,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
$response = $sdk->library->postMediaArts(
|
||||
ratingKey: 2268,
|
||||
url: 'https://api.mediux.pro/assets/fcfdc487-dd07-4993-a0c1-0a3015362e5b',
|
||||
requestBody: '0xee51EFC6De'
|
||||
url: 'https://api.mediux.pro/assets/fcfdc487-dd07-4993-a0c1-0a3015362e5b'
|
||||
|
||||
);
|
||||
|
||||
@@ -1031,8 +1039,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
$response = $sdk->library->postMediaPoster(
|
||||
ratingKey: 2268,
|
||||
url: 'https://api.mediux.pro/assets/fcfdc487-dd07-4993-a0c1-0a3015362e5b',
|
||||
requestBody: '0x7C3d45ad4B'
|
||||
url: 'https://api.mediux.pro/assets/fcfdc487-dd07-4993-a0c1-0a3015362e5b'
|
||||
|
||||
);
|
||||
|
||||
@@ -1082,8 +1089,8 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->library->getMetadataChildren(
|
||||
ratingKey: 1539.14,
|
||||
includeElements: '<value>'
|
||||
ratingKey: 2403.67,
|
||||
includeElements: 'Stream'
|
||||
|
||||
);
|
||||
|
||||
@@ -1136,7 +1143,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
$response = $sdk->library->getTopWatchedContent(
|
||||
type: Operations\GetTopWatchedContentQueryParamType::TvShow,
|
||||
includeGuids: 1
|
||||
includeGuids: Operations\GetTopWatchedContentQueryParamIncludeGuids::Enable
|
||||
|
||||
);
|
||||
|
||||
@@ -1150,7 +1157,7 @@ if ($response->object !== null) {
|
||||
| Parameter | Type | Required | Description | Example |
|
||||
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `type` | [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 |
|
||||
| `includeGuids` | *?int* | :heavy_minus_sign: | Adds the Guids object to the response<br/> | 1 |
|
||||
| `includeGuids` | [?Operations\GetTopWatchedContentQueryParamIncludeGuids](../../Models/Operations/GetTopWatchedContentQueryParamIncludeGuids.md) | :heavy_minus_sign: | Adds the Guid object to the response<br/> | 1 |
|
||||
|
||||
### Response
|
||||
|
||||
|
||||
@@ -46,9 +46,9 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
$request = new Operations\CreatePlaylistRequest(
|
||||
title: '<value>',
|
||||
type: Operations\CreatePlaylistQueryParamType::Photo,
|
||||
type: Operations\CreatePlaylistQueryParamType::Audio,
|
||||
smart: Operations\Smart::One,
|
||||
uri: 'https://hoarse-testing.info/',
|
||||
uri: 'https://short-term-disconnection.name/',
|
||||
);
|
||||
|
||||
$response = $sdk->playlists->createPlaylist(
|
||||
@@ -90,7 +90,6 @@ declare(strict_types=1);
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
use LukeHagar\Plex_API;
|
||||
use LukeHagar\Plex_API\Models\Operations;
|
||||
|
||||
$sdk = Plex_API\PlexAPI::builder()
|
||||
->setSecurity(
|
||||
@@ -101,8 +100,6 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->playlists->getPlaylists(
|
||||
playlistType: Operations\PlaylistType::Audio,
|
||||
smart: Operations\QueryParamSmart::Zero
|
||||
|
||||
);
|
||||
|
||||
@@ -154,7 +151,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->playlists->getPlaylist(
|
||||
playlistID: 4109.48
|
||||
playlistID: 8419.53
|
||||
);
|
||||
|
||||
if ($response->object !== null) {
|
||||
@@ -203,7 +200,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->playlists->deletePlaylist(
|
||||
playlistID: 216.22
|
||||
playlistID: 3432.93
|
||||
);
|
||||
|
||||
if ($response->statusCode === 200) {
|
||||
@@ -252,10 +249,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->playlists->updatePlaylist(
|
||||
playlistID: 3915,
|
||||
title: '<value>',
|
||||
summary: '<value>'
|
||||
|
||||
playlistID: 1579.66
|
||||
);
|
||||
|
||||
if ($response->statusCode === 200) {
|
||||
@@ -310,7 +304,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->playlists->getPlaylistContents(
|
||||
playlistID: 5004.46,
|
||||
playlistID: 5535.42,
|
||||
type: Operations\GetPlaylistContentsQueryParamType::TvShow
|
||||
|
||||
);
|
||||
@@ -362,7 +356,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->playlists->clearPlaylistContents(
|
||||
playlistID: 1893.18
|
||||
playlistID: 4137.37
|
||||
);
|
||||
|
||||
if ($response->statusCode === 200) {
|
||||
@@ -412,7 +406,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
|
||||
$response = $sdk->playlists->addPlaylistContents(
|
||||
playlistID: 8502.01,
|
||||
playlistID: 7013.44,
|
||||
uri: 'server://12345/com.plexapp.plugins.library/library/metadata/1',
|
||||
playQueueID: 123
|
||||
|
||||
@@ -468,7 +462,7 @@ $sdk = Plex_API\PlexAPI::builder()
|
||||
|
||||
$response = $sdk->playlists->uploadPlaylist(
|
||||
path: '/home/barkley/playlist.m3u',
|
||||
force: Operations\QueryParamForce::Zero,
|
||||
force: Operations\QueryParamForce::One,
|
||||
sectionID: 1
|
||||
|
||||
);
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user