Compare commits

..

20 Commits

Author SHA1 Message Date
speakeasybot
025b6c4640 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0 2024-10-04 00:27:05 +00:00
speakeasybot
2e4350c8c4 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0 2024-10-03 00:28:29 +00:00
speakeasybot
fa542f04e1 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.405.6 2024-10-01 00:30:18 +00:00
speakeasybot
64bc159be2 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.404.5 2024-09-30 00:28:31 +00:00
speakeasybot
8100bcbf96 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.404.5 2024-09-29 00:30:08 +00:00
speakeasybot
10a61122c2 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.404.5 2024-09-28 00:26:45 +00:00
speakeasybot
fbca010d26 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.402.14 2024-09-26 00:26:45 +00:00
speakeasybot
beae244178 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.401.2 2024-09-22 00:29:24 +00:00
speakeasybot
3499fe6d12 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.401.2 2024-09-21 00:25:44 +00:00
speakeasybot
f3780ae807 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.399.2 2024-09-19 00:26:57 +00:00
speakeasybot
ce09c0c9f6 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.397.3 2024-09-16 19:34:43 +00:00
Luke Hagar
d17be8f8fa secret names 2024-09-16 19:31:20 +00:00
Luke Hagar
2e07625687 secret names 2024-09-16 19:29:49 +00:00
speakeasybot
258203517f ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.397.3 2024-09-16 19:16:31 +00:00
Luke Hagar
af70af8aee username as var 2024-09-16 19:12:57 +00:00
Luke Hagar
ee80753a6b Added username 2024-09-16 19:12:05 +00:00
speakeasybot
0bcb23bc24 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.397.2 2024-09-16 18:57:10 +00:00
Luke Hagar
bb34cb3d87 Removed extra file 2024-09-16 18:53:32 +00:00
speakeasybot
fe1cd8c7e4 ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.397.2 2024-09-16 18:34:13 +00:00
Luke Hagar
9b00b9305f Update gen.yaml 2024-09-16 13:31:58 -05:00
789 changed files with 46197 additions and 12432 deletions

View File

@@ -26,7 +26,8 @@ jobs:
speakeasy_version: latest
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
java_gpg_passphrase: ${{ secrets.JAVA_GPG_PASSPHRASE }}
java_gpg_secret_key: ${{ secrets.JAVA_GPG_SECRET_KEY }}
java_gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
java_gpg_secret_key: ${{ secrets.GPG_SECRET_KEY }}
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

View File

@@ -16,7 +16,7 @@ jobs:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
java_gpg_passphrase: ${{ secrets.JAVA_GPG_PASSPHRASE }}
java_gpg_secret_key: ${{ secrets.JAVA_GPG_SECRET_KEY }}
java_gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
java_gpg_secret_key: ${{ secrets.GPG_SECRET_KEY }}
ossrh_password: ${{ secrets.OSSRH_PASSWORD }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

File diff suppressed because one or more lines are too long

View File

@@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
java:
version: 0.3.1
version: 0.9.0
additionalDependencies: []
additionalPlugins: []
artifactID: plexapi
@@ -37,7 +37,6 @@ java:
shortName: MIT
url: https://mit-license.org/
maxMethodParams: 4
ossrhURL: https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
outputModelSuffix: output
packageName: dev.plexapi.sdk
projectName: plexapi

View File

@@ -1,4 +1,4 @@
speakeasyVersion: 1.392.1
speakeasyVersion: 1.406.0
sources:
my-source:
sourceNamespace: my-source
@@ -6,33 +6,39 @@ sources:
sourceBlobDigest: sha256:f689cdc9c740f4e5120422720722d2d256d56ceb62bc13370713ec1661a433df
tags:
- latest
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:790c7c67b0edef8c35ed69943d43e9c5bda385414c06f9c90410f93f546e5e4f
sourceBlobDigest: sha256:3e48471b7e058840fc598ccd75b2cbf8187961c7e625fe7b606555ce9a9bf109
tags:
- latest
- main
targets:
plexjava:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:893baf00932f1b8e49b2e60af272be6a9a62934af6eb3a2f96dd9f2302ef69c5
sourceBlobDigest: sha256:f689cdc9c740f4e5120422720722d2d256d56ceb62bc13370713ec1661a433df
source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:790c7c67b0edef8c35ed69943d43e9c5bda385414c06f9c90410f93f546e5e4f
sourceBlobDigest: sha256:3e48471b7e058840fc598ccd75b2cbf8187961c7e625fe7b606555ce9a9bf109
codeSamplesNamespace: code-samples-java-plexjava
codeSamplesRevisionDigest: sha256:433262f0bd16ad4072c5c38628e30fd0ee2dcfbdb3547262f0f4d328a6960ede
outLocation: /home/luke/github/plexjava
codeSamplesRevisionDigest: sha256:1be6f3e64a42e2f5a878957fcaa19df7ee718649f6503954dad2c4a934e4eed3
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
my-source:
plexapi:
inputs:
- location: registry.speakeasyapi.dev/lukehagar/lukehagar/plex-api:main
- location: registry.speakeasyapi.dev/plexapi/plexapi/plexapi:main
targets:
plexjava:
target: java
source: my-source
source: plexapi
publish:
java:
ossrhUsername: J4dlHj0l
ossrhUsername: $ossrh_username
ossrhPassword: $ossrh_password
gpgSecretKey: $java_gpg_secret_key
gpgPassPhrase: $java_gpg_passphrase
codeSamples:
output: codeSamples.yaml
registry:
location: registry.speakeasyapi.dev/lukehagar/lukehagar/code-samples-java-plexjava
location: registry.speakeasyapi.dev/plexapi/plexapi/code-samples-java-plexjava

View File

@@ -10,7 +10,7 @@ targets:
source: plexapi
publish:
java:
ossrhUsername: J4dlHj0l
ossrhUsername: $ossrh_username
ossrhPassword: $ossrh_password
gpgSecretKey: $java_gpg_secret_key
gpgPassPhrase: $java_gpg_passphrase

345
README.md
View File

@@ -12,6 +12,31 @@
## Summary
Plex-API: An Open API Spec for interacting with Plex.tv and Plex Media Server
# Plex Media Server OpenAPI Specification
An Open Source OpenAPI Specification for Plex Media Server
Automation and SDKs provided by [Speakeasy](https://speakeasyapi.dev/)
## Documentation
[API Documentation](https://plexapi.dev)
## SDKs
The following SDKs are generated from the OpenAPI Specification. They are automatically generated and may not be fully tested. If you find any issues, please open an issue on the [main specification Repository](https://github.com/LukeHagar/plex-api-spec).
| Language | Repository | Releases | Other |
| --------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------- |
| Python | [GitHub](https://github.com/LukeHagar/plexpy) | [PyPI](https://pypi.org/project/plex-api-client/) | - |
| JavaScript/TypeScript | [GitHub](https://github.com/LukeHagar/plexjs) | [NPM](https://www.npmjs.com/package/@lukehagar/plexjs) \ [JSR](https://jsr.io/@lukehagar/plexjs) | - |
| Go | [GitHub](https://github.com/LukeHagar/plexgo) | [Releases](https://github.com/LukeHagar/plexgo/releases) | [GoDoc](https://pkg.go.dev/github.com/LukeHagar/plexgo) |
| Ruby | [GitHub](https://github.com/LukeHagar/plexruby) | [Releases](https://github.com/LukeHagar/plexruby/releases) | - |
| Swift | [GitHub](https://github.com/LukeHagar/plexswift) | [Releases](https://github.com/LukeHagar/plexswift/releases) | - |
| PHP | [GitHub](https://github.com/LukeHagar/plexphp) | [Releases](https://github.com/LukeHagar/plexphp/releases) | - |
| Java | [GitHub](https://github.com/LukeHagar/plexjava) | [Releases](https://github.com/LukeHagar/plexjava/releases) | - |
| C# | [GitHub](https://github.com/LukeHagar/plexcsharp) | [Releases](https://github.com/LukeHagar/plexcsharp/releases) | -
<!-- End Summary [summary] -->
<!-- Start Table of Contents [toc] -->
@@ -20,7 +45,6 @@ Plex-API: An Open API Spec for interacting with Plex.tv and Plex Media Server
* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Available Resources and Operations](#available-resources-and-operations)
* [Global Parameters](#global-parameters)
* [Error Handling](#error-handling)
* [Server Selection](#server-selection)
* [Authentication](#authentication)
@@ -37,7 +61,7 @@ The samples below show how a published SDK artifact is used:
Gradle:
```groovy
implementation 'dev.plexapi:plexapi:0.3.1'
implementation 'dev.plexapi:plexapi:0.9.0'
```
Maven:
@@ -45,7 +69,7 @@ Maven:
<dependency>
<groupId>dev.plexapi</groupId>
<artifactId>plexapi</artifactId>
<version>0.3.1</version>
<version>0.9.0</version>
</dependency>
```
@@ -73,39 +97,30 @@ gradlew.bat publishToMavenLocal -Pskip.signing
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.SDKError;
import dev.plexapi.sdk.models.errors.GetServerCapabilitiesBadRequest;
import dev.plexapi.sdk.models.errors.GetServerCapabilitiesUnauthorized;
import dev.plexapi.sdk.models.operations.GetServerCapabilitiesResponse;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Exception {
try {
PlexAPI sdk = PlexAPI.builder()
.accessToken("<YOUR_API_KEY_HERE>")
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
.build();
public static void main(String[] args) throws GetServerCapabilitiesBadRequest, GetServerCapabilitiesUnauthorized, Exception {
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
PlexAPI sdk = PlexAPI.builder()
.accessToken("<YOUR_API_KEY_HERE>")
.clientID("3381b62b-9ab7-4e37-827b-203e9809eb58")
.clientName("Plex for Roku")
.clientVersion("2.4.1")
.platform("Roku")
.deviceNickname("Roku 3")
.build();
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
.call();
if (res.object().isPresent()) {
// handle response
}
} catch (dev.plexapi.sdk.models.errors.GetServerCapabilitiesBadRequest e) {
// handle exception
throw e;
} catch (dev.plexapi.sdk.models.errors.GetServerCapabilitiesUnauthorized e) {
// handle exception
throw e;
} catch (SDKError e) {
// handle exception
throw e;
} catch (Exception e) {
// handle exception
throw e;
if (res.object().isPresent()) {
// handle response
}
}
}
```
@@ -140,18 +155,20 @@ public class Application {
### [hubs()](docs/sdks/hubs/README.md)
* [getGlobalHubs](docs/sdks/hubs/README.md#getglobalhubs) - Get Global Hubs
* [getRecentlyAdded](docs/sdks/hubs/README.md#getrecentlyadded) - Get Recently Added
* [getLibraryHubs](docs/sdks/hubs/README.md#getlibraryhubs) - Get library specific hubs
### [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
* [getRecentlyAddedLibrary](docs/sdks/library/README.md#getrecentlyaddedlibrary) - Get Recently Added
* [getAllLibraries](docs/sdks/library/README.md#getalllibraries) - Get All Libraries
* [getLibraryDetails](docs/sdks/library/README.md#getlibrarydetails) - Get Library Details
* [deleteLibrary](docs/sdks/library/README.md#deletelibrary) - Delete Library Section
* [getLibraryItems](docs/sdks/library/README.md#getlibraryitems) - Get Library Items
* [getRefreshLibraryMetadata](docs/sdks/library/README.md#getrefreshlibrarymetadata) - Refresh Metadata Of The Library
* [getSearchLibrary](docs/sdks/library/README.md#getsearchlibrary) - Search Library
* [getSearchAllLibraries](docs/sdks/library/README.md#getsearchalllibraries) - Search All Libraries
* [getMetaDataByRatingKey](docs/sdks/library/README.md#getmetadatabyratingkey) - Get Metadata by RatingKey
* [getMetadataChildren](docs/sdks/library/README.md#getmetadatachildren) - Get Items Children
* [getTopWatchedContent](docs/sdks/library/README.md#gettopwatchedcontent) - Get Top Watched Content
@@ -243,87 +260,18 @@ public class Application {
</details>
<!-- 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 `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `getServerResources`. 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 | java.lang.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 dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.SDKError;
import dev.plexapi.sdk.models.operations.GetServerResourcesResponse;
import dev.plexapi.sdk.models.operations.IncludeHttps;
import dev.plexapi.sdk.models.operations.IncludeIPv6;
import dev.plexapi.sdk.models.operations.IncludeRelay;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Exception {
try {
PlexAPI sdk = PlexAPI.builder()
.accessToken("<YOUR_API_KEY_HERE>")
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
.build();
GetServerResourcesResponse res = sdk.plex().getServerResources()
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
.includeHttps(IncludeHttps.ONE)
.includeRelay(IncludeRelay.ONE)
.includeIPv6(IncludeIPv6.ONE)
.call();
if (res.plexDevices().isPresent()) {
// handle response
}
} catch (dev.plexapi.sdk.models.errors.GetServerResourcesBadRequest e) {
// handle exception
throw e;
} catch (dev.plexapi.sdk.models.errors.GetServerResourcesUnauthorized e) {
// handle exception
throw e;
} catch (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.
Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an exception.
| Error Object | Status Code | Content Type |
By default, an API error will throw a `models/errors/SDKError` exception. When custom error responses are specified for an operation, the SDK may also throw their associated exception. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `getServerCapabilities` method throws the following exceptions:
| Error Type | Status Code | Content Type |
| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
| models/errors/GetServerCapabilitiesBadRequest | 400 | application/json |
| models/errors/GetServerCapabilitiesUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
### Example
@@ -331,39 +279,30 @@ Handling errors in this SDK should largely match your expectations. All operati
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.SDKError;
import dev.plexapi.sdk.models.errors.GetServerCapabilitiesBadRequest;
import dev.plexapi.sdk.models.errors.GetServerCapabilitiesUnauthorized;
import dev.plexapi.sdk.models.operations.GetServerCapabilitiesResponse;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Exception {
try {
PlexAPI sdk = PlexAPI.builder()
.accessToken("<YOUR_API_KEY_HERE>")
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
.build();
public static void main(String[] args) throws GetServerCapabilitiesBadRequest, GetServerCapabilitiesUnauthorized, Exception {
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
PlexAPI sdk = PlexAPI.builder()
.accessToken("<YOUR_API_KEY_HERE>")
.clientID("3381b62b-9ab7-4e37-827b-203e9809eb58")
.clientName("Plex for Roku")
.clientVersion("2.4.1")
.platform("Roku")
.deviceNickname("Roku 3")
.build();
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
.call();
if (res.object().isPresent()) {
// handle response
}
} catch (dev.plexapi.sdk.models.errors.GetServerCapabilitiesBadRequest e) {
// handle exception
throw e;
} catch (dev.plexapi.sdk.models.errors.GetServerCapabilitiesUnauthorized e) {
// handle exception
throw e;
} catch (SDKError e) {
// handle exception
throw e;
} catch (Exception e) {
// handle exception
throw e;
if (res.object().isPresent()) {
// handle response
}
}
}
```
@@ -386,40 +325,31 @@ You can override the default server globally by passing a server index to the `s
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.SDKError;
import dev.plexapi.sdk.models.errors.GetServerCapabilitiesBadRequest;
import dev.plexapi.sdk.models.errors.GetServerCapabilitiesUnauthorized;
import dev.plexapi.sdk.models.operations.GetServerCapabilitiesResponse;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Exception {
try {
PlexAPI sdk = PlexAPI.builder()
public static void main(String[] args) throws GetServerCapabilitiesBadRequest, GetServerCapabilitiesUnauthorized, Exception {
PlexAPI sdk = PlexAPI.builder()
.serverIndex(0)
.accessToken("<YOUR_API_KEY_HERE>")
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
.build();
.clientID("3381b62b-9ab7-4e37-827b-203e9809eb58")
.clientName("Plex for Roku")
.clientVersion("2.4.1")
.platform("Roku")
.deviceNickname("Roku 3")
.build();
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
.call();
if (res.object().isPresent()) {
// handle response
}
} catch (dev.plexapi.sdk.models.errors.GetServerCapabilitiesBadRequest e) {
// handle exception
throw e;
} catch (dev.plexapi.sdk.models.errors.GetServerCapabilitiesUnauthorized e) {
// handle exception
throw e;
} catch (SDKError e) {
// handle exception
throw e;
} catch (Exception e) {
// handle exception
throw e;
if (res.object().isPresent()) {
// handle response
}
}
}
```
@@ -438,40 +368,31 @@ The default server can also be overridden globally by passing a URL to the `serv
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.SDKError;
import dev.plexapi.sdk.models.errors.GetServerCapabilitiesBadRequest;
import dev.plexapi.sdk.models.errors.GetServerCapabilitiesUnauthorized;
import dev.plexapi.sdk.models.operations.GetServerCapabilitiesResponse;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Exception {
try {
PlexAPI sdk = PlexAPI.builder()
public static void main(String[] args) throws GetServerCapabilitiesBadRequest, GetServerCapabilitiesUnauthorized, Exception {
PlexAPI sdk = PlexAPI.builder()
.serverURL("{protocol}://{ip}:{port}")
.accessToken("<YOUR_API_KEY_HERE>")
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
.build();
.clientID("3381b62b-9ab7-4e37-827b-203e9809eb58")
.clientName("Plex for Roku")
.clientVersion("2.4.1")
.platform("Roku")
.deviceNickname("Roku 3")
.build();
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
.call();
if (res.object().isPresent()) {
// handle response
}
} catch (dev.plexapi.sdk.models.errors.GetServerCapabilitiesBadRequest e) {
// handle exception
throw e;
} catch (dev.plexapi.sdk.models.errors.GetServerCapabilitiesUnauthorized e) {
// handle exception
throw e;
} catch (SDKError e) {
// handle exception
throw e;
} catch (Exception e) {
// handle exception
throw e;
if (res.object().isPresent()) {
// handle response
}
}
}
```
@@ -483,40 +404,31 @@ The server URL can also be overridden on a per-operation basis, provided a serve
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.SDKError;
import dev.plexapi.sdk.models.errors.GetCompanionsDataBadRequest;
import dev.plexapi.sdk.models.errors.GetCompanionsDataUnauthorized;
import dev.plexapi.sdk.models.operations.GetCompanionsDataResponse;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Exception {
try {
PlexAPI sdk = PlexAPI.builder()
.accessToken("<YOUR_API_KEY_HERE>")
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
.build();
public static void main(String[] args) throws GetCompanionsDataBadRequest, GetCompanionsDataUnauthorized, Exception {
GetCompanionsDataResponse res = sdk.plex().getCompanionsData()
.serverURL("https://plex.tv/api/v2/")
PlexAPI sdk = PlexAPI.builder()
.accessToken("<YOUR_API_KEY_HERE>")
.clientID("3381b62b-9ab7-4e37-827b-203e9809eb58")
.clientName("Plex for Roku")
.clientVersion("2.4.1")
.platform("Roku")
.deviceNickname("Roku 3")
.build();
GetCompanionsDataResponse res = sdk.plex().getCompanionsData()
.serverURL("https://plex.tv/api/v2")
.call();
if (res.responseBodies().isPresent()) {
// handle response
}
} catch (dev.plexapi.sdk.models.errors.GetCompanionsDataBadRequest e) {
// handle exception
throw e;
} catch (dev.plexapi.sdk.models.errors.GetCompanionsDataUnauthorized e) {
// handle exception
throw e;
} catch (SDKError e) {
// handle exception
throw e;
} catch (Exception e) {
// handle exception
throw e;
if (res.responseBodies().isPresent()) {
// handle response
}
}
}
```
@@ -538,39 +450,30 @@ To authenticate with the API the `accessToken` parameter must be set when initia
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.SDKError;
import dev.plexapi.sdk.models.errors.GetServerCapabilitiesBadRequest;
import dev.plexapi.sdk.models.errors.GetServerCapabilitiesUnauthorized;
import dev.plexapi.sdk.models.operations.GetServerCapabilitiesResponse;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Exception {
try {
PlexAPI sdk = PlexAPI.builder()
.accessToken("<YOUR_API_KEY_HERE>")
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
.build();
public static void main(String[] args) throws GetServerCapabilitiesBadRequest, GetServerCapabilitiesUnauthorized, Exception {
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
PlexAPI sdk = PlexAPI.builder()
.accessToken("<YOUR_API_KEY_HERE>")
.clientID("3381b62b-9ab7-4e37-827b-203e9809eb58")
.clientName("Plex for Roku")
.clientVersion("2.4.1")
.platform("Roku")
.deviceNickname("Roku 3")
.build();
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
.call();
if (res.object().isPresent()) {
// handle response
}
} catch (dev.plexapi.sdk.models.errors.GetServerCapabilitiesBadRequest e) {
// handle exception
throw e;
} catch (dev.plexapi.sdk.models.errors.GetServerCapabilitiesUnauthorized e) {
// handle exception
throw e;
} catch (SDKError e) {
// handle exception
throw e;
} catch (Exception e) {
// handle exception
throw e;
if (res.object().isPresent()) {
// handle response
}
}
}
```

View File

@@ -18,4 +18,144 @@ Based on:
### Generated
- [java v0.3.1] .
### Releases
- [Maven Central v0.3.1] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.1 - .
- [Maven Central v0.3.1] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.1 - .
## 2024-09-16 18:32:47
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.397.2 (2.415.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.3.2] .
### Releases
- [Maven Central v0.3.2] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.2 - .
## 2024-09-16 18:54:58
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.397.2 (2.415.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.3.3] .
### Releases
- [Maven Central v0.3.3] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.3 - .
## 2024-09-16 19:14:13
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.397.3 (2.415.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.3.4] .
### Releases
- [Maven Central v0.3.4] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.4 - .
## 2024-09-16 19:32:27
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.397.3 (2.415.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.3.5] .
### Releases
- [Maven Central v0.3.5] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.5 - .
## 2024-09-19 00:24:42
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.399.2 (2.416.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.3.6] .
### Releases
- [Maven Central v0.3.6] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.3.6 - .
## 2024-09-21 00:24:14
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.401.2 (2.421.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.4.0] .
### Releases
- [Maven Central v0.4.0] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.4.0 - .
## 2024-09-22 00:27:50
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.401.2 (2.421.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.4.1] .
### Releases
- [Maven Central v0.4.1] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.4.1 - .
## 2024-09-26 00:25:07
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.402.14 (2.422.22) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.5.0] .
### Releases
- [Maven Central v0.5.0] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.5.0 - .
## 2024-09-28 00:25:08
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.404.5 (2.426.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.6.0] .
### Releases
- [Maven Central v0.6.0] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.6.0 - .
## 2024-09-29 00:28:35
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.404.5 (2.426.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.6.1] .
### Releases
- [Maven Central v0.6.1] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.6.1 - .
## 2024-09-30 00:26:54
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.404.5 (2.426.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.6.2] .
### Releases
- [Maven Central v0.6.2] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.6.2 - .
## 2024-10-01 00:28:45
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.405.6 (2.428.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.7.0] .
### Releases
- [Maven Central v0.7.0] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.7.0 - .
## 2024-10-03 00:26:50
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.406.0 (2.429.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.8.0] .
### Releases
- [Maven Central v0.8.0] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.8.0 - .
## 2024-10-04 00:25:27
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.406.0 (2.429.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.9.0] .
### Releases
- [Maven Central v0.9.0] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.9.0 - .

View File

@@ -3,39 +3,30 @@
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.SDKError;
import dev.plexapi.sdk.models.errors.GetServerCapabilitiesBadRequest;
import dev.plexapi.sdk.models.errors.GetServerCapabilitiesUnauthorized;
import dev.plexapi.sdk.models.operations.GetServerCapabilitiesResponse;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Exception {
try {
PlexAPI sdk = PlexAPI.builder()
.accessToken("<YOUR_API_KEY_HERE>")
.xPlexClientIdentifier("gcgzw5rz2xovp84b4vha3a40")
.build();
public static void main(String[] args) throws GetServerCapabilitiesBadRequest, GetServerCapabilitiesUnauthorized, Exception {
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
PlexAPI sdk = PlexAPI.builder()
.accessToken("<YOUR_API_KEY_HERE>")
.clientID("3381b62b-9ab7-4e37-827b-203e9809eb58")
.clientName("Plex for Roku")
.clientVersion("2.4.1")
.platform("Roku")
.deviceNickname("Roku 3")
.build();
GetServerCapabilitiesResponse res = sdk.server().getServerCapabilities()
.call();
if (res.object().isPresent()) {
// handle response
}
} catch (dev.plexapi.sdk.models.errors.GetServerCapabilitiesBadRequest e) {
// handle exception
throw e;
} catch (dev.plexapi.sdk.models.errors.GetServerCapabilitiesUnauthorized e) {
// handle exception
throw e;
} catch (SDKError e) {
// handle exception
throw e;
} catch (Exception e) {
// handle exception
throw e;
if (res.object().isPresent()) {
// handle response
}
}
}
```

View File

@@ -14,6 +14,7 @@ plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
}
compileJava.options.encoding = "UTF-8"
@@ -40,6 +41,7 @@ model {
jar {
dependsOn(":generatePomFileForMavenPublication")
archiveBaseName = "plexapi"
into("META-INF/maven/dev.plexapi/plexapi") {
from("$buildDir/pom.xml")
@@ -61,7 +63,7 @@ tasks.withType(Javadoc) {
}
group = "dev.plexapi"
version = "0.3.1"
version = "0.9.0"
sourcesJar {
archiveBaseName = "plexapi"
@@ -70,25 +72,36 @@ sourcesJar {
javadocJar {
archiveBaseName = "plexapi"
}
sonatypeCentralUpload {
// This is your Sonatype generated username
username = System.getenv("SONATYPE_USERNAME")
// This is your sonatype generated password
password = System.getenv("SONATYPE_PASSWORD")
// This is a list of files to upload. Ideally you would point to your jar file, source and javadoc jar (required by central)
archives = files(
"$buildDir/libs/plexapi-${version}.jar",
"$buildDir/libs/plexapi-${version}-sources.jar",
"$buildDir/libs/plexapi-${version}-javadoc.jar"
)
// This is the pom file to upload. This is required by central
pom = file("$buildDir/pom.xml")
// This is your PGP private key. This is required to sign your files
signingKey = System.getenv("SONATYPE_SIGNING_KEY")
// This is your PGP private key passphrase to decrypt your private key
signingKeyPassphrase = System.getenv("SIGNING_KEY_PASSPHRASE")
}
publishing {
repositories {
maven {
name = "OSSRH"
url = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
}
publications {
maven(MavenPublication) {
groupId = 'dev.plexapi'
artifactId = 'plexapi'
version = '0.3.1'
version = '0.9.0'
from components.java

File diff suppressed because it is too large Load Diff

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -1,6 +1,6 @@
# GetRecentlyAddedUnauthorized
# GetRecentlyAddedLibraryBadRequest
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
Bad Request - A parameter was not specified, or was specified incorrectly.
## Fields

View File

@@ -3,8 +3,8 @@
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

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

View File

@@ -0,0 +1,11 @@
# GetRecentlyAddedLibraryUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
## Fields
| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `errors` | List<[GetRecentlyAddedLibraryLibraryErrors](../../models/errors/GetRecentlyAddedLibraryLibraryErrors.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 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -1,4 +1,4 @@
# GetRecentlyAddedBadRequest
# GetSearchAllLibrariesBadRequest
Bad Request - A parameter was not specified, or was specified incorrectly.
@@ -7,5 +7,5 @@ Bad Request - A parameter was not specified, or was specified incorrectly.
| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `errors` | List<[GetRecentlyAddedErrors](../../models/errors/GetRecentlyAddedErrors.md)> | :heavy_minus_sign: | N/A |
| `errors` | List<[GetSearchAllLibrariesErrors](../../models/errors/GetSearchAllLibrariesErrors.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 |

View File

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

View File

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

View File

@@ -0,0 +1,11 @@
# GetSearchAllLibrariesUnauthorized
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
## Fields
| Field | Type | Required | Description |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `errors` | List<[GetSearchAllLibrariesLibraryErrors](../../models/errors/GetSearchAllLibrariesLibraryErrors.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 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -7,6 +7,6 @@ Request Timeout
| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 408 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 408 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | The server timed out waiting for the request. |
| `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 | |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1001 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1001 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | User could not be authenticated |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 401 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 401 |

View File

@@ -5,6 +5,6 @@
| Field | Type | Required | Description | Example |
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
| `code` | *Optional<Long>* | :heavy_minus_sign: | N/A | 1000 |
| `code` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 1000 |
| `message` | *Optional<String>* | :heavy_minus_sign: | N/A | X-Plex-Client-Identifier is missing |
| `status` | *Optional<Long>* | :heavy_minus_sign: | N/A | 400 |
| `status` | *Optional<Integer>* | :heavy_minus_sign: | N/A | 400 |

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