## Java SDK Changes Detected:

* `plex-api.libraryPlaylists.addPlaylistItems()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.libraryPlaylists.clearPlaylistItems()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.libraryCollections.moveCollectionItem()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.libraryCollections.deleteCollectionItem()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.libraryCollections.addCollectionItems()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.content.getSonicallySimilar()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.butler.stopTask()`:  `request` **Changed** **Breaking** ⚠️
* `plex-api.butler.startTask()`:  `request` **Changed** **Breaking** ⚠️
* `plex-api.content.getSonicPath()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.downloadQueue.getItemDecision()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.hubs.getAllHubs()`: 
  *  `request.onlyTransient` **Changed**
  *  `response.mediacontainer.hub.[].metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.hubs.getContinueWatching()`:  `response.mediacontainer.hub.[].metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.hubs.getPromotedHubs()`:  `response.mediacontainer.hub.[].metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.hubs.getMetadataHubs()`: 
  *  `request.onlyTransient` **Changed**
  *  `response.mediacontainer.hub.[].metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.hubs.getPostplayHubs()`: 
  *  `request.onlyTransient` **Changed**
  *  `response.mediacontainer.hub.[].metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.hubs.getRelatedHubs()`: 
  *  `request.onlyTransient` **Changed**
  *  `response.mediacontainer.hub.[].metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.hubs.getSectionHubs()`: 
  *  `request.onlyTransient` **Changed**
  *  `response.mediacontainer.hub.[].metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.content.getAllLeaves()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.content.listContent()`: 
  *  `request` **Changed**
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.search.searchHubs()`:  `response.mediacontainer.hub.[].metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.content.getAlbums()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.getLibraryItems()`: 
  *  `request.mediaQuery` **Changed**
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.ingestTransientItem()`: 
  *  `request` **Changed**
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.getLibraryMatches()`: 
  *  `request` **Changed** **Breaking** ⚠️
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.content.getMetadataItem()`: 
  *  `request` **Changed**
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.getSections()`:  `response.mediacontainer.directory.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.addSection()`: 
  *  `request` **Changed**
  *  `response.mediacontainer.directory.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.getTags()`: 
  *  `request.type` **Changed** **Breaking** ⚠️
* `plex-api.content.getCollectionItems()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.getAllItemLeaves()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.status.listSessions()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.playQueue.movePlayQueueItem()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.getExtras()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.playQueue.deletePlayQueueItem()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.playQueue.unshuffle()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.listMatches()`: 
  *  `request.manual` **Changed**
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.listSonicallySimilar()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.playQueue.shuffle()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.getRelatedItems()`:  `response.mediacontainer.hub.[].metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.listSimilar()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.playQueue.resetPlayQueue()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.getItemTree()`:  `response.mediacontainer.metadataItem.[]` **Changed** **Breaking** ⚠️
* `plex-api.playQueue.clearPlayQueue()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.playQueue.addToPlayQueue()`: 
  *  `request.next` **Changed**
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.getCommon()`: 
  *  `request.mediaQuery` **Changed**
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.getPerson()`:  `response.mediacontainer.directory.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.listPersonMedia()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.playQueue.getPlayQueue()`: 
  *  `request` **Changed**
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.getLibraryDetails()`: 
  *  `request.includeDetails` **Changed**
  *  `response.mediacontainer.directory.[]` **Changed** **Breaking** ⚠️
* `plex-api.libraryPlaylists.movePlaylistItem()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.autocomplete()`: 
  *  `request.mediaQuery` **Changed**
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.library.getCollections()`: 
  *  `request.mediaQuery` **Changed**
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.libraryPlaylists.getPlaylistGeneratorItems()`:  `response.mediacontainer.metadata` **Changed** **Breaking** ⚠️
* `plex-api.libraryPlaylists.deletePlaylistItem()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.search.voiceSearchHubs()`: 
  *  `request.type` **Changed** **Breaking** ⚠️
  *  `response.mediacontainer.hub.[].metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.libraryPlaylists.createPlaylist()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.playlist.getPlaylistItems()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.playlist.getPlaylist()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.playlist.listPlaylists()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.collections.createCollection()`: 
  *  `request.type` **Changed** **Breaking** ⚠️
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.dvRs.tuneChannel()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.liveTv.getSessions()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.liveTv.getLiveTvSession()`:  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.transcoder.makeDecision()`: 
  *  `request` **Changed**
  *  `response.mediacontainer.metadata.[]` **Changed** **Breaking** ⚠️
* `plex-api.subscriptions.getAllSubscriptions()`: 
  *  `request` **Changed**
  *  `response.mediacontainer.mediaSubscription.[].mediaGrabOperation.[].metadata` **Changed** **Breaking** ⚠️
* `plex-api.subscriptions.createSubscription()`:  `response.mediacontainer.mediaSubscription.[].mediaGrabOperation.[].metadata` **Changed** **Breaking** ⚠️
* `plex-api.subscriptions.getScheduledRecordings()`:  `response.mediacontainer.mediaGrabOperation.[].metadata` **Changed** **Breaking** ⚠️
* `plex-api.subscriptions.getTemplate()`:  `response.mediacontainer.subscriptionTemplate.[].mediaSubscription.[].mediaGrabOperation.[].metadata` **Changed** **Breaking** ⚠️
* `plex-api.subscriptions.getSubscription()`: 
  *  `request` **Changed**
  *  `response.mediacontainer.mediaSubscription.[].mediaGrabOperation.[].metadata` **Changed** **Breaking** ⚠️
* `plex-api.subscriptions.editSubscriptionPreferences()`:  `response.mediacontainer.mediaSubscription.[].mediaGrabOperation.[].metadata` **Changed** **Breaking** ⚠️
* `plex-api.subscriptions.reorderSubscription()`:  `response.mediacontainer.mediaSubscription.[].mediaGrabOperation.[].metadata` **Changed** **Breaking** ⚠️
* `plex-api.library.addSubtitles()`:  `request` **Changed**
* `plex-api.libraryPlaylists.uploadPlaylist()`: 
  *  `request.force` **Changed**
* `plex-api.transcoder.transcodeSubtitles()`:  `request` **Changed**
* `plex-api.transcoder.startTranscodeSession()`:  `request` **Changed**
* `plex-api.library.getMediaPart()`: 
  *  `request.download` **Changed**
* `plex-api.library.detectIntros()`: 
  *  `request.force` **Changed**
* `plex-api.library.getSectionImage()`: 
  *  `request.mediaQuery` **Changed**
* `plex-api.library.deleteMediaItem()`: 
  *  `request.proxy` **Changed**
* `plex-api.library.refreshItemsMetadata()`: 
  *  `request.markUpdated` **Changed**
* `plex-api.authentication.postUsersSignInData()`: **Added**
* `plex-api.authentication.getTokenDetails()`: **Added**
* `plex-api.library.detectCredits()`:  `request` **Changed**
* `plex-api.library.setStreamSelection()`: 
  *  `request.allParts` **Changed**
* `plex-api.library.updateItems()`: 
  *  `request.field.locked` **Changed**
* `plex-api.playQueue.createPlayQueue()`:  `request` **Changed**
* `plex-api.library.deleteLibrarySection()`: 
  *  `request.async` **Changed**
* `plex-api.library.getAugmentationStatus()`: 
  *  `request.wait` **Changed**
* `plex-api.transcoder.transcodeImage()`:  `request` **Changed**
* `plex-api.devices.modifyDevice()`: 
  *  `request.enabled` **Changed**
* `plex-api.library.detectVoiceActivity()`:  `request` **Changed**
* `plex-api.library.getStream()`: 
  *  `request.autoAdjustSubtitle` **Changed**
* `plex-api.library.startBifGeneration()`: 
  *  `request.force` **Changed**
* `plex-api.library.getFirstCharacters()`: 
  *  `request.mediaQuery` **Changed**
* `plex-api.ultraBlur.getImage()`: 
  *  `request.noise` **Changed**
* `plex-api.library.generateThumbs()`: 
  *  `request.force` **Changed**
* `plex-api.updater.applyUpdates()`:  `request` **Changed**
* `plex-api.updater.checkUpdates()`: 
  *  `request.download` **Changed**
* `plex-api.library.deleteMetadataItem()`: 
  *  `request.proxy` **Changed**
* `plex-api.library.optimizeDatabase()`: 
  *  `request.async` **Changed**
* `plex-api.library.refreshSection()`: 
  *  `request.force` **Changed**
* `plex-api.hubs.updateHubVisibility()`:  `request` **Changed**
* `plex-api.hubs.createCustomHub()`:  `request` **Changed**
* `plex-api.downloadQueue.addDownloadQueueItems()`:  `request` **Changed**
* `plex-api.timeline.report()`:  `request` **Changed**
* `plex-api.general.getSourceConnectionInformation()`: 
  *  `request.refresh` **Changed**
* `plex-api.plex.getServerResources()`: **Added**
* `plex-api.users.getUsers()`: **Added**
This commit is contained in:
speakeasybot
2025-12-01 00:42:04 +00:00
parent 66d8250cb0
commit 1e29008284
344 changed files with 42375 additions and 6863 deletions

File diff suppressed because one or more lines are too long

View File

@@ -25,7 +25,7 @@ generation:
schemas: schemas:
allOfMergeStrategy: shallowMerge allOfMergeStrategy: shallowMerge
java: java:
version: 0.21.1 version: 0.22.1
additionalDependencies: [] additionalDependencies: []
additionalPlugins: [] additionalPlugins: []
artifactID: plexapi artifactID: plexapi
@@ -37,8 +37,8 @@ java:
companyURL: plexapi.dev companyURL: plexapi.dev
defaultErrorName: SDKError defaultErrorName: SDKError
enableCustomCodeRegions: false enableCustomCodeRegions: false
enableSlf4jLogging: false
enableStreamingUploads: false enableStreamingUploads: false
enhancedUnionMemberResolution: true
flattenGlobalSecurity: true flattenGlobalSecurity: true
generateOptionalUnionAccessors: false generateOptionalUnionAccessors: false
generateSpringBootStarter: true generateSpringBootStarter: true
@@ -52,6 +52,7 @@ java:
operations: models/operations operations: models/operations
shared: models/shared shared: models/shared
webhooks: models/webhooks webhooks: models/webhooks
inferUnionDiscriminators: false
inputModelSuffix: input inputModelSuffix: input
languageVersion: 11 languageVersion: 11
license: license:
@@ -59,9 +60,12 @@ java:
shortName: MIT shortName: MIT
url: https://mit-license.org/ url: https://mit-license.org/
maxMethodParams: 4 maxMethodParams: 4
multipartArrayFormat: legacy
nullFriendlyParameters: false nullFriendlyParameters: false
openUnions: true openUnions: true
operationScopedParams: true
outputModelSuffix: output outputModelSuffix: output
packageName: dev.plexapi.sdk packageName: dev.plexapi.sdk
projectName: plexapi projectName: plexapi
templateVersion: v2 templateVersion: v2
unionStrategy: populated-fields

View File

@@ -8,20 +8,20 @@ sources:
- latest - latest
plexapi: plexapi:
sourceNamespace: plexapi sourceNamespace: plexapi
sourceRevisionDigest: sha256:56fc783b16af019db4eb0fe52df504315e8e7c7ae41e319a61bba8823f19df4b sourceRevisionDigest: sha256:ace004a3b232e8ab9ca3d89f2da8e40470236e6d997073a16c3f8872d67a7383
sourceBlobDigest: sha256:b62613477fd824bb42cf0bf5d0f9980448259c9c7456e03ca6a10eef39a3994f sourceBlobDigest: sha256:993bfb796a3833b0a3b813ad12469ca34db94f23c2d15ae988a26b4d1ed80fbe
tags: tags:
- latest - latest
- speakeasy-sdk-regen-1762993854 - speakeasy-sdk-regen-1764549498
- 1.1.1 - 1.1.1
targets: targets:
plexjava: plexjava:
source: plexapi source: plexapi
sourceNamespace: plexapi sourceNamespace: plexapi
sourceRevisionDigest: sha256:56fc783b16af019db4eb0fe52df504315e8e7c7ae41e319a61bba8823f19df4b sourceRevisionDigest: sha256:ace004a3b232e8ab9ca3d89f2da8e40470236e6d997073a16c3f8872d67a7383
sourceBlobDigest: sha256:b62613477fd824bb42cf0bf5d0f9980448259c9c7456e03ca6a10eef39a3994f sourceBlobDigest: sha256:993bfb796a3833b0a3b813ad12469ca34db94f23c2d15ae988a26b4d1ed80fbe
codeSamplesNamespace: code-samples-java-plexjava codeSamplesNamespace: code-samples-java-plexjava
codeSamplesRevisionDigest: sha256:d498e8e83e2cc9e1ffee0af580b876cb3f60cda1e757ed33a6b600395b9cfd78 codeSamplesRevisionDigest: sha256:52ac94e7425f56352fc8c1cd029b144b79fa5a60027f1960b2d1ce83fa27701b
workflow: workflow:
workflowVersion: 1.0.0 workflowVersion: 1.0.0
speakeasyVersion: latest speakeasyVersion: latest

103
README.md
View File

@@ -44,7 +44,7 @@ The samples below show how a published SDK artifact is used:
Gradle: Gradle:
```groovy ```groovy
implementation 'dev.plexapi:plexapi:0.21.1' implementation 'dev.plexapi:plexapi:0.22.1'
``` ```
Maven: Maven:
@@ -52,7 +52,7 @@ Maven:
<dependency> <dependency>
<groupId>dev.plexapi</groupId> <groupId>dev.plexapi</groupId>
<artifactId>plexapi</artifactId> <artifactId>plexapi</artifactId>
<version>0.21.1</version> <version>0.22.1</version>
</dependency> </dependency>
``` ```
@@ -109,13 +109,13 @@ public class Application {
.advancedSubtitles(AdvancedSubtitles.BURN) .advancedSubtitles(AdvancedSubtitles.BURN)
.audioBoost(50L) .audioBoost(50L)
.audioChannelCount(5L) .audioChannelCount(5L)
.autoAdjustQuality(BoolInt.ONE) .autoAdjustQuality(BoolInt.True)
.autoAdjustSubtitle(BoolInt.ONE) .autoAdjustSubtitle(BoolInt.True)
.directPlay(BoolInt.ONE) .directPlay(BoolInt.True)
.directStream(BoolInt.ONE) .directStream(BoolInt.True)
.directStreamAudio(BoolInt.ONE) .directStreamAudio(BoolInt.True)
.disableResolutionRotation(BoolInt.ONE) .disableResolutionRotation(BoolInt.True)
.hasMDE(BoolInt.ONE) .hasMDE(BoolInt.True)
.location(StartTranscodeSessionQueryParamLocation.WAN) .location(StartTranscodeSessionQueryParamLocation.WAN)
.mediaBufferSize(102400L) .mediaBufferSize(102400L)
.mediaIndex(0L) .mediaIndex(0L)
@@ -207,6 +207,11 @@ public class Application {
* [listActivities](docs/sdks/activities/README.md#listactivities) - Get all activities * [listActivities](docs/sdks/activities/README.md#listactivities) - Get all activities
* [cancelActivity](docs/sdks/activities/README.md#cancelactivity) - Cancel a running activity * [cancelActivity](docs/sdks/activities/README.md#cancelactivity) - Cancel a running activity
### [authentication()](docs/sdks/authentication/README.md)
* [getTokenDetails](docs/sdks/authentication/README.md#gettokendetails) - Get Token Details
* [postUsersSignInData](docs/sdks/authentication/README.md#postuserssignindata) - Get User Sign In Data
### [butler()](docs/sdks/butler/README.md) ### [butler()](docs/sdks/butler/README.md)
* [stopTasks](docs/sdks/butler/README.md#stoptasks) - Stop all Butler tasks * [stopTasks](docs/sdks/butler/README.md#stoptasks) - Stop all Butler tasks
@@ -453,6 +458,10 @@ public class Application {
* [deletePlayQueueItem](docs/sdks/playqueue/README.md#deleteplayqueueitem) - Delete an item from a play queue * [deletePlayQueueItem](docs/sdks/playqueue/README.md#deleteplayqueueitem) - Delete an item from a play queue
* [movePlayQueueItem](docs/sdks/playqueue/README.md#moveplayqueueitem) - Move an item in a play queue * [movePlayQueueItem](docs/sdks/playqueue/README.md#moveplayqueueitem) - Move an item in a play queue
### [plex()](docs/sdks/plex/README.md)
* [getServerResources](docs/sdks/plex/README.md#getserverresources) - Get Server Resources
### [preferences()](docs/sdks/preferences/README.md) ### [preferences()](docs/sdks/preferences/README.md)
@@ -523,6 +532,10 @@ public class Application {
* [checkUpdates](docs/sdks/updater/README.md#checkupdates) - Checking for updates * [checkUpdates](docs/sdks/updater/README.md#checkupdates) - Checking for updates
* [getUpdatesStatus](docs/sdks/updater/README.md#getupdatesstatus) - Querying status of updates * [getUpdatesStatus](docs/sdks/updater/README.md#getupdatesstatus) - Querying status of updates
### [users()](docs/sdks/users/README.md)
* [getUsers](docs/sdks/users/README.md#getusers) - Get list of all connected users
</details> </details>
<!-- End Available Resources and Operations [operations] --> <!-- End Available Resources and Operations [operations] -->
@@ -531,11 +544,13 @@ public class Application {
Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an exception. Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an exception.
By default, an API error will throw a `models/errors/SDKError` exception. When custom error responses are specified for an operation, the SDK may also throw their associated exception. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `getServerInfo` method throws the following exceptions: By default, an API error will throw a `models/errors/SDKError` exception. When custom error responses are specified for an operation, the SDK may also throw their associated exception. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `getTokenDetails` method throws the following exceptions:
| Error Type | Status Code | Content Type | | Error Type | Status Code | Content Type |
| ---------------------- | ----------- | ------------ | | ----------------------------------------- | ----------- | ---------------- |
| models/errors/SDKError | 4XX, 5XX | \*/\* | | models/errors/GetTokenDetailsBadRequest | 400 | application/json |
| models/errors/GetTokenDetailsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
### Example ### Example
@@ -543,14 +558,16 @@ By default, an API error will throw a `models/errors/SDKError` exception. When c
package hello.world; package hello.world;
import dev.plexapi.sdk.PlexAPI; import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.operations.GetServerInfoRequest; import dev.plexapi.sdk.models.errors.GetTokenDetailsBadRequest;
import dev.plexapi.sdk.models.operations.GetServerInfoResponse; import dev.plexapi.sdk.models.errors.GetTokenDetailsUnauthorized;
import dev.plexapi.sdk.models.operations.GetTokenDetailsRequest;
import dev.plexapi.sdk.models.operations.GetTokenDetailsResponse;
import dev.plexapi.sdk.models.shared.Accepts; import dev.plexapi.sdk.models.shared.Accepts;
import java.lang.Exception; import java.lang.Exception;
public class Application { public class Application {
public static void main(String[] args) throws Exception { public static void main(String[] args) throws GetTokenDetailsBadRequest, GetTokenDetailsUnauthorized, Exception {
PlexAPI sdk = PlexAPI.builder() PlexAPI sdk = PlexAPI.builder()
.accepts(Accepts.APPLICATION_XML) .accepts(Accepts.APPLICATION_XML)
@@ -567,14 +584,14 @@ public class Application {
.token(System.getenv().getOrDefault("TOKEN", "")) .token(System.getenv().getOrDefault("TOKEN", ""))
.build(); .build();
GetServerInfoRequest req = GetServerInfoRequest.builder() GetTokenDetailsRequest req = GetTokenDetailsRequest.builder()
.build(); .build();
GetServerInfoResponse res = sdk.general().getServerInfo() GetTokenDetailsResponse res = sdk.authentication().getTokenDetails()
.request(req) .request(req)
.call(); .call();
if (res.mediaContainerWithDirectory().isPresent()) { if (res.userPlexAccount().isPresent()) {
// handle response // handle response
} }
} }
@@ -699,6 +716,54 @@ public class Application {
} }
} }
``` ```
### Override Server URL Per-Operation
The server URL can also be overridden on a per-operation basis, provided a server list was specified for the operation. For example:
```java
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.GetTokenDetailsBadRequest;
import dev.plexapi.sdk.models.errors.GetTokenDetailsUnauthorized;
import dev.plexapi.sdk.models.operations.GetTokenDetailsRequest;
import dev.plexapi.sdk.models.operations.GetTokenDetailsResponse;
import dev.plexapi.sdk.models.shared.Accepts;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws GetTokenDetailsBadRequest, GetTokenDetailsUnauthorized, Exception {
PlexAPI sdk = PlexAPI.builder()
.accepts(Accepts.APPLICATION_XML)
.clientIdentifier("abc123")
.product("Plex for Roku")
.version("2.4.1")
.platform("Roku")
.platformVersion("4.3 build 1057")
.device("Roku 3")
.model("4200X")
.deviceVendor("Roku")
.deviceName("Living Room TV")
.marketplace("googlePlay")
.token(System.getenv().getOrDefault("TOKEN", ""))
.build();
GetTokenDetailsRequest req = GetTokenDetailsRequest.builder()
.build();
GetTokenDetailsResponse res = sdk.authentication().getTokenDetails()
.request(req)
.serverURL("https://plex.tv/api/v2")
.call();
if (res.userPlexAccount().isPresent()) {
// handle response
}
}
}
```
<!-- End Server Selection [server] --> <!-- End Server Selection [server] -->
<!-- Start Asynchronous Support [async-support] --> <!-- Start Asynchronous Support [async-support] -->

View File

@@ -409,3 +409,13 @@ Based on:
- [java v0.21.1] . - [java v0.21.1] .
### Releases ### Releases
- [Maven Central v0.21.1] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.21.1 - . - [Maven Central v0.21.1] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.21.1 - .
## 2025-12-01 00:37:57
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.615.2 (2.698.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.22.1] .
### Releases
- [Maven Central v0.22.1] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.22.1 - .

View File

@@ -32,13 +32,13 @@ public class Application {
.advancedSubtitles(AdvancedSubtitles.BURN) .advancedSubtitles(AdvancedSubtitles.BURN)
.audioBoost(50L) .audioBoost(50L)
.audioChannelCount(5L) .audioChannelCount(5L)
.autoAdjustQuality(BoolInt.ONE) .autoAdjustQuality(BoolInt.True)
.autoAdjustSubtitle(BoolInt.ONE) .autoAdjustSubtitle(BoolInt.True)
.directPlay(BoolInt.ONE) .directPlay(BoolInt.True)
.directStream(BoolInt.ONE) .directStream(BoolInt.True)
.directStreamAudio(BoolInt.ONE) .directStreamAudio(BoolInt.True)
.disableResolutionRotation(BoolInt.ONE) .disableResolutionRotation(BoolInt.True)
.hasMDE(BoolInt.ONE) .hasMDE(BoolInt.True)
.location(StartTranscodeSessionQueryParamLocation.WAN) .location(StartTranscodeSessionQueryParamLocation.WAN)
.mediaBufferSize(102400L) .mediaBufferSize(102400L)
.mediaIndex(0L) .mediaIndex(0L)

View File

@@ -105,7 +105,7 @@ publishing {
// https://github.com/gradle/gradle/issues/18619 // https://github.com/gradle/gradle/issues/18619
groupId = "dev.plexapi" groupId = "dev.plexapi"
artifactId = "plexapi" artifactId = "plexapi"
version = "0.21.1" version = "0.22.1"
from components.java from components.java

View File

@@ -340,9 +340,9 @@ actions:
.playQueueItemID("123") .playQueueItemID("123")
.time(0L) .time(0L)
.duration(10000L) .duration(10000L)
.continuing(BoolInt.ONE) .continuing(BoolInt.True)
.updated(14200000L) .updated(14200000L)
.offline(BoolInt.ONE) .offline(BoolInt.True)
.timeToFirstFrame(1000L) .timeToFirstFrame(1000L)
.timeStalled(1000L) .timeStalled(1000L)
.bandwidth(100L) .bandwidth(100L)
@@ -600,7 +600,7 @@ actions:
// handle response // handle response
} }
} }
- target: $["paths"]["/butler/{task}"]["delete"] - target: $["paths"]["/butler/{butlerTask}"]["delete"]
update: update:
x-codeSamples: x-codeSamples:
- lang: java - lang: java
@@ -633,7 +633,7 @@ actions:
.build(); .build();
StopTaskRequest req = StopTaskRequest.builder() StopTaskRequest req = StopTaskRequest.builder()
.task(Task.CLEAN_OLD_BUNDLES) .butlerTask(ButlerTask.CLEAN_OLD_BUNDLES)
.build(); .build();
StopTaskResponse res = sdk.butler().stopTask() StopTaskResponse res = sdk.butler().stopTask()
@@ -643,7 +643,7 @@ actions:
// handle response // handle response
} }
} }
- target: $["paths"]["/butler/{task}"]["post"] - target: $["paths"]["/butler/{butlerTask}"]["post"]
update: update:
x-codeSamples: x-codeSamples:
- lang: java - lang: java
@@ -676,7 +676,7 @@ actions:
.build(); .build();
StartTaskRequest req = StartTaskRequest.builder() StartTaskRequest req = StartTaskRequest.builder()
.task(PathParamTask.REFRESH_LOCAL_MEDIA) .butlerTask(PathParamButlerTask.REFRESH_LOCAL_MEDIA)
.build(); .build();
StartTaskResponse res = sdk.butler().startTask() StartTaskResponse res = sdk.butler().startTask()
@@ -802,13 +802,13 @@ actions:
.advancedSubtitles(AdvancedSubtitles.BURN) .advancedSubtitles(AdvancedSubtitles.BURN)
.audioBoost(50L) .audioBoost(50L)
.audioChannelCount(5L) .audioChannelCount(5L)
.autoAdjustQuality(BoolInt.ONE) .autoAdjustQuality(BoolInt.True)
.autoAdjustSubtitle(BoolInt.ONE) .autoAdjustSubtitle(BoolInt.True)
.directPlay(BoolInt.ONE) .directPlay(BoolInt.True)
.directStream(BoolInt.ONE) .directStream(BoolInt.True)
.directStreamAudio(BoolInt.ONE) .directStreamAudio(BoolInt.True)
.disableResolutionRotation(BoolInt.ONE) .disableResolutionRotation(BoolInt.True)
.hasMDE(BoolInt.ONE) .hasMDE(BoolInt.True)
.location(Location.WAN) .location(Location.WAN)
.mediaBufferSize(102400L) .mediaBufferSize(102400L)
.mediaIndex(0L) .mediaIndex(0L)
@@ -1157,7 +1157,7 @@ actions:
.build(); .build();
GetAllHubsRequest req = GetAllHubsRequest.builder() GetAllHubsRequest req = GetAllHubsRequest.builder()
.onlyTransient(BoolInt.ONE) .onlyTransient(BoolInt.True)
.build(); .build();
GetAllHubsResponse res = sdk.hubs().getAllHubs() GetAllHubsResponse res = sdk.hubs().getAllHubs()
@@ -1300,7 +1300,7 @@ actions:
GetMetadataHubsRequest req = GetMetadataHubsRequest.builder() GetMetadataHubsRequest req = GetMetadataHubsRequest.builder()
.metadataId(605482L) .metadataId(605482L)
.onlyTransient(BoolInt.ONE) .onlyTransient(BoolInt.True)
.build(); .build();
GetMetadataHubsResponse res = sdk.hubs().getMetadataHubs() GetMetadataHubsResponse res = sdk.hubs().getMetadataHubs()
@@ -1348,7 +1348,7 @@ actions:
GetPostplayHubsRequest req = GetPostplayHubsRequest.builder() GetPostplayHubsRequest req = GetPostplayHubsRequest.builder()
.metadataId(441419L) .metadataId(441419L)
.onlyTransient(BoolInt.ONE) .onlyTransient(BoolInt.True)
.build(); .build();
GetPostplayHubsResponse res = sdk.hubs().getPostplayHubs() GetPostplayHubsResponse res = sdk.hubs().getPostplayHubs()
@@ -1396,7 +1396,7 @@ actions:
GetRelatedHubsRequest req = GetRelatedHubsRequest.builder() GetRelatedHubsRequest req = GetRelatedHubsRequest.builder()
.metadataId(8858L) .metadataId(8858L)
.onlyTransient(BoolInt.ONE) .onlyTransient(BoolInt.True)
.build(); .build();
GetRelatedHubsResponse res = sdk.hubs().getRelatedHubs() GetRelatedHubsResponse res = sdk.hubs().getRelatedHubs()
@@ -1512,6 +1512,7 @@ actions:
import dev.plexapi.sdk.models.operations.VoiceSearchHubsRequest; import dev.plexapi.sdk.models.operations.VoiceSearchHubsRequest;
import dev.plexapi.sdk.models.operations.VoiceSearchHubsResponse; import dev.plexapi.sdk.models.operations.VoiceSearchHubsResponse;
import dev.plexapi.sdk.models.shared.Accepts; import dev.plexapi.sdk.models.shared.Accepts;
import dev.plexapi.sdk.models.shared.MediaType;
import java.lang.Exception; import java.lang.Exception;
public class Application { public class Application {
@@ -1535,6 +1536,7 @@ actions:
VoiceSearchHubsRequest req = VoiceSearchHubsRequest.builder() VoiceSearchHubsRequest req = VoiceSearchHubsRequest.builder()
.query("<value>") .query("<value>")
.type(MediaType.TvShow)
.build(); .build();
VoiceSearchHubsResponse res = sdk.search().voiceSearchHubs() VoiceSearchHubsResponse res = sdk.search().voiceSearchHubs()
@@ -1582,7 +1584,7 @@ actions:
GetSectionHubsRequest req = GetSectionHubsRequest.builder() GetSectionHubsRequest req = GetSectionHubsRequest.builder()
.sectionId(336924L) .sectionId(336924L)
.onlyTransient(BoolInt.ONE) .onlyTransient(BoolInt.True)
.build(); .build();
GetSectionHubsResponse res = sdk.hubs().getSectionHubs() GetSectionHubsResponse res = sdk.hubs().getSectionHubs()
@@ -1721,9 +1723,9 @@ actions:
CreateCustomHubRequest req = CreateCustomHubRequest.builder() CreateCustomHubRequest req = CreateCustomHubRequest.builder()
.sectionId(869922L) .sectionId(869922L)
.metadataItemId(703843L) .metadataItemId(703843L)
.promotedToRecommended(BoolInt.ONE) .promotedToRecommended(BoolInt.True)
.promotedToOwnHome(BoolInt.ONE) .promotedToOwnHome(BoolInt.True)
.promotedToSharedHome(BoolInt.ONE) .promotedToSharedHome(BoolInt.True)
.build(); .build();
CreateCustomHubResponse res = sdk.hubs().createCustomHub() CreateCustomHubResponse res = sdk.hubs().createCustomHub()
@@ -1862,9 +1864,9 @@ actions:
UpdateHubVisibilityRequest req = UpdateHubVisibilityRequest.builder() UpdateHubVisibilityRequest req = UpdateHubVisibilityRequest.builder()
.sectionId(341650L) .sectionId(341650L)
.identifier("<value>") .identifier("<value>")
.promotedToRecommended(BoolInt.ONE) .promotedToRecommended(BoolInt.True)
.promotedToOwnHome(BoolInt.ONE) .promotedToOwnHome(BoolInt.True)
.promotedToSharedHome(BoolInt.ONE) .promotedToSharedHome(BoolInt.True)
.build(); .build();
UpdateHubVisibilityResponse res = sdk.hubs().updateHubVisibility() UpdateHubVisibilityResponse res = sdk.hubs().updateHubVisibility()
@@ -1912,7 +1914,7 @@ actions:
import dev.plexapi.sdk.PlexAPI; import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.operations.GetLibraryItemsRequest; import dev.plexapi.sdk.models.operations.GetLibraryItemsRequest;
import dev.plexapi.sdk.models.operations.GetLibraryItemsResponse; import dev.plexapi.sdk.models.operations.GetLibraryItemsResponse;
import dev.plexapi.sdk.models.shared.Accepts; import dev.plexapi.sdk.models.shared.*;
import java.lang.Exception; import java.lang.Exception;
public class Application { public class Application {
@@ -1935,6 +1937,11 @@ actions:
.build(); .build();
GetLibraryItemsRequest req = GetLibraryItemsRequest.builder() GetLibraryItemsRequest req = GetLibraryItemsRequest.builder()
.mediaQuery(MediaQuery.builder()
.type(MediaType.Episode)
.sourceType(2L)
.sort("duration:desc,index")
.build())
.build(); .build();
GetLibraryItemsResponse res = sdk.library().getLibraryItems() GetLibraryItemsResponse res = sdk.library().getLibraryItems()
@@ -2010,6 +2017,7 @@ actions:
import dev.plexapi.sdk.models.operations.CreateCollectionRequest; import dev.plexapi.sdk.models.operations.CreateCollectionRequest;
import dev.plexapi.sdk.models.operations.CreateCollectionResponse; import dev.plexapi.sdk.models.operations.CreateCollectionResponse;
import dev.plexapi.sdk.models.shared.Accepts; import dev.plexapi.sdk.models.shared.Accepts;
import dev.plexapi.sdk.models.shared.MediaType;
import java.lang.Exception; import java.lang.Exception;
public class Application { public class Application {
@@ -2033,6 +2041,7 @@ actions:
CreateCollectionRequest req = CreateCollectionRequest.builder() CreateCollectionRequest req = CreateCollectionRequest.builder()
.sectionId("<id>") .sectionId("<id>")
.type(MediaType.TvShow)
.build(); .build();
CreateCollectionResponse res = sdk.collections().createCollection() CreateCollectionResponse res = sdk.collections().createCollection()
@@ -2315,8 +2324,8 @@ actions:
IngestTransientItemRequest req = IngestTransientItemRequest.builder() IngestTransientItemRequest req = IngestTransientItemRequest.builder()
.url("file:///storage%2Femulated%2F0%2FArcher-S01E01.mkv") .url("file:///storage%2Femulated%2F0%2FArcher-S01E01.mkv")
.virtualFilePath("/Avatar.mkv") .virtualFilePath("/Avatar.mkv")
.computeHashes(BoolInt.ONE) .computeHashes(BoolInt.True)
.ingestNonMatches(BoolInt.ONE) .ingestNonMatches(BoolInt.True)
.build(); .build();
IngestTransientItemResponse res = sdk.library().ingestTransientItem() IngestTransientItemResponse res = sdk.library().ingestTransientItem()
@@ -2339,8 +2348,7 @@ actions:
import dev.plexapi.sdk.PlexAPI; import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.operations.GetLibraryMatchesRequest; import dev.plexapi.sdk.models.operations.GetLibraryMatchesRequest;
import dev.plexapi.sdk.models.operations.GetLibraryMatchesResponse; import dev.plexapi.sdk.models.operations.GetLibraryMatchesResponse;
import dev.plexapi.sdk.models.shared.Accepts; import dev.plexapi.sdk.models.shared.*;
import dev.plexapi.sdk.models.shared.BoolInt;
import java.lang.Exception; import java.lang.Exception;
public class Application { public class Application {
@@ -2363,9 +2371,10 @@ actions:
.build(); .build();
GetLibraryMatchesRequest req = GetLibraryMatchesRequest.builder() GetLibraryMatchesRequest req = GetLibraryMatchesRequest.builder()
.includeFullMetadata(BoolInt.ONE) .type(MediaType.TvShow)
.includeAncestorMetadata(BoolInt.ONE) .includeFullMetadata(BoolInt.True)
.includeAlternateMetadataSources(BoolInt.ONE) .includeAncestorMetadata(BoolInt.True)
.includeAlternateMetadataSources(BoolInt.True)
.build(); .build();
GetLibraryMatchesResponse res = sdk.library().getLibraryMatches() GetLibraryMatchesResponse res = sdk.library().getLibraryMatches()
@@ -2460,7 +2469,7 @@ actions:
GetAugmentationStatusRequest req = GetAugmentationStatusRequest.builder() GetAugmentationStatusRequest req = GetAugmentationStatusRequest.builder()
.augmentationId("<id>") .augmentationId("<id>")
.wait_(BoolInt.ONE) .wait_(BoolInt.True)
.build(); .build();
GetAugmentationStatusResponse res = sdk.library().getAugmentationStatus() GetAugmentationStatusResponse res = sdk.library().getAugmentationStatus()
@@ -2506,7 +2515,7 @@ actions:
DeleteMetadataItemRequest req = DeleteMetadataItemRequest.builder() DeleteMetadataItemRequest req = DeleteMetadataItemRequest.builder()
.ids("<value>") .ids("<value>")
.proxy(BoolInt.ONE) .proxy(BoolInt.True)
.build(); .build();
DeleteMetadataItemResponse res = sdk.library().deleteMetadataItem() DeleteMetadataItemResponse res = sdk.library().deleteMetadataItem()
@@ -2553,14 +2562,14 @@ actions:
GetMetadataItemRequest req = GetMetadataItemRequest.builder() GetMetadataItemRequest req = GetMetadataItemRequest.builder()
.ids(List.of()) .ids(List.of())
.asyncCheckFiles(BoolInt.ONE) .asyncCheckFiles(BoolInt.True)
.asyncRefreshLocalMediaAgent(BoolInt.ONE) .asyncRefreshLocalMediaAgent(BoolInt.True)
.asyncRefreshAnalysis(BoolInt.ONE) .asyncRefreshAnalysis(BoolInt.True)
.checkFiles(BoolInt.ONE) .checkFiles(BoolInt.True)
.skipRefresh(BoolInt.ONE) .skipRefresh(BoolInt.True)
.checkFileAvailability(BoolInt.ONE) .checkFileAvailability(BoolInt.True)
.asyncAugmentMetadata(BoolInt.ONE) .asyncAugmentMetadata(BoolInt.True)
.augmentCount(BoolInt.ONE) .augmentCount(BoolInt.True)
.build(); .build();
GetMetadataItemResponse res = sdk.content().getMetadataItem() GetMetadataItemResponse res = sdk.content().getMetadataItem()
@@ -2789,7 +2798,7 @@ actions:
GenerateThumbsRequest req = GenerateThumbsRequest.builder() GenerateThumbsRequest req = GenerateThumbsRequest.builder()
.ids("<value>") .ids("<value>")
.force(BoolInt.ONE) .force(BoolInt.True)
.build(); .build();
GenerateThumbsResponse res = sdk.library().generateThumbs() GenerateThumbsResponse res = sdk.library().generateThumbs()
@@ -2835,8 +2844,8 @@ actions:
DetectCreditsRequest req = DetectCreditsRequest.builder() DetectCreditsRequest req = DetectCreditsRequest.builder()
.ids("<value>") .ids("<value>")
.force(BoolInt.ONE) .force(BoolInt.True)
.manual(BoolInt.ONE) .manual(BoolInt.True)
.build(); .build();
DetectCreditsResponse res = sdk.library().detectCredits() DetectCreditsResponse res = sdk.library().detectCredits()
@@ -3019,7 +3028,7 @@ actions:
StartBifGenerationRequest req = StartBifGenerationRequest.builder() StartBifGenerationRequest req = StartBifGenerationRequest.builder()
.ids("<value>") .ids("<value>")
.force(BoolInt.ONE) .force(BoolInt.True)
.build(); .build();
StartBifGenerationResponse res = sdk.library().startBifGeneration() StartBifGenerationResponse res = sdk.library().startBifGeneration()
@@ -3065,7 +3074,7 @@ actions:
DetectIntrosRequest req = DetectIntrosRequest.builder() DetectIntrosRequest req = DetectIntrosRequest.builder()
.ids("<value>") .ids("<value>")
.force(BoolInt.ONE) .force(BoolInt.True)
.build(); .build();
DetectIntrosResponse res = sdk.library().detectIntros() DetectIntrosResponse res = sdk.library().detectIntros()
@@ -3299,7 +3308,7 @@ actions:
ListMatchesRequest req = ListMatchesRequest.builder() ListMatchesRequest req = ListMatchesRequest.builder()
.ids("<value>") .ids("<value>")
.manual(BoolInt.ONE) .manual(BoolInt.True)
.build(); .build();
ListMatchesResponse res = sdk.library().listMatches() ListMatchesResponse res = sdk.library().listMatches()
@@ -3348,7 +3357,7 @@ actions:
DeleteMediaItemRequest req = DeleteMediaItemRequest.builder() DeleteMediaItemRequest req = DeleteMediaItemRequest.builder()
.ids("<value>") .ids("<value>")
.mediaItem("<value>") .mediaItem("<value>")
.proxy(BoolInt.ONE) .proxy(BoolInt.True)
.build(); .build();
DeleteMediaItemResponse res = sdk.library().deleteMediaItem() DeleteMediaItemResponse res = sdk.library().deleteMediaItem()
@@ -3537,7 +3546,7 @@ actions:
RefreshItemsMetadataRequest req = RefreshItemsMetadataRequest.builder() RefreshItemsMetadataRequest req = RefreshItemsMetadataRequest.builder()
.ids("<value>") .ids("<value>")
.markUpdated(BoolInt.ONE) .markUpdated(BoolInt.True)
.build(); .build();
RefreshItemsMetadataResponse res = sdk.library().refreshItemsMetadata() RefreshItemsMetadataResponse res = sdk.library().refreshItemsMetadata()
@@ -3719,8 +3728,8 @@ actions:
AddSubtitlesRequest req = AddSubtitlesRequest.builder() AddSubtitlesRequest req = AddSubtitlesRequest.builder()
.ids("<value>") .ids("<value>")
.forced(BoolInt.ONE) .forced(BoolInt.True)
.hearingImpaired(BoolInt.ONE) .hearingImpaired(BoolInt.True)
.build(); .build();
AddSubtitlesResponse res = sdk.library().addSubtitles() AddSubtitlesResponse res = sdk.library().addSubtitles()
@@ -3902,8 +3911,8 @@ actions:
DetectVoiceActivityRequest req = DetectVoiceActivityRequest.builder() DetectVoiceActivityRequest req = DetectVoiceActivityRequest.builder()
.ids("<value>") .ids("<value>")
.force(BoolInt.ONE) .force(BoolInt.True)
.manual(BoolInt.ONE) .manual(BoolInt.True)
.build(); .build();
DetectVoiceActivityResponse res = sdk.library().detectVoiceActivity() DetectVoiceActivityResponse res = sdk.library().detectVoiceActivity()
@@ -4083,7 +4092,7 @@ actions:
.build(); .build();
OptimizeDatabaseRequest req = OptimizeDatabaseRequest.builder() OptimizeDatabaseRequest req = OptimizeDatabaseRequest.builder()
.async(BoolInt.ONE) .async(BoolInt.True)
.build(); .build();
OptimizeDatabaseResponse res = sdk.library().optimizeDatabase() OptimizeDatabaseResponse res = sdk.library().optimizeDatabase()
@@ -4129,7 +4138,7 @@ actions:
SetStreamSelectionRequest req = SetStreamSelectionRequest.builder() SetStreamSelectionRequest req = SetStreamSelectionRequest.builder()
.partId(360489L) .partId(360489L)
.allParts(BoolInt.ONE) .allParts(BoolInt.True)
.build(); .build();
SetStreamSelectionResponse res = sdk.library().setStreamSelection() SetStreamSelectionResponse res = sdk.library().setStreamSelection()
@@ -4270,7 +4279,7 @@ actions:
.partId(877105L) .partId(877105L)
.changestamp(970622L) .changestamp(970622L)
.filename("example.file") .filename("example.file")
.download(BoolInt.ONE) .download(BoolInt.True)
.build(); .build();
GetMediaPartResponse res = sdk.library().getMediaPart() GetMediaPartResponse res = sdk.library().getMediaPart()
@@ -4493,8 +4502,8 @@ actions:
"O:\fatboy\\Media\\My Music")) "O:\fatboy\\Media\\My Music"))
.prefs(QueryParamPrefs.builder() .prefs(QueryParamPrefs.builder()
.build()) .build())
.relative(BoolInt.ONE) .relative(BoolInt.True)
.importFromiTunes(BoolInt.ONE) .importFromiTunes(BoolInt.True)
.build(); .build();
AddSectionResponse res = sdk.library().addSection() AddSectionResponse res = sdk.library().addSection()
@@ -4659,7 +4668,7 @@ actions:
DeleteLibrarySectionRequest req = DeleteLibrarySectionRequest.builder() DeleteLibrarySectionRequest req = DeleteLibrarySectionRequest.builder()
.sectionId("<id>") .sectionId("<id>")
.async(BoolInt.ONE) .async(BoolInt.True)
.build(); .build();
DeleteLibrarySectionResponse res = sdk.library().deleteLibrarySection() DeleteLibrarySectionResponse res = sdk.library().deleteLibrarySection()
@@ -4705,7 +4714,7 @@ actions:
GetLibraryDetailsRequest req = GetLibraryDetailsRequest.builder() GetLibraryDetailsRequest req = GetLibraryDetailsRequest.builder()
.sectionId("<id>") .sectionId("<id>")
.includeDetails(BoolInt.ONE) .includeDetails(BoolInt.True)
.build(); .build();
GetLibraryDetailsResponse res = sdk.library().getLibraryDetails() GetLibraryDetailsResponse res = sdk.library().getLibraryDetails()
@@ -4824,7 +4833,7 @@ actions:
import dev.plexapi.sdk.PlexAPI; import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.operations.ListContentRequest; import dev.plexapi.sdk.models.operations.ListContentRequest;
import dev.plexapi.sdk.models.operations.ListContentResponse; import dev.plexapi.sdk.models.operations.ListContentResponse;
import dev.plexapi.sdk.models.shared.Accepts; import dev.plexapi.sdk.models.shared.*;
import java.lang.Exception; import java.lang.Exception;
public class Application { public class Application {
@@ -4848,6 +4857,13 @@ actions:
ListContentRequest req = ListContentRequest.builder() ListContentRequest req = ListContentRequest.builder()
.sectionId("<id>") .sectionId("<id>")
.mediaQuery(MediaQuery.builder()
.type(MediaType.Episode)
.sourceType(2L)
.sort("duration:desc,index")
.build())
.includeMeta(BoolInt.True)
.includeGuids(BoolInt.True)
.build(); .build();
ListContentResponse res = sdk.content().listContent() ListContentResponse res = sdk.content().listContent()
@@ -4895,7 +4911,7 @@ actions:
UpdateItemsRequest req = UpdateItemsRequest.builder() UpdateItemsRequest req = UpdateItemsRequest.builder()
.sectionId("<id>") .sectionId("<id>")
.fieldLocked(BoolInt.ONE) .fieldLocked(BoolInt.True)
.build(); .build();
UpdateItemsResponse res = sdk.library().updateItems() UpdateItemsResponse res = sdk.library().updateItems()
@@ -5052,7 +5068,7 @@ actions:
import dev.plexapi.sdk.PlexAPI; import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.operations.AutocompleteRequest; import dev.plexapi.sdk.models.operations.AutocompleteRequest;
import dev.plexapi.sdk.models.operations.AutocompleteResponse; import dev.plexapi.sdk.models.operations.AutocompleteResponse;
import dev.plexapi.sdk.models.shared.Accepts; import dev.plexapi.sdk.models.shared.*;
import java.lang.Exception; import java.lang.Exception;
public class Application { public class Application {
@@ -5076,6 +5092,11 @@ actions:
AutocompleteRequest req = AutocompleteRequest.builder() AutocompleteRequest req = AutocompleteRequest.builder()
.sectionId(942007L) .sectionId(942007L)
.mediaQuery(MediaQuery.builder()
.type(MediaType.Episode)
.sourceType(2L)
.sort("duration:desc,index")
.build())
.build(); .build();
AutocompleteResponse res = sdk.library().autocomplete() AutocompleteResponse res = sdk.library().autocomplete()
@@ -5235,7 +5256,7 @@ actions:
import dev.plexapi.sdk.PlexAPI; import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.operations.GetCollectionsRequest; import dev.plexapi.sdk.models.operations.GetCollectionsRequest;
import dev.plexapi.sdk.models.operations.GetCollectionsResponse; import dev.plexapi.sdk.models.operations.GetCollectionsResponse;
import dev.plexapi.sdk.models.shared.Accepts; import dev.plexapi.sdk.models.shared.*;
import java.lang.Exception; import java.lang.Exception;
public class Application { public class Application {
@@ -5259,6 +5280,11 @@ actions:
GetCollectionsRequest req = GetCollectionsRequest.builder() GetCollectionsRequest req = GetCollectionsRequest.builder()
.sectionId(348838L) .sectionId(348838L)
.mediaQuery(MediaQuery.builder()
.type(MediaType.Episode)
.sourceType(2L)
.sort("duration:desc,index")
.build())
.build(); .build();
GetCollectionsResponse res = sdk.library().getCollections() GetCollectionsResponse res = sdk.library().getCollections()
@@ -5281,7 +5307,7 @@ actions:
import dev.plexapi.sdk.PlexAPI; import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.operations.GetCommonRequest; import dev.plexapi.sdk.models.operations.GetCommonRequest;
import dev.plexapi.sdk.models.operations.GetCommonResponse; import dev.plexapi.sdk.models.operations.GetCommonResponse;
import dev.plexapi.sdk.models.shared.Accepts; import dev.plexapi.sdk.models.shared.*;
import java.lang.Exception; import java.lang.Exception;
public class Application { public class Application {
@@ -5305,6 +5331,11 @@ actions:
GetCommonRequest req = GetCommonRequest.builder() GetCommonRequest req = GetCommonRequest.builder()
.sectionId(298154L) .sectionId(298154L)
.mediaQuery(MediaQuery.builder()
.type(MediaType.Episode)
.sourceType(2L)
.sort("duration:desc,index")
.build())
.build(); .build();
GetCommonResponse res = sdk.library().getCommon() GetCommonResponse res = sdk.library().getCommon()
@@ -5327,7 +5358,7 @@ actions:
import dev.plexapi.sdk.PlexAPI; import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.operations.GetSectionImageRequest; import dev.plexapi.sdk.models.operations.GetSectionImageRequest;
import dev.plexapi.sdk.models.operations.GetSectionImageResponse; import dev.plexapi.sdk.models.operations.GetSectionImageResponse;
import dev.plexapi.sdk.models.shared.Accepts; import dev.plexapi.sdk.models.shared.*;
import java.lang.Exception; import java.lang.Exception;
public class Application { public class Application {
@@ -5352,6 +5383,11 @@ actions:
GetSectionImageRequest req = GetSectionImageRequest.builder() GetSectionImageRequest req = GetSectionImageRequest.builder()
.sectionId(925611L) .sectionId(925611L)
.updatedAt(117413L) .updatedAt(117413L)
.mediaQuery(MediaQuery.builder()
.type(MediaType.Episode)
.sourceType(2L)
.sort("duration:desc,index")
.build())
.build(); .build();
GetSectionImageResponse res = sdk.library().getSectionImage() GetSectionImageResponse res = sdk.library().getSectionImage()
@@ -5510,7 +5546,7 @@ actions:
import dev.plexapi.sdk.PlexAPI; import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.operations.GetFirstCharactersRequest; import dev.plexapi.sdk.models.operations.GetFirstCharactersRequest;
import dev.plexapi.sdk.models.operations.GetFirstCharactersResponse; import dev.plexapi.sdk.models.operations.GetFirstCharactersResponse;
import dev.plexapi.sdk.models.shared.Accepts; import dev.plexapi.sdk.models.shared.*;
import java.lang.Exception; import java.lang.Exception;
public class Application { public class Application {
@@ -5534,6 +5570,11 @@ actions:
GetFirstCharactersRequest req = GetFirstCharactersRequest.builder() GetFirstCharactersRequest req = GetFirstCharactersRequest.builder()
.sectionId(3947L) .sectionId(3947L)
.mediaQuery(MediaQuery.builder()
.type(MediaType.Episode)
.sourceType(2L)
.sort("duration:desc,index")
.build())
.build(); .build();
GetFirstCharactersResponse res = sdk.library().getFirstCharacters() GetFirstCharactersResponse res = sdk.library().getFirstCharacters()
@@ -5944,7 +5985,7 @@ actions:
RefreshSectionRequest req = RefreshSectionRequest.builder() RefreshSectionRequest req = RefreshSectionRequest.builder()
.sectionId(450300L) .sectionId(450300L)
.force(BoolInt.ONE) .force(BoolInt.True)
.build(); .build();
RefreshSectionResponse res = sdk.library().refreshSection() RefreshSectionResponse res = sdk.library().refreshSection()
@@ -6082,7 +6123,7 @@ actions:
GetStreamRequest req = GetStreamRequest.builder() GetStreamRequest req = GetStreamRequest.builder()
.streamId(314506L) .streamId(314506L)
.ext("<value>") .ext("<value>")
.autoAdjustSubtitle(BoolInt.ONE) .autoAdjustSubtitle(BoolInt.True)
.build(); .build();
GetStreamResponse res = sdk.library().getStream() GetStreamResponse res = sdk.library().getStream()
@@ -6241,6 +6282,7 @@ actions:
import dev.plexapi.sdk.models.operations.GetTagsRequest; import dev.plexapi.sdk.models.operations.GetTagsRequest;
import dev.plexapi.sdk.models.operations.GetTagsResponse; import dev.plexapi.sdk.models.operations.GetTagsResponse;
import dev.plexapi.sdk.models.shared.Accepts; import dev.plexapi.sdk.models.shared.Accepts;
import dev.plexapi.sdk.models.shared.MediaType;
import java.lang.Exception; import java.lang.Exception;
public class Application { public class Application {
@@ -6263,6 +6305,7 @@ actions:
.build(); .build();
GetTagsRequest req = GetTagsRequest.builder() GetTagsRequest req = GetTagsRequest.builder()
.type(MediaType.TvShow)
.build(); .build();
GetTagsResponse res = sdk.library().getTags() GetTagsResponse res = sdk.library().getTags()
@@ -7805,7 +7848,7 @@ actions:
ModifyDeviceRequest req = ModifyDeviceRequest.builder() ModifyDeviceRequest req = ModifyDeviceRequest.builder()
.deviceId(879135L) .deviceId(879135L)
.enabled(BoolInt.ONE) .enabled(BoolInt.True)
.build(); .build();
ModifyDeviceResponse res = sdk.devices().modifyDevice() ModifyDeviceResponse res = sdk.devices().modifyDevice()
@@ -8331,8 +8374,8 @@ actions:
.build(); .build();
GetAllSubscriptionsRequest req = GetAllSubscriptionsRequest.builder() GetAllSubscriptionsRequest req = GetAllSubscriptionsRequest.builder()
.includeGrabs(BoolInt.ONE) .includeGrabs(BoolInt.True)
.includeStorage(BoolInt.ONE) .includeStorage(BoolInt.True)
.build(); .build();
GetAllSubscriptionsResponse res = sdk.subscriptions().getAllSubscriptions() GetAllSubscriptionsResponse res = sdk.subscriptions().getAllSubscriptions()
@@ -8577,8 +8620,8 @@ actions:
GetSubscriptionRequest req = GetSubscriptionRequest.builder() GetSubscriptionRequest req = GetSubscriptionRequest.builder()
.subscriptionId(186713L) .subscriptionId(186713L)
.includeGrabs(BoolInt.ONE) .includeGrabs(BoolInt.True)
.includeStorage(BoolInt.ONE) .includeStorage(BoolInt.True)
.build(); .build();
GetSubscriptionResponse res = sdk.subscriptions().getSubscription() GetSubscriptionResponse res = sdk.subscriptions().getSubscription()
@@ -8720,9 +8763,9 @@ actions:
TranscodeImageRequest req = TranscodeImageRequest.builder() TranscodeImageRequest req = TranscodeImageRequest.builder()
.url("/library/metadata/265/thumb/1715112705") .url("/library/metadata/265/thumb/1715112705")
.background("#ff5522") .background("#ff5522")
.upscale(BoolInt.ONE) .upscale(BoolInt.True)
.minSize(BoolInt.ONE) .minSize(BoolInt.True)
.rotate(BoolInt.ONE) .rotate(BoolInt.True)
.blendColor("#ff5522") .blendColor("#ff5522")
.build(); .build();
@@ -8770,11 +8813,11 @@ actions:
CreatePlayQueueRequest req = CreatePlayQueueRequest.builder() CreatePlayQueueRequest req = CreatePlayQueueRequest.builder()
.type(Type.AUDIO) .type(Type.AUDIO)
.shuffle(BoolInt.ONE) .shuffle(BoolInt.True)
.repeat(BoolInt.ONE) .repeat(BoolInt.True)
.continuous(BoolInt.ONE) .continuous(BoolInt.True)
.recursive(BoolInt.ONE) .recursive(BoolInt.True)
.onDeck(BoolInt.ONE) .onDeck(BoolInt.True)
.build(); .build();
CreatePlayQueueResponse res = sdk.playQueue().createPlayQueue() CreatePlayQueueResponse res = sdk.playQueue().createPlayQueue()
@@ -8822,9 +8865,9 @@ actions:
GetPlayQueueRequest req = GetPlayQueueRequest.builder() GetPlayQueueRequest req = GetPlayQueueRequest.builder()
.playQueueId(210646L) .playQueueId(210646L)
.own(BoolInt.ONE) .own(BoolInt.True)
.includeBefore(BoolInt.ONE) .includeBefore(BoolInt.True)
.includeAfter(BoolInt.ONE) .includeAfter(BoolInt.True)
.build(); .build();
GetPlayQueueResponse res = sdk.playQueue().getPlayQueue() GetPlayQueueResponse res = sdk.playQueue().getPlayQueue()
@@ -8872,7 +8915,7 @@ actions:
AddToPlayQueueRequest req = AddToPlayQueueRequest.builder() AddToPlayQueueRequest req = AddToPlayQueueRequest.builder()
.playQueueId(919248L) .playQueueId(919248L)
.next(BoolInt.ONE) .next(BoolInt.True)
.build(); .build();
AddToPlayQueueResponse res = sdk.playQueue().addToPlayQueue() AddToPlayQueueResponse res = sdk.playQueue().addToPlayQueue()
@@ -9288,7 +9331,7 @@ actions:
UploadPlaylistRequest req = UploadPlaylistRequest.builder() UploadPlaylistRequest req = UploadPlaylistRequest.builder()
.path("/home/barkley/playlist.m3u") .path("/home/barkley/playlist.m3u")
.force(BoolInt.ONE) .force(BoolInt.True)
.build(); .build();
UploadPlaylistResponse res = sdk.libraryPlaylists().uploadPlaylist() UploadPlaylistResponse res = sdk.libraryPlaylists().uploadPlaylist()
@@ -9850,6 +9893,45 @@ actions:
} }
} }
} }
- target: $["paths"]["/resources"]["get"]
update:
x-codeSamples:
- lang: java
label: PlexJava
source: |-
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.GetServerResourcesUnauthorized;
import dev.plexapi.sdk.models.operations.*;
import dev.plexapi.sdk.models.shared.Accepts;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws GetServerResourcesUnauthorized, Exception {
PlexAPI sdk = PlexAPI.builder()
.accepts(Accepts.APPLICATION_XML)
.clientIdentifier("abc123")
.token(System.getenv().getOrDefault("TOKEN", ""))
.build();
GetServerResourcesRequest req = GetServerResourcesRequest.builder()
.includeHttps(IncludeHttps.True)
.includeRelay(IncludeRelay.True)
.includeIPv6(IncludeIPv6.True)
.build();
GetServerResourcesResponse res = sdk.plex().getServerResources()
.request(req)
.call();
if (res.plexDevices().isPresent()) {
// handle response
}
}
}
- target: $["paths"]["/security/resources"]["get"] - target: $["paths"]["/security/resources"]["get"]
update: update:
x-codeSamples: x-codeSamples:
@@ -9886,7 +9968,7 @@ actions:
GetSourceConnectionInformationRequest req = GetSourceConnectionInformationRequest.builder() GetSourceConnectionInformationRequest req = GetSourceConnectionInformationRequest.builder()
.source("<value>") .source("<value>")
.refresh(BoolInt.ONE) .refresh(BoolInt.True)
.build(); .build();
GetSourceConnectionInformationResponse res = sdk.general().getSourceConnectionInformation() GetSourceConnectionInformationResponse res = sdk.general().getSourceConnectionInformation()
@@ -10031,7 +10113,7 @@ actions:
.bottomLeft("1c425d") .bottomLeft("1c425d")
.width(1920L) .width(1920L)
.height(1080L) .height(1080L)
.noise(BoolInt.ONE) .noise(BoolInt.True)
.build(); .build();
GetImageResponse res = sdk.ultraBlur().getImage() GetImageResponse res = sdk.ultraBlur().getImage()
@@ -10341,8 +10423,8 @@ actions:
.build(); .build();
ApplyUpdatesRequest req = ApplyUpdatesRequest.builder() ApplyUpdatesRequest req = ApplyUpdatesRequest.builder()
.tonight(BoolInt.ONE) .tonight(BoolInt.True)
.skip(BoolInt.ONE) .skip(BoolInt.True)
.build(); .build();
ApplyUpdatesResponse res = sdk.updater().applyUpdates() ApplyUpdatesResponse res = sdk.updater().applyUpdates()
@@ -10387,7 +10469,7 @@ actions:
.build(); .build();
CheckUpdatesRequest req = CheckUpdatesRequest.builder() CheckUpdatesRequest req = CheckUpdatesRequest.builder()
.download(BoolInt.ONE) .download(BoolInt.True)
.build(); .build();
CheckUpdatesResponse res = sdk.updater().checkUpdates() CheckUpdatesResponse res = sdk.updater().checkUpdates()
@@ -10425,6 +10507,150 @@ actions:
} }
} }
} }
- target: $["paths"]["/user"]["get"]
update:
x-codeSamples:
- lang: java
label: PlexJava
source: |-
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.GetTokenDetailsBadRequest;
import dev.plexapi.sdk.models.errors.GetTokenDetailsUnauthorized;
import dev.plexapi.sdk.models.operations.GetTokenDetailsRequest;
import dev.plexapi.sdk.models.operations.GetTokenDetailsResponse;
import dev.plexapi.sdk.models.shared.Accepts;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws GetTokenDetailsBadRequest, GetTokenDetailsUnauthorized, Exception {
PlexAPI sdk = PlexAPI.builder()
.accepts(Accepts.APPLICATION_XML)
.clientIdentifier("abc123")
.product("Plex for Roku")
.version("2.4.1")
.platform("Roku")
.platformVersion("4.3 build 1057")
.device("Roku 3")
.model("4200X")
.deviceVendor("Roku")
.deviceName("Living Room TV")
.marketplace("googlePlay")
.token(System.getenv().getOrDefault("TOKEN", ""))
.build();
GetTokenDetailsRequest req = GetTokenDetailsRequest.builder()
.build();
GetTokenDetailsResponse res = sdk.authentication().getTokenDetails()
.request(req)
.call();
if (res.userPlexAccount().isPresent()) {
// handle response
}
}
}
- target: $["paths"]["/users"]["get"]
update:
x-codeSamples:
- lang: java
label: PlexJava
source: |-
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.GetUsersBadRequest;
import dev.plexapi.sdk.models.errors.GetUsersUnauthorized;
import dev.plexapi.sdk.models.operations.GetUsersRequest;
import dev.plexapi.sdk.models.operations.GetUsersResponse;
import dev.plexapi.sdk.models.shared.Accepts;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws GetUsersBadRequest, GetUsersUnauthorized, Exception {
PlexAPI sdk = PlexAPI.builder()
.accepts(Accepts.APPLICATION_XML)
.clientIdentifier("abc123")
.product("Plex for Roku")
.version("2.4.1")
.platform("Roku")
.platformVersion("4.3 build 1057")
.device("Roku 3")
.model("4200X")
.deviceVendor("Roku")
.deviceName("Living Room TV")
.marketplace("googlePlay")
.token(System.getenv().getOrDefault("TOKEN", ""))
.build();
GetUsersRequest req = GetUsersRequest.builder()
.build();
GetUsersResponse res = sdk.users().getUsers()
.request(req)
.call();
if (res.object().isPresent()) {
// handle response
}
}
}
- target: $["paths"]["/users/signin"]["post"]
update:
x-codeSamples:
- lang: java
label: PlexJava
source: |-
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.PostUsersSignInDataBadRequest;
import dev.plexapi.sdk.models.errors.PostUsersSignInDataUnauthorized;
import dev.plexapi.sdk.models.operations.*;
import dev.plexapi.sdk.models.shared.Accepts;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws PostUsersSignInDataBadRequest, PostUsersSignInDataUnauthorized, Exception {
PlexAPI sdk = PlexAPI.builder()
.accepts(Accepts.APPLICATION_XML)
.clientIdentifier("abc123")
.product("Plex for Roku")
.version("2.4.1")
.platform("Roku")
.platformVersion("4.3 build 1057")
.device("Roku 3")
.model("4200X")
.deviceVendor("Roku")
.deviceName("Living Room TV")
.marketplace("googlePlay")
.build();
PostUsersSignInDataRequest req = PostUsersSignInDataRequest.builder()
.requestBody(PostUsersSignInDataRequestBody.builder()
.login("username@email.com")
.password("password123")
.verificationCode("123456")
.build())
.build();
PostUsersSignInDataResponse res = sdk.authentication().postUsersSignInData()
.request(req)
.call();
if (res.userPlexAccount().isPresent()) {
// handle response
}
}
}
- target: $["paths"]["/{transcodeType}/:/transcode/universal/decision"]["get"] - target: $["paths"]["/{transcodeType}/:/transcode/universal/decision"]["get"]
update: update:
x-codeSamples: x-codeSamples:
@@ -10462,13 +10688,13 @@ actions:
.advancedSubtitles(AdvancedSubtitles.BURN) .advancedSubtitles(AdvancedSubtitles.BURN)
.audioBoost(50L) .audioBoost(50L)
.audioChannelCount(5L) .audioChannelCount(5L)
.autoAdjustQuality(BoolInt.ONE) .autoAdjustQuality(BoolInt.True)
.autoAdjustSubtitle(BoolInt.ONE) .autoAdjustSubtitle(BoolInt.True)
.directPlay(BoolInt.ONE) .directPlay(BoolInt.True)
.directStream(BoolInt.ONE) .directStream(BoolInt.True)
.directStreamAudio(BoolInt.ONE) .directStreamAudio(BoolInt.True)
.disableResolutionRotation(BoolInt.ONE) .disableResolutionRotation(BoolInt.True)
.hasMDE(BoolInt.ONE) .hasMDE(BoolInt.True)
.location(Location.WAN) .location(Location.WAN)
.mediaBufferSize(102400L) .mediaBufferSize(102400L)
.mediaIndex(0L) .mediaIndex(0L)
@@ -10580,13 +10806,13 @@ actions:
.advancedSubtitles(AdvancedSubtitles.BURN) .advancedSubtitles(AdvancedSubtitles.BURN)
.audioBoost(50L) .audioBoost(50L)
.audioChannelCount(5L) .audioChannelCount(5L)
.autoAdjustQuality(BoolInt.ONE) .autoAdjustQuality(BoolInt.True)
.autoAdjustSubtitle(BoolInt.ONE) .autoAdjustSubtitle(BoolInt.True)
.directPlay(BoolInt.ONE) .directPlay(BoolInt.True)
.directStream(BoolInt.ONE) .directStream(BoolInt.True)
.directStreamAudio(BoolInt.ONE) .directStreamAudio(BoolInt.True)
.disableResolutionRotation(BoolInt.ONE) .disableResolutionRotation(BoolInt.True)
.hasMDE(BoolInt.ONE) .hasMDE(BoolInt.True)
.location(StartTranscodeSessionQueryParamLocation.WAN) .location(StartTranscodeSessionQueryParamLocation.WAN)
.mediaBufferSize(102400L) .mediaBufferSize(102400L)
.mediaIndex(0L) .mediaIndex(0L)
@@ -10652,13 +10878,13 @@ actions:
.advancedSubtitles(AdvancedSubtitles.BURN) .advancedSubtitles(AdvancedSubtitles.BURN)
.audioBoost(50L) .audioBoost(50L)
.audioChannelCount(5L) .audioChannelCount(5L)
.autoAdjustQuality(BoolInt.ONE) .autoAdjustQuality(BoolInt.True)
.autoAdjustSubtitle(BoolInt.ONE) .autoAdjustSubtitle(BoolInt.True)
.directPlay(BoolInt.ONE) .directPlay(BoolInt.True)
.directStream(BoolInt.ONE) .directStream(BoolInt.True)
.directStreamAudio(BoolInt.ONE) .directStreamAudio(BoolInt.True)
.disableResolutionRotation(BoolInt.ONE) .disableResolutionRotation(BoolInt.True)
.hasMDE(BoolInt.ONE) .hasMDE(BoolInt.True)
.location(QueryParamLocation.WAN) .location(QueryParamLocation.WAN)
.mediaBufferSize(102400L) .mediaBufferSize(102400L)
.mediaIndex(0L) .mediaIndex(0L)

View File

@@ -0,0 +1,10 @@
# Errors
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional\<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -0,0 +1,10 @@
# GetServerResourcesErrors
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional\<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -0,0 +1,11 @@
# GetServerResourcesUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `errors` | List\<[GetServerResourcesErrors](../../models/errors/GetServerResourcesErrors.md)> | :heavy_minus_sign: | N/A |
| `rawResponse` | [HttpResponse\<?>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -0,0 +1,11 @@
# GetTokenDetailsBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `errors` | List\<[Errors](../../models/errors/Errors.md)> | :heavy_minus_sign: | N/A |
| `rawResponse` | [HttpResponse\<?>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -0,0 +1,10 @@
# GetTokenDetailsErrors
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional\<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -0,0 +1,11 @@
# GetTokenDetailsUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `errors` | List\<[GetTokenDetailsErrors](../../models/errors/GetTokenDetailsErrors.md)> | :heavy_minus_sign: | N/A |
| `rawResponse` | [HttpResponse\<?>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -0,0 +1,11 @@
# GetUsersBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `errors` | List\<[GetUsersErrors](../../models/errors/GetUsersErrors.md)> | :heavy_minus_sign: | N/A |
| `rawResponse` | [HttpResponse\<?>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -0,0 +1,10 @@
# GetUsersErrors
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional\<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -0,0 +1,11 @@
# GetUsersUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `errors` | List\<[GetUsersUsersErrors](../../models/errors/GetUsersUsersErrors.md)> | :heavy_minus_sign: | N/A |
| `rawResponse` | [HttpResponse\<?>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -0,0 +1,10 @@
# GetUsersUsersErrors
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional\<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -0,0 +1,10 @@
# PostUsersSignInDataAuthenticationErrors
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional\<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -0,0 +1,11 @@
# PostUsersSignInDataBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `errors` | List\<[PostUsersSignInDataErrors](../../models/errors/PostUsersSignInDataErrors.md)> | :heavy_minus_sign: | N/A |
| `rawResponse` | [HttpResponse\<?>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -0,0 +1,10 @@
# PostUsersSignInDataErrors
## Fields
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional\<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -0,0 +1,11 @@
# PostUsersSignInDataUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `errors` | List\<[PostUsersSignInDataAuthenticationErrors](../../models/errors/PostUsersSignInDataAuthenticationErrors.md)> | :heavy_minus_sign: | N/A |
| `rawResponse` | [HttpResponse\<?>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |

View File

@@ -0,0 +1,11 @@
# AllLibraries
Indicates if the user has access to all libraries.
## Values
| Name | Value |
| --------- | --------- |
| `Disable` | 0 |
| `Enable` | 1 |

View File

@@ -0,0 +1,11 @@
# AllowCameraUpload
Indicates if the user is allowed to upload from a camera.
## Values
| Name | Value |
| --------- | --------- |
| `Disable` | 0 |
| `Enable` | 1 |

View File

@@ -0,0 +1,11 @@
# AllowChannels
Indicates if the user has access to channels.
## Values
| Name | Value |
| --------- | --------- |
| `Disable` | 0 |
| `Enable` | 1 |

View File

@@ -0,0 +1,11 @@
# AllowSubtitleAdmin
Indicates if the user can manage subtitles.
## Values
| Name | Value |
| --------- | --------- |
| `Disable` | 0 |
| `Enable` | 1 |

View File

@@ -0,0 +1,11 @@
# AllowSync
Indicates if the user is allowed to sync media.
## Values
| Name | Value |
| --------- | --------- |
| `Disable` | 0 |
| `Enable` | 1 |

View File

@@ -0,0 +1,11 @@
# AllowTuners
Indicates if the user is allowed to use tuners.
## Values
| Name | Value |
| --------- | --------- |
| `Disable` | 0 |
| `Enable` | 1 |

View File

@@ -3,20 +3,20 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | | | `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 | | `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku | | `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 | | `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku | | `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 | | `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X | | `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `sectionId` | *long* | :heavy_check_mark: | Section identifier | | | `sectionId` | *long* | :heavy_check_mark: | Section identifier | |
| `type` | *Optional\<Long>* | :heavy_minus_sign: | Item type | | | `type` | *Optional\<Long>* | :heavy_minus_sign: | Item type | |
| `fieldQuery` | *Optional\<String>* | :heavy_minus_sign: | The "field" stands in for any field, the value is a partial string for matching | | | `fieldQuery` | *Optional\<String>* | :heavy_minus_sign: | The "field" stands in for any field, the value is a partial string for matching | |
| `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries | | | `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | A querystring-based filtering language used to select subsets of media. Can be provided as an object with typed properties for type safety, or as a string for complex queries with operators and boolean logic.<br/><br/>The query supports:<br/>- Fields: integer, boolean, tag, string, date, language<br/>- Operators: =, !=, ==, !==, <=, >=, >>=, <<= (varies by field type)<br/>- Boolean operators: & (AND), , (OR), push/pop (parentheses), or=1 (explicit OR)<br/>- Sorting: sort parameter with :desc, :nullsLast modifiers<br/>- Grouping: group parameter<br/>- Limits: limit parameter<br/><br/>Examples:<br/>- Object format: `{type: 4, sourceType: 2, title: "24"}``type=4&sourceType=2&title=24`<br/>- String format: `type=4&sourceType=2&title==24` - type = 4 AND sourceType = 2 AND title = "24"<br/>- Complex: `push=1&index=1&or=1&rating=2&pop=1&duration=10` - (index = 1 OR rating = 2) AND duration = 10<br/><br/>See [API Info section](#section/API-Info/Media-Queries) for detailed information on building media queries.<br/> | {<br/>"type": 4,<br/>"sourceType": 2,<br/>"sort": "duration:desc,index"<br/>} |

View File

@@ -0,0 +1,9 @@
# Billing
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `internalPaymentMethod` | [InternalPaymentMethod](../../models/operations/InternalPaymentMethod.md) | :heavy_check_mark: | N/A |
| `paymentMethodId` | *Optional\<Long>* | :heavy_check_mark: | N/A |

View File

@@ -1,13 +1,31 @@
# ButlerTask # ButlerTask
The task name
## Fields
| Field | Type | Required | Description | ## Values
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
| `description` | *Optional\<String>* | :heavy_minus_sign: | A user-friendly description of the task | | Name | Value |
| `enabled` | *Optional\<Boolean>* | :heavy_minus_sign: | Whether this task is enabled or not | | -------------------------------------- | -------------------------------------- |
| `interval` | *Optional\<Long>* | :heavy_minus_sign: | The interval (in days) of when this task is run. A value of 1 is run every day, 7 is every week, etc. | | `AUTOMATIC_UPDATES` | AutomaticUpdates |
| `name` | *Optional\<String>* | :heavy_minus_sign: | The name of the task | | `BACKUP_DATABASE` | BackupDatabase |
| `scheduleRandomized` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates whether the timing of the task is randomized within the butler interval | | `BUTLER_TASK_GENERATE_AD_MARKERS` | ButlerTaskGenerateAdMarkers |
| `title` | *Optional\<String>* | :heavy_minus_sign: | A user-friendly title of the task | | `BUTLER_TASK_GENERATE_CREDITS_MARKERS` | ButlerTaskGenerateCreditsMarkers |
| `BUTLER_TASK_GENERATE_INTRO_MARKERS` | ButlerTaskGenerateIntroMarkers |
| `BUTLER_TASK_GENERATE_VOICE_ACTIVITY` | ButlerTaskGenerateVoiceActivity |
| `CLEAN_OLD_BUNDLES` | CleanOldBundles |
| `CLEAN_OLD_CACHE_FILES` | CleanOldCacheFiles |
| `DEEP_MEDIA_ANALYSIS` | DeepMediaAnalysis |
| `GARBAGE_COLLECT_BLOBS` | GarbageCollectBlobs |
| `GARBAGE_COLLECT_LIBRARY_MEDIA` | GarbageCollectLibraryMedia |
| `GENERATE_BLUR_HASHES` | GenerateBlurHashes |
| `GENERATE_CHAPTER_THUMBS` | GenerateChapterThumbs |
| `GENERATE_MEDIA_INDEX_FILES` | GenerateMediaIndexFiles |
| `LOUDNESS_ANALYSIS` | LoudnessAnalysis |
| `MUSIC_ANALYSIS` | MusicAnalysis |
| `OPTIMIZE_DATABASE` | OptimizeDatabase |
| `REFRESH_EPG_GUIDES` | RefreshEpgGuides |
| `REFRESH_LIBRARIES` | RefreshLibraries |
| `REFRESH_LOCAL_MEDIA` | RefreshLocalMedia |
| `REFRESH_PERIODIC_METADATA` | RefreshPeriodicMetadata |
| `UPGRADE_MEDIA_ANALYSIS` | UpgradeMediaAnalysis |

View File

@@ -3,6 +3,6 @@
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description |
| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `butlerTask` | List\<[ButlerTask](../../models/operations/ButlerTask.md)> | :heavy_minus_sign: | N/A | | `butlerTask` | List\<[GetTasksButlerTask](../../models/operations/GetTasksButlerTask.md)> | :heavy_minus_sign: | N/A |

View File

@@ -3,21 +3,21 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | | | `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 | | `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku | | `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 | | `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku | | `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 | | `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X | | `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `sectionId` | *String* | :heavy_check_mark: | The section where this collection will be created | | | `sectionId` | *String* | :heavy_check_mark: | The section where this collection will be created | |
| `title` | *Optional\<String>* | :heavy_minus_sign: | The title to filter by or assign | | | `title` | *Optional\<String>* | :heavy_minus_sign: | The title to filter by or assign | |
| `smart` | *Optional\<Boolean>* | :heavy_minus_sign: | Whether this is a smart collection/playlist | | | `smart` | *Optional\<Boolean>* | :heavy_minus_sign: | Whether this is a smart collection/playlist | |
| `uri` | *Optional\<String>* | :heavy_minus_sign: | The URI for processing the smart collection. Required for a smart collection | | | `uri` | *Optional\<String>* | :heavy_minus_sign: | The URI for processing the smart collection. Required for a smart collection | |
| `type` | *Optional\<Long>* | :heavy_minus_sign: | The metadata type to filter by | | | `type` | [Optional\<MediaType>](../../models/shared/MediaType.md) | :heavy_minus_sign: | The type of media to retrieve or filter by.<br/><br/>1 = movie<br/>2 = show<br/>3 = season<br/>4 = episode<br/>5 = artist<br/>6 = album<br/>7 = track<br/>8 = photo_album<br/>9 = photo<br/><br/>E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries<br/> | 2 |

View File

@@ -0,0 +1,20 @@
# CreateDownloadQueueStatus
The state of this queue
- deciding: At least one item is still being decided
- waiting: At least one item is waiting for transcode and none are currently transcoding
- processing: At least one item is being transcoded
- done: All items are available (or potentially expired)
- error: At least one item has encountered an error
## Values
| Name | Value |
| ------------ | ------------ |
| `DECIDING` | deciding |
| `WAITING` | waiting |
| `PROCESSING` | processing |
| `DONE` | done |
| `ERROR` | error |

View File

@@ -7,4 +7,4 @@
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id` | *Optional\<Long>* | :heavy_minus_sign: | N/A | | `id` | *Optional\<Long>* | :heavy_minus_sign: | N/A |
| `itemCount` | *Optional\<Long>* | :heavy_minus_sign: | N/A | | `itemCount` | *Optional\<Long>* | :heavy_minus_sign: | N/A |
| `status` | [Optional\<Status>](../../models/operations/Status.md) | :heavy_minus_sign: | The state of this queue<br/> - deciding: At least one item is still being decided<br/> - waiting: At least one item is waiting for transcode and none are currently transcoding<br/> - processing: At least one item is being transcoded<br/> - done: All items are available (or potentially expired)<br/> - error: At least one item has encountered an error<br/> | | `status` | [Optional\<CreateDownloadQueueStatus>](../../models/operations/CreateDownloadQueueStatus.md) | :heavy_minus_sign: | The state of this queue<br/> - deciding: At least one item is still being decided<br/> - waiting: At least one item is waiting for transcode and none are currently transcoding<br/> - processing: At least one item is being transcoded<br/> - done: All items are available (or potentially expired)<br/> - error: At least one item has encountered an error<br/> |

View File

@@ -3,18 +3,18 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | | | `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 | | `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku | | `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 | | `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku | | `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 | | `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X | | `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `sectionId` | *long* | :heavy_check_mark: | Section identifier | | | `sectionId` | *long* | :heavy_check_mark: | Section identifier | |
| `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries | | | `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | A querystring-based filtering language used to select subsets of media. Can be provided as an object with typed properties for type safety, or as a string for complex queries with operators and boolean logic.<br/><br/>The query supports:<br/>- Fields: integer, boolean, tag, string, date, language<br/>- Operators: =, !=, ==, !==, <=, >=, >>=, <<= (varies by field type)<br/>- Boolean operators: & (AND), , (OR), push/pop (parentheses), or=1 (explicit OR)<br/>- Sorting: sort parameter with :desc, :nullsLast modifiers<br/>- Grouping: group parameter<br/>- Limits: limit parameter<br/><br/>Examples:<br/>- Object format: `{type: 4, sourceType: 2, title: "24"}``type=4&sourceType=2&title=24`<br/>- String format: `type=4&sourceType=2&title==24` - type = 4 AND sourceType = 2 AND title = "24"<br/>- Complex: `push=1&index=1&or=1&rating=2&pop=1&duration=10` - (index = 1 OR rating = 2) AND duration = 10<br/><br/>See [API Info section](#section/API-Info/Media-Queries) for detailed information on building media queries.<br/> | {<br/>"type": 4,<br/>"sourceType": 2,<br/>"sort": "duration:desc,index"<br/>} |

View File

@@ -3,19 +3,19 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | | | `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 | | `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku | | `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 | | `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku | | `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 | | `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X | | `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `sectionId` | *long* | :heavy_check_mark: | Section identifier | | | `sectionId` | *long* | :heavy_check_mark: | Section identifier | |
| `type` | *Optional\<Long>* | :heavy_minus_sign: | Item type | | | `type` | *Optional\<Long>* | :heavy_minus_sign: | Item type | |
| `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries | | | `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | A querystring-based filtering language used to select subsets of media. Can be provided as an object with typed properties for type safety, or as a string for complex queries with operators and boolean logic.<br/><br/>The query supports:<br/>- Fields: integer, boolean, tag, string, date, language<br/>- Operators: =, !=, ==, !==, <=, >=, >>=, <<= (varies by field type)<br/>- Boolean operators: & (AND), , (OR), push/pop (parentheses), or=1 (explicit OR)<br/>- Sorting: sort parameter with :desc, :nullsLast modifiers<br/>- Grouping: group parameter<br/>- Limits: limit parameter<br/><br/>Examples:<br/>- Object format: `{type: 4, sourceType: 2, title: "24"}``type=4&sourceType=2&title=24`<br/>- String format: `type=4&sourceType=2&title==24` - type = 4 AND sourceType = 2 AND title = "24"<br/>- Complex: `push=1&index=1&or=1&rating=2&pop=1&duration=10` - (index = 1 OR rating = 2) AND duration = 10<br/><br/>See [API Info section](#section/API-Info/Media-Queries) for detailed information on building media queries.<br/> | {<br/>"type": 4,<br/>"sourceType": 2,<br/>"sort": "duration:desc,index"<br/>} |

View File

@@ -3,20 +3,20 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | | | `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 | | `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku | | `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 | | `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku | | `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 | | `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X | | `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `sectionId` | *long* | :heavy_check_mark: | Section identifier | | | `sectionId` | *long* | :heavy_check_mark: | Section identifier | |
| `type` | *Optional\<Long>* | :heavy_minus_sign: | The metadata type to filter on | | | `type` | *Optional\<Long>* | :heavy_minus_sign: | The metadata type to filter on | |
| `sort` | *Optional\<Long>* | :heavy_minus_sign: | The metadata type to filter on | | | `sort` | *Optional\<Long>* | :heavy_minus_sign: | The metadata type to filter on | |
| `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries | | | `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | A querystring-based filtering language used to select subsets of media. Can be provided as an object with typed properties for type safety, or as a string for complex queries with operators and boolean logic.<br/><br/>The query supports:<br/>- Fields: integer, boolean, tag, string, date, language<br/>- Operators: =, !=, ==, !==, <=, >=, >>=, <<= (varies by field type)<br/>- Boolean operators: & (AND), , (OR), push/pop (parentheses), or=1 (explicit OR)<br/>- Sorting: sort parameter with :desc, :nullsLast modifiers<br/>- Grouping: group parameter<br/>- Limits: limit parameter<br/><br/>Examples:<br/>- Object format: `{type: 4, sourceType: 2, title: "24"}``type=4&sourceType=2&title=24`<br/>- String format: `type=4&sourceType=2&title==24` - type = 4 AND sourceType = 2 AND title = "24"<br/>- Complex: `push=1&index=1&or=1&rating=2&pop=1&duration=10` - (index = 1 OR rating = 2) AND duration = 10<br/><br/>See [API Info section](#section/API-Info/Media-Queries) for detailed information on building media queries.<br/> | {<br/>"type": 4,<br/>"sourceType": 2,<br/>"sort": "duration:desc,index"<br/>} |

View File

@@ -3,17 +3,17 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | | | `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 | | `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku | | `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 | | `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku | | `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 | | `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X | | `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries | | | `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | A querystring-based filtering language used to select subsets of media. Can be provided as an object with typed properties for type safety, or as a string for complex queries with operators and boolean logic.<br/><br/>The query supports:<br/>- Fields: integer, boolean, tag, string, date, language<br/>- Operators: =, !=, ==, !==, <=, >=, >>=, <<= (varies by field type)<br/>- Boolean operators: & (AND), , (OR), push/pop (parentheses), or=1 (explicit OR)<br/>- Sorting: sort parameter with :desc, :nullsLast modifiers<br/>- Grouping: group parameter<br/>- Limits: limit parameter<br/><br/>Examples:<br/>- Object format: `{type: 4, sourceType: 2, title: "24"}``type=4&sourceType=2&title=24`<br/>- String format: `type=4&sourceType=2&title==24` - type = 4 AND sourceType = 2 AND title = "24"<br/>- Complex: `push=1&index=1&or=1&rating=2&pop=1&duration=10` - (index = 1 OR rating = 2) AND duration = 10<br/><br/>See [API Info section](#section/API-Info/Media-Queries) for detailed information on building media queries.<br/> | {<br/>"type": 4,<br/>"sourceType": 2,<br/>"sort": "duration:desc,index"<br/>} |

View File

@@ -3,30 +3,30 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | | | `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 | | `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku | | `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 | | `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku | | `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 | | `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X | | `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `type` | *Optional\<Long>* | :heavy_minus_sign: | The metadata type to filter by | | | `type` | [Optional\<MediaType>](../../models/shared/MediaType.md) | :heavy_minus_sign: | The type of media to retrieve or filter by.<br/><br/>1 = movie<br/>2 = show<br/>3 = season<br/>4 = episode<br/>5 = artist<br/>6 = album<br/>7 = track<br/>8 = photo_album<br/>9 = photo<br/><br/>E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries<br/> | 2 |
| `includeFullMetadata` | [Optional\<BoolInt>](../../models/shared/BoolInt.md) | :heavy_minus_sign: | N/A | 1 | | `includeFullMetadata` | [Optional\<BoolInt>](../../models/shared/BoolInt.md) | :heavy_minus_sign: | N/A | 1 |
| `includeAncestorMetadata` | [Optional\<BoolInt>](../../models/shared/BoolInt.md) | :heavy_minus_sign: | N/A | 1 | | `includeAncestorMetadata` | [Optional\<BoolInt>](../../models/shared/BoolInt.md) | :heavy_minus_sign: | N/A | 1 |
| `includeAlternateMetadataSources` | [Optional\<BoolInt>](../../models/shared/BoolInt.md) | :heavy_minus_sign: | N/A | 1 | | `includeAlternateMetadataSources` | [Optional\<BoolInt>](../../models/shared/BoolInt.md) | :heavy_minus_sign: | N/A | 1 |
| `guid` | *Optional\<String>* | :heavy_minus_sign: | Used for movies, shows, artists, albums, and tracks. Allowed for various URI schemes, to be defined. | | | `guid` | *Optional\<String>* | :heavy_minus_sign: | Used for movies, shows, artists, albums, and tracks. Allowed for various URI schemes, to be defined. | |
| `title` | *Optional\<String>* | :heavy_minus_sign: | The title to filter by or assign | | | `title` | *Optional\<String>* | :heavy_minus_sign: | The title to filter by or assign | |
| `year` | *Optional\<Long>* | :heavy_minus_sign: | Used for movies shows, and albums. Optional. | | | `year` | *Optional\<Long>* | :heavy_minus_sign: | Used for movies shows, and albums. Optional. | |
| `path` | *Optional\<String>* | :heavy_minus_sign: | Used for movies, episodes, and tracks. The full path to the media file, used for "cloud-scanning" an item. | | | `path` | *Optional\<String>* | :heavy_minus_sign: | Used for movies, episodes, and tracks. The full path to the media file, used for "cloud-scanning" an item. | |
| `grandparentTitle` | *Optional\<String>* | :heavy_minus_sign: | Used for episodes and tracks. The title of the show/artist. Required if `path` isn't passed. | | | `grandparentTitle` | *Optional\<String>* | :heavy_minus_sign: | Used for episodes and tracks. The title of the show/artist. Required if `path` isn't passed. | |
| `grandparentYear` | *Optional\<Long>* | :heavy_minus_sign: | Used for episodes. The year of the show. | | | `grandparentYear` | *Optional\<Long>* | :heavy_minus_sign: | Used for episodes. The year of the show. | |
| `parentIndex` | *Optional\<Long>* | :heavy_minus_sign: | Used for episodes and tracks. The season/album number. | | | `parentIndex` | *Optional\<Long>* | :heavy_minus_sign: | Used for episodes and tracks. The season/album number. | |
| `index` | *Optional\<Long>* | :heavy_minus_sign: | Used for episodes and tracks. The episode/tracks number in the season/album. | | | `index` | *Optional\<Long>* | :heavy_minus_sign: | Used for episodes and tracks. The episode/tracks number in the season/album. | |
| `originallyAvailableAt` | *Optional\<String>* | :heavy_minus_sign: | Used for episodes. In the format `YYYY-MM-DD`. | | | `originallyAvailableAt` | *Optional\<String>* | :heavy_minus_sign: | Used for episodes. In the format `YYYY-MM-DD`. | |
| `parentTitle` | *Optional\<String>* | :heavy_minus_sign: | Used for albums and tracks. The artist name for albums or the album name for tracks. | | | `parentTitle` | *Optional\<String>* | :heavy_minus_sign: | Used for albums and tracks. The artist name for albums or the album name for tracks. | |

View File

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

View File

@@ -10,75 +10,79 @@ Metadata items can often live in a hierarchy with relationships between them. F
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `title` | *Optional\<Object>* | :heavy_minus_sign: | The title of the item (e.g. “300” or “The Simpsons”) | | `title` | *String* | :heavy_check_mark: | The title of the item (e.g. “300” or “The Simpsons”) | |
| `type` | *Optional\<Object>* | :heavy_minus_sign: | The type of the video item, such as `movie`, `episode`, or `clip`. | | `type` | *String* | :heavy_check_mark: | The type of the video item, such as `movie`, `episode`, or `clip`. | |
| `absoluteIndex` | *Optional\<Long>* | :heavy_minus_sign: | When present, contains the disc number for a track on multi-disc albums. | | `absoluteIndex` | *Optional\<Integer>* | :heavy_minus_sign: | When present, contains the disc number for a track on multi-disc albums. | |
| `addedAt` | *Optional\<Long>* | :heavy_minus_sign: | In units of seconds since the epoch, returns the time at which the item was added to the library. | | `addedAt` | *long* | :heavy_check_mark: | In units of seconds since the epoch, returns the time at which the item was added to the library. | |
| `art` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for the background artwork for the item. | | `art` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for the background artwork for the item. | /library/metadata/58683/art/1703239236 |
| `audienceRating` | *Optional\<Double>* | :heavy_minus_sign: | Some rating systems separate reviewer ratings from audience ratings | | `audienceRating` | *Optional\<Float>* | :heavy_minus_sign: | Some rating systems separate reviewer ratings from audience ratings | |
| `audienceRatingImage` | *Optional\<Object>* | :heavy_minus_sign: | A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled). | | `audienceRatingImage` | *Optional\<String>* | :heavy_minus_sign: | A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled). | |
| `autotag` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `autotag` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `banner` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for a banner graphic for the item. | | `banner` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for a banner graphic for the item. | |
| `chapterSource` | *Optional\<Object>* | :heavy_minus_sign: | When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two). | | `chapterSource` | *Optional\<String>* | :heavy_minus_sign: | When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two). | media |
| `composite` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for a composite image for descendent items (e.g. photo albums or playlists). | | `childCount` | *Optional\<Integer>* | :heavy_minus_sign: | The number of child items associated with this media item. | 1 |
| `contentRating` | *Optional\<Object>* | :heavy_minus_sign: | If known, the content rating (e.g. MPAA) for an item. | | `composite` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for a composite image for descendent items (e.g. photo albums or playlists). | |
| `country` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `contentRating` | *Optional\<String>* | :heavy_minus_sign: | If known, the content rating (e.g. MPAA) for an item. | |
| `director` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `country` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `duration` | *Optional\<Long>* | :heavy_minus_sign: | When present, the duration for the item, in units of milliseconds. | | `director` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `filter` | List\<[Filter](../../models/shared/Filter.md)> | :heavy_minus_sign: | Typically only seen in metadata at a library's top level | | `duration` | *Optional\<Integer>* | :heavy_minus_sign: | When present, the duration for the item, in units of milliseconds. | |
| `genre` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `filter` | List\<[Filter](../../models/shared/Filter.md)> | :heavy_minus_sign: | Typically only seen in metadata at a library's top level | |
| `grandparentArt` | *Optional\<String>* | :heavy_minus_sign: | The `art` of the grandparent | | `genre` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `grandparentHero` | *Optional\<String>* | :heavy_minus_sign: | The `hero` of the grandparent | | `grandparentArt` | *Optional\<String>* | :heavy_minus_sign: | The `art` of the grandparent | |
| `grandparentKey` | *Optional\<String>* | :heavy_minus_sign: | The `key` of the grandparent | | `grandparentGuid` | *Optional\<String>* | :heavy_minus_sign: | The GUID of the grandparent media item. | plex://show/5d9c081b170e24001f2a7be4 |
| `grandparentRatingKey` | *Optional\<String>* | :heavy_minus_sign: | The `ratingKey` of the grandparent | | `grandparentHero` | *Optional\<String>* | :heavy_minus_sign: | The `hero` of the grandparent | |
| `grandparentTheme` | *Optional\<String>* | :heavy_minus_sign: | The `theme` of the grandparent | | `grandparentKey` | *Optional\<String>* | :heavy_minus_sign: | The `key` of the grandparent | |
| `grandparentThumb` | *Optional\<String>* | :heavy_minus_sign: | The `thumb` of the grandparent | | `grandparentRatingKey` | *Optional\<String>* | :heavy_minus_sign: | The `ratingKey` of the grandparent | |
| `grandparentTitle` | *Optional\<String>* | :heavy_minus_sign: | The `title` of the grandparent | | `grandparentTheme` | *Optional\<String>* | :heavy_minus_sign: | The `theme` of the grandparent | |
| `guid` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `grandparentThumb` | *Optional\<String>* | :heavy_minus_sign: | The `thumb` of the grandparent | |
| `hero` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for a hero image for the item. | | `grandparentTitle` | *Optional\<String>* | :heavy_minus_sign: | The `title` of the grandparent | |
| `image` | List\<[Image](../../models/shared/Image.md)> | :heavy_minus_sign: | N/A | | `guid` | *Optional\<String>* | :heavy_minus_sign: | The globally unique identifier for the media item. | plex://movie/5d7768ba96b655001fdc0408 |
| `index` | *Optional\<Long>* | :heavy_minus_sign: | When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks. | | `guids` | List\<[GetPlaylistGeneratorItemsGuids](../../models/operations/GetPlaylistGeneratorItemsGuids.md)> | :heavy_minus_sign: | N/A | |
| `key` | *Optional\<Object>* | :heavy_minus_sign: | The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details. | | `hero` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for a hero image for the item. | |
| `lastViewedAt` | *Optional\<Long>* | :heavy_minus_sign: | When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time. | | `image` | List\<[Image](../../models/shared/Image.md)> | :heavy_minus_sign: | N/A | |
| `leafCount` | *Optional\<Long>* | :heavy_minus_sign: | For shows and seasons, contains the number of total episodes. | | `index` | *Optional\<Integer>* | :heavy_minus_sign: | When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks. | |
| `media` | List\<[Media](../../models/shared/Media.md)> | :heavy_minus_sign: | N/A | | `key` | *String* | :heavy_check_mark: | The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details. | |
| `originallyAvailableAt` | *Optional\<Object>* | :heavy_minus_sign: | When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well. | | `lastViewedAt` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 1556281940 |
| `originalTitle` | *Optional\<Object>* | :heavy_minus_sign: | When present, used to indicate an item's original title, e.g. a movie's foreign title. | | `leafCount` | *Optional\<Integer>* | :heavy_minus_sign: | For shows and seasons, contains the number of total episodes. | |
| `parentHero` | *Optional\<String>* | :heavy_minus_sign: | The `hero` of the parent | | `media` | List\<[Media](../../models/shared/Media.md)> | :heavy_minus_sign: | N/A | |
| `parentIndex` | *Optional\<Long>* | :heavy_minus_sign: | The `index` of the parent | | `originallyAvailableAt` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well. | 2022-12-14 |
| `parentKey` | *Optional\<String>* | :heavy_minus_sign: | The `key` of the parent | | `originalTitle` | *Optional\<String>* | :heavy_minus_sign: | When present, used to indicate an item's original title, e.g. a movie's foreign title. | |
| `parentRatingKey` | *Optional\<String>* | :heavy_minus_sign: | The `ratingKey` of the parent | | `parentGuid` | *Optional\<String>* | :heavy_minus_sign: | The GUID of the parent media item. | plex://show/5d9c081b170e24001f2a7be4 |
| `parentThumb` | *Optional\<String>* | :heavy_minus_sign: | The `thumb` of the parent | | `parentHero` | *Optional\<String>* | :heavy_minus_sign: | The `hero` of the parent | |
| `parentTitle` | *Optional\<String>* | :heavy_minus_sign: | The `title` of the parent | | `parentIndex` | *Optional\<Integer>* | :heavy_minus_sign: | The `index` of the parent | |
| `primaryExtraKey` | *Optional\<Object>* | :heavy_minus_sign: | Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item. | | `parentKey` | *Optional\<String>* | :heavy_minus_sign: | The `key` of the parent | |
| `prompt` | *Optional\<String>* | :heavy_minus_sign: | Prompt to give the user for this directory (such as `Search Movies`) | | `parentRatingKey` | *Optional\<String>* | :heavy_minus_sign: | The `ratingKey` of the parent | |
| `rating` | *Optional\<Double>* | :heavy_minus_sign: | When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from. | | `parentThumb` | *Optional\<String>* | :heavy_minus_sign: | The `thumb` of the parent | |
| `ratingArray` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `parentTitle` | *Optional\<String>* | :heavy_minus_sign: | The `title` of the parent | |
| `ratingCount` | *Optional\<Long>* | :heavy_minus_sign: | Number of ratings under this metadata | | `primaryExtraKey` | *Optional\<String>* | :heavy_minus_sign: | Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item. | |
| `ratingImage` | *Optional\<Object>* | :heavy_minus_sign: | When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten. | | `prompt` | *Optional\<String>* | :heavy_minus_sign: | Prompt to give the user for this directory (such as `Search Movies`) | |
| `ratingKey` | *Optional\<Object>* | :heavy_minus_sign: | This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed. | | `rating` | *Optional\<Float>* | :heavy_minus_sign: | When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from. | |
| `role` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `ratingArray` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `search` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates this is a search directory | | `ratingCount` | *Optional\<Integer>* | :heavy_minus_sign: | Number of ratings under this metadata | |
| `secondary` | *Optional\<Boolean>* | :heavy_minus_sign: | Used by old clients to provide nested menus allowing for primative (but structured) navigation. | | `ratingImage` | *Optional\<String>* | :heavy_minus_sign: | When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten. | |
| `skipChildren` | *Optional\<Boolean>* | :heavy_minus_sign: | When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc. | | `ratingKey` | *Optional\<String>* | :heavy_minus_sign: | This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed. | |
| `skipParent` | *Optional\<Boolean>* | :heavy_minus_sign: | When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show). | | `role` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `sort` | List\<[Sort](../../models/shared/Sort.md)> | :heavy_minus_sign: | Typically only seen in metadata at a library's top level | | `search` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates this is a search directory | |
| `studio` | *Optional\<Object>* | :heavy_minus_sign: | When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums). | | `secondary` | *Optional\<Boolean>* | :heavy_minus_sign: | Used by old clients to provide nested menus allowing for primative (but structured) navigation. | |
| `subtype` | *Optional\<Object>* | :heavy_minus_sign: | The subtype of the video item, such as `photo` when the video item is in a photo library | | `skipChildren` | *Optional\<Boolean>* | :heavy_minus_sign: | When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc. | |
| `summary` | *Optional\<Object>* | :heavy_minus_sign: | When present, the extended textual information about the item (e.g. movie plot, artist biography, album review). | | `skipParent` | *Optional\<Boolean>* | :heavy_minus_sign: | When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show). | |
| `tagline` | *Optional\<Object>* | :heavy_minus_sign: | When present, a pithy one-liner about the item (usually only seen for movies). | | `sort` | List\<[Sort](../../models/shared/Sort.md)> | :heavy_minus_sign: | Typically only seen in metadata at a library's top level | |
| `theme` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for theme music for the item (usually only for TV shows). | | `studio` | *Optional\<String>* | :heavy_minus_sign: | When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums). | |
| `thumb` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail. | | `subtype` | *Optional\<String>* | :heavy_minus_sign: | The subtype of the video item, such as `photo` when the video item is in a photo library | |
| `titleSort` | *Optional\<Object>* | :heavy_minus_sign: | Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”). | | `summary` | *Optional\<String>* | :heavy_minus_sign: | When present, the extended textual information about the item (e.g. movie plot, artist biography, album review). | |
| `updatedAt` | *Optional\<Long>* | :heavy_minus_sign: | In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated). | | `tagline` | *Optional\<String>* | :heavy_minus_sign: | When present, a pithy one-liner about the item (usually only seen for movies). | |
| `userRating` | *Optional\<Double>* | :heavy_minus_sign: | When the user has rated an item, this contains the user rating | | `theme` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for theme music for the item (usually only for TV shows). | /library/metadata/1/theme/1705636920 |
| `viewCount` | *Optional\<Long>* | :heavy_minus_sign: | When a users has completed watched or listened to an item, this attribute contains the number of consumptions. | | `thumb` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail. | /library/metadata/58683/thumb/1703239236 |
| `viewedLeafCount` | *Optional\<Long>* | :heavy_minus_sign: | For shows and seasons, contains the number of viewed episodes. | | `titleSort` | *Optional\<String>* | :heavy_minus_sign: | Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”). | |
| `viewOffset` | *Optional\<Long>* | :heavy_minus_sign: | When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds. | | `updatedAt` | *Optional\<Long>* | :heavy_minus_sign: | In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated). | |
| `writer` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `userRating` | *Optional\<Float>* | :heavy_minus_sign: | When the user has rated an item, this contains the user rating | |
| `year` | *Optional\<Long>* | :heavy_minus_sign: | When present, the year associated with the item's release (e.g. release year for a movie). | | `viewCount` | *Optional\<Integer>* | :heavy_minus_sign: | When a users has completed watched or listened to an item, this attribute contains the number of consumptions. | |
| `processingState` | [Optional\<ProcessingState>](../../models/operations/ProcessingState.md) | :heavy_minus_sign: | The state of processing if this generator is part of an optimizer playlist | | `viewedLeafCount` | *Optional\<Integer>* | :heavy_minus_sign: | For shows and seasons, contains the number of viewed episodes. | |
| `processingStateContext` | [Optional\<ProcessingStateContext>](../../models/operations/ProcessingStateContext.md) | :heavy_minus_sign: | The error which could have occurred (or `good`) | | `viewOffset` | *Optional\<Integer>* | :heavy_minus_sign: | When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds. | |
| `additionalProperties` | Map\<String, *Object*> | :heavy_minus_sign: | N/A | | `writer` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `year` | *Optional\<Integer>* | :heavy_minus_sign: | When present, the year associated with the item's release (e.g. release year for a movie). | |
| `processingState` | [Optional\<ProcessingState>](../../models/operations/ProcessingState.md) | :heavy_minus_sign: | The state of processing if this generator is part of an optimizer playlist | |
| `processingStateContext` | [Optional\<ProcessingStateContext>](../../models/operations/ProcessingStateContext.md) | :heavy_minus_sign: | The error which could have occurred (or `good`) | |
| `additionalProperties` | Map\<String, *Object*> | :heavy_minus_sign: | N/A | |

View File

@@ -3,20 +3,20 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | | | `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 | | `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku | | `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 | | `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku | | `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 | | `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X | | `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `sectionId` | *long* | :heavy_check_mark: | Section identifier | | | `sectionId` | *long* | :heavy_check_mark: | Section identifier | |
| `updatedAt` | *long* | :heavy_check_mark: | The update time of the image. Used for busting cache. | | | `updatedAt` | *long* | :heavy_check_mark: | The update time of the image. Used for busting cache. | |
| `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries | | | `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | A querystring-based filtering language used to select subsets of media. Can be provided as an object with typed properties for type safety, or as a string for complex queries with operators and boolean logic.<br/><br/>The query supports:<br/>- Fields: integer, boolean, tag, string, date, language<br/>- Operators: =, !=, ==, !==, <=, >=, >>=, <<= (varies by field type)<br/>- Boolean operators: & (AND), , (OR), push/pop (parentheses), or=1 (explicit OR)<br/>- Sorting: sort parameter with :desc, :nullsLast modifiers<br/>- Grouping: group parameter<br/>- Limits: limit parameter<br/><br/>Examples:<br/>- Object format: `{type: 4, sourceType: 2, title: "24"}``type=4&sourceType=2&title=24`<br/>- String format: `type=4&sourceType=2&title==24` - type = 4 AND sourceType = 2 AND title = "24"<br/>- Complex: `push=1&index=1&or=1&rating=2&pop=1&duration=10` - (index = 1 OR rating = 2) AND duration = 10<br/><br/>See [API Info section](#section/API-Info/Media-Queries) for detailed information on building media queries.<br/> | {<br/>"type": 4,<br/>"sourceType": 2,<br/>"sort": "duration:desc,index"<br/>} |
| `composite` | [Optional\<Composite>](../../models/shared/Composite.md) | :heavy_minus_sign: | N/A | | | `composite` | [Optional\<Composite>](../../models/shared/Composite.md) | :heavy_minus_sign: | N/A | |

View File

@@ -0,0 +1,12 @@
# GetServerResourcesRequest
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `includeHttps` | [Optional\<IncludeHttps>](../../models/operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
| `includeRelay` | [Optional\<IncludeRelay>](../../models/operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
| `includeIPv6` | [Optional\<IncludeIPv6>](../../models/operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |

View File

@@ -0,0 +1,11 @@
# GetServerResourcesResponse
## 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` | [HttpResponse\<?>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `plexDevices` | List\<[PlexDevice](../../models/shared/PlexDevice.md)> | :heavy_minus_sign: | List of Plex Devices. This includes Plex hosted servers and clients |

View File

@@ -3,17 +3,17 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | | | `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 | | `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku | | `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 | | `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku | | `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 | | `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X | | `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `type` | *Optional\<Long>* | :heavy_minus_sign: | The metadata type to filter by | | | `type` | [Optional\<MediaType>](../../models/shared/MediaType.md) | :heavy_minus_sign: | The type of media to retrieve or filter by.<br/><br/>1 = movie<br/>2 = show<br/>3 = season<br/>4 = episode<br/>5 = artist<br/>6 = album<br/>7 = track<br/>8 = photo_album<br/>9 = photo<br/><br/>E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries<br/> | 2 |

View File

@@ -0,0 +1,13 @@
# GetTasksButlerTask
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
| `description` | *Optional\<String>* | :heavy_minus_sign: | A user-friendly description of the task |
| `enabled` | *Optional\<Boolean>* | :heavy_minus_sign: | Whether this task is enabled or not |
| `interval` | *Optional\<Long>* | :heavy_minus_sign: | The interval (in days) of when this task is run. A value of 1 is run every day, 7 is every week, etc. |
| `name` | *Optional\<String>* | :heavy_minus_sign: | The name of the task |
| `scheduleRandomized` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates whether the timing of the task is randomized within the butler interval |
| `title` | *Optional\<String>* | :heavy_minus_sign: | A user-friendly title of the task |

View File

@@ -0,0 +1,18 @@
# GetTokenDetailsRequest
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |

View File

@@ -0,0 +1,11 @@
# GetTokenDetailsResponse
## 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` | [HttpResponse\<?>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `userPlexAccount` | [Optional\<UserPlexAccount>](../../models/shared/UserPlexAccount.md) | :heavy_minus_sign: | Logged in user details |

View File

@@ -0,0 +1,15 @@
# GetUsersMediaContainer
Container holding user and server details.
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- |
| `friendlyName` | *String* | :heavy_check_mark: | The friendly name of the Plex instance. | myPlex |
| `identifier` | *String* | :heavy_check_mark: | N/A | com.plexapp.plugins.myplex |
| `machineIdentifier` | *String* | :heavy_check_mark: | Unique Machine identifier of the Plex server. | 3dff4c4da3b1229a649aa574a9e2b419a684a20e |
| `totalSize` | *long* | :heavy_check_mark: | Total number of users. | 30 |
| `size` | *long* | :heavy_check_mark: | Number of users in the current response. | 30 |
| `user` | List\<[User](../../models/operations/User.md)> | :heavy_check_mark: | List of users with access to the Plex server. | |

View File

@@ -0,0 +1,18 @@
# GetUsersRequest
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |

View File

@@ -0,0 +1,11 @@
# GetUsersResponse
## 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` | [HttpResponse\<?>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `object` | [Optional\<GetUsersResponseBody>](../../models/operations/GetUsersResponseBody.md) | :heavy_minus_sign: | Successful response with media container data in JSON |

View File

@@ -0,0 +1,10 @@
# GetUsersResponseBody
Successful response with media container data in JSON
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `mediaContainer` | [Optional\<GetUsersMediaContainer>](../../models/operations/GetUsersMediaContainer.md) | :heavy_minus_sign: | Container holding user and server details. |

View File

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

View File

@@ -0,0 +1,11 @@
# Home
Indicates if the user is part of a home group.
## Values
| Name | Value |
| --------- | --------- |
| `Disable` | 0 |
| `Enable` | 1 |

View File

@@ -0,0 +1,11 @@
# IncludeHttps
Include Https entries in the results
## Values
| Name | Value |
| ------- | ------- |
| `False` | 0 |
| `True` | 1 |

View File

@@ -0,0 +1,11 @@
# IncludeIPv6
Include IPv6 entries in the results
## Values
| Name | Value |
| ------- | ------- |
| `False` | 0 |
| `True` | 1 |

View File

@@ -0,0 +1,13 @@
# IncludeRelay
Include Relay addresses in the results
E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
## Values
| Name | Value |
| ------- | ------- |
| `False` | 0 |
| `True` | 1 |

View File

@@ -0,0 +1,7 @@
# InternalPaymentMethod
## Fields
| Field | Type | Required | Description |
| ----------- | ----------- | ----------- | ----------- |

View File

@@ -3,18 +3,22 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | | | `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 | | `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku | | `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 | | `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku | | `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 | | `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X | | `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | This is a complex query built of several parameters. See [API Info section](#section/API-Info/Media-Queries) for information on building media queries | | | `xPlexContainerStart` | *Optional\<Integer>* | :heavy_minus_sign: | The index of the first item to return. If not specified, the first item will be returned.<br/>If the number of items exceeds the limit, the response will be paginated.<br/>By default this is 0<br/> | 0 |
| `sectionId` | *String* | :heavy_check_mark: | The id of the section | | | `xPlexContainerSize` | *Optional\<Integer>* | :heavy_minus_sign: | The number of items to return. If not specified, all items will be returned.<br/>If the number of items exceeds the limit, the response will be paginated.<br/>By default this is 50<br/> | 50 |
| `mediaQuery` | [Optional\<MediaQuery>](../../models/shared/MediaQuery.md) | :heavy_minus_sign: | A querystring-based filtering language used to select subsets of media. Can be provided as an object with typed properties for type safety, or as a string for complex queries with operators and boolean logic.<br/><br/>The query supports:<br/>- Fields: integer, boolean, tag, string, date, language<br/>- Operators: =, !=, ==, !==, <=, >=, >>=, <<= (varies by field type)<br/>- Boolean operators: & (AND), , (OR), push/pop (parentheses), or=1 (explicit OR)<br/>- Sorting: sort parameter with :desc, :nullsLast modifiers<br/>- Grouping: group parameter<br/>- Limits: limit parameter<br/><br/>Examples:<br/>- Object format: `{type: 4, sourceType: 2, title: "24"}``type=4&sourceType=2&title=24`<br/>- String format: `type=4&sourceType=2&title==24` - type = 4 AND sourceType = 2 AND title = "24"<br/>- Complex: `push=1&index=1&or=1&rating=2&pop=1&duration=10` - (index = 1 OR rating = 2) AND duration = 10<br/><br/>See [API Info section](#section/API-Info/Media-Queries) for detailed information on building media queries.<br/> | {<br/>"type": 4,<br/>"sourceType": 2,<br/>"sort": "duration:desc,index"<br/>} |
| `includeMeta` | [Optional\<BoolInt>](../../models/shared/BoolInt.md) | :heavy_minus_sign: | Adds the Meta object to the response<br/> | 1 |
| `includeGuids` | [Optional\<BoolInt>](../../models/shared/BoolInt.md) | :heavy_minus_sign: | Adds the Guid object to the response<br/> | 1 |
| `sectionId` | *String* | :heavy_check_mark: | The id of the section | |

View File

@@ -0,0 +1,12 @@
# MailingListStatus
Your current mailing list status
## Values
| Name | Value |
| -------------- | -------------- |
| `Active` | active |
| `Unsubscribed` | unsubscribed |
| `Removed` | removed |

View File

@@ -10,76 +10,80 @@ Metadata items can often live in a hierarchy with relationships between them. F
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `player` | [Optional\<Player>](../../models/shared/Player.md) | :heavy_minus_sign: | Information about the player being used for playback | | `player` | [Optional\<Player>](../../models/shared/Player.md) | :heavy_minus_sign: | Information about the player being used for playback | |
| `session` | [Optional\<Session>](../../models/shared/Session.md) | :heavy_minus_sign: | Information about the playback session | | `session` | [Optional\<Session>](../../models/shared/Session.md) | :heavy_minus_sign: | Information about the playback session | |
| `user` | [Optional\<User>](../../models/shared/User.md) | :heavy_minus_sign: | The user playing the content | | `user` | [Optional\<User>](../../models/shared/User.md) | :heavy_minus_sign: | The user playing the content | |
| `title` | *Optional\<Object>* | :heavy_minus_sign: | The title of the item (e.g. “300” or “The Simpsons”) | | `title` | *String* | :heavy_check_mark: | The title of the item (e.g. “300” or “The Simpsons”) | |
| `type` | *Optional\<Object>* | :heavy_minus_sign: | The type of the video item, such as `movie`, `episode`, or `clip`. | | `type` | *String* | :heavy_check_mark: | The type of the video item, such as `movie`, `episode`, or `clip`. | |
| `absoluteIndex` | *Optional\<Long>* | :heavy_minus_sign: | When present, contains the disc number for a track on multi-disc albums. | | `absoluteIndex` | *Optional\<Integer>* | :heavy_minus_sign: | When present, contains the disc number for a track on multi-disc albums. | |
| `addedAt` | *Optional\<Long>* | :heavy_minus_sign: | In units of seconds since the epoch, returns the time at which the item was added to the library. | | `addedAt` | *long* | :heavy_check_mark: | In units of seconds since the epoch, returns the time at which the item was added to the library. | |
| `art` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for the background artwork for the item. | | `art` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for the background artwork for the item. | /library/metadata/58683/art/1703239236 |
| `audienceRating` | *Optional\<Double>* | :heavy_minus_sign: | Some rating systems separate reviewer ratings from audience ratings | | `audienceRating` | *Optional\<Float>* | :heavy_minus_sign: | Some rating systems separate reviewer ratings from audience ratings | |
| `audienceRatingImage` | *Optional\<Object>* | :heavy_minus_sign: | A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled). | | `audienceRatingImage` | *Optional\<String>* | :heavy_minus_sign: | A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled). | |
| `autotag` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `autotag` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `banner` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for a banner graphic for the item. | | `banner` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for a banner graphic for the item. | |
| `chapterSource` | *Optional\<Object>* | :heavy_minus_sign: | When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two). | | `chapterSource` | *Optional\<String>* | :heavy_minus_sign: | When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two). | media |
| `composite` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for a composite image for descendent items (e.g. photo albums or playlists). | | `childCount` | *Optional\<Integer>* | :heavy_minus_sign: | The number of child items associated with this media item. | 1 |
| `contentRating` | *Optional\<Object>* | :heavy_minus_sign: | If known, the content rating (e.g. MPAA) for an item. | | `composite` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for a composite image for descendent items (e.g. photo albums or playlists). | |
| `country` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `contentRating` | *Optional\<String>* | :heavy_minus_sign: | If known, the content rating (e.g. MPAA) for an item. | |
| `director` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `country` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `duration` | *Optional\<Long>* | :heavy_minus_sign: | When present, the duration for the item, in units of milliseconds. | | `director` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `filter` | List\<[Filter](../../models/shared/Filter.md)> | :heavy_minus_sign: | Typically only seen in metadata at a library's top level | | `duration` | *Optional\<Integer>* | :heavy_minus_sign: | When present, the duration for the item, in units of milliseconds. | |
| `genre` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `filter` | List\<[Filter](../../models/shared/Filter.md)> | :heavy_minus_sign: | Typically only seen in metadata at a library's top level | |
| `grandparentArt` | *Optional\<String>* | :heavy_minus_sign: | The `art` of the grandparent | | `genre` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `grandparentHero` | *Optional\<String>* | :heavy_minus_sign: | The `hero` of the grandparent | | `grandparentArt` | *Optional\<String>* | :heavy_minus_sign: | The `art` of the grandparent | |
| `grandparentKey` | *Optional\<String>* | :heavy_minus_sign: | The `key` of the grandparent | | `grandparentGuid` | *Optional\<String>* | :heavy_minus_sign: | The GUID of the grandparent media item. | plex://show/5d9c081b170e24001f2a7be4 |
| `grandparentRatingKey` | *Optional\<String>* | :heavy_minus_sign: | The `ratingKey` of the grandparent | | `grandparentHero` | *Optional\<String>* | :heavy_minus_sign: | The `hero` of the grandparent | |
| `grandparentTheme` | *Optional\<String>* | :heavy_minus_sign: | The `theme` of the grandparent | | `grandparentKey` | *Optional\<String>* | :heavy_minus_sign: | The `key` of the grandparent | |
| `grandparentThumb` | *Optional\<String>* | :heavy_minus_sign: | The `thumb` of the grandparent | | `grandparentRatingKey` | *Optional\<String>* | :heavy_minus_sign: | The `ratingKey` of the grandparent | |
| `grandparentTitle` | *Optional\<String>* | :heavy_minus_sign: | The `title` of the grandparent | | `grandparentTheme` | *Optional\<String>* | :heavy_minus_sign: | The `theme` of the grandparent | |
| `guid` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `grandparentThumb` | *Optional\<String>* | :heavy_minus_sign: | The `thumb` of the grandparent | |
| `hero` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for a hero image for the item. | | `grandparentTitle` | *Optional\<String>* | :heavy_minus_sign: | The `title` of the grandparent | |
| `image` | List\<[Image](../../models/shared/Image.md)> | :heavy_minus_sign: | N/A | | `guid` | *Optional\<String>* | :heavy_minus_sign: | The globally unique identifier for the media item. | plex://movie/5d7768ba96b655001fdc0408 |
| `index` | *Optional\<Long>* | :heavy_minus_sign: | When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks. | | `guids` | List\<[Guids](../../models/operations/Guids.md)> | :heavy_minus_sign: | N/A | |
| `key` | *Optional\<Object>* | :heavy_minus_sign: | The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details. | | `hero` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for a hero image for the item. | |
| `lastViewedAt` | *Optional\<Long>* | :heavy_minus_sign: | When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time. | | `image` | List\<[Image](../../models/shared/Image.md)> | :heavy_minus_sign: | N/A | |
| `leafCount` | *Optional\<Long>* | :heavy_minus_sign: | For shows and seasons, contains the number of total episodes. | | `index` | *Optional\<Integer>* | :heavy_minus_sign: | When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks. | |
| `media` | List\<[Media](../../models/shared/Media.md)> | :heavy_minus_sign: | N/A | | `key` | *String* | :heavy_check_mark: | The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details. | |
| `originallyAvailableAt` | *Optional\<Object>* | :heavy_minus_sign: | When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well. | | `lastViewedAt` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 1556281940 |
| `originalTitle` | *Optional\<Object>* | :heavy_minus_sign: | When present, used to indicate an item's original title, e.g. a movie's foreign title. | | `leafCount` | *Optional\<Integer>* | :heavy_minus_sign: | For shows and seasons, contains the number of total episodes. | |
| `parentHero` | *Optional\<String>* | :heavy_minus_sign: | The `hero` of the parent | | `media` | List\<[Media](../../models/shared/Media.md)> | :heavy_minus_sign: | N/A | |
| `parentIndex` | *Optional\<Long>* | :heavy_minus_sign: | The `index` of the parent | | `originallyAvailableAt` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well. | 2022-12-14 |
| `parentKey` | *Optional\<String>* | :heavy_minus_sign: | The `key` of the parent | | `originalTitle` | *Optional\<String>* | :heavy_minus_sign: | When present, used to indicate an item's original title, e.g. a movie's foreign title. | |
| `parentRatingKey` | *Optional\<String>* | :heavy_minus_sign: | The `ratingKey` of the parent | | `parentGuid` | *Optional\<String>* | :heavy_minus_sign: | The GUID of the parent media item. | plex://show/5d9c081b170e24001f2a7be4 |
| `parentThumb` | *Optional\<String>* | :heavy_minus_sign: | The `thumb` of the parent | | `parentHero` | *Optional\<String>* | :heavy_minus_sign: | The `hero` of the parent | |
| `parentTitle` | *Optional\<String>* | :heavy_minus_sign: | The `title` of the parent | | `parentIndex` | *Optional\<Integer>* | :heavy_minus_sign: | The `index` of the parent | |
| `primaryExtraKey` | *Optional\<Object>* | :heavy_minus_sign: | Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item. | | `parentKey` | *Optional\<String>* | :heavy_minus_sign: | The `key` of the parent | |
| `prompt` | *Optional\<String>* | :heavy_minus_sign: | Prompt to give the user for this directory (such as `Search Movies`) | | `parentRatingKey` | *Optional\<String>* | :heavy_minus_sign: | The `ratingKey` of the parent | |
| `rating` | *Optional\<Double>* | :heavy_minus_sign: | When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from. | | `parentThumb` | *Optional\<String>* | :heavy_minus_sign: | The `thumb` of the parent | |
| `ratingArray` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `parentTitle` | *Optional\<String>* | :heavy_minus_sign: | The `title` of the parent | |
| `ratingCount` | *Optional\<Long>* | :heavy_minus_sign: | Number of ratings under this metadata | | `primaryExtraKey` | *Optional\<String>* | :heavy_minus_sign: | Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item. | |
| `ratingImage` | *Optional\<Object>* | :heavy_minus_sign: | When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten. | | `prompt` | *Optional\<String>* | :heavy_minus_sign: | Prompt to give the user for this directory (such as `Search Movies`) | |
| `ratingKey` | *Optional\<Object>* | :heavy_minus_sign: | This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed. | | `rating` | *Optional\<Float>* | :heavy_minus_sign: | When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from. | |
| `role` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `ratingArray` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `search` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates this is a search directory | | `ratingCount` | *Optional\<Integer>* | :heavy_minus_sign: | Number of ratings under this metadata | |
| `secondary` | *Optional\<Boolean>* | :heavy_minus_sign: | Used by old clients to provide nested menus allowing for primative (but structured) navigation. | | `ratingImage` | *Optional\<String>* | :heavy_minus_sign: | When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten. | |
| `skipChildren` | *Optional\<Boolean>* | :heavy_minus_sign: | When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc. | | `ratingKey` | *Optional\<String>* | :heavy_minus_sign: | This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed. | |
| `skipParent` | *Optional\<Boolean>* | :heavy_minus_sign: | When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show). | | `role` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `sort` | List\<[Sort](../../models/shared/Sort.md)> | :heavy_minus_sign: | Typically only seen in metadata at a library's top level | | `search` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates this is a search directory | |
| `studio` | *Optional\<Object>* | :heavy_minus_sign: | When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums). | | `secondary` | *Optional\<Boolean>* | :heavy_minus_sign: | Used by old clients to provide nested menus allowing for primative (but structured) navigation. | |
| `subtype` | *Optional\<Object>* | :heavy_minus_sign: | The subtype of the video item, such as `photo` when the video item is in a photo library | | `skipChildren` | *Optional\<Boolean>* | :heavy_minus_sign: | When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc. | |
| `summary` | *Optional\<Object>* | :heavy_minus_sign: | When present, the extended textual information about the item (e.g. movie plot, artist biography, album review). | | `skipParent` | *Optional\<Boolean>* | :heavy_minus_sign: | When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show). | |
| `tagline` | *Optional\<Object>* | :heavy_minus_sign: | When present, a pithy one-liner about the item (usually only seen for movies). | | `sort` | List\<[Sort](../../models/shared/Sort.md)> | :heavy_minus_sign: | Typically only seen in metadata at a library's top level | |
| `theme` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for theme music for the item (usually only for TV shows). | | `studio` | *Optional\<String>* | :heavy_minus_sign: | When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums). | |
| `thumb` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail. | | `subtype` | *Optional\<String>* | :heavy_minus_sign: | The subtype of the video item, such as `photo` when the video item is in a photo library | |
| `titleSort` | *Optional\<Object>* | :heavy_minus_sign: | Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”). | | `summary` | *Optional\<String>* | :heavy_minus_sign: | When present, the extended textual information about the item (e.g. movie plot, artist biography, album review). | |
| `updatedAt` | *Optional\<Long>* | :heavy_minus_sign: | In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated). | | `tagline` | *Optional\<String>* | :heavy_minus_sign: | When present, a pithy one-liner about the item (usually only seen for movies). | |
| `userRating` | *Optional\<Double>* | :heavy_minus_sign: | When the user has rated an item, this contains the user rating | | `theme` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for theme music for the item (usually only for TV shows). | /library/metadata/1/theme/1705636920 |
| `viewCount` | *Optional\<Long>* | :heavy_minus_sign: | When a users has completed watched or listened to an item, this attribute contains the number of consumptions. | | `thumb` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail. | /library/metadata/58683/thumb/1703239236 |
| `viewedLeafCount` | *Optional\<Long>* | :heavy_minus_sign: | For shows and seasons, contains the number of viewed episodes. | | `titleSort` | *Optional\<String>* | :heavy_minus_sign: | Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”). | |
| `viewOffset` | *Optional\<Long>* | :heavy_minus_sign: | When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds. | | `updatedAt` | *Optional\<Long>* | :heavy_minus_sign: | In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated). | |
| `writer` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `userRating` | *Optional\<Float>* | :heavy_minus_sign: | When the user has rated an item, this contains the user rating | |
| `year` | *Optional\<Long>* | :heavy_minus_sign: | When present, the year associated with the item's release (e.g. release year for a movie). | | `viewCount` | *Optional\<Integer>* | :heavy_minus_sign: | When a users has completed watched or listened to an item, this attribute contains the number of consumptions. | |
| `additionalProperties` | Map\<String, *Object*> | :heavy_minus_sign: | N/A | | `viewedLeafCount` | *Optional\<Integer>* | :heavy_minus_sign: | For shows and seasons, contains the number of viewed episodes. | |
| `viewOffset` | *Optional\<Integer>* | :heavy_minus_sign: | When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds. | |
| `writer` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `year` | *Optional\<Integer>* | :heavy_minus_sign: | When present, the year associated with the item's release (e.g. release year for a movie). | |
| `additionalProperties` | Map\<String, *Object*> | :heavy_minus_sign: | N/A | |

View File

@@ -0,0 +1,11 @@
# Owned
Indicates if the user owns the server.
## Values
| Name | Value |
| --------- | --------- |
| `Disable` | 0 |
| `Enable` | 1 |

View File

@@ -0,0 +1,22 @@
# PastSubscription
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| `id` | *Optional\<String>* | :heavy_check_mark: | N/A | |
| `mode` | *Optional\<String>* | :heavy_check_mark: | N/A | |
| `renewsAt` | *Optional\<Long>* | :heavy_check_mark: | N/A | 1556281940 |
| `endsAt` | *Optional\<Long>* | :heavy_check_mark: | N/A | 1556281940 |
| `canceled` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false |
| `gracePeriod` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false |
| `onHold` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false |
| `canReactivate` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false |
| `canUpgrade` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false |
| `canDowngrade` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false |
| `canConvert` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false |
| `type` | *String* | :heavy_check_mark: | N/A | plexpass |
| `transfer` | *Optional\<String>* | :heavy_check_mark: | N/A | |
| `state` | [PostUsersSignInDataState](../../models/operations/PostUsersSignInDataState.md) | :heavy_check_mark: | N/A | ended |
| `billing` | [Billing](../../models/operations/Billing.md) | :heavy_check_mark: | N/A | |

View File

@@ -1,4 +1,4 @@
# PathParamTask # PathParamButlerTask
The task name The task name

View File

@@ -0,0 +1,11 @@
# Pending
Indicates if the server is pending approval.
## Values
| Name | Value |
| --------- | --------- |
| `Disable` | 0 |
| `Enable` | 1 |

View File

@@ -0,0 +1,11 @@
# PostUsersSignInDataAuthenticationStatus
String representation of subscriptionActive
## Values
| Name | Value |
| ---------- | ---------- |
| `INACTIVE` | Inactive |
| `ACTIVE` | Active |

View File

@@ -0,0 +1,19 @@
# PostUsersSignInDataRequest
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `requestBody` | [Optional\<PostUsersSignInDataRequestBody>](../../models/operations/PostUsersSignInDataRequestBody.md) | :heavy_minus_sign: | Login credentials | |

View File

@@ -0,0 +1,13 @@
# PostUsersSignInDataRequestBody
Login credentials
## Fields
| Field | Type | Required | Description | Example |
| -------------------- | -------------------- | -------------------- | -------------------- | -------------------- |
| `login` | *String* | :heavy_check_mark: | N/A | username@email.com |
| `password` | *String* | :heavy_check_mark: | N/A | password123 |
| `rememberMe` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | |
| `verificationCode` | *Optional\<String>* | :heavy_minus_sign: | N/A | 123456 |

View File

@@ -0,0 +1,11 @@
# PostUsersSignInDataResponse
## 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` | [HttpResponse\<?>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `userPlexAccount` | [Optional\<PostUsersSignInDataUserPlexAccount>](../../models/operations/PostUsersSignInDataUserPlexAccount.md) | :heavy_minus_sign: | Returns the user account data with a valid auth token |

View File

@@ -0,0 +1,8 @@
# PostUsersSignInDataState
## Values
| Name | Value |
| ------- | ------- |
| `ENDED` | ended |

View File

@@ -0,0 +1,11 @@
# PostUsersSignInDataStatus
String representation of subscriptionActive
## Values
| Name | Value |
| ---------- | ---------- |
| `Inactive` | Inactive |
| `Active` | Active |

View File

@@ -0,0 +1,13 @@
# PostUsersSignInDataSubscription
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
| `features` | List\<*String*> | :heavy_minus_sign: | List of features allowed on your Plex Pass subscription | |
| `active` | *Optional\<Boolean>* | :heavy_minus_sign: | If the account's Plex Pass subscription is active | true |
| `subscribedAt` | *JsonNullable\<String>* | :heavy_minus_sign: | Date the account subscribed to Plex Pass | 2021-04-12T18:21:12Z |
| `status` | [Optional\<PostUsersSignInDataAuthenticationStatus>](../../models/operations/PostUsersSignInDataAuthenticationStatus.md) | :heavy_minus_sign: | String representation of subscriptionActive | Inactive |
| `paymentService` | *JsonNullable\<String>* | :heavy_minus_sign: | Payment service used for your Plex Pass subscription | |
| `plan` | *JsonNullable\<String>* | :heavy_minus_sign: | Name of Plex Pass subscription plan | |

View File

@@ -0,0 +1,52 @@
# PostUsersSignInDataUserPlexAccount
Returns the user account data with a valid auth token
## Fields
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `adsConsent` | *JsonNullable\<Boolean>* | :heavy_minus_sign: | Unknown | |
| `adsConsentReminderAt` | *JsonNullable\<Long>* | :heavy_minus_sign: | N/A | 1556281940 |
| `adsConsentSetAt` | *JsonNullable\<Long>* | :heavy_minus_sign: | N/A | 1556281940 |
| `anonymous` | *JsonNullable\<Boolean>* | :heavy_minus_sign: | Unknown | |
| `authToken` | *String* | :heavy_check_mark: | The account token | CxoUzBTSV5hsxjTpFKaf |
| `backupCodesCreated` | *Optional\<Boolean>* | :heavy_minus_sign: | If the two-factor authentication backup codes have been created | |
| `confirmed` | *Optional\<Boolean>* | :heavy_minus_sign: | If the account has been confirmed | |
| `country` | *Optional\<String>* | :heavy_minus_sign: | The account country | US |
| `email` | *String* | :heavy_check_mark: | The account email address | username@email.com |
| `emailOnlyAuth` | *Optional\<Boolean>* | :heavy_minus_sign: | If login with email only is enabled | |
| `experimentalFeatures` | *Optional\<Boolean>* | :heavy_minus_sign: | If experimental features are enabled | |
| `friendlyName` | *String* | :heavy_check_mark: | Your account full name | friendlyUsername |
| `entitlements` | List\<*String*> | :heavy_minus_sign: | List of devices your allowed to use with this account | [] |
| `guest` | *Optional\<Boolean>* | :heavy_minus_sign: | If the account is a Plex Home guest user | |
| `hasPassword` | *Optional\<Boolean>* | :heavy_minus_sign: | If the account has a password | |
| `home` | *Optional\<Boolean>* | :heavy_minus_sign: | If the account is a Plex Home user | |
| `homeAdmin` | *Optional\<Boolean>* | :heavy_minus_sign: | If the account is the Plex Home admin | |
| `homeSize` | *Optional\<Integer>* | :heavy_minus_sign: | The number of accounts in the Plex Home | 1 |
| `id` | *int* | :heavy_check_mark: | The Plex account ID | 13692262 |
| `joinedAt` | *long* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 |
| `locale` | *JsonNullable\<String>* | :heavy_minus_sign: | The account locale | |
| `mailingListActive` | *Optional\<Boolean>* | :heavy_minus_sign: | If you are subscribed to the Plex newsletter | |
| `mailingListStatus` | [Optional\<MailingListStatus>](../../models/operations/MailingListStatus.md) | :heavy_minus_sign: | Your current mailing list status | active |
| `maxHomeSize` | *Optional\<Integer>* | :heavy_minus_sign: | The maximum number of accounts allowed in the Plex Home | 15 |
| ~~`pin`~~ | *Optional\<String>* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>[Might be removed] The hashed Plex Home PIN | |
| `profile` | [Optional\<UserProfile>](../../models/shared/UserProfile.md) | :heavy_minus_sign: | N/A | |
| `protected_` | *Optional\<Boolean>* | :heavy_minus_sign: | If the account has a Plex Home PIN enabled | |
| `rememberExpiresAt` | *Optional\<Long>* | :heavy_minus_sign: | Unix epoch datetime in seconds | 1556281940 |
| `restricted` | *Optional\<Boolean>* | :heavy_minus_sign: | If the account is a Plex Home managed user | |
| `roles` | List\<*String*> | :heavy_minus_sign: | [Might be removed] List of account roles. Plexpass membership listed here | |
| `scrobbleTypes` | *Optional\<String>* | :heavy_minus_sign: | Unknown | |
| `services` | List\<[Services](../../models/operations/Services.md)> | :heavy_minus_sign: | N/A | |
| `subscription` | [Optional\<Subscription>](../../models/operations/Subscription.md) | :heavy_minus_sign: | If the account's Plex Pass subscription is active | |
| `subscriptionDescription` | *JsonNullable\<String>* | :heavy_minus_sign: | Description of the Plex Pass subscription | |
| `subscriptions` | List\<[PostUsersSignInDataSubscription](../../models/operations/PostUsersSignInDataSubscription.md)> | :heavy_minus_sign: | N/A | |
| `thumb` | *Optional\<String>* | :heavy_minus_sign: | URL of the account thumbnail | https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101 |
| `title` | *String* | :heavy_check_mark: | The title of the account (username or friendly name) | UsernameTitle |
| `twoFactorEnabled` | *Optional\<Boolean>* | :heavy_minus_sign: | If two-factor authentication is enabled | |
| `username` | *String* | :heavy_check_mark: | The account username | Username |
| `uuid` | *String* | :heavy_check_mark: | The account UUID | dae343c1f45beb4f |
| `attributionPartner` | *JsonNullable\<String>* | :heavy_minus_sign: | N/A | <nil> |
| `pastSubscriptions` | List\<[PastSubscription](../../models/operations/PastSubscription.md)> | :heavy_check_mark: | N/A | |
| `trials` | List\<[Trials](../../models/operations/Trials.md)> | :heavy_check_mark: | N/A | |

View File

@@ -0,0 +1,11 @@
# Protected
Indicates whether the account is protected.
## Values
| Name | Value |
| --------- | --------- |
| `Disable` | 0 |
| `Enable` | 1 |

View File

@@ -0,0 +1,11 @@
# Restricted
Indicates if the user has restricted access.
## Values
| Name | Value |
| --------- | --------- |
| `Disable` | 0 |
| `Enable` | 1 |

View File

@@ -0,0 +1,16 @@
# Server
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
| `id` | *long* | :heavy_check_mark: | Unique ID of the server of the connected user | 907759180 |
| `serverId` | *long* | :heavy_check_mark: | ID of the actual Plex server. | 9999999 |
| `machineIdentifier` | *String* | :heavy_check_mark: | Machine identifier of the Plex server. | fbb8aa6be6e0c997c6268bc2b4431c8807f70a3 |
| `name` | *String* | :heavy_check_mark: | Name of the Plex server of the connected user. | ConnectedUserFlix |
| `lastSeenAt` | *long* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 |
| `numLibraries` | *long* | :heavy_check_mark: | Number of libraries in the server this user has access to. | 16 |
| `allLibraries` | [Optional\<AllLibraries>](../../models/operations/AllLibraries.md) | :heavy_minus_sign: | N/A | 1 |
| `owned` | [Optional\<Owned>](../../models/operations/Owned.md) | :heavy_minus_sign: | N/A | 1 |
| `pending` | [Optional\<Pending>](../../models/operations/Pending.md) | :heavy_minus_sign: | N/A | 1 |

View File

@@ -0,0 +1,12 @@
# Services
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- |
| `identifier` | *String* | :heavy_check_mark: | N/A | metadata-dev |
| `endpoint` | *String* | :heavy_check_mark: | N/A | https://epg.provider.plex.tv |
| `token` | *Optional\<String>* | :heavy_check_mark: | N/A | DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv |
| `secret` | *Optional\<String>* | :heavy_check_mark: | N/A | |
| `status` | [Status](../../models/operations/Status.md) | :heavy_check_mark: | N/A | online |

View File

@@ -3,17 +3,17 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | | | `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 | | `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku | | `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 | | `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku | | `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 | | `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X | | `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `task` | [PathParamTask](../../models/operations/PathParamTask.md) | :heavy_check_mark: | The task name | | | `butlerTask` | [PathParamButlerTask](../../models/operations/PathParamButlerTask.md) | :heavy_check_mark: | The task name | |

View File

@@ -1,20 +1,9 @@
# Status # Status
The state of this queue
- deciding: At least one item is still being decided
- waiting: At least one item is waiting for transcode and none are currently transcoding
- processing: At least one item is being transcoded
- done: All items are available (or potentially expired)
- error: At least one item has encountered an error
## Values ## Values
| Name | Value | | Name | Value |
| ------------ | ------------ | | --------- | --------- |
| `DECIDING` | deciding | | `Online` | online |
| `WAITING` | waiting | | `Offline` | offline |
| `PROCESSING` | processing |
| `DONE` | done |
| `ERROR` | error |

View File

@@ -16,4 +16,4 @@
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `task` | [Task](../../models/operations/Task.md) | :heavy_check_mark: | The task name | | | `butlerTask` | [ButlerTask](../../models/operations/ButlerTask.md) | :heavy_check_mark: | The task name | |

View File

@@ -0,0 +1,15 @@
# Subscription
If the account's Plex Pass subscription is active
## Fields
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| `features` | List\<*String*> | :heavy_minus_sign: | List of features allowed on your Plex Pass subscription | |
| `active` | *Optional\<Boolean>* | :heavy_minus_sign: | If the account's Plex Pass subscription is active | true |
| `subscribedAt` | *JsonNullable\<String>* | :heavy_minus_sign: | Date the account subscribed to Plex Pass | 2021-04-12T18:21:12Z |
| `status` | [Optional\<PostUsersSignInDataStatus>](../../models/operations/PostUsersSignInDataStatus.md) | :heavy_minus_sign: | String representation of subscriptionActive | Inactive |
| `paymentService` | *JsonNullable\<String>* | :heavy_minus_sign: | Payment service used for your Plex Pass subscription | |
| `plan` | *JsonNullable\<String>* | :heavy_minus_sign: | Name of Plex Pass subscription plan | |

View File

@@ -1,31 +0,0 @@
# Task
The task name
## Values
| Name | Value |
| -------------------------------------- | -------------------------------------- |
| `AUTOMATIC_UPDATES` | AutomaticUpdates |
| `BACKUP_DATABASE` | BackupDatabase |
| `BUTLER_TASK_GENERATE_AD_MARKERS` | ButlerTaskGenerateAdMarkers |
| `BUTLER_TASK_GENERATE_CREDITS_MARKERS` | ButlerTaskGenerateCreditsMarkers |
| `BUTLER_TASK_GENERATE_INTRO_MARKERS` | ButlerTaskGenerateIntroMarkers |
| `BUTLER_TASK_GENERATE_VOICE_ACTIVITY` | ButlerTaskGenerateVoiceActivity |
| `CLEAN_OLD_BUNDLES` | CleanOldBundles |
| `CLEAN_OLD_CACHE_FILES` | CleanOldCacheFiles |
| `DEEP_MEDIA_ANALYSIS` | DeepMediaAnalysis |
| `GARBAGE_COLLECT_BLOBS` | GarbageCollectBlobs |
| `GARBAGE_COLLECT_LIBRARY_MEDIA` | GarbageCollectLibraryMedia |
| `GENERATE_BLUR_HASHES` | GenerateBlurHashes |
| `GENERATE_CHAPTER_THUMBS` | GenerateChapterThumbs |
| `GENERATE_MEDIA_INDEX_FILES` | GenerateMediaIndexFiles |
| `LOUDNESS_ANALYSIS` | LoudnessAnalysis |
| `MUSIC_ANALYSIS` | MusicAnalysis |
| `OPTIMIZE_DATABASE` | OptimizeDatabase |
| `REFRESH_EPG_GUIDES` | RefreshEpgGuides |
| `REFRESH_LIBRARIES` | RefreshLibraries |
| `REFRESH_LOCAL_MEDIA` | RefreshLocalMedia |
| `REFRESH_PERIODIC_METADATA` | RefreshPeriodicMetadata |
| `UPGRADE_MEDIA_ANALYSIS` | UpgradeMediaAnalysis |

View File

@@ -0,0 +1,7 @@
# Trials
## Fields
| Field | Type | Required | Description |
| ----------- | ----------- | ----------- | ----------- |

View File

@@ -0,0 +1,27 @@
# User
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
| `id` | *long* | :heavy_check_mark: | User's unique ID. | 22526914 |
| `title` | *String* | :heavy_check_mark: | User's display name. | Plex User |
| `username` | *String* | :heavy_check_mark: | User's username. | zgfuc7krcqfimrmb9lsl5j |
| `email` | *String* | :heavy_check_mark: | User's email address. | zgfuc7krcqfimrmb9lsl5j@protonmail.com |
| `recommendationsPlaylistId` | *JsonNullable\<String>* | :heavy_minus_sign: | ID of the user's recommendation playlist. | |
| `thumb` | *String* | :heavy_check_mark: | URL to the user's avatar image. | https://plex.tv/users/3346028014e93acd/avatar?c=1731605021 |
| `protected_` | [Optional\<Protected>](../../models/operations/Protected.md) | :heavy_minus_sign: | N/A | 1 |
| `home` | [Optional\<Home>](../../models/operations/Home.md) | :heavy_minus_sign: | N/A | 1 |
| `allowTuners` | [Optional\<AllowTuners>](../../models/operations/AllowTuners.md) | :heavy_minus_sign: | N/A | 1 |
| `allowSync` | [Optional\<AllowSync>](../../models/operations/AllowSync.md) | :heavy_minus_sign: | N/A | 1 |
| `allowCameraUpload` | [Optional\<AllowCameraUpload>](../../models/operations/AllowCameraUpload.md) | :heavy_minus_sign: | N/A | 1 |
| `allowChannels` | [Optional\<AllowChannels>](../../models/operations/AllowChannels.md) | :heavy_minus_sign: | N/A | 1 |
| `allowSubtitleAdmin` | [Optional\<AllowSubtitleAdmin>](../../models/operations/AllowSubtitleAdmin.md) | :heavy_minus_sign: | N/A | 1 |
| `filterAll` | *JsonNullable\<String>* | :heavy_minus_sign: | Filters applied for all content. | |
| `filterMovies` | *JsonNullable\<String>* | :heavy_minus_sign: | Filters applied for movies. | |
| `filterMusic` | *JsonNullable\<String>* | :heavy_minus_sign: | Filters applied for music. | |
| `filterPhotos` | *JsonNullable\<String>* | :heavy_minus_sign: | Filters applied for photos. | |
| `filterTelevision` | *Optional\<String>* | :heavy_minus_sign: | Filters applied for television. | |
| `restricted` | [Optional\<Restricted>](../../models/operations/Restricted.md) | :heavy_minus_sign: | N/A | 1 |
| `server` | List\<[Server](../../models/operations/Server.md)> | :heavy_check_mark: | List of servers owned by the user. | |

View File

@@ -3,19 +3,19 @@
## Fields ## Fields
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | | | `accepts` | [Optional\<Accepts>](../../models/shared/Accepts.md) | :heavy_minus_sign: | Indicates the client accepts the indicated media types | |
| `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 | | `clientIdentifier` | *Optional\<String>* | :heavy_minus_sign: | An opaque identifier unique to the client | abc123 |
| `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku | | `product` | *Optional\<String>* | :heavy_minus_sign: | The name of the client product | Plex for Roku |
| `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 | | `version` | *Optional\<String>* | :heavy_minus_sign: | The version of the client application | 2.4.1 |
| `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku | | `platform` | *Optional\<String>* | :heavy_minus_sign: | The platform of the client | Roku |
| `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 | | `platformVersion` | *Optional\<String>* | :heavy_minus_sign: | The version of the platform | 4.3 build 1057 |
| `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 | | `device` | *Optional\<String>* | :heavy_minus_sign: | A relatively friendly name for the client device | Roku 3 |
| `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X | | `model` | *Optional\<String>* | :heavy_minus_sign: | A potentially less friendly identifier for the device model | 4200X |
| `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku | | `deviceVendor` | *Optional\<String>* | :heavy_minus_sign: | The device vendor | Roku |
| `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV | | `deviceName` | *Optional\<String>* | :heavy_minus_sign: | A friendly name for the client | Living Room TV |
| `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay | | `marketplace` | *Optional\<String>* | :heavy_minus_sign: | The marketplace on which the client application is distributed | googlePlay |
| `query` | *String* | :heavy_check_mark: | The query term | | | `query` | *String* | :heavy_check_mark: | The query term | |
| `type` | *Optional\<Long>* | :heavy_minus_sign: | The metadata type to filter by | | | `type` | [Optional\<MediaType>](../../models/shared/MediaType.md) | :heavy_minus_sign: | The type of media to retrieve or filter by.<br/><br/>1 = movie<br/>2 = show<br/>3 = season<br/>4 = episode<br/>5 = artist<br/>6 = album<br/>7 = track<br/>8 = photo_album<br/>9 = photo<br/><br/>E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries<br/> | 2 |
| `limit` | *Optional\<Long>* | :heavy_minus_sign: | The number of items to return per hub. 3 if not specified | | | `limit` | *Optional\<Long>* | :heavy_minus_sign: | The number of items to return per hub. 3 if not specified | |

View File

@@ -0,0 +1,12 @@
# AutoSelectSubtitle
The auto-select subtitle mode (0 = Manually selected, 1 = Shown with foreign audio, 2 = Always enabled)
## Values
| Name | Value |
| ----------------------- | ----------------------- |
| `ManuallySelected` | 0 |
| `ShownWithForeignAudio` | 1 |
| `AlwaysEnabled` | 2 |

View File

@@ -3,7 +3,7 @@
## Values ## Values
| Name | Value | | Name | Value |
| ------ | ------ | | ------- | ------- |
| `ZERO` | 0 | | `False` | 0 |
| `ONE` | 1 | | `True` | 1 |

View File

@@ -0,0 +1,14 @@
# Connections
## Fields
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
| `protocol` | [PlexDeviceProtocol](../../models/shared/PlexDeviceProtocol.md) | :heavy_check_mark: | The protocol used for the connection (http, https, etc) | http |
| `address` | *String* | :heavy_check_mark: | The (ip) address or domain name used for the connection | |
| `port` | *int* | :heavy_check_mark: | The port used for the connection | |
| `uri` | *String* | :heavy_check_mark: | The full URI of the connection | |
| `local` | *boolean* | :heavy_check_mark: | If the connection is local address | |
| `relay` | *boolean* | :heavy_check_mark: | If the connection is relayed through plex.direct | |
| `iPv6` | *boolean* | :heavy_check_mark: | If the connection is using IPv6 | |

View File

@@ -0,0 +1,13 @@
# DefaultAudioAccessibility
The audio accessibility mode (0 = Prefer non-accessibility audio, 1 = Prefer accessibility audio, 2 = Only show accessibility audio, 3 = Only show non-accessibility audio)
## Values
| Name | Value |
| ------------------------ | ------------------------ |
| `PreferNonAccessibility` | 0 |
| `PreferAccessibility` | 1 |
| `OnlyAccessibility` | 2 |
| `OnlyNonAccessibility` | 3 |

View File

@@ -0,0 +1,13 @@
# DefaultSubtitleAccessibility
The subtitles for the deaf or hard-of-hearing (SDH) searches mode (0 = Prefer non-SDH subtitles, 1 = Prefer SDH subtitles, 2 = Only show SDH subtitles, 3 = Only show non-SDH subtitles)
## Values
| Name | Value |
| -------------- | -------------- |
| `PreferNonSdh` | 0 |
| `PreferSdh` | 1 |
| `OnlySdh` | 2 |
| `OnlyNonSdh` | 3 |

View File

@@ -0,0 +1,13 @@
# DefaultSubtitleForced
The forced subtitles searches mode (0 = Prefer non-forced subtitles, 1 = Prefer forced subtitles, 2 = Only show forced subtitles, 3 = Only show non-forced subtitles)
## Values
| Name | Value |
| ----------------- | ----------------- |
| `PreferNonForced` | 0 |
| `PreferForced` | 1 |
| `OnlyForced` | 2 |
| `OnlyNonForced` | 3 |

View File

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

View File

@@ -10,74 +10,78 @@ Metadata items can often live in a hierarchy with relationships between them. F
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `title` | *Optional\<Object>* | :heavy_minus_sign: | The title of the item (e.g. “300” or “The Simpsons”) | | `title` | *String* | :heavy_check_mark: | The title of the item (e.g. “300” or “The Simpsons”) | |
| `type` | *Optional\<Object>* | :heavy_minus_sign: | The type of the video item, such as `movie`, `episode`, or `clip`. | | `type` | *String* | :heavy_check_mark: | The type of the video item, such as `movie`, `episode`, or `clip`. | |
| `absoluteIndex` | *Optional\<Long>* | :heavy_minus_sign: | When present, contains the disc number for a track on multi-disc albums. | | `absoluteIndex` | *Optional\<Integer>* | :heavy_minus_sign: | When present, contains the disc number for a track on multi-disc albums. | |
| `addedAt` | *Optional\<Long>* | :heavy_minus_sign: | In units of seconds since the epoch, returns the time at which the item was added to the library. | | `addedAt` | *long* | :heavy_check_mark: | In units of seconds since the epoch, returns the time at which the item was added to the library. | |
| `art` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for the background artwork for the item. | | `art` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for the background artwork for the item. | /library/metadata/58683/art/1703239236 |
| `audienceRating` | *Optional\<Double>* | :heavy_minus_sign: | Some rating systems separate reviewer ratings from audience ratings | | `audienceRating` | *Optional\<Float>* | :heavy_minus_sign: | Some rating systems separate reviewer ratings from audience ratings | |
| `audienceRatingImage` | *Optional\<Object>* | :heavy_minus_sign: | A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled). | | `audienceRatingImage` | *Optional\<String>* | :heavy_minus_sign: | A URI representing the image to be shown with the audience rating (e.g. rottentomatoes://image.rating.spilled). | |
| `autotag` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `autotag` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `banner` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for a banner graphic for the item. | | `banner` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for a banner graphic for the item. | |
| `chapterSource` | *Optional\<Object>* | :heavy_minus_sign: | When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two). | | `chapterSource` | *Optional\<String>* | :heavy_minus_sign: | When present, indicates the source for the chapters in the media file. Can be media (the chapters were embedded in the media itself), agent (a metadata agent computed them), or mixed (a combination of the two). | media |
| `composite` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for a composite image for descendent items (e.g. photo albums or playlists). | | `childCount` | *Optional\<Integer>* | :heavy_minus_sign: | The number of child items associated with this media item. | 1 |
| `contentRating` | *Optional\<Object>* | :heavy_minus_sign: | If known, the content rating (e.g. MPAA) for an item. | | `composite` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for a composite image for descendent items (e.g. photo albums or playlists). | |
| `country` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `contentRating` | *Optional\<String>* | :heavy_minus_sign: | If known, the content rating (e.g. MPAA) for an item. | |
| `director` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `country` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `duration` | *Optional\<Long>* | :heavy_minus_sign: | When present, the duration for the item, in units of milliseconds. | | `director` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `filter` | List\<[Filter](../../models/shared/Filter.md)> | :heavy_minus_sign: | Typically only seen in metadata at a library's top level | | `duration` | *Optional\<Integer>* | :heavy_minus_sign: | When present, the duration for the item, in units of milliseconds. | |
| `genre` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `filter` | List\<[Filter](../../models/shared/Filter.md)> | :heavy_minus_sign: | Typically only seen in metadata at a library's top level | |
| `grandparentArt` | *Optional\<String>* | :heavy_minus_sign: | The `art` of the grandparent | | `genre` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `grandparentHero` | *Optional\<String>* | :heavy_minus_sign: | The `hero` of the grandparent | | `grandparentArt` | *Optional\<String>* | :heavy_minus_sign: | The `art` of the grandparent | |
| `grandparentKey` | *Optional\<String>* | :heavy_minus_sign: | The `key` of the grandparent | | `grandparentGuid` | *Optional\<String>* | :heavy_minus_sign: | The GUID of the grandparent media item. | plex://show/5d9c081b170e24001f2a7be4 |
| `grandparentRatingKey` | *Optional\<String>* | :heavy_minus_sign: | The `ratingKey` of the grandparent | | `grandparentHero` | *Optional\<String>* | :heavy_minus_sign: | The `hero` of the grandparent | |
| `grandparentTheme` | *Optional\<String>* | :heavy_minus_sign: | The `theme` of the grandparent | | `grandparentKey` | *Optional\<String>* | :heavy_minus_sign: | The `key` of the grandparent | |
| `grandparentThumb` | *Optional\<String>* | :heavy_minus_sign: | The `thumb` of the grandparent | | `grandparentRatingKey` | *Optional\<String>* | :heavy_minus_sign: | The `ratingKey` of the grandparent | |
| `grandparentTitle` | *Optional\<String>* | :heavy_minus_sign: | The `title` of the grandparent | | `grandparentTheme` | *Optional\<String>* | :heavy_minus_sign: | The `theme` of the grandparent | |
| `guid` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `grandparentThumb` | *Optional\<String>* | :heavy_minus_sign: | The `thumb` of the grandparent | |
| `hero` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for a hero image for the item. | | `grandparentTitle` | *Optional\<String>* | :heavy_minus_sign: | The `title` of the grandparent | |
| `image` | List\<[Image](../../models/shared/Image.md)> | :heavy_minus_sign: | N/A | | `guid` | *Optional\<String>* | :heavy_minus_sign: | The globally unique identifier for the media item. | plex://movie/5d7768ba96b655001fdc0408 |
| `index` | *Optional\<Long>* | :heavy_minus_sign: | When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks. | | `guids` | List\<[ItemsGuids](../../models/shared/ItemsGuids.md)> | :heavy_minus_sign: | N/A | |
| `key` | *Optional\<Object>* | :heavy_minus_sign: | The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details. | | `hero` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for a hero image for the item. | |
| `lastViewedAt` | *Optional\<Long>* | :heavy_minus_sign: | When a user has watched or listened to an item, this contains a timestamp (epoch seconds) for that last consumption time. | | `image` | List\<[Image](../../models/shared/Image.md)> | :heavy_minus_sign: | N/A | |
| `leafCount` | *Optional\<Long>* | :heavy_minus_sign: | For shows and seasons, contains the number of total episodes. | | `index` | *Optional\<Integer>* | :heavy_minus_sign: | When present, this represents the episode number for episodes, season number for seasons, or track number for audio tracks. | |
| `media` | List\<[Media](../../models/shared/Media.md)> | :heavy_minus_sign: | N/A | | `key` | *String* | :heavy_check_mark: | The key at which the item's details can be fetched. In many cases a metadata item may be passed without all the details (such as in a hub) and this key corresponds to the endpoint to fetch additional details. | |
| `originallyAvailableAt` | *Optional\<Object>* | :heavy_minus_sign: | When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well. | | `lastViewedAt` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 1556281940 |
| `originalTitle` | *Optional\<Object>* | :heavy_minus_sign: | When present, used to indicate an item's original title, e.g. a movie's foreign title. | | `leafCount` | *Optional\<Integer>* | :heavy_minus_sign: | For shows and seasons, contains the number of total episodes. | |
| `parentHero` | *Optional\<String>* | :heavy_minus_sign: | The `hero` of the parent | | `media` | List\<[Media](../../models/shared/Media.md)> | :heavy_minus_sign: | N/A | |
| `parentIndex` | *Optional\<Long>* | :heavy_minus_sign: | The `index` of the parent | | `originallyAvailableAt` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_minus_sign: | When present, in the format YYYY-MM-DD [HH:MM:SS] (the hours/minutes/seconds part is not always present). The air date, or a higher resolution release date for an item, depending on type. For example, episodes usually have air date like 1979-08-10 (we don't use epoch seconds because media existed prior to 1970). In some cases, recorded over-the-air content has higher resolution air date which includes a time component. Albums and movies may have day-resolution release dates as well. | 2022-12-14 |
| `parentKey` | *Optional\<String>* | :heavy_minus_sign: | The `key` of the parent | | `originalTitle` | *Optional\<String>* | :heavy_minus_sign: | When present, used to indicate an item's original title, e.g. a movie's foreign title. | |
| `parentRatingKey` | *Optional\<String>* | :heavy_minus_sign: | The `ratingKey` of the parent | | `parentGuid` | *Optional\<String>* | :heavy_minus_sign: | The GUID of the parent media item. | plex://show/5d9c081b170e24001f2a7be4 |
| `parentThumb` | *Optional\<String>* | :heavy_minus_sign: | The `thumb` of the parent | | `parentHero` | *Optional\<String>* | :heavy_minus_sign: | The `hero` of the parent | |
| `parentTitle` | *Optional\<String>* | :heavy_minus_sign: | The `title` of the parent | | `parentIndex` | *Optional\<Integer>* | :heavy_minus_sign: | The `index` of the parent | |
| `primaryExtraKey` | *Optional\<Object>* | :heavy_minus_sign: | Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item. | | `parentKey` | *Optional\<String>* | :heavy_minus_sign: | The `key` of the parent | |
| `prompt` | *Optional\<String>* | :heavy_minus_sign: | Prompt to give the user for this directory (such as `Search Movies`) | | `parentRatingKey` | *Optional\<String>* | :heavy_minus_sign: | The `ratingKey` of the parent | |
| `rating` | *Optional\<Double>* | :heavy_minus_sign: | When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from. | | `parentThumb` | *Optional\<String>* | :heavy_minus_sign: | The `thumb` of the parent | |
| `ratingArray` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `parentTitle` | *Optional\<String>* | :heavy_minus_sign: | The `title` of the parent | |
| `ratingCount` | *Optional\<Long>* | :heavy_minus_sign: | Number of ratings under this metadata | | `primaryExtraKey` | *Optional\<String>* | :heavy_minus_sign: | Indicates that the item has a primary extra; for a movie, this is a trailer, and for a music track it is a music video. The URL points to the metadata details endpoint for the item. | |
| `ratingImage` | *Optional\<Object>* | :heavy_minus_sign: | When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten. | | `prompt` | *Optional\<String>* | :heavy_minus_sign: | Prompt to give the user for this directory (such as `Search Movies`) | |
| `ratingKey` | *Optional\<Object>* | :heavy_minus_sign: | This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed. | | `rating` | *Optional\<Float>* | :heavy_minus_sign: | When present, the rating for the item. The exact meaning and representation depends on where the rating was sourced from. | |
| `role` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `ratingArray` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `search` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates this is a search directory | | `ratingCount` | *Optional\<Integer>* | :heavy_minus_sign: | Number of ratings under this metadata | |
| `secondary` | *Optional\<Boolean>* | :heavy_minus_sign: | Used by old clients to provide nested menus allowing for primative (but structured) navigation. | | `ratingImage` | *Optional\<String>* | :heavy_minus_sign: | When present, indicates an image to be shown with the rating. This is passed back as a small set of defined URI values, e.g. rottentomatoes://image.rating.rotten. | |
| `skipChildren` | *Optional\<Boolean>* | :heavy_minus_sign: | When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc. | | `ratingKey` | *Optional\<String>* | :heavy_minus_sign: | This is the opaque string to be passed into timeline, scrobble, and rating endpoints to identify them. While it often appears to be numeric, this is not guaranteed. | |
| `skipParent` | *Optional\<Boolean>* | :heavy_minus_sign: | When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show). | | `role` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `sort` | List\<[Sort](../../models/shared/Sort.md)> | :heavy_minus_sign: | Typically only seen in metadata at a library's top level | | `search` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates this is a search directory | |
| `studio` | *Optional\<Object>* | :heavy_minus_sign: | When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums). | | `secondary` | *Optional\<Boolean>* | :heavy_minus_sign: | Used by old clients to provide nested menus allowing for primative (but structured) navigation. | |
| `subtype` | *Optional\<Object>* | :heavy_minus_sign: | The subtype of the video item, such as `photo` when the video item is in a photo library | | `skipChildren` | *Optional\<Boolean>* | :heavy_minus_sign: | When found on a show item, indicates that the children (seasons) should be skipped in favor of the grandchildren (episodes). Useful for mini-series, etc. | |
| `summary` | *Optional\<Object>* | :heavy_minus_sign: | When present, the extended textual information about the item (e.g. movie plot, artist biography, album review). | | `skipParent` | *Optional\<Boolean>* | :heavy_minus_sign: | When present on an episode or track item, indicates parent should be skipped in favor of grandparent (show). | |
| `tagline` | *Optional\<Object>* | :heavy_minus_sign: | When present, a pithy one-liner about the item (usually only seen for movies). | | `sort` | List\<[Sort](../../models/shared/Sort.md)> | :heavy_minus_sign: | Typically only seen in metadata at a library's top level | |
| `theme` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for theme music for the item (usually only for TV shows). | | `studio` | *Optional\<String>* | :heavy_minus_sign: | When present, the studio or label which produced an item (e.g. movie studio for movies, record label for albums). | |
| `thumb` | *Optional\<Object>* | :heavy_minus_sign: | When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail. | | `subtype` | *Optional\<String>* | :heavy_minus_sign: | The subtype of the video item, such as `photo` when the video item is in a photo library | |
| `titleSort` | *Optional\<Object>* | :heavy_minus_sign: | Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”). | | `summary` | *Optional\<String>* | :heavy_minus_sign: | When present, the extended textual information about the item (e.g. movie plot, artist biography, album review). | |
| `updatedAt` | *Optional\<Long>* | :heavy_minus_sign: | In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated). | | `tagline` | *Optional\<String>* | :heavy_minus_sign: | When present, a pithy one-liner about the item (usually only seen for movies). | |
| `userRating` | *Optional\<Double>* | :heavy_minus_sign: | When the user has rated an item, this contains the user rating | | `theme` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for theme music for the item (usually only for TV shows). | /library/metadata/1/theme/1705636920 |
| `viewCount` | *Optional\<Long>* | :heavy_minus_sign: | When a users has completed watched or listened to an item, this attribute contains the number of consumptions. | | `thumb` | *Optional\<String>* | :heavy_minus_sign: | When present, the URL for the poster or thumbnail for the item. When available for types like movie, it will be the poster graphic, but fall-back to the extracted media thumbnail. | /library/metadata/58683/thumb/1703239236 |
| `viewedLeafCount` | *Optional\<Long>* | :heavy_minus_sign: | For shows and seasons, contains the number of viewed episodes. | | `titleSort` | *Optional\<String>* | :heavy_minus_sign: | Whene present, this is the string used for sorting the item. It's usually the title with any leading articles removed (e.g. “Simpsons”). | |
| `viewOffset` | *Optional\<Long>* | :heavy_minus_sign: | When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds. | | `updatedAt` | *Optional\<Long>* | :heavy_minus_sign: | In units of seconds since the epoch, returns the time at which the item was last changed (e.g. had its metadata updated). | |
| `writer` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | | `userRating` | *Optional\<Float>* | :heavy_minus_sign: | When the user has rated an item, this contains the user rating | |
| `year` | *Optional\<Long>* | :heavy_minus_sign: | When present, the year associated with the item's release (e.g. release year for a movie). | | `viewCount` | *Optional\<Integer>* | :heavy_minus_sign: | When a users has completed watched or listened to an item, this attribute contains the number of consumptions. | |
| `metadataItem` | List\<[Items](../../models/shared/Items.md)> | :heavy_minus_sign: | N/A | | `viewedLeafCount` | *Optional\<Integer>* | :heavy_minus_sign: | For shows and seasons, contains the number of viewed episodes. | |
| `additionalProperties` | Map\<String, *Object*> | :heavy_minus_sign: | N/A | | `viewOffset` | *Optional\<Integer>* | :heavy_minus_sign: | When a user is in the process of viewing or listening to this item, this attribute contains the current offset, in units of milliseconds. | |
| `writer` | List\<[Tag](../../models/shared/Tag.md)> | :heavy_minus_sign: | N/A | |
| `year` | *Optional\<Integer>* | :heavy_minus_sign: | When present, the year associated with the item's release (e.g. release year for a movie). | |
| `metadataItem` | List\<[Items](../../models/shared/Items.md)> | :heavy_minus_sign: | N/A | |
| `additionalProperties` | Map\<String, *Object*> | :heavy_minus_sign: | N/A | |

View File

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

View File

@@ -3,25 +3,26 @@
## Fields ## Fields
| Field | Type | Required | Description | | Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |
| `title` | *Optional\<String>* | :heavy_minus_sign: | N/A | | `title` | *Optional\<String>* | :heavy_minus_sign: | The title of the library | Movies |
| `type` | *Optional\<String>* | :heavy_minus_sign: | N/A | | `type` | [MediaTypeString](../../models/shared/MediaTypeString.md) | :heavy_check_mark: | The type of media content in the Plex library. This can represent videos, music, or photos.<br/> | movie |
| `agent` | *Optional\<String>* | :heavy_minus_sign: | N/A | | `agent` | *Optional\<String>* | :heavy_minus_sign: | N/A | |
| `allowSync` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | | `allowSync` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | |
| `art` | *Optional\<String>* | :heavy_minus_sign: | N/A | | `art` | *Optional\<String>* | :heavy_minus_sign: | N/A | |
| `composite` | *Optional\<String>* | :heavy_minus_sign: | N/A | | `composite` | *Optional\<String>* | :heavy_minus_sign: | N/A | |
| `content` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | | `content` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | |
| `contentChangedAt` | *Optional\<Long>* | :heavy_minus_sign: | N/A | | `contentChangedAt` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 1556281940 |
| `createdAt` | *Optional\<Long>* | :heavy_minus_sign: | N/A | | `createdAt` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 1556281940 |
| `directory` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | | `directory` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | |
| `filters` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates whether this section has filtering capabilities | | `filters` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates whether this section has filtering capabilities | |
| `hidden` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | | `hidden` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | |
| `key` | *Optional\<String>* | :heavy_minus_sign: | N/A | | `key` | *Optional\<String>* | :heavy_minus_sign: | N/A | |
| `language` | *Optional\<String>* | :heavy_minus_sign: | N/A | | `language` | *String* | :heavy_check_mark: | N/A | |
| `location` | List\<[LibrarySectionLocation](../../models/shared/LibrarySectionLocation.md)> | :heavy_minus_sign: | N/A | | `uuid` | *String* | :heavy_check_mark: | The universally unique identifier for the library. | e69655a2-ef48-4aba-bb19-d3cc3401e7d6 |
| `refreshing` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates whether this library section is currently scanning | | `location` | List\<[LibrarySectionLocation](../../models/shared/LibrarySectionLocation.md)> | :heavy_minus_sign: | N/A | |
| `scannedAt` | *Optional\<Long>* | :heavy_minus_sign: | N/A | | `refreshing` | *Optional\<Boolean>* | :heavy_minus_sign: | Indicates whether this library section is currently scanning | |
| `scanner` | *Optional\<String>* | :heavy_minus_sign: | N/A | | `scannedAt` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 1556281940 |
| `thumb` | *Optional\<String>* | :heavy_minus_sign: | N/A | | `scanner` | *Optional\<String>* | :heavy_minus_sign: | N/A | |
| `updatedAt` | *Optional\<Long>* | :heavy_minus_sign: | N/A | | `thumb` | *Optional\<String>* | :heavy_minus_sign: | N/A | |
| `updatedAt` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 1556281940 |

View File

@@ -0,0 +1,12 @@
# MailingListStatus
Your current mailing list status
## Values
| Name | Value |
| -------------- | -------------- |
| `Active` | active |
| `Unsubscribed` | unsubscribed |
| `Removed` | removed |

View File

@@ -8,22 +8,22 @@
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
| `aspectRatio` | *Optional\<Double>* | :heavy_minus_sign: | N/A | 2.35 | | `aspectRatio` | *Optional\<Float>* | :heavy_minus_sign: | N/A | 2.35 |
| `audioChannels` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 2 | | `audioChannels` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 2 |
| `audioCodec` | *Optional\<Object>* | :heavy_minus_sign: | N/A | aac | | `audioCodec` | *Optional\<String>* | :heavy_minus_sign: | N/A | aac |
| `audioProfile` | *Optional\<Object>* | :heavy_minus_sign: | N/A | lc | | `audioProfile` | *Optional\<String>* | :heavy_minus_sign: | N/A | lc |
| `bitrate` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 5612 | | `bitrate` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 5612 |
| `container` | *Optional\<Object>* | :heavy_minus_sign: | N/A | mov | | `container` | *Optional\<String>* | :heavy_minus_sign: | N/A | mov |
| `duration` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 150192 | | `duration` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 150192 |
| `has64bitOffsets` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false | | `has64bitOffsets` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false |
| `hasVoiceActivity` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | true | | `hasVoiceActivity` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | true |
| `height` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 544 | | `height` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 544 |
| `id` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 1 | | `id` | *long* | :heavy_check_mark: | N/A | 1 |
| `optimizedForStreaming` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false | | `optimizedForStreaming` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false |
| `part` | List\<[Part](../../models/shared/Part.md)> | :heavy_minus_sign: | N/A | | | `part` | List\<[Part](../../models/shared/Part.md)> | :heavy_minus_sign: | N/A | |
| `videoCodec` | *Optional\<Object>* | :heavy_minus_sign: | N/A | h264 | | `videoCodec` | *Optional\<String>* | :heavy_minus_sign: | N/A | h264 |
| `videoFrameRate` | *Optional\<Object>* | :heavy_minus_sign: | N/A | 24p | | `videoFrameRate` | *Optional\<String>* | :heavy_minus_sign: | N/A | 24p |
| `videoProfile` | *Optional\<Object>* | :heavy_minus_sign: | N/A | main | | `videoProfile` | *Optional\<String>* | :heavy_minus_sign: | N/A | main |
| `videoResolution` | *Optional\<Object>* | :heavy_minus_sign: | N/A | 720 | | `videoResolution` | *Optional\<String>* | :heavy_minus_sign: | N/A | 720 |
| `width` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 1280 | | `width` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 1280 |
| `additionalProperties` | Map\<String, *Object*> | :heavy_minus_sign: | N/A | | | `additionalProperties` | Map\<String, *Object*> | :heavy_minus_sign: | N/A | |

View File

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

View File

@@ -8,24 +8,24 @@
| Field | Type | Required | Description | Example | | Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `aspectRatio` | *Optional\<Double>* | :heavy_minus_sign: | N/A | 2.35 | | `aspectRatio` | *Optional\<Float>* | :heavy_minus_sign: | N/A | 2.35 |
| `audioChannels` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 2 | | `audioChannels` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 2 |
| `audioCodec` | *Optional\<Object>* | :heavy_minus_sign: | N/A | aac | | `audioCodec` | *Optional\<String>* | :heavy_minus_sign: | N/A | aac |
| `audioProfile` | *Optional\<Object>* | :heavy_minus_sign: | N/A | lc | | `audioProfile` | *Optional\<String>* | :heavy_minus_sign: | N/A | lc |
| `bitrate` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 5612 | | `bitrate` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 5612 |
| `container` | *Optional\<Object>* | :heavy_minus_sign: | N/A | mov | | `container` | *Optional\<String>* | :heavy_minus_sign: | N/A | mov |
| `duration` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 150192 | | `duration` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 150192 |
| `has64bitOffsets` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false | | `has64bitOffsets` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false |
| `hasVoiceActivity` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | true | | `hasVoiceActivity` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | true |
| `height` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 544 | | `height` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 544 |
| `id` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 1 | | `id` | *long* | :heavy_check_mark: | N/A | 1 |
| `optimizedForStreaming` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false | | `optimizedForStreaming` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | false |
| `part` | List\<[MediaContainerWithDecisionPart](../../models/shared/MediaContainerWithDecisionPart.md)> | :heavy_minus_sign: | N/A | | | `part` | List\<[MediaContainerWithDecisionPart](../../models/shared/MediaContainerWithDecisionPart.md)> | :heavy_minus_sign: | N/A | |
| `videoCodec` | *Optional\<Object>* | :heavy_minus_sign: | N/A | h264 | | `videoCodec` | *Optional\<String>* | :heavy_minus_sign: | N/A | h264 |
| `videoFrameRate` | *Optional\<Object>* | :heavy_minus_sign: | N/A | 24p | | `videoFrameRate` | *Optional\<String>* | :heavy_minus_sign: | N/A | 24p |
| `videoProfile` | *Optional\<Object>* | :heavy_minus_sign: | N/A | main | | `videoProfile` | *Optional\<String>* | :heavy_minus_sign: | N/A | main |
| `videoResolution` | *Optional\<Object>* | :heavy_minus_sign: | N/A | 720 | | `videoResolution` | *Optional\<String>* | :heavy_minus_sign: | N/A | 720 |
| `width` | *Optional\<Long>* | :heavy_minus_sign: | N/A | 1280 | | `width` | *Optional\<Integer>* | :heavy_minus_sign: | N/A | 1280 |
| `abr` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | | | `abr` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | |
| `resourceSession` | *Optional\<String>* | :heavy_minus_sign: | N/A | | | `resourceSession` | *Optional\<String>* | :heavy_minus_sign: | N/A | |
| `selected` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | | | `selected` | *Optional\<Boolean>* | :heavy_minus_sign: | N/A | |

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