mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-06 12:37:47 +00:00
nuking repo
This commit is contained in:
12
.gitattributes
vendored
12
.gitattributes
vendored
@@ -1,12 +0,0 @@
|
|||||||
#
|
|
||||||
# https://help.github.com/articles/dealing-with-line-endings/
|
|
||||||
#
|
|
||||||
# Linux start script should use lf
|
|
||||||
/gradlew text eol=lf
|
|
||||||
|
|
||||||
# These are Windows script files and should use crlf
|
|
||||||
*.bat text eol=crlf
|
|
||||||
|
|
||||||
# This allows generated code to be indexed correctly
|
|
||||||
*.java linguist-generated=false
|
|
||||||
|
|
||||||
9
.gitignore
vendored
9
.gitignore
vendored
@@ -1,9 +0,0 @@
|
|||||||
# Ignore Gradle project-specific cache directory
|
|
||||||
.gradle
|
|
||||||
# Ignore Gradle build output directory
|
|
||||||
build
|
|
||||||
bin/
|
|
||||||
# Ignore IDE-specific configs
|
|
||||||
.project
|
|
||||||
.settings/
|
|
||||||
.DS_Store
|
|
||||||
1072
.speakeasy/gen.lock
1072
.speakeasy/gen.lock
File diff suppressed because it is too large
Load Diff
@@ -1,28 +0,0 @@
|
|||||||
speakeasyVersion: 1.323.0
|
|
||||||
sources:
|
|
||||||
my-source:
|
|
||||||
sourceNamespace: my-source
|
|
||||||
sourceRevisionDigest: sha256:b4ee5010d8a55049aa655b056e12618e038d75f8a8381ec498e97a413cb9f0f9
|
|
||||||
sourceBlobDigest: sha256:cb332c62f2f70662406a011c9561382d0721b12faf89259fcc8bd7c41ddd4faa
|
|
||||||
tags:
|
|
||||||
- latest
|
|
||||||
targets:
|
|
||||||
plexjava:
|
|
||||||
source: my-source
|
|
||||||
sourceNamespace: my-source
|
|
||||||
sourceRevisionDigest: sha256:b4ee5010d8a55049aa655b056e12618e038d75f8a8381ec498e97a413cb9f0f9
|
|
||||||
sourceBlobDigest: sha256:cb332c62f2f70662406a011c9561382d0721b12faf89259fcc8bd7c41ddd4faa
|
|
||||||
outLocation: /home/luke/github/plexjava
|
|
||||||
workflow:
|
|
||||||
workflowVersion: 1.0.0
|
|
||||||
speakeasyVersion: latest
|
|
||||||
sources:
|
|
||||||
my-source:
|
|
||||||
inputs:
|
|
||||||
- location: https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml
|
|
||||||
registry:
|
|
||||||
location: registry.speakeasyapi.dev/lukehagar/lukehagar/my-source
|
|
||||||
targets:
|
|
||||||
plexjava:
|
|
||||||
target: java
|
|
||||||
source: my-source
|
|
||||||
596
README.md
596
README.md
@@ -1,596 +0,0 @@
|
|||||||
# plexapi
|
|
||||||
|
|
||||||
<div align="left">
|
|
||||||
<a href="https://speakeasyapi.dev/"><img src="https://custom-icon-badges.demolab.com/badge/-Built%20By%20Speakeasy-212015?style=for-the-badge&logoColor=FBE331&logo=speakeasy&labelColor=545454" /></a>
|
|
||||||
<a href="https://mit-license.org/">
|
|
||||||
<img src="https://img.shields.io/badge/License-MIT-blue.svg" style="width: 100px; height: 28px;" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Start SDK Installation [installation] -->
|
|
||||||
## SDK Installation
|
|
||||||
|
|
||||||
### Getting started
|
|
||||||
|
|
||||||
JDK 11 or later is required.
|
|
||||||
|
|
||||||
The samples below show how a published SDK artifact is used:
|
|
||||||
|
|
||||||
Gradle:
|
|
||||||
```groovy
|
|
||||||
implementation 'lukehagar.plexapi:plexapi:0.1.1'
|
|
||||||
```
|
|
||||||
|
|
||||||
Maven:
|
|
||||||
```xml
|
|
||||||
<dependency>
|
|
||||||
<groupId>lukehagar.plexapi</groupId>
|
|
||||||
<artifactId>plexapi</artifactId>
|
|
||||||
<version>0.1.1</version>
|
|
||||||
</dependency>
|
|
||||||
```
|
|
||||||
|
|
||||||
### How to build
|
|
||||||
After cloning the git repository to your file system you can build the SDK artifact from source to the `build` directory by running `./gradlew build` on *nix systems or `gradlew.bat` on Windows systems.
|
|
||||||
|
|
||||||
If you wish to build from source and publish the SDK artifact to your local Maven repository (on your filesystem) then use the following command (after cloning the git repo locally):
|
|
||||||
|
|
||||||
On *nix:
|
|
||||||
```bash
|
|
||||||
./gradlew publishToMavenLocal -Pskip.signing
|
|
||||||
```
|
|
||||||
On Windows:
|
|
||||||
```bash
|
|
||||||
gradlew.bat publishToMavenLocal -Pskip.signing
|
|
||||||
```
|
|
||||||
<!-- End SDK Installation [installation] -->
|
|
||||||
|
|
||||||
<!-- Start SDK Example Usage [usage] -->
|
|
||||||
## SDK Example Usage
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```java
|
|
||||||
package hello.world;
|
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigInteger;
|
|
||||||
import java.time.LocalDate;
|
|
||||||
import java.time.OffsetDateTime;
|
|
||||||
import java.util.Optional;
|
|
||||||
import lukehagar.plexapi.plexapi.PlexAPI;
|
|
||||||
import lukehagar.plexapi.plexapi.models.operations.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.Security;
|
|
||||||
import lukehagar.plexapi.plexapi.utils.EventStream;
|
|
||||||
import org.openapitools.jackson.nullable.JsonNullable;
|
|
||||||
import static java.util.Map.entry;
|
|
||||||
|
|
||||||
public class Application {
|
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
|
||||||
try {
|
|
||||||
PlexAPI sdk = PlexAPI.builder()
|
|
||||||
.accessToken("<YOUR_API_KEY_HERE>")
|
|
||||||
.xPlexClientIdentifier("Postman")
|
|
||||||
.build();
|
|
||||||
|
|
||||||
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
|
|
||||||
.call();
|
|
||||||
|
|
||||||
if (res.object().isPresent()) {
|
|
||||||
// handle response
|
|
||||||
}
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.GetServerCapabilitiesResponseBody e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.SDKError e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (Exception e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
<!-- End SDK Example Usage [usage] -->
|
|
||||||
|
|
||||||
<!-- Start Available Resources and Operations [operations] -->
|
|
||||||
## Available Resources and Operations
|
|
||||||
|
|
||||||
### [server()](docs/sdks/server/README.md)
|
|
||||||
|
|
||||||
* [getServerCapabilities](docs/sdks/server/README.md#getservercapabilities) - Get Server Capabilities
|
|
||||||
* [getServerPreferences](docs/sdks/server/README.md#getserverpreferences) - Get Server Preferences
|
|
||||||
* [getAvailableClients](docs/sdks/server/README.md#getavailableclients) - Get Available Clients
|
|
||||||
* [getDevices](docs/sdks/server/README.md#getdevices) - Get Devices
|
|
||||||
* [getServerIdentity](docs/sdks/server/README.md#getserveridentity) - Get Server Identity
|
|
||||||
* [getMyPlexAccount](docs/sdks/server/README.md#getmyplexaccount) - Get MyPlex Account
|
|
||||||
* [getResizedPhoto](docs/sdks/server/README.md#getresizedphoto) - Get a Resized Photo
|
|
||||||
* [getServerList](docs/sdks/server/README.md#getserverlist) - Get Server List
|
|
||||||
|
|
||||||
### [media()](docs/sdks/media/README.md)
|
|
||||||
|
|
||||||
* [markPlayed](docs/sdks/media/README.md#markplayed) - Mark Media Played
|
|
||||||
* [markUnplayed](docs/sdks/media/README.md#markunplayed) - Mark Media Unplayed
|
|
||||||
* [updatePlayProgress](docs/sdks/media/README.md#updateplayprogress) - Update Media Play Progress
|
|
||||||
|
|
||||||
### [video()](docs/sdks/video/README.md)
|
|
||||||
|
|
||||||
* [getTimeline](docs/sdks/video/README.md#gettimeline) - Get the timeline for a media item
|
|
||||||
* [startUniversalTranscode](docs/sdks/video/README.md#startuniversaltranscode) - Start Universal Transcode
|
|
||||||
|
|
||||||
### [activities()](docs/sdks/activities/README.md)
|
|
||||||
|
|
||||||
* [getServerActivities](docs/sdks/activities/README.md#getserveractivities) - Get Server Activities
|
|
||||||
* [cancelServerActivities](docs/sdks/activities/README.md#cancelserveractivities) - Cancel Server Activities
|
|
||||||
|
|
||||||
### [butler()](docs/sdks/butler/README.md)
|
|
||||||
|
|
||||||
* [getButlerTasks](docs/sdks/butler/README.md#getbutlertasks) - Get Butler tasks
|
|
||||||
* [startAllTasks](docs/sdks/butler/README.md#startalltasks) - Start all Butler tasks
|
|
||||||
* [stopAllTasks](docs/sdks/butler/README.md#stopalltasks) - Stop all Butler tasks
|
|
||||||
* [startTask](docs/sdks/butler/README.md#starttask) - Start a single Butler task
|
|
||||||
* [stopTask](docs/sdks/butler/README.md#stoptask) - Stop a single Butler task
|
|
||||||
|
|
||||||
### [plex()](docs/sdks/plex/README.md)
|
|
||||||
|
|
||||||
* [getHomeData](docs/sdks/plex/README.md#gethomedata) - Get Plex Home Data
|
|
||||||
* [getPin](docs/sdks/plex/README.md#getpin) - Get a Pin
|
|
||||||
* [getToken](docs/sdks/plex/README.md#gettoken) - Get Access Token
|
|
||||||
|
|
||||||
### [hubs()](docs/sdks/hubs/README.md)
|
|
||||||
|
|
||||||
* [getGlobalHubs](docs/sdks/hubs/README.md#getglobalhubs) - Get Global Hubs
|
|
||||||
* [getLibraryHubs](docs/sdks/hubs/README.md#getlibraryhubs) - Get library specific hubs
|
|
||||||
|
|
||||||
### [search()](docs/sdks/search/README.md)
|
|
||||||
|
|
||||||
* [performSearch](docs/sdks/search/README.md#performsearch) - Perform a search
|
|
||||||
* [performVoiceSearch](docs/sdks/search/README.md#performvoicesearch) - Perform a voice search
|
|
||||||
* [getSearchResults](docs/sdks/search/README.md#getsearchresults) - Get Search Results
|
|
||||||
|
|
||||||
### [library()](docs/sdks/library/README.md)
|
|
||||||
|
|
||||||
* [getFileHash](docs/sdks/library/README.md#getfilehash) - Get Hash Value
|
|
||||||
* [getRecentlyAdded](docs/sdks/library/README.md#getrecentlyadded) - Get Recently Added
|
|
||||||
* [getLibraries](docs/sdks/library/README.md#getlibraries) - Get All Libraries
|
|
||||||
* [getLibrary](docs/sdks/library/README.md#getlibrary) - Get Library Details
|
|
||||||
* [deleteLibrary](docs/sdks/library/README.md#deletelibrary) - Delete Library Section
|
|
||||||
* [getLibraryItems](docs/sdks/library/README.md#getlibraryitems) - Get Library Items
|
|
||||||
* [refreshLibrary](docs/sdks/library/README.md#refreshlibrary) - Refresh Library
|
|
||||||
* [searchLibrary](docs/sdks/library/README.md#searchlibrary) - Search Library
|
|
||||||
* [getMetadata](docs/sdks/library/README.md#getmetadata) - Get Items Metadata
|
|
||||||
* [getMetadataChildren](docs/sdks/library/README.md#getmetadatachildren) - Get Items Children
|
|
||||||
* [getTopWatchedContent](docs/sdks/library/README.md#gettopwatchedcontent) - Get Top Watched Content
|
|
||||||
* [getOnDeck](docs/sdks/library/README.md#getondeck) - Get On Deck
|
|
||||||
|
|
||||||
### [log()](docs/sdks/log/README.md)
|
|
||||||
|
|
||||||
* [logLine](docs/sdks/log/README.md#logline) - Logging a single line message.
|
|
||||||
* [logMultiLine](docs/sdks/log/README.md#logmultiline) - Logging a multi-line message
|
|
||||||
* [enablePaperTrail](docs/sdks/log/README.md#enablepapertrail) - Enabling Papertrail
|
|
||||||
|
|
||||||
### [playlists()](docs/sdks/playlists/README.md)
|
|
||||||
|
|
||||||
* [createPlaylist](docs/sdks/playlists/README.md#createplaylist) - Create a Playlist
|
|
||||||
* [getPlaylists](docs/sdks/playlists/README.md#getplaylists) - Get All Playlists
|
|
||||||
* [getPlaylist](docs/sdks/playlists/README.md#getplaylist) - Retrieve Playlist
|
|
||||||
* [deletePlaylist](docs/sdks/playlists/README.md#deleteplaylist) - Deletes a Playlist
|
|
||||||
* [updatePlaylist](docs/sdks/playlists/README.md#updateplaylist) - Update a Playlist
|
|
||||||
* [getPlaylistContents](docs/sdks/playlists/README.md#getplaylistcontents) - Retrieve Playlist Contents
|
|
||||||
* [clearPlaylistContents](docs/sdks/playlists/README.md#clearplaylistcontents) - Delete Playlist Contents
|
|
||||||
* [addPlaylistContents](docs/sdks/playlists/README.md#addplaylistcontents) - Adding to a Playlist
|
|
||||||
* [uploadPlaylist](docs/sdks/playlists/README.md#uploadplaylist) - Upload Playlist
|
|
||||||
|
|
||||||
### [authentication()](docs/sdks/authentication/README.md)
|
|
||||||
|
|
||||||
* [getTransientToken](docs/sdks/authentication/README.md#gettransienttoken) - Get a Transient Token.
|
|
||||||
* [getSourceConnectionInformation](docs/sdks/authentication/README.md#getsourceconnectioninformation) - Get Source Connection Information
|
|
||||||
|
|
||||||
### [statistics()](docs/sdks/statistics/README.md)
|
|
||||||
|
|
||||||
* [getStatistics](docs/sdks/statistics/README.md#getstatistics) - Get Media Statistics
|
|
||||||
* [getResourcesStatistics](docs/sdks/statistics/README.md#getresourcesstatistics) - Get Resources Statistics
|
|
||||||
* [getBandwidthStatistics](docs/sdks/statistics/README.md#getbandwidthstatistics) - Get Bandwidth Statistics
|
|
||||||
|
|
||||||
### [sessions()](docs/sdks/sessions/README.md)
|
|
||||||
|
|
||||||
* [getSessions](docs/sdks/sessions/README.md#getsessions) - Get Active Sessions
|
|
||||||
* [getSessionHistory](docs/sdks/sessions/README.md#getsessionhistory) - Get Session History
|
|
||||||
* [getTranscodeSessions](docs/sdks/sessions/README.md#gettranscodesessions) - Get Transcode Sessions
|
|
||||||
* [stopTranscodeSession](docs/sdks/sessions/README.md#stoptranscodesession) - Stop a Transcode Session
|
|
||||||
|
|
||||||
### [updater()](docs/sdks/updater/README.md)
|
|
||||||
|
|
||||||
* [getUpdateStatus](docs/sdks/updater/README.md#getupdatestatus) - Querying status of updates
|
|
||||||
* [checkForUpdates](docs/sdks/updater/README.md#checkforupdates) - Checking for updates
|
|
||||||
* [applyUpdates](docs/sdks/updater/README.md#applyupdates) - Apply Updates
|
|
||||||
|
|
||||||
### [watchlist()](docs/sdks/watchlist/README.md)
|
|
||||||
|
|
||||||
* [getWatchlist](docs/sdks/watchlist/README.md#getwatchlist) - Get User Watchlist
|
|
||||||
<!-- End Available Resources and Operations [operations] -->
|
|
||||||
|
|
||||||
<!-- Start Global Parameters [global-parameters] -->
|
|
||||||
## Global Parameters
|
|
||||||
|
|
||||||
A parameter is configured globally. This parameter may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.
|
|
||||||
|
|
||||||
For example, you can set `X-Plex-Client-Identifier` to `"Postman"` at SDK initialization and then you do not have to pass the same value on calls to operations like `getPin`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
|
|
||||||
|
|
||||||
|
|
||||||
### Available Globals
|
|
||||||
|
|
||||||
The following global parameter is available.
|
|
||||||
|
|
||||||
| Name | Type | Required | Description |
|
|
||||||
| ---- | ---- |:--------:| ----------- |
|
|
||||||
| xPlexClientIdentifier | String | | The unique identifier for the client application
|
|
||||||
This is used to track the client application and its usage
|
|
||||||
(UUID, serial number, or other number unique per device)
|
|
||||||
|
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```java
|
|
||||||
package hello.world;
|
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigInteger;
|
|
||||||
import java.time.LocalDate;
|
|
||||||
import java.time.OffsetDateTime;
|
|
||||||
import java.util.Optional;
|
|
||||||
import lukehagar.plexapi.plexapi.PlexAPI;
|
|
||||||
import lukehagar.plexapi.plexapi.models.operations.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.*;
|
|
||||||
import lukehagar.plexapi.plexapi.utils.EventStream;
|
|
||||||
import org.openapitools.jackson.nullable.JsonNullable;
|
|
||||||
import static java.util.Map.entry;
|
|
||||||
|
|
||||||
public class Application {
|
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
|
||||||
try {
|
|
||||||
PlexAPI sdk = PlexAPI.builder()
|
|
||||||
.xPlexClientIdentifier("Postman")
|
|
||||||
.build();
|
|
||||||
|
|
||||||
GetPinResponse res = sdk.plex().getPin()
|
|
||||||
.strong(false)
|
|
||||||
.xPlexClientIdentifier("Postman")
|
|
||||||
.xPlexProduct("Postman")
|
|
||||||
.call();
|
|
||||||
|
|
||||||
if (res.object().isPresent()) {
|
|
||||||
// handle response
|
|
||||||
}
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.GetPinResponseBody e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.SDKError e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (Exception e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
<!-- End Global Parameters [global-parameters] -->
|
|
||||||
|
|
||||||
<!-- Start Error Handling [errors] -->
|
|
||||||
## Error Handling
|
|
||||||
|
|
||||||
Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will throw the appropriate Exception type.
|
|
||||||
|
|
||||||
| Error Object | Status Code | Content Type |
|
|
||||||
| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
|
|
||||||
| models/errors/GetServerCapabilitiesResponseBody | 401 | application/json |
|
|
||||||
| models/errors/SDKError | 4xx-5xx | \*\/* |
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```java
|
|
||||||
package hello.world;
|
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigInteger;
|
|
||||||
import java.time.LocalDate;
|
|
||||||
import java.time.OffsetDateTime;
|
|
||||||
import java.util.Optional;
|
|
||||||
import lukehagar.plexapi.plexapi.PlexAPI;
|
|
||||||
import lukehagar.plexapi.plexapi.models.operations.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.Security;
|
|
||||||
import lukehagar.plexapi.plexapi.utils.EventStream;
|
|
||||||
import org.openapitools.jackson.nullable.JsonNullable;
|
|
||||||
import static java.util.Map.entry;
|
|
||||||
|
|
||||||
public class Application {
|
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
|
||||||
try {
|
|
||||||
PlexAPI sdk = PlexAPI.builder()
|
|
||||||
.accessToken("<YOUR_API_KEY_HERE>")
|
|
||||||
.xPlexClientIdentifier("Postman")
|
|
||||||
.build();
|
|
||||||
|
|
||||||
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
|
|
||||||
.call();
|
|
||||||
|
|
||||||
if (res.object().isPresent()) {
|
|
||||||
// handle response
|
|
||||||
}
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.GetServerCapabilitiesResponseBody e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.SDKError e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (Exception e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
<!-- End Error Handling [errors] -->
|
|
||||||
|
|
||||||
<!-- Start Server Selection [server] -->
|
|
||||||
## Server Selection
|
|
||||||
|
|
||||||
### Select Server by Index
|
|
||||||
|
|
||||||
You can override the default server globally by passing a server index to the `serverIndex` builder method when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:
|
|
||||||
|
|
||||||
| # | Server | Variables |
|
|
||||||
| - | ------ | --------- |
|
|
||||||
| 0 | `{protocol}://{ip}:{port}` | `protocol` (default is `http`), `ip` (default is `10.10.10.47`), `port` (default is `32400`) |
|
|
||||||
|
|
||||||
#### Example
|
|
||||||
|
|
||||||
```java
|
|
||||||
package hello.world;
|
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigInteger;
|
|
||||||
import java.time.LocalDate;
|
|
||||||
import java.time.OffsetDateTime;
|
|
||||||
import java.util.Optional;
|
|
||||||
import lukehagar.plexapi.plexapi.PlexAPI;
|
|
||||||
import lukehagar.plexapi.plexapi.models.operations.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.Security;
|
|
||||||
import lukehagar.plexapi.plexapi.utils.EventStream;
|
|
||||||
import org.openapitools.jackson.nullable.JsonNullable;
|
|
||||||
import static java.util.Map.entry;
|
|
||||||
|
|
||||||
public class Application {
|
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
|
||||||
try {
|
|
||||||
PlexAPI sdk = PlexAPI.builder()
|
|
||||||
.serverIndex(0)
|
|
||||||
.accessToken("<YOUR_API_KEY_HERE>")
|
|
||||||
.xPlexClientIdentifier("Postman")
|
|
||||||
.build();
|
|
||||||
|
|
||||||
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
|
|
||||||
.call();
|
|
||||||
|
|
||||||
if (res.object().isPresent()) {
|
|
||||||
// handle response
|
|
||||||
}
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.GetServerCapabilitiesResponseBody e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.SDKError e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (Exception e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Variables
|
|
||||||
|
|
||||||
Some of the server options above contain variables. If you want to set the values of those variables, the following optional parameters are available when initializing the SDK client instance:
|
|
||||||
* `ServerProtocol protocol`
|
|
||||||
* `String ip`
|
|
||||||
* `String port`
|
|
||||||
|
|
||||||
### Override Server URL Per-Client
|
|
||||||
|
|
||||||
The default server can also be overridden globally by passing a URL to the `serverURL` builder method when initializing the SDK client instance. For example:
|
|
||||||
```java
|
|
||||||
package hello.world;
|
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigInteger;
|
|
||||||
import java.time.LocalDate;
|
|
||||||
import java.time.OffsetDateTime;
|
|
||||||
import java.util.Optional;
|
|
||||||
import lukehagar.plexapi.plexapi.PlexAPI;
|
|
||||||
import lukehagar.plexapi.plexapi.models.operations.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.Security;
|
|
||||||
import lukehagar.plexapi.plexapi.utils.EventStream;
|
|
||||||
import org.openapitools.jackson.nullable.JsonNullable;
|
|
||||||
import static java.util.Map.entry;
|
|
||||||
|
|
||||||
public class Application {
|
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
|
||||||
try {
|
|
||||||
PlexAPI sdk = PlexAPI.builder()
|
|
||||||
.serverURL("{protocol}://{ip}:{port}")
|
|
||||||
.accessToken("<YOUR_API_KEY_HERE>")
|
|
||||||
.xPlexClientIdentifier("Postman")
|
|
||||||
.build();
|
|
||||||
|
|
||||||
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
|
|
||||||
.call();
|
|
||||||
|
|
||||||
if (res.object().isPresent()) {
|
|
||||||
// handle response
|
|
||||||
}
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.GetServerCapabilitiesResponseBody e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.SDKError e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (Exception e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### 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 java.math.BigDecimal;
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigInteger;
|
|
||||||
import java.time.LocalDate;
|
|
||||||
import java.time.OffsetDateTime;
|
|
||||||
import java.util.Optional;
|
|
||||||
import lukehagar.plexapi.plexapi.PlexAPI;
|
|
||||||
import lukehagar.plexapi.plexapi.models.operations.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.*;
|
|
||||||
import lukehagar.plexapi.plexapi.utils.EventStream;
|
|
||||||
import org.openapitools.jackson.nullable.JsonNullable;
|
|
||||||
import static java.util.Map.entry;
|
|
||||||
|
|
||||||
public class Application {
|
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
|
||||||
try {
|
|
||||||
PlexAPI sdk = PlexAPI.builder()
|
|
||||||
.xPlexClientIdentifier("Postman")
|
|
||||||
.build();
|
|
||||||
|
|
||||||
GetPinResponse res = sdk.plex().getPin()
|
|
||||||
.serverURL("https://plex.tv/api/v2")
|
|
||||||
.strong(false)
|
|
||||||
.xPlexClientIdentifier("Postman")
|
|
||||||
.xPlexProduct("Postman")
|
|
||||||
.call();
|
|
||||||
|
|
||||||
if (res.object().isPresent()) {
|
|
||||||
// handle response
|
|
||||||
}
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.GetPinResponseBody e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.SDKError e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (Exception e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
<!-- End Server Selection [server] -->
|
|
||||||
|
|
||||||
<!-- Start Authentication [security] -->
|
|
||||||
## Authentication
|
|
||||||
|
|
||||||
### Per-Client Security Schemes
|
|
||||||
|
|
||||||
This SDK supports the following security scheme globally:
|
|
||||||
|
|
||||||
| Name | Type | Scheme |
|
|
||||||
| ------------- | ------------- | ------------- |
|
|
||||||
| `accessToken` | apiKey | API key |
|
|
||||||
|
|
||||||
To authenticate with the API the `accessToken` parameter must be set when initializing the SDK client instance. For example:
|
|
||||||
```java
|
|
||||||
package hello.world;
|
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigInteger;
|
|
||||||
import java.time.LocalDate;
|
|
||||||
import java.time.OffsetDateTime;
|
|
||||||
import java.util.Optional;
|
|
||||||
import lukehagar.plexapi.plexapi.PlexAPI;
|
|
||||||
import lukehagar.plexapi.plexapi.models.operations.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.Security;
|
|
||||||
import lukehagar.plexapi.plexapi.utils.EventStream;
|
|
||||||
import org.openapitools.jackson.nullable.JsonNullable;
|
|
||||||
import static java.util.Map.entry;
|
|
||||||
|
|
||||||
public class Application {
|
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
|
||||||
try {
|
|
||||||
PlexAPI sdk = PlexAPI.builder()
|
|
||||||
.accessToken("<YOUR_API_KEY_HERE>")
|
|
||||||
.xPlexClientIdentifier("Postman")
|
|
||||||
.build();
|
|
||||||
|
|
||||||
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
|
|
||||||
.call();
|
|
||||||
|
|
||||||
if (res.object().isPresent()) {
|
|
||||||
// handle response
|
|
||||||
}
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.GetServerCapabilitiesResponseBody e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.SDKError e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (Exception e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
<!-- End Authentication [security] -->
|
|
||||||
|
|
||||||
<!-- Placeholder for Future Speakeasy SDK Sections -->
|
|
||||||
|
|
||||||
# Development
|
|
||||||
|
|
||||||
## Maturity
|
|
||||||
|
|
||||||
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage
|
|
||||||
to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally
|
|
||||||
looking for the latest version.
|
|
||||||
|
|
||||||
## Contributions
|
|
||||||
|
|
||||||
While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation.
|
|
||||||
We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
|
|
||||||
|
|
||||||
### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)
|
|
||||||
48
USAGE.md
48
USAGE.md
@@ -1,48 +0,0 @@
|
|||||||
<!-- Start SDK Example Usage [usage] -->
|
|
||||||
```java
|
|
||||||
package hello.world;
|
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.math.BigInteger;
|
|
||||||
import java.time.LocalDate;
|
|
||||||
import java.time.OffsetDateTime;
|
|
||||||
import java.util.Optional;
|
|
||||||
import lukehagar.plexapi.plexapi.PlexAPI;
|
|
||||||
import lukehagar.plexapi.plexapi.models.operations.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.*;
|
|
||||||
import lukehagar.plexapi.plexapi.models.shared.Security;
|
|
||||||
import lukehagar.plexapi.plexapi.utils.EventStream;
|
|
||||||
import org.openapitools.jackson.nullable.JsonNullable;
|
|
||||||
import static java.util.Map.entry;
|
|
||||||
|
|
||||||
public class Application {
|
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
|
||||||
try {
|
|
||||||
PlexAPI sdk = PlexAPI.builder()
|
|
||||||
.accessToken("<YOUR_API_KEY_HERE>")
|
|
||||||
.xPlexClientIdentifier("Postman")
|
|
||||||
.build();
|
|
||||||
|
|
||||||
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
|
|
||||||
.call();
|
|
||||||
|
|
||||||
if (res.object().isPresent()) {
|
|
||||||
// handle response
|
|
||||||
}
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.GetServerCapabilitiesResponseBody e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (lukehagar.plexapi.plexapi.models.errors.SDKError e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
} catch (Exception e) {
|
|
||||||
// handle exception
|
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
<!-- End SDK Example Usage [usage] -->
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
// This file
|
|
||||||
// * is referred to in an `apply from` command in `build.gradle`
|
|
||||||
// * can be used to customise `build.gradle`
|
|
||||||
// * is generated once and not overwritten in SDK generation updates
|
|
||||||
49
build.gradle
49
build.gradle
@@ -1,49 +0,0 @@
|
|||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// This file is generated by Speakeasy and any edits will be lost in generation updates.
|
|
||||||
//
|
|
||||||
// If you wish to customize this file then place those customizations in `build-extras.gradle` which
|
|
||||||
// is not touched by generation updates.
|
|
||||||
//
|
|
||||||
// Additions to the plugins block can be made by setting the `additionalPlugins` property (an array
|
|
||||||
// of string where each string value is an additional line in the block) in gen.yaml.
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////
|
|
||||||
plugins {
|
|
||||||
// Apply the java-library plugin for API and implementation separation.
|
|
||||||
id 'java-library'
|
|
||||||
}
|
|
||||||
|
|
||||||
compileJava.options.encoding = "UTF-8"
|
|
||||||
compileJava.options.compilerArgs += '-Xlint:unchecked'
|
|
||||||
compileTestJava.options.encoding = "UTF-8"
|
|
||||||
|
|
||||||
repositories {
|
|
||||||
// Use Maven Central for resolving dependencies.
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
java {
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
withSourcesJar()
|
|
||||||
withJavadocJar()
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks.withType(Javadoc) {
|
|
||||||
failOnError false
|
|
||||||
options.addStringOption('Xdoclint:none', '-quiet')
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0'
|
|
||||||
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0'
|
|
||||||
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.0'
|
|
||||||
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
|
|
||||||
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
|
|
||||||
implementation 'org.apache.httpcomponents:httpmime:4.5.14'
|
|
||||||
implementation 'commons-io:commons-io:2.15.1'
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
apply from: 'build-extras.gradle'
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# AddPlaylistContentsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# AddPlaylistContentsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.AddPlaylistContentsErrors](../../models/errors/AddPlaylistContentsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# ApplyUpdatesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# ApplyUpdatesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.ApplyUpdatesErrors](../../models/errors/ApplyUpdatesErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# CancelServerActivitiesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# CancelServerActivitiesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.CancelServerActivitiesErrors](../../models/errors/CancelServerActivitiesErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# CheckForUpdatesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# CheckForUpdatesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.CheckForUpdatesErrors](../../models/errors/CheckForUpdatesErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# ClearPlaylistContentsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# ClearPlaylistContentsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.ClearPlaylistContentsErrors](../../models/errors/ClearPlaylistContentsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# CreatePlaylistErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# CreatePlaylistResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.CreatePlaylistErrors](../../models/errors/CreatePlaylistErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# DeleteLibraryErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# DeleteLibraryResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.DeleteLibraryErrors](../../models/errors/DeleteLibraryErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# DeletePlaylistErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# DeletePlaylistResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.DeletePlaylistErrors](../../models/errors/DeletePlaylistErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# EnablePaperTrailErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# EnablePaperTrailResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.EnablePaperTrailErrors](../../models/errors/EnablePaperTrailErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# Errors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetAvailableClientsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetAvailableClientsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetAvailableClientsErrors](../../models/errors/GetAvailableClientsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetBandwidthStatisticsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetBandwidthStatisticsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetBandwidthStatisticsErrors](../../models/errors/GetBandwidthStatisticsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetButlerTasksErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetButlerTasksResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetButlerTasksErrors](../../models/errors/GetButlerTasksErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetDevicesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetDevicesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetDevicesErrors](../../models/errors/GetDevicesErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetFileHashErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetFileHashResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetFileHashErrors](../../models/errors/GetFileHashErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetGlobalHubsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetGlobalHubsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetGlobalHubsErrors](../../models/errors/GetGlobalHubsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetHomeDataErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetHomeDataResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetHomeDataErrors](../../models/errors/GetHomeDataErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetLibrariesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetLibrariesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetLibrariesErrors](../../models/errors/GetLibrariesErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetLibraryErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetLibraryHubsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetLibraryHubsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetLibraryHubsErrors](../../models/errors/GetLibraryHubsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetLibraryItemsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetLibraryItemsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetLibraryItemsErrors](../../models/errors/GetLibraryItemsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetLibraryResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetLibraryErrors](../../models/errors/GetLibraryErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetMetadataChildrenErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetMetadataChildrenResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetMetadataChildrenErrors](../../models/errors/GetMetadataChildrenErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetMetadataErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetMetadataResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetMetadataErrors](../../models/errors/GetMetadataErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetMyPlexAccountErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetMyPlexAccountResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetMyPlexAccountErrors](../../models/errors/GetMyPlexAccountErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetOnDeckErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetOnDeckResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetOnDeckErrors](../../models/errors/GetOnDeckErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetPinErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1000 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 400 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetPinResponseBody
|
|
||||||
|
|
||||||
X-Plex-Client-Identifier is missing
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetPinErrors](../../models/errors/GetPinErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetPlaylistContentsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetPlaylistContentsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetPlaylistContentsErrors](../../models/errors/GetPlaylistContentsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetPlaylistErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetPlaylistResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetPlaylistErrors](../../models/errors/GetPlaylistErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetPlaylistsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetPlaylistsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetPlaylistsErrors](../../models/errors/GetPlaylistsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetRecentlyAddedErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetRecentlyAddedResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetRecentlyAddedErrors](../../models/errors/GetRecentlyAddedErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetResizedPhotoErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetResizedPhotoResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetResizedPhotoErrors](../../models/errors/GetResizedPhotoErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetResourcesStatisticsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetResourcesStatisticsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetResourcesStatisticsErrors](../../models/errors/GetResourcesStatisticsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetSearchResultsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetSearchResultsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetSearchResultsErrors](../../models/errors/GetSearchResultsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetServerActivitiesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetServerActivitiesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetServerActivitiesErrors](../../models/errors/GetServerActivitiesErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetServerCapabilitiesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.Errors](../../models/errors/Errors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetServerIdentityErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetServerIdentityResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetServerIdentityErrors](../../models/errors/GetServerIdentityErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetServerListErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetServerListResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetServerListErrors](../../models/errors/GetServerListErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetServerPreferencesErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetServerPreferencesResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetServerPreferencesErrors](../../models/errors/GetServerPreferencesErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetSessionHistoryErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetSessionHistoryResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetSessionHistoryErrors](../../models/errors/GetSessionHistoryErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetSessionsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetSessionsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetSessionsErrors](../../models/errors/GetSessionsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetSourceConnectionInformationErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetSourceConnectionInformationResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetSourceConnectionInformationErrors](../../models/errors/GetSourceConnectionInformationErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetStatisticsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetStatisticsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetStatisticsErrors](../../models/errors/GetStatisticsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetTimelineErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetTimelineResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetTimelineErrors](../../models/errors/GetTimelineErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetTokenErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1000 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 400 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetTokenResponseBody
|
|
||||||
|
|
||||||
X-Plex-Client-Identifier is missing
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetTokenErrors](../../models/errors/GetTokenErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetTranscodeSessionsErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetTranscodeSessionsResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetTranscodeSessionsErrors](../../models/errors/GetTranscodeSessionsErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetTransientTokenErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetTransientTokenResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetTransientTokenErrors](../../models/errors/GetTransientTokenErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# GetUpdateStatusErrors
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
|
||||||
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
|
|
||||||
| `code` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 1001 |
|
|
||||||
| `message` | *Optional<? extends String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
|
|
||||||
| `status` | *Optional<? extends Double>* | :heavy_minus_sign: | N/A | 401 |
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# GetUpdateStatusResponseBody
|
|
||||||
|
|
||||||
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|
||||||
|
|
||||||
|
|
||||||
## Fields
|
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
|
||||||
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `errors` | List<[lukehagar.plexapi.plexapi.models.errors.GetUpdateStatusErrors](../../models/errors/GetUpdateStatusErrors.md)> | :heavy_minus_sign: | N/A |
|
|
||||||
| `rawResponse` | [HttpResponse<InputStream>](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 |
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user