Compare commits

...

4 Commits

Author SHA1 Message Date
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
56 changed files with 1045 additions and 407 deletions

View File

@@ -1,23 +1,23 @@
lockVersion: 2.0.0
id: 1732900d-e173-47c1-a90d-d45182eb35d9
management:
docChecksum: 5e039359563b41bbe118fc6701ba22dc
docChecksum: f12b653820ae77ca3b2820bc9459d866
docVersion: 0.0.3
speakeasyVersion: 1.402.14
generationVersion: 2.422.22
releaseVersion: 0.5.0
configChecksum: 1e077922ecb4295a2f75526fffe0b239
speakeasyVersion: 1.405.6
generationVersion: 2.428.1
releaseVersion: 0.7.0
configChecksum: 778e40a6f6ea35580b5da4c033f0b08f
repoURL: https://github.com/LukeHagar/plexjava.git
published: true
features:
java:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.1
core: 3.30.2
core: 3.30.4
deprecations: 2.81.1
downloadStreams: 0.1.1
enums: 2.81.2
errors: 0.1.3
errors: 0.1.4
flattening: 2.81.1
globalSecurity: 2.82.7
globalSecurityCallbacks: 0.1.0
@@ -2017,6 +2017,7 @@ examples:
includeHttps: 1
includeRelay: 1
includeIPv6: 1
X-Plex-Client-Identifier: "gcgzw5rz2xovp84b4vha3a40"
responses:
"401":
application/json: {"errors": []}
@@ -2045,7 +2046,12 @@ examples:
parameters:
path:
pinID: 408895
query: {}
query:
X-Plex-Client-Identifier: "gcgzw5rz2xovp84b4vha3a40"
X-Plex-Product: "Plex Web"
X-Plex-Device: "Linux"
X-Plex-Version: "4.133.0"
X-Plex-Platform: "Chrome"
responses:
"200":
application/json: {"id": 308667304, "code": "7RQZ", "product": "0", "trusted": false, "qr": "https://plex.tv/api/v2/pins/qr/7RQZ", "clientIdentifier": "string", "location": {"code": "VI", "continent_code": "NA", "country": "United States Virgin Islands", "city": "Amsterdam", "european_union_member": true, "time_zone": "America/St_Thomas", "postal_code": 802, "in_privacy_restricted_country": true, "in_privacy_restricted_region": true, "subdivisions": "Saint Thomas", "coordinates": "18.3381, -64.8941"}, "expiresIn": 876, "createdAt": "2024-07-16T17:03:05Z", "expiresAt": "2024-07-16T17:18:05Z", "authToken": null, "newRegistration": null}
@@ -2687,7 +2693,7 @@ examples:
speakeasy-default-get-token-details:
responses:
"200":
application/json: {"adsConsent": true, "adsConsentReminderAt": "2019-08-24T14:15:22Z", "adsConsentSetAt": "2019-08-24T14:15:22Z", "anonymous": false, "authToken": "CxoUzBTSV5hsxjTpFKaf", "backupCodesCreated": false, "confirmed": false, "country": "US", "email": "username@email.com", "emailOnlyAuth": false, "experimentalFeatures": false, "friendlyName": "friendlyUsername", "entitlements": ["[]"], "guest": false, "hasPassword": true, "home": false, "homeAdmin": false, "homeSize": 1, "id": 13692262, "joinedAt": 1556281940, "locale": null, "mailingListActive": false, "mailingListStatus": "unsubscribed", "maxHomeSize": 15, "pin": "string", "profile": {"autoSelectAudio": true, "defaultAudioLanguage": "ja", "defaultSubtitleLanguage": "en", "autoSelectSubtitle": 1, "defaultSubtitleAccessibility": 1, "defaultSubtitleForced": 1, "watchedIndicator": 1, "mediaReviewsVisibility": 1}, "protected": false, "rememberExpiresAt": 1556281940, "restricted": false, "roles": ["string"], "scrobbleTypes": "", "services": [{"identifier": "metadata-dev", "endpoint": "https://epg.provider.plex.tv", "token": "DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv", "secret": "string", "status": "online"}], "subscription": {"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}, "subscriptionDescription": "string", "subscriptions": [{"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}], "thumb": "https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101", "title": "UsernameTitle", "twoFactorEnabled": false, "username": "Username", "uuid": "dae343c1f45beb4f", "attributionPartner": null}
application/json: {"adsConsent": true, "adsConsentReminderAt": "2019-08-24T14:15:22Z", "adsConsentSetAt": "2019-08-24T14:15:22Z", "anonymous": false, "authToken": "CxoUzBTSV5hsxjTpFKaf", "backupCodesCreated": false, "confirmed": false, "country": "US", "email": "username@email.com", "emailOnlyAuth": false, "experimentalFeatures": false, "friendlyName": "friendlyUsername", "entitlements": ["[]"], "guest": false, "hasPassword": true, "home": false, "homeAdmin": false, "homeSize": 1, "id": 13692262, "joinedAt": 1556281940, "locale": null, "mailingListActive": false, "mailingListStatus": "active", "maxHomeSize": 15, "pin": "string", "profile": {"autoSelectAudio": true, "defaultAudioLanguage": "ja", "defaultSubtitleLanguage": "en", "autoSelectSubtitle": 1, "defaultSubtitleAccessibility": 1, "defaultSubtitleForced": 1, "watchedIndicator": 1, "mediaReviewsVisibility": 1}, "protected": false, "rememberExpiresAt": 1556281940, "restricted": false, "roles": ["string"], "scrobbleTypes": "", "services": [{"identifier": "metadata-dev", "endpoint": "https://epg.provider.plex.tv", "token": "DjoMtqFAGRL1uVtCyF1dKIorTbShJeqv", "secret": "string", "status": "online"}], "subscription": {"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}, "subscriptionDescription": "string", "subscriptions": [{"features": ["Android - Dolby Vision"], "active": true, "subscribedAt": "2021-04-12T18:21:12Z", "status": "Inactive", "paymentService": "string", "plan": "string"}], "thumb": "https://plex.tv/users/a4f43c1ebfde43a5/avatar?c=8372075101", "title": "UsernameTitle", "twoFactorEnabled": false, "username": "Username", "uuid": "dae343c1f45beb4f", "attributionPartner": null}
"400":
application/json: {"errors": []}
"401":

View File

@@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
java:
version: 0.5.0
version: 0.7.0
additionalDependencies: []
additionalPlugins: []
artifactID: plexapi

View File

@@ -1,4 +1,4 @@
speakeasyVersion: 1.402.14
speakeasyVersion: 1.405.6
sources:
my-source:
sourceNamespace: my-source
@@ -8,8 +8,8 @@ sources:
- latest
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:b7081644a59eca24a22b8009506fcf459bf18b07dce0462b39bc36c40d94862e
sourceBlobDigest: sha256:6b822f23afbc630bbc0fc12299316ea03d3671a2c2a81241ad4caa49022b430e
sourceRevisionDigest: sha256:b377f79289070406b0d4adcf59fa6886c6c90cb13a7893c07b44cae956ee25e4
sourceBlobDigest: sha256:92072097f693005146db1ceb5728eee08693d61bb5578b26c32dcbe1cc32927f
tags:
- latest
- main
@@ -17,10 +17,10 @@ targets:
plexjava:
source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:b7081644a59eca24a22b8009506fcf459bf18b07dce0462b39bc36c40d94862e
sourceBlobDigest: sha256:6b822f23afbc630bbc0fc12299316ea03d3671a2c2a81241ad4caa49022b430e
sourceRevisionDigest: sha256:b377f79289070406b0d4adcf59fa6886c6c90cb13a7893c07b44cae956ee25e4
sourceBlobDigest: sha256:92072097f693005146db1ceb5728eee08693d61bb5578b26c32dcbe1cc32927f
codeSamplesNamespace: code-samples-java-plexjava
codeSamplesRevisionDigest: sha256:2b2011bee7f3ca4e29ec8c4fad1295a7c10ae37f6f6da7034d7aa919591f58ca
codeSamplesRevisionDigest: sha256:ad2e918f9c50ecf860a405c94410f64a3ad90197c672258c177fd2e9d1f3d9a6
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest

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] -->
@@ -37,7 +62,7 @@ The samples below show how a published SDK artifact is used:
Gradle:
```groovy
implementation 'dev.plexapi:plexapi:0.5.0'
implementation 'dev.plexapi:plexapi:0.7.0'
```
Maven:
@@ -45,7 +70,7 @@ Maven:
<dependency>
<groupId>dev.plexapi</groupId>
<artifactId>plexapi</artifactId>
<version>0.5.0</version>
<version>0.7.0</version>
</dependency>
```
@@ -240,7 +265,7 @@ public class Application {
Certain parameters are configured globally. These parameters may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, These global values will be used as defaults on the operations that use them. When such operations are called, there is a place in each to override the global value, if needed.
For example, you can set `ClientID` to `"gcgzw5rz2xovp84b4vha3a40"` 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.
For example, you can set `ClientID` 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
@@ -249,10 +274,7 @@ The following global parameters are available.
| Name | Type | Required | Description |
| ---- | ---- |:--------:| ----------- |
| clientID | 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)
|
| clientID | 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) |
| clientName | java.lang.String | | The clientName parameter. |
| clientVersion | java.lang.String | | The clientVersion parameter. |
| clientPlatform | java.lang.String | | The clientPlatform parameter. |
@@ -265,16 +287,20 @@ This is used to track the client application and its usage
package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.GetPinBadRequest;
import dev.plexapi.sdk.models.operations.GetPinRequest;
import dev.plexapi.sdk.models.operations.GetPinResponse;
import dev.plexapi.sdk.models.errors.GetServerResourcesBadRequest;
import dev.plexapi.sdk.models.errors.GetServerResourcesUnauthorized;
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 GetPinBadRequest, Exception {
public static void main(String[] args) throws GetServerResourcesBadRequest, GetServerResourcesUnauthorized, Exception {
PlexAPI sdk = PlexAPI.builder()
.accessToken("<YOUR_API_KEY_HERE>")
.clientID("gcgzw5rz2xovp84b4vha3a40")
.clientName("Plex Web")
.clientVersion("4.133.0")
@@ -282,14 +308,14 @@ public class Application {
.deviceName("Linux")
.build();
GetPinRequest req = GetPinRequest.builder()
.build();
GetPinResponse res = sdk.plex().getPin()
.request(req)
GetServerResourcesResponse res = sdk.plex().getServerResources()
.includeHttps(IncludeHttps.Enable)
.includeRelay(IncludeRelay.Enable)
.includeIPv6(IncludeIPv6.Enable)
.clientID("gcgzw5rz2xovp84b4vha3a40")
.call();
if (res.authPinContainer().isPresent()) {
if (res.plexDevices().isPresent()) {
// handle response
}
}
@@ -300,13 +326,15 @@ public class Application {
<!-- 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
@@ -458,7 +486,7 @@ public class Application {
.build();
GetCompanionsDataResponse res = sdk.plex().getCompanionsData()
.serverURL("https://plex.tv/api/v2/")
.serverURL("https://plex.tv/api/v2")
.call();
if (res.responseBodies().isPresent()) {

View File

@@ -98,4 +98,44 @@ Based on:
### Generated
- [java v0.5.0] .
### Releases
- [Maven Central v0.5.0] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.5.0 - .
- [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 - .

View File

@@ -63,7 +63,7 @@ tasks.withType(Javadoc) {
}
group = "dev.plexapi"
version = "0.5.0"
version = "0.7.0"
sourcesJar {
archiveBaseName = "plexapi"
@@ -101,7 +101,7 @@ publishing {
maven(MavenPublication) {
groupId = 'dev.plexapi'
artifactId = 'plexapi'
version = '0.5.0'
version = '0.7.0'
from components.java

View File

@@ -1790,6 +1790,7 @@ actions:
import dev.plexapi.plexapi.PlexAPI;
import dev.plexapi.plexapi.models.errors.GetTokenByPinIdBadRequest;
import dev.plexapi.plexapi.models.errors.GetTokenByPinIdResponseBody;
import dev.plexapi.plexapi.models.operations.GetTokenByPinIdRequest;
import dev.plexapi.plexapi.models.operations.GetTokenByPinIdResponse;
import java.lang.Exception;
@@ -1805,8 +1806,12 @@ actions:
.deviceName("Linux")
.build();
GetTokenByPinIdResponse res = sdk.plex().getTokenByPinId()
GetTokenByPinIdRequest req = GetTokenByPinIdRequest.builder()
.pinID(408895L)
.build();
GetTokenByPinIdResponse res = sdk.plex().getTokenByPinId()
.request(req)
.call();
if (res.authPinContainer().isPresent()) {
@@ -2186,6 +2191,7 @@ actions:
.includeHttps(IncludeHttps.Enable)
.includeRelay(IncludeRelay.Enable)
.includeIPv6(IncludeIPv6.Enable)
.clientID("gcgzw5rz2xovp84b4vha3a40")
.call();
if (res.plexDevices().isPresent()) {

View File

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

View File

@@ -12,28 +12,43 @@
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
| `ALBUM_TYPES` | album-types |
| `ALLOW_DVR` | allow_dvr |
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
| `AVOD_NEW_MEDIA` | avod-new-media |
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
| `BOOST_VOICES` | boost-voices |
| `CAMERA_UPLOAD` | camera_upload |
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
| `CLOUDSYNC` | cloudsync |
| `COLLECTIONS` | collections |
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
| `COMPANIONS_SONOS` | companions_sonos |
| `CONTENT_FILTER` | content_filter |
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
| `DOWNLOADS_GATING` | downloads-gating |
| `DRM_SUPPORT` | drm_support |
| `DVR` | dvr |
| `DVR_BLOCK_UNSUPPORTED_COUNTRIES` | dvr-block-unsupported-countries |
| `EPG_RECENT_CHANNELS` | epg-recent-channels |
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
| `FEDERATED_AUTH` | federated-auth |
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
| `GRANDFATHER_SYNC` | grandfather-sync |
| `GUIDED_UPGRADE` | guided-upgrade |
| `HARDWARE_TRANSCODING` | hardware_transcoding |
| `HOME` | home |
| `HWTRANSCODE` | hwtranscode |
| `IMAGGA_V2` | imagga-v2 |
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
| `ITEM_CLUSTERS` | item_clusters |
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
| `KEVIN_BACON` | kevin-bacon |
| `KOREA_CONSENT` | korea-consent |
@@ -42,25 +57,46 @@
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
| `LIVETV` | livetv |
| `LYRICS` | lyrics |
| `METADATA_SEARCH` | metadata_search |
| `MUSIC_ANALYSIS` | music-analysis |
| `MUSIC_VIDEOS` | music_videos |
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
| `NOMINATIM` | nominatim |
| `PASS` | pass |
| `PHOTOS_FAVORITES` | photos-favorites |
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
| `PHOTOS_V6_EDIT` | photosV6-edit |
| `PHOTOS_V6_TV_ALBUMS` | photosV6-tv-albums |
| `PMS_HEALTH` | pms_health |
| `PREMIUM_DASHBOARD` | premium-dashboard |
| `PREMIUM_MUSIC_METADATA` | premium_music_metadata |
| `RADIO` | radio |
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
| `SCROBBLING_SERVICE_PLEX_TV` | scrobbling-service-plex-tv |
| `SESSION_BANDWIDTH_RESTRICTIONS` | session_bandwidth_restrictions |
| `SESSION_KICK` | session_kick |
| `SHARED_SERVER_NOTIFICATION` | shared_server_notification |
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
| `SIGNIN_NOTIFICATION` | signin_notification |
| `SIGNIN_WITH_APPLE` | signin_with_apple |
| `SILENCE_REMOVAL` | silence-removal |
| `SLEEP_TIMER` | sleep-timer |
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
| `SYNC` | sync |
| `SWEET_FADES` | sweet-fades |
| `TRANSCODER_CACHE` | transcoder_cache |
| `TRAILERS` | trailers |
| `TUNER_SHARING` | tuner-sharing |
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
| `UPGRADE3DS2` | upgrade-3ds2 |
| `VISUALIZERS` | visualizers |
| `VOD_SCHEMA` | vod-schema |
| `VOD_CLOUDFLARE` | vod_cloudflare |
| `VOLUME_LEVELING` | volume-leveling |
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
| `WATCHLIST_RSS` | watchlist-rss |
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
| `WEBHOOKS` | webhooks |

View File

@@ -3,11 +3,11 @@
## Fields
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `strong` | *Optional<Boolean>* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> | |
| `clientID` | *Optional<String>* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `clientName` | *Optional<String>* | :heavy_minus_sign: | N/A | Plex Web |
| `deviceName` | *Optional<String>* | :heavy_minus_sign: | N/A | Linux |
| `clientVersion` | *Optional<String>* | :heavy_minus_sign: | N/A | 4.133.0 |
| `clientPlatform` | *Optional<String>* | :heavy_minus_sign: | N/A | Chrome |
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `strong` | *Optional<Boolean>* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> | |
| `clientID` | *Optional<String>* | :heavy_minus_sign: | 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) | gcgzw5rz2xovp84b4vha3a40 |
| `clientName` | *Optional<String>* | :heavy_minus_sign: | N/A | Plex Web |
| `deviceName` | *Optional<String>* | :heavy_minus_sign: | N/A | Linux |
| `clientVersion` | *Optional<String>* | :heavy_minus_sign: | N/A | 4.133.0 |
| `clientPlatform` | *Optional<String>* | :heavy_minus_sign: | N/A | Chrome |

View File

@@ -3,8 +3,9 @@
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| `includeHttps` | [Optional<IncludeHttps>](../../models/operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
| `includeRelay` | [Optional<IncludeRelay>](../../models/operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
| `includeIPv6` | [Optional<IncludeIPv6>](../../models/operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `includeHttps` | [Optional<IncludeHttps>](../../models/operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
| `includeRelay` | [Optional<IncludeRelay>](../../models/operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
| `includeIPv6` | [Optional<IncludeIPv6>](../../models/operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
| `clientID` | *Optional<String>* | :heavy_minus_sign: | 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) | gcgzw5rz2xovp84b4vha3a40 |

View File

@@ -3,6 +3,11 @@
## Fields
| Field | Type | Required | Description |
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
| `pinID` | *long* | :heavy_check_mark: | The PinID to retrieve an access token for |
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `pinID` | *long* | :heavy_check_mark: | The PinID to retrieve an access token for | |
| `clientID` | *Optional<String>* | :heavy_minus_sign: | 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) | gcgzw5rz2xovp84b4vha3a40 |
| `clientName` | *Optional<String>* | :heavy_minus_sign: | N/A | Plex Web |
| `deviceName` | *Optional<String>* | :heavy_minus_sign: | N/A | Linux |
| `clientVersion` | *Optional<String>* | :heavy_minus_sign: | N/A | 4.133.0 |
| `clientPlatform` | *Optional<String>* | :heavy_minus_sign: | N/A | Chrome |

View File

@@ -12,28 +12,43 @@
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
| `ALBUM_TYPES` | album-types |
| `ALLOW_DVR` | allow_dvr |
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
| `AVOD_NEW_MEDIA` | avod-new-media |
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
| `BOOST_VOICES` | boost-voices |
| `CAMERA_UPLOAD` | camera_upload |
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
| `CLOUDSYNC` | cloudsync |
| `COLLECTIONS` | collections |
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
| `COMPANIONS_SONOS` | companions_sonos |
| `CONTENT_FILTER` | content_filter |
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
| `DOWNLOADS_GATING` | downloads-gating |
| `DRM_SUPPORT` | drm_support |
| `DVR` | dvr |
| `DVR_BLOCK_UNSUPPORTED_COUNTRIES` | dvr-block-unsupported-countries |
| `EPG_RECENT_CHANNELS` | epg-recent-channels |
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
| `FEDERATED_AUTH` | federated-auth |
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
| `GRANDFATHER_SYNC` | grandfather-sync |
| `GUIDED_UPGRADE` | guided-upgrade |
| `HARDWARE_TRANSCODING` | hardware_transcoding |
| `HOME` | home |
| `HWTRANSCODE` | hwtranscode |
| `IMAGGA_V2` | imagga-v2 |
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
| `ITEM_CLUSTERS` | item_clusters |
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
| `KEVIN_BACON` | kevin-bacon |
| `KOREA_CONSENT` | korea-consent |
@@ -42,25 +57,46 @@
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
| `LIVETV` | livetv |
| `LYRICS` | lyrics |
| `METADATA_SEARCH` | metadata_search |
| `MUSIC_ANALYSIS` | music-analysis |
| `MUSIC_VIDEOS` | music_videos |
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
| `NOMINATIM` | nominatim |
| `PASS` | pass |
| `PHOTOS_FAVORITES` | photos-favorites |
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
| `PHOTOS_V6_EDIT` | photosV6-edit |
| `PHOTOS_V6_TV_ALBUMS` | photosV6-tv-albums |
| `PMS_HEALTH` | pms_health |
| `PREMIUM_DASHBOARD` | premium-dashboard |
| `PREMIUM_MUSIC_METADATA` | premium_music_metadata |
| `RADIO` | radio |
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
| `SCROBBLING_SERVICE_PLEX_TV` | scrobbling-service-plex-tv |
| `SESSION_BANDWIDTH_RESTRICTIONS` | session_bandwidth_restrictions |
| `SESSION_KICK` | session_kick |
| `SHARED_SERVER_NOTIFICATION` | shared_server_notification |
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
| `SIGNIN_NOTIFICATION` | signin_notification |
| `SIGNIN_WITH_APPLE` | signin_with_apple |
| `SILENCE_REMOVAL` | silence-removal |
| `SLEEP_TIMER` | sleep-timer |
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
| `SYNC` | sync |
| `SWEET_FADES` | sweet-fades |
| `TRANSCODER_CACHE` | transcoder_cache |
| `TRAILERS` | trailers |
| `TUNER_SHARING` | tuner-sharing |
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
| `UPGRADE3DS2` | upgrade-3ds2 |
| `VISUALIZERS` | visualizers |
| `VOD_SCHEMA` | vod-schema |
| `VOD_CLOUDFLARE` | vod_cloudflare |
| `VOLUME_LEVELING` | volume-leveling |
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
| `WATCHLIST_RSS` | watchlist-rss |
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
| `WEBHOOKS` | webhooks |

View File

@@ -29,7 +29,7 @@ Logged in user details
| `joinedAt` | *long* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 |
| `locale` | *Optional<String>* | :heavy_check_mark: | The account locale | |
| `mailingListActive` | *Optional<Boolean>* | :heavy_minus_sign: | If you are subscribed to the Plex newsletter | |
| `mailingListStatus` | [MailingListStatus](../../models/operations/MailingListStatus.md) | :heavy_check_mark: | Your current mailing list status | |
| `mailingListStatus` | [MailingListStatus](../../models/operations/MailingListStatus.md) | :heavy_check_mark: | Your current mailing list status (active or unsubscribed) | active |
| `maxHomeSize` | *int* | :heavy_check_mark: | The maximum number of accounts allowed in the Plex Home | 15 |
| ~~`pin`~~ | *Optional<String>* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>[Might be removed] The hashed Plex Home PIN | |
| `profile` | [UserProfile](../../models/operations/UserProfile.md) | :heavy_check_mark: | N/A | |

View File

@@ -1,6 +1,6 @@
# MailingListStatus
Your current mailing list status
Your current mailing list status (active or unsubscribed)
## Values

View File

@@ -12,28 +12,43 @@
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
| `ALBUM_TYPES` | album-types |
| `ALLOW_DVR` | allow_dvr |
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
| `AVOD_NEW_MEDIA` | avod-new-media |
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
| `BOOST_VOICES` | boost-voices |
| `CAMERA_UPLOAD` | camera_upload |
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
| `CLOUDSYNC` | cloudsync |
| `COLLECTIONS` | collections |
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
| `COMPANIONS_SONOS` | companions_sonos |
| `CONTENT_FILTER` | content_filter |
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
| `DOWNLOADS_GATING` | downloads-gating |
| `DRM_SUPPORT` | drm_support |
| `DVR` | dvr |
| `DVR_BLOCK_UNSUPPORTED_COUNTRIES` | dvr-block-unsupported-countries |
| `EPG_RECENT_CHANNELS` | epg-recent-channels |
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
| `FEDERATED_AUTH` | federated-auth |
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
| `GRANDFATHER_SYNC` | grandfather-sync |
| `GUIDED_UPGRADE` | guided-upgrade |
| `HARDWARE_TRANSCODING` | hardware_transcoding |
| `HOME` | home |
| `HWTRANSCODE` | hwtranscode |
| `IMAGGA_V2` | imagga-v2 |
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
| `ITEM_CLUSTERS` | item_clusters |
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
| `KEVIN_BACON` | kevin-bacon |
| `KOREA_CONSENT` | korea-consent |
@@ -42,25 +57,46 @@
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
| `LIVETV` | livetv |
| `LYRICS` | lyrics |
| `METADATA_SEARCH` | metadata_search |
| `MUSIC_ANALYSIS` | music-analysis |
| `MUSIC_VIDEOS` | music_videos |
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
| `NOMINATIM` | nominatim |
| `PASS` | pass |
| `PHOTOS_FAVORITES` | photos-favorites |
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
| `PHOTOS_V6_EDIT` | photosV6-edit |
| `PHOTOS_V6_TV_ALBUMS` | photosV6-tv-albums |
| `PMS_HEALTH` | pms_health |
| `PREMIUM_DASHBOARD` | premium-dashboard |
| `PREMIUM_MUSIC_METADATA` | premium_music_metadata |
| `RADIO` | radio |
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
| `SCROBBLING_SERVICE_PLEX_TV` | scrobbling-service-plex-tv |
| `SESSION_BANDWIDTH_RESTRICTIONS` | session_bandwidth_restrictions |
| `SESSION_KICK` | session_kick |
| `SHARED_SERVER_NOTIFICATION` | shared_server_notification |
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
| `SIGNIN_NOTIFICATION` | signin_notification |
| `SIGNIN_WITH_APPLE` | signin_with_apple |
| `SILENCE_REMOVAL` | silence-removal |
| `SLEEP_TIMER` | sleep-timer |
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
| `SYNC` | sync |
| `SWEET_FADES` | sweet-fades |
| `TRANSCODER_CACHE` | transcoder_cache |
| `TRAILERS` | trailers |
| `TUNER_SHARING` | tuner-sharing |
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
| `UPGRADE3DS2` | upgrade-3ds2 |
| `VISUALIZERS` | visualizers |
| `VOD_SCHEMA` | vod-schema |
| `VOD_CLOUDFLARE` | vod_cloudflare |
| `VOLUME_LEVELING` | volume-leveling |
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
| `WATCHLIST_RSS` | watchlist-rss |
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
| `WEBHOOKS` | webhooks |

View File

@@ -12,28 +12,43 @@
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
| `ALBUM_TYPES` | album-types |
| `ALLOW_DVR` | allow_dvr |
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
| `AVOD_NEW_MEDIA` | avod-new-media |
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
| `BOOST_VOICES` | boost-voices |
| `CAMERA_UPLOAD` | camera_upload |
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
| `CLOUDSYNC` | cloudsync |
| `COLLECTIONS` | collections |
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
| `COMPANIONS_SONOS` | companions_sonos |
| `CONTENT_FILTER` | content_filter |
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
| `DOWNLOADS_GATING` | downloads-gating |
| `DRM_SUPPORT` | drm_support |
| `DVR` | dvr |
| `DVR_BLOCK_UNSUPPORTED_COUNTRIES` | dvr-block-unsupported-countries |
| `EPG_RECENT_CHANNELS` | epg-recent-channels |
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
| `FEDERATED_AUTH` | federated-auth |
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
| `GRANDFATHER_SYNC` | grandfather-sync |
| `GUIDED_UPGRADE` | guided-upgrade |
| `HARDWARE_TRANSCODING` | hardware_transcoding |
| `HOME` | home |
| `HWTRANSCODE` | hwtranscode |
| `IMAGGA_V2` | imagga-v2 |
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
| `ITEM_CLUSTERS` | item_clusters |
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
| `KEVIN_BACON` | kevin-bacon |
| `KOREA_CONSENT` | korea-consent |
@@ -42,25 +57,46 @@
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
| `LIVETV` | livetv |
| `LYRICS` | lyrics |
| `METADATA_SEARCH` | metadata_search |
| `MUSIC_ANALYSIS` | music-analysis |
| `MUSIC_VIDEOS` | music_videos |
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
| `NOMINATIM` | nominatim |
| `PASS` | pass |
| `PHOTOS_FAVORITES` | photos-favorites |
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
| `PHOTOS_V6_EDIT` | photosV6-edit |
| `PHOTOS_V6_TV_ALBUMS` | photosV6-tv-albums |
| `PMS_HEALTH` | pms_health |
| `PREMIUM_DASHBOARD` | premium-dashboard |
| `PREMIUM_MUSIC_METADATA` | premium_music_metadata |
| `RADIO` | radio |
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
| `SCROBBLING_SERVICE_PLEX_TV` | scrobbling-service-plex-tv |
| `SESSION_BANDWIDTH_RESTRICTIONS` | session_bandwidth_restrictions |
| `SESSION_KICK` | session_kick |
| `SHARED_SERVER_NOTIFICATION` | shared_server_notification |
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
| `SIGNIN_NOTIFICATION` | signin_notification |
| `SIGNIN_WITH_APPLE` | signin_with_apple |
| `SILENCE_REMOVAL` | silence-removal |
| `SLEEP_TIMER` | sleep-timer |
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
| `SYNC` | sync |
| `SWEET_FADES` | sweet-fades |
| `TRANSCODER_CACHE` | transcoder_cache |
| `TRAILERS` | trailers |
| `TUNER_SHARING` | tuner-sharing |
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
| `UPGRADE3DS2` | upgrade-3ds2 |
| `VISUALIZERS` | visualizers |
| `VOD_SCHEMA` | vod-schema |
| `VOD_CLOUDFLARE` | vod_cloudflare |
| `VOLUME_LEVELING` | volume-leveling |
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
| `WATCHLIST_RSS` | watchlist-rss |
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
| `WEBHOOKS` | webhooks |

View File

@@ -1,6 +1,6 @@
# PostUsersSignInDataMailingListStatus
Your current mailing list status
Your current mailing list status (active or unsubscribed)
## Values

View File

@@ -3,11 +3,11 @@
## Fields
| Field | Type | Required | Description | Example |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `clientID` | *Optional<String>* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> | gcgzw5rz2xovp84b4vha3a40 |
| `clientName` | *Optional<String>* | :heavy_minus_sign: | N/A | Plex Web |
| `deviceName` | *Optional<String>* | :heavy_minus_sign: | N/A | Linux |
| `clientVersion` | *Optional<String>* | :heavy_minus_sign: | N/A | 4.133.0 |
| `clientPlatform` | *Optional<String>* | :heavy_minus_sign: | N/A | Chrome |
| `requestBody` | [Optional<PostUsersSignInDataRequestBody>](../../models/operations/PostUsersSignInDataRequestBody.md) | :heavy_minus_sign: | Login credentials | |
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `clientID` | *Optional<String>* | :heavy_minus_sign: | 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) | gcgzw5rz2xovp84b4vha3a40 |
| `clientName` | *Optional<String>* | :heavy_minus_sign: | N/A | Plex Web |
| `deviceName` | *Optional<String>* | :heavy_minus_sign: | N/A | Linux |
| `clientVersion` | *Optional<String>* | :heavy_minus_sign: | N/A | 4.133.0 |
| `clientPlatform` | *Optional<String>* | :heavy_minus_sign: | N/A | Chrome |
| `requestBody` | [Optional<PostUsersSignInDataRequestBody>](../../models/operations/PostUsersSignInDataRequestBody.md) | :heavy_minus_sign: | Login credentials | |

View File

@@ -29,7 +29,7 @@ Returns the user account data with a valid auth token
| `joinedAt` | *long* | :heavy_check_mark: | Unix epoch datetime in seconds | 1556281940 |
| `locale` | *Optional<String>* | :heavy_check_mark: | The account locale | |
| `mailingListActive` | *Optional<Boolean>* | :heavy_minus_sign: | If you are subscribed to the Plex newsletter | |
| `mailingListStatus` | [PostUsersSignInDataMailingListStatus](../../models/operations/PostUsersSignInDataMailingListStatus.md) | :heavy_check_mark: | Your current mailing list status | |
| `mailingListStatus` | [PostUsersSignInDataMailingListStatus](../../models/operations/PostUsersSignInDataMailingListStatus.md) | :heavy_check_mark: | Your current mailing list status (active or unsubscribed) | active |
| `maxHomeSize` | *int* | :heavy_check_mark: | The maximum number of accounts allowed in the Plex Home | 15 |
| ~~`pin`~~ | *Optional<String>* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>[Might be removed] The hashed Plex Home PIN | |
| `profile` | [PostUsersSignInDataUserProfile](../../models/operations/PostUsersSignInDataUserProfile.md) | :heavy_check_mark: | N/A | |

View File

@@ -61,12 +61,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- |
| models/errors/GetServerActivitiesBadRequest | 400 | application/json |
| models/errors/GetServerActivitiesUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## cancelServerActivities
@@ -117,8 +116,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ |
| models/errors/CancelServerActivitiesBadRequest | 400 | application/json |
| models/errors/CancelServerActivitiesUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -67,12 +67,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- |
| models/errors/GetTransientTokenBadRequest | 400 | application/json |
| models/errors/GetTransientTokenUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getSourceConnectionInformation
@@ -125,12 +124,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
| models/errors/GetSourceConnectionInformationBadRequest | 400 | application/json |
| models/errors/GetSourceConnectionInformationUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getTokenDetails
@@ -182,12 +180,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
| models/errors/GetTokenDetailsBadRequest | 400 | application/json |
| models/errors/GetTokenDetailsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## postUsersSignInData
@@ -250,8 +247,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- |
| models/errors/PostUsersSignInDataBadRequest | 400 | application/json |
| models/errors/PostUsersSignInDataUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -58,12 +58,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| models/errors/GetButlerTasksBadRequest | 400 | application/json |
| models/errors/GetButlerTasksUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## startAllTasks
@@ -112,12 +111,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------- | --------------------------------------- | --------------------------------------- |
| models/errors/StartAllTasksBadRequest | 400 | application/json |
| models/errors/StartAllTasksUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## stopAllTasks
@@ -162,12 +160,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| -------------------------------------- | -------------------------------------- | -------------------------------------- |
| models/errors/StopAllTasksBadRequest | 400 | application/json |
| models/errors/StopAllTasksUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## startTask
@@ -224,12 +221,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ----------------------------------- | ----------------------------------- | ----------------------------------- |
| models/errors/StartTaskBadRequest | 400 | application/json |
| models/errors/StartTaskUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## stopTask
@@ -282,8 +278,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------- | ---------------------------------- | ---------------------------------- |
| models/errors/StopTaskBadRequest | 400 | application/json |
| models/errors/StopTaskUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -66,12 +66,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------- | --------------------------------------- | --------------------------------------- |
| models/errors/GetGlobalHubsBadRequest | 400 | application/json |
| models/errors/GetGlobalHubsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getRecentlyAdded
@@ -135,10 +134,9 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------- | ---------------------- | ---------------------- |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getLibraryHubs
@@ -197,8 +195,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| models/errors/GetLibraryHubsBadRequest | 400 | application/json |
| models/errors/GetLibraryHubsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -72,12 +72,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------- | ------------------------------------- | ------------------------------------- |
| models/errors/GetFileHashBadRequest | 400 | application/json |
| models/errors/GetFileHashUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getRecentlyAddedLibrary
@@ -157,12 +156,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
| models/errors/GetRecentlyAddedLibraryBadRequest | 400 | application/json |
| models/errors/GetRecentlyAddedLibraryUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getAllLibraries
@@ -214,12 +212,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
| models/errors/GetAllLibrariesBadRequest | 400 | application/json |
| models/errors/GetAllLibrariesUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getLibraryDetails
@@ -314,12 +311,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- |
| models/errors/GetLibraryDetailsBadRequest | 400 | application/json |
| models/errors/GetLibraryDetailsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## deleteLibrary
@@ -370,12 +366,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------- | --------------------------------------- | --------------------------------------- |
| models/errors/DeleteLibraryBadRequest | 400 | application/json |
| models/errors/DeleteLibraryUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getLibraryItems
@@ -463,12 +458,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
| models/errors/GetLibraryItemsBadRequest | 400 | application/json |
| models/errors/GetLibraryItemsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getRefreshLibraryMetadata
@@ -523,12 +517,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- |
| models/errors/GetRefreshLibraryMetadataBadRequest | 400 | application/json |
| models/errors/GetRefreshLibraryMetadataUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getSearchLibrary
@@ -602,12 +595,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
| models/errors/GetSearchLibraryBadRequest | 400 | application/json |
| models/errors/GetSearchLibraryUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getMetaDataByRatingKey
@@ -661,12 +653,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ |
| models/errors/GetMetaDataByRatingKeyBadRequest | 400 | application/json |
| models/errors/GetMetaDataByRatingKeyUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getMetadataChildren
@@ -722,12 +713,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- |
| models/errors/GetMetadataChildrenBadRequest | 400 | application/json |
| models/errors/GetMetadataChildrenUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getTopWatchedContent
@@ -784,12 +774,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- |
| models/errors/GetTopWatchedContentBadRequest | 400 | application/json |
| models/errors/GetTopWatchedContentUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getOnDeck
@@ -836,8 +825,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ----------------------------------- | ----------------------------------- | ----------------------------------- |
| models/errors/GetOnDeckBadRequest | 400 | application/json |
| models/errors/GetOnDeckUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -67,12 +67,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------- | --------------------------------- | --------------------------------- |
| models/errors/LogLineBadRequest | 400 | application/json |
| models/errors/LogLineUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## logMultiLine
@@ -148,12 +147,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| -------------------------------------- | -------------------------------------- | -------------------------------------- |
| models/errors/LogMultiLineBadRequest | 400 | application/json |
| models/errors/LogMultiLineUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## enablePaperTrail
@@ -198,8 +196,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
| models/errors/EnablePaperTrailBadRequest | 400 | application/json |
| models/errors/EnablePaperTrailUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -63,12 +63,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------ | ------------------------------------ | ------------------------------------ |
| models/errors/MarkPlayedBadRequest | 400 | application/json |
| models/errors/MarkPlayedUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## markUnplayed
@@ -119,12 +118,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| -------------------------------------- | -------------------------------------- | -------------------------------------- |
| models/errors/MarkUnplayedBadRequest | 400 | application/json |
| models/errors/MarkUnplayedUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## updatePlayProgress
@@ -180,12 +178,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
| models/errors/UpdatePlayProgressBadRequest | 400 | application/json |
| models/errors/UpdatePlayProgressUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getBannerImage
@@ -248,12 +245,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| models/errors/GetBannerImageBadRequest | 400 | application/json |
| models/errors/GetBannerImageUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getThumbImage
@@ -316,8 +312,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------- | --------------------------------------- | --------------------------------------- |
| models/errors/GetThumbImageBadRequest | 400 | application/json |
| models/errors/GetThumbImageUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -85,12 +85,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| models/errors/CreatePlaylistBadRequest | 400 | application/json |
| models/errors/CreatePlaylistUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getPlaylists
@@ -147,12 +146,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| -------------------------------------- | -------------------------------------- | -------------------------------------- |
| models/errors/GetPlaylistsBadRequest | 400 | application/json |
| models/errors/GetPlaylistsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getPlaylist
@@ -207,12 +205,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------- | ------------------------------------- | ------------------------------------- |
| models/errors/GetPlaylistBadRequest | 400 | application/json |
| models/errors/GetPlaylistUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## deletePlaylist
@@ -264,12 +261,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| models/errors/DeletePlaylistBadRequest | 400 | application/json |
| models/errors/DeletePlaylistUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## updatePlaylist
@@ -325,12 +321,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| models/errors/UpdatePlaylistBadRequest | 400 | application/json |
| models/errors/UpdatePlaylistUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getPlaylistContents
@@ -390,12 +385,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- |
| models/errors/GetPlaylistContentsBadRequest | 400 | application/json |
| models/errors/GetPlaylistContentsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## clearPlaylistContents
@@ -447,12 +441,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
| models/errors/ClearPlaylistContentsBadRequest | 400 | application/json |
| models/errors/ClearPlaylistContentsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## addPlaylistContents
@@ -511,12 +504,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- |
| models/errors/AddPlaylistContentsBadRequest | 400 | application/json |
| models/errors/AddPlaylistContentsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## uploadPlaylist
@@ -573,8 +565,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| models/errors/UploadPlaylistBadRequest | 400 | application/json |
| models/errors/UploadPlaylistUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -66,12 +66,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- |
| models/errors/GetCompanionsDataBadRequest | 400 | application/json |
| models/errors/GetCompanionsDataUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getUserFriends
@@ -123,12 +122,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- |
| models/errors/GetUserFriendsBadRequest | 400 | application/json |
| models/errors/GetUserFriendsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getGeoData
@@ -179,12 +177,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------ | ------------------------------------ | ------------------------------------ |
| models/errors/GetGeoDataBadRequest | 400 | application/json |
| models/errors/GetGeoDataUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getHomeData
@@ -230,12 +227,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------- | ------------------------------------- | ------------------------------------- |
| models/errors/GetHomeDataBadRequest | 400 | application/json |
| models/errors/GetHomeDataUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getServerResources
@@ -272,6 +268,7 @@ public class Application {
.includeHttps(IncludeHttps.Enable)
.includeRelay(IncludeRelay.Enable)
.includeIPv6(IncludeIPv6.Enable)
.clientID("gcgzw5rz2xovp84b4vha3a40")
.call();
if (res.plexDevices().isPresent()) {
@@ -283,12 +280,13 @@ public class Application {
### Parameters
| Parameter | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| `includeHttps` | [Optional<IncludeHttps>](../../models/operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
| `includeRelay` | [Optional<IncludeRelay>](../../models/operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
| `includeIPv6` | [Optional<IncludeIPv6>](../../models/operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
| `serverURL` | *String* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
| Parameter | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `includeHttps` | [Optional<IncludeHttps>](../../models/operations/IncludeHttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
| `includeRelay` | [Optional<IncludeRelay>](../../models/operations/IncludeRelay.md) | :heavy_minus_sign: | Include Relay addresses in the results <br/>E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400<br/> | 1 |
| `includeIPv6` | [Optional<IncludeIPv6>](../../models/operations/IncludeIPv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
| `clientID` | *Optional<String>* | :heavy_minus_sign: | 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) | gcgzw5rz2xovp84b4vha3a40 |
| `serverURL` | *String* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
### Response
@@ -296,12 +294,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
| models/errors/GetServerResourcesBadRequest | 400 | application/json |
| models/errors/GetServerResourcesUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getPin
@@ -357,11 +354,10 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------ | ------------------------------ | ------------------------------ |
| models/errors/GetPinBadRequest | 400 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getTokenByPinId
@@ -375,6 +371,7 @@ package hello.world;
import dev.plexapi.sdk.PlexAPI;
import dev.plexapi.sdk.models.errors.GetTokenByPinIdBadRequest;
import dev.plexapi.sdk.models.errors.GetTokenByPinIdResponseBody;
import dev.plexapi.sdk.models.operations.GetTokenByPinIdRequest;
import dev.plexapi.sdk.models.operations.GetTokenByPinIdResponse;
import java.lang.Exception;
@@ -390,8 +387,12 @@ public class Application {
.deviceName("Linux")
.build();
GetTokenByPinIdResponse res = sdk.plex().getTokenByPinId()
GetTokenByPinIdRequest req = GetTokenByPinIdRequest.builder()
.pinID(408895L)
.build();
GetTokenByPinIdResponse res = sdk.plex().getTokenByPinId()
.request(req)
.call();
if (res.authPinContainer().isPresent()) {
@@ -403,10 +404,10 @@ public class Application {
### Parameters
| Parameter | Type | Required | Description |
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
| `pinID` | *long* | :heavy_check_mark: | The PinID to retrieve an access token for |
| `serverURL` | *String* | :heavy_minus_sign: | An optional server URL to use. |
| Parameter | Type | Required | Description |
| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| `request` | [GetTokenByPinIdRequest](../../models/operations/GetTokenByPinIdRequest.md) | :heavy_check_mark: | The request object to use for the request. |
| `serverURL` | *String* | :heavy_minus_sign: | An optional server URL to use. |
### Response
@@ -414,8 +415,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
| models/errors/GetTokenByPinIdBadRequest | 400 | application/json |
| models/errors/GetTokenByPinIdResponseBody | 404 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -2,4 +2,27 @@
## Overview
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) | -

View File

@@ -77,12 +77,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------- | --------------------------------------- | --------------------------------------- |
| models/errors/PerformSearchBadRequest | 400 | application/json |
| models/errors/PerformSearchUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## performVoiceSearch
@@ -141,12 +140,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
| models/errors/PerformVoiceSearchBadRequest | 400 | application/json |
| models/errors/PerformVoiceSearchUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getSearchResults
@@ -199,8 +197,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
| models/errors/GetSearchResultsBadRequest | 400 | application/json |
| models/errors/GetSearchResultsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -62,12 +62,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| 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 | \*/\* |
## getServerPreferences
@@ -113,12 +112,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- |
| models/errors/GetServerPreferencesBadRequest | 400 | application/json |
| models/errors/GetServerPreferencesUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getAvailableClients
@@ -164,12 +162,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- |
| models/errors/GetAvailableClientsBadRequest | 400 | application/json |
| models/errors/GetAvailableClientsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getDevices
@@ -215,12 +212,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------ | ------------------------------------ | ------------------------------------ |
| models/errors/GetDevicesBadRequest | 400 | application/json |
| models/errors/GetDevicesUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getServerIdentity
@@ -264,11 +260,10 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------------- | --------------------------------------------- | --------------------------------------------- |
| models/errors/GetServerIdentityRequestTimeout | 408 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getMyPlexAccount
@@ -314,12 +309,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
| models/errors/GetMyPlexAccountBadRequest | 400 | application/json |
| models/errors/GetMyPlexAccountUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getResizedPhoto
@@ -384,12 +378,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
| models/errors/GetResizedPhotoBadRequest | 400 | application/json |
| models/errors/GetResizedPhotoUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getMediaProviders
@@ -442,12 +435,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- |
| models/errors/GetMediaProvidersBadRequest | 400 | application/json |
| models/errors/GetMediaProvidersUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getServerList
@@ -493,8 +485,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------- | --------------------------------------- | --------------------------------------- |
| models/errors/GetServerListBadRequest | 400 | application/json |
| models/errors/GetServerListUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -57,12 +57,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------- | ------------------------------------- | ------------------------------------- |
| models/errors/GetSessionsBadRequest | 400 | application/json |
| models/errors/GetSessionsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getSessionHistory
@@ -123,12 +122,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- |
| models/errors/GetSessionHistoryBadRequest | 400 | application/json |
| models/errors/GetSessionHistoryUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getTranscodeSessions
@@ -174,12 +172,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- |
| models/errors/GetTranscodeSessionsBadRequest | 400 | application/json |
| models/errors/GetTranscodeSessionsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## stopTranscodeSession
@@ -230,8 +227,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- |
| models/errors/StopTranscodeSessionBadRequest | 400 | application/json |
| models/errors/StopTranscodeSessionUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -63,12 +63,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| --------------------------------------- | --------------------------------------- | --------------------------------------- |
| models/errors/GetStatisticsBadRequest | 400 | application/json |
| models/errors/GetStatisticsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getResourcesStatistics
@@ -121,12 +120,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ |
| models/errors/GetResourcesStatisticsBadRequest | 400 | application/json |
| models/errors/GetResourcesStatisticsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## getBandwidthStatistics
@@ -179,8 +177,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ |
| models/errors/GetBandwidthStatisticsBadRequest | 400 | application/json |
| models/errors/GetBandwidthStatisticsUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -57,12 +57,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
| models/errors/GetUpdateStatusBadRequest | 400 | application/json |
| models/errors/GetUpdateStatusUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## checkForUpdates
@@ -114,12 +113,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
| models/errors/CheckForUpdatesBadRequest | 400 | application/json |
| models/errors/CheckForUpdatesUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## applyUpdates
@@ -175,8 +173,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| -------------------------------------- | -------------------------------------- | -------------------------------------- |
| models/errors/ApplyUpdatesBadRequest | 400 | application/json |
| models/errors/ApplyUpdatesUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -75,12 +75,11 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------- | ------------------------------------- | ------------------------------------- |
| models/errors/GetTimelineBadRequest | 400 | application/json |
| models/errors/GetTimelineUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |
## startUniversalTranscode
@@ -151,8 +150,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
| models/errors/StartUniversalTranscodeBadRequest | 400 | application/json |
| models/errors/StartUniversalTranscodeUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -71,8 +71,8 @@ public class Application {
### Errors
| Error Object | Status Code | Content Type |
| Error Type | Status Code | Content Type |
| -------------------------------------- | -------------------------------------- | -------------------------------------- |
| models/errors/GetWatchListBadRequest | 400 | application/json |
| models/errors/GetWatchListUnauthorized | 401 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

View File

@@ -62,14 +62,14 @@ public class Authentication implements
* GET_TOKEN_DETAILS_SERVERS contains the list of server urls available to the SDK.
*/
public static final String[] GET_TOKEN_DETAILS_SERVERS = {
"https://plex.tv/api/v2/",
"https://plex.tv/api/v2",
};
/**
* POST_USERS_SIGN_IN_DATA_SERVERS contains the list of server urls available to the SDK.
*/
public static final String[] POST_USERS_SIGN_IN_DATA_SERVERS = {
"https://plex.tv/api/v2/",
"https://plex.tv/api/v2",
};
private final SDKConfiguration sdkConfiguration;

View File

@@ -79,42 +79,42 @@ public class Plex implements
* GET_COMPANIONS_DATA_SERVERS contains the list of server urls available to the SDK.
*/
public static final String[] GET_COMPANIONS_DATA_SERVERS = {
"https://plex.tv/api/v2/",
"https://plex.tv/api/v2",
};
/**
* GET_USER_FRIENDS_SERVERS contains the list of server urls available to the SDK.
*/
public static final String[] GET_USER_FRIENDS_SERVERS = {
"https://plex.tv/api/v2/",
"https://plex.tv/api/v2",
};
/**
* GET_GEO_DATA_SERVERS contains the list of server urls available to the SDK.
*/
public static final String[] GET_GEO_DATA_SERVERS = {
"https://plex.tv/api/v2/",
"https://plex.tv/api/v2",
};
/**
* GET_SERVER_RESOURCES_SERVERS contains the list of server urls available to the SDK.
*/
public static final String[] GET_SERVER_RESOURCES_SERVERS = {
"https://plex.tv/api/v2/",
"https://plex.tv/api/v2",
};
/**
* GET_PIN_SERVERS contains the list of server urls available to the SDK.
*/
public static final String[] GET_PIN_SERVERS = {
"https://plex.tv/api/v2/",
"https://plex.tv/api/v2",
};
/**
* GET_TOKEN_BY_PIN_ID_SERVERS contains the list of server urls available to the SDK.
*/
public static final String[] GET_TOKEN_BY_PIN_ID_SERVERS = {
"https://plex.tv/api/v2/",
"https://plex.tv/api/v2",
};
private final SDKConfiguration sdkConfiguration;
@@ -767,7 +767,7 @@ public class Plex implements
* @throws Exception if the API call fails
*/
public GetServerResourcesResponse getServerResourcesDirect() throws Exception {
return getServerResources(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
return getServerResources(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
}
/**
@@ -778,6 +778,7 @@ public class Plex implements
E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
* @param includeIPv6 Include IPv6 entries in the results
* @param clientID 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)
* @param serverURL Overrides the server URL.
* @return The response from the API call
* @throws Exception if the API call fails
@@ -786,6 +787,7 @@ public class Plex implements
Optional<? extends IncludeHttps> includeHttps,
Optional<? extends IncludeRelay> includeRelay,
Optional<? extends IncludeIPv6> includeIPv6,
Optional<String> clientID,
Optional<String> serverURL) throws Exception {
GetServerResourcesRequest request =
GetServerResourcesRequest
@@ -793,6 +795,7 @@ public class Plex implements
.includeHttps(includeHttps)
.includeRelay(includeRelay)
.includeIPv6(includeIPv6)
.clientID(clientID)
.build();
String _baseUrl = Utils.templateUrl(GET_SERVER_RESOURCES_SERVERS[0], new HashMap<String, String>());
@@ -1096,32 +1099,26 @@ public class Plex implements
/**
* Get Access Token by PinId
* Retrieve an Access Token from Plex.tv after the Pin has been authenticated
* @param pinID The PinID to retrieve an access token for
* @param request The request object containing all of the parameters for the API call.
* @return The response from the API call
* @throws Exception if the API call fails
*/
public GetTokenByPinIdResponse getTokenByPinId(
long pinID) throws Exception {
return getTokenByPinId(pinID, Optional.empty());
GetTokenByPinIdRequest request) throws Exception {
return getTokenByPinId(request, Optional.empty());
}
/**
* Get Access Token by PinId
* Retrieve an Access Token from Plex.tv after the Pin has been authenticated
* @param pinID The PinID to retrieve an access token for
* @param request The request object containing all of the parameters for the API call.
* @param serverURL Overrides the server URL.
* @return The response from the API call
* @throws Exception if the API call fails
*/
public GetTokenByPinIdResponse getTokenByPinId(
long pinID,
GetTokenByPinIdRequest request,
Optional<String> serverURL) throws Exception {
GetTokenByPinIdRequest request =
GetTokenByPinIdRequest
.builder()
.pinID(pinID)
.build();
String _baseUrl = Utils.templateUrl(GET_TOKEN_BY_PIN_ID_SERVERS[0], new HashMap<String, String>());
if (serverURL.isPresent() && !serverURL.get().isBlank()) {
_baseUrl = serverURL.get();
@@ -1137,6 +1134,11 @@ public class Plex implements
.addHeader("user-agent",
SDKConfiguration.USER_AGENT);
_req.addQueryParams(Utils.getQueryParams(
GetTokenByPinIdRequest.class,
request,
this.sdkConfiguration.globals));
HTTPClient _client = this.sdkConfiguration.defaultClient;
HttpRequest _r =
sdkConfiguration.hooks()

View File

@@ -16,6 +16,31 @@ import java.util.Optional;
/**
* 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) | -
*
*/
public class PlexAPI {

View File

@@ -36,8 +36,8 @@ class SDKConfiguration {
} };
private static final String LANGUAGE = "java";
public static final String OPENAPI_DOC_VERSION = "0.0.3";
public static final String SDK_VERSION = "0.5.0";
public static final String GEN_VERSION = "2.422.22";
public static final String SDK_VERSION = "0.7.0";
public static final String GEN_VERSION = "2.428.1";
private static final String BASE_PACKAGE = "dev.plexapi.sdk";
public static final String USER_AGENT =
String.format("speakeasy-sdk/%s %s %s %s %s",

View File

@@ -15,28 +15,43 @@ public enum Features {
TREBLE_SHOW_FEATURES("TREBLE-show-features"),
AD_COUNTDOWN_TIMER("ad-countdown-timer"),
ADAPTIVE_BITRATE("adaptive_bitrate"),
ALBUM_TYPES("album-types"),
ALLOW_DVR("allow_dvr"),
AMAZON_LOOP_DEBUG("amazon-loop-debug"),
AVOD_AD_ANALYSIS("avod-ad-analysis"),
AVOD_NEW_MEDIA("avod-new-media"),
BLACKLIST_GET_SIGNIN("blacklist_get_signin"),
BOOST_VOICES("boost-voices"),
CAMERA_UPLOAD("camera_upload"),
CLIENT_RADIO_STATIONS("client-radio-stations"),
CLOUDFLARE_TURNSTILE_REQUIRED("cloudflare-turnstile-required"),
CLOUDSYNC("cloudsync"),
COLLECTIONS("collections"),
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS("comments_and_replies_push_notifications"),
COMMUNITY_ACCESS_PLEX_TV("community_access_plex_tv"),
COMPANIONS_SONOS("companions_sonos"),
CONTENT_FILTER("content_filter"),
CUSTOM_HOME_REMOVAL("custom-home-removal"),
DISABLE_HOME_USER_FRIENDSHIPS("disable_home_user_friendships"),
DISABLE_SHARING_FRIENDSHIPS("disable_sharing_friendships"),
DOWNLOADS_GATING("downloads-gating"),
DRM_SUPPORT("drm_support"),
DVR("dvr"),
DVR_BLOCK_UNSUPPORTED_COUNTRIES("dvr-block-unsupported-countries"),
EPG_RECENT_CHANNELS("epg-recent-channels"),
EXCLUDE_RESTRICTIONS("exclude restrictions"),
FEDERATED_AUTH("federated-auth"),
FRIEND_REQUEST_PUSH_NOTIFICATIONS("friend_request_push_notifications"),
GRANDFATHER_SYNC("grandfather-sync"),
GUIDED_UPGRADE("guided-upgrade"),
HARDWARE_TRANSCODING("hardware_transcoding"),
HOME("home"),
HWTRANSCODE("hwtranscode"),
IMAGGA_V2("imagga-v2"),
INCREASE_PASSWORD_COMPLEXITY("increase-password-complexity"),
IOS14_PRIVACY_BANNER("ios14-privacy-banner"),
ITERABLE_NOTIFICATION_TOKENS("iterable-notification-tokens"),
ITEM_CLUSTERS("item_clusters"),
KEEP_PAYMENT_METHOD("keep-payment-method"),
KEVIN_BACON("kevin-bacon"),
KOREA_CONSENT("korea-consent"),
@@ -45,28 +60,49 @@ public enum Features {
LIGHTNING_DVR_PIVOT("lightning-dvr-pivot"),
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS("live-tv-support-incomplete-segments"),
LIVETV("livetv"),
LYRICS("lyrics"),
METADATA_SEARCH("metadata_search"),
MUSIC_ANALYSIS("music-analysis"),
MUSIC_VIDEOS("music_videos"),
NEW_PLEX_PASS_PRICES("new_plex_pass_prices"),
NEWS_PROVIDER_SUNSET_MODAL("news-provider-sunset-modal"),
NOMINATIM("nominatim"),
PASS("pass"),
PHOTOS_FAVORITES("photos-favorites"),
PHOTOS_METADATA_EDITION("photos-metadata-edition"),
PHOTOS_V6_EDIT("photosV6-edit"),
PHOTOS_V6_TV_ALBUMS("photosV6-tv-albums"),
PMS_HEALTH("pms_health"),
PREMIUM_DASHBOARD("premium-dashboard"),
PREMIUM_MUSIC_METADATA("premium_music_metadata"),
RADIO("radio"),
RATE_LIMIT_CLIENT_TOKEN("rate-limit-client-token"),
SCROBBLING_SERVICE_PLEX_TV("scrobbling-service-plex-tv"),
SESSION_BANDWIDTH_RESTRICTIONS("session_bandwidth_restrictions"),
SESSION_KICK("session_kick"),
SHARED_SERVER_NOTIFICATION("shared_server_notification"),
SHARED_SOURCE_NOTIFICATION("shared_source_notification"),
SIGNIN_NOTIFICATION("signin_notification"),
SIGNIN_WITH_APPLE("signin_with_apple"),
SILENCE_REMOVAL("silence-removal"),
SLEEP_TIMER("sleep-timer"),
SPRING_SERVE_AD_PROVIDER("spring_serve_ad_provider"),
SYNC("sync"),
SWEET_FADES("sweet-fades"),
TRANSCODER_CACHE("transcoder_cache"),
TRAILERS("trailers"),
TUNER_SHARING("tuner-sharing"),
TWO_FACTOR_AUTHENTICATION("two-factor-authentication"),
UNSUPPORTEDTUNERS("unsupportedtuners"),
UPGRADE3DS2("upgrade-3ds2"),
VISUALIZERS("visualizers"),
VOD_SCHEMA("vod-schema"),
VOD_CLOUDFLARE("vod_cloudflare"),
VOLUME_LEVELING("volume-leveling"),
WATCH_TOGETHER_INVITE("watch-together-invite"),
WEB_SERVER_DASHBOARD("web_server_dashboard");
WATCHLIST_RSS("watchlist-rss"),
WEB_SERVER_DASHBOARD("web_server_dashboard"),
WEBHOOKS("webhooks");
@JsonValue
private final String value;

View File

@@ -30,10 +30,7 @@ public class GetPinRequest {
private Optional<Boolean> strong;
/**
* 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)
*
* 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)
*/
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Client-Identifier")
private Optional<String> clientID;
@@ -88,10 +85,7 @@ public class GetPinRequest {
}
/**
* 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)
*
* 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)
*/
@JsonIgnore
public Optional<String> clientID() {
@@ -147,10 +141,7 @@ public class GetPinRequest {
}
/**
* 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)
*
* 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)
*/
public GetPinRequest withClientID(String clientID) {
Utils.checkNotNull(clientID, "clientID");
@@ -159,10 +150,7 @@ public class GetPinRequest {
}
/**
* 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)
*
* 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)
*/
public GetPinRequest withClientID(Optional<String> clientID) {
Utils.checkNotNull(clientID, "clientID");
@@ -301,10 +289,7 @@ public class GetPinRequest {
}
/**
* 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)
*
* 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)
*/
public Builder clientID(String clientID) {
Utils.checkNotNull(clientID, "clientID");
@@ -313,10 +298,7 @@ public class GetPinRequest {
}
/**
* 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)
*
* 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)
*/
public Builder clientID(Optional<String> clientID) {
Utils.checkNotNull(clientID, "clientID");

View File

@@ -40,21 +40,30 @@ public class GetServerResourcesRequest {
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=includeIPv6")
private Optional<? extends IncludeIPv6> includeIPv6;
/**
* 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)
*/
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Client-Identifier")
private Optional<String> clientID;
@JsonCreator
public GetServerResourcesRequest(
Optional<? extends IncludeHttps> includeHttps,
Optional<? extends IncludeRelay> includeRelay,
Optional<? extends IncludeIPv6> includeIPv6) {
Optional<? extends IncludeIPv6> includeIPv6,
Optional<String> clientID) {
Utils.checkNotNull(includeHttps, "includeHttps");
Utils.checkNotNull(includeRelay, "includeRelay");
Utils.checkNotNull(includeIPv6, "includeIPv6");
Utils.checkNotNull(clientID, "clientID");
this.includeHttps = includeHttps;
this.includeRelay = includeRelay;
this.includeIPv6 = includeIPv6;
this.clientID = clientID;
}
public GetServerResourcesRequest() {
this(Optional.empty(), Optional.empty(), Optional.empty());
this(Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
}
/**
@@ -86,6 +95,14 @@ public class GetServerResourcesRequest {
return (Optional<IncludeIPv6>) includeIPv6;
}
/**
* 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)
*/
@JsonIgnore
public Optional<String> clientID() {
return clientID;
}
public final static Builder builder() {
return new Builder();
}
@@ -147,6 +164,24 @@ public class GetServerResourcesRequest {
this.includeIPv6 = includeIPv6;
return this;
}
/**
* 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)
*/
public GetServerResourcesRequest withClientID(String clientID) {
Utils.checkNotNull(clientID, "clientID");
this.clientID = Optional.ofNullable(clientID);
return this;
}
/**
* 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)
*/
public GetServerResourcesRequest withClientID(Optional<String> clientID) {
Utils.checkNotNull(clientID, "clientID");
this.clientID = clientID;
return this;
}
@Override
public boolean equals(java.lang.Object o) {
@@ -160,7 +195,8 @@ public class GetServerResourcesRequest {
return
Objects.deepEquals(this.includeHttps, other.includeHttps) &&
Objects.deepEquals(this.includeRelay, other.includeRelay) &&
Objects.deepEquals(this.includeIPv6, other.includeIPv6);
Objects.deepEquals(this.includeIPv6, other.includeIPv6) &&
Objects.deepEquals(this.clientID, other.clientID);
}
@Override
@@ -168,7 +204,8 @@ public class GetServerResourcesRequest {
return Objects.hash(
includeHttps,
includeRelay,
includeIPv6);
includeIPv6,
clientID);
}
@Override
@@ -176,7 +213,8 @@ public class GetServerResourcesRequest {
return Utils.toString(GetServerResourcesRequest.class,
"includeHttps", includeHttps,
"includeRelay", includeRelay,
"includeIPv6", includeIPv6);
"includeIPv6", includeIPv6,
"clientID", clientID);
}
public final static class Builder {
@@ -185,7 +223,9 @@ public class GetServerResourcesRequest {
private Optional<? extends IncludeRelay> includeRelay;
private Optional<? extends IncludeIPv6> includeIPv6;
private Optional<? extends IncludeIPv6> includeIPv6;
private Optional<String> clientID = Optional.empty();
private Builder() {
// force use of static builder() method
@@ -248,6 +288,24 @@ public class GetServerResourcesRequest {
this.includeIPv6 = includeIPv6;
return this;
}
/**
* 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)
*/
public Builder clientID(String clientID) {
Utils.checkNotNull(clientID, "clientID");
this.clientID = Optional.ofNullable(clientID);
return this;
}
/**
* 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)
*/
public Builder clientID(Optional<String> clientID) {
Utils.checkNotNull(clientID, "clientID");
this.clientID = clientID;
return this;
}
public GetServerResourcesRequest build() {
if (includeHttps == null) {
@@ -261,7 +319,8 @@ public class GetServerResourcesRequest {
} return new GetServerResourcesRequest(
includeHttps,
includeRelay,
includeIPv6);
includeIPv6,
clientID);
}
private static final LazySingletonValue<Optional<? extends IncludeHttps>> _SINGLETON_VALUE_IncludeHttps =

View File

@@ -24,6 +24,7 @@ public class GetServerResourcesRequestBuilder {
"includeIPv6",
"0",
new TypeReference<Optional<? extends IncludeIPv6>>() {});
private Optional<String> clientID = Optional.empty();
private Optional<String> serverURL = Optional.empty();
private final SDKMethodInterfaces.MethodCallGetServerResources sdk;
@@ -67,6 +68,18 @@ public class GetServerResourcesRequestBuilder {
return this;
}
public GetServerResourcesRequestBuilder clientID(String clientID) {
Utils.checkNotNull(clientID, "clientID");
this.clientID = Optional.of(clientID);
return this;
}
public GetServerResourcesRequestBuilder clientID(Optional<String> clientID) {
Utils.checkNotNull(clientID, "clientID");
this.clientID = clientID;
return this;
}
public GetServerResourcesRequestBuilder serverURL(String serverURL) {
Utils.checkNotNull(serverURL, "serverURL");
this.serverURL = Optional.of(serverURL);
@@ -93,6 +106,7 @@ public class GetServerResourcesRequestBuilder {
includeHttps,
includeRelay,
includeIPv6,
clientID,
serverURL);
}

View File

@@ -13,6 +13,7 @@ import java.lang.Long;
import java.lang.Override;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
public class GetTokenByPinIdRequest {
@@ -23,11 +24,49 @@ public class GetTokenByPinIdRequest {
@SpeakeasyMetadata("pathParam:style=simple,explode=false,name=pinID")
private long pinID;
/**
* 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)
*/
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Client-Identifier")
private Optional<String> clientID;
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Product")
private Optional<String> clientName;
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Device")
private Optional<String> deviceName;
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Version")
private Optional<String> clientVersion;
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Platform")
private Optional<String> clientPlatform;
@JsonCreator
public GetTokenByPinIdRequest(
long pinID) {
long pinID,
Optional<String> clientID,
Optional<String> clientName,
Optional<String> deviceName,
Optional<String> clientVersion,
Optional<String> clientPlatform) {
Utils.checkNotNull(pinID, "pinID");
Utils.checkNotNull(clientID, "clientID");
Utils.checkNotNull(clientName, "clientName");
Utils.checkNotNull(deviceName, "deviceName");
Utils.checkNotNull(clientVersion, "clientVersion");
Utils.checkNotNull(clientPlatform, "clientPlatform");
this.pinID = pinID;
this.clientID = clientID;
this.clientName = clientName;
this.deviceName = deviceName;
this.clientVersion = clientVersion;
this.clientPlatform = clientPlatform;
}
public GetTokenByPinIdRequest(
long pinID) {
this(pinID, Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty(), Optional.empty());
}
/**
@@ -38,6 +77,34 @@ public class GetTokenByPinIdRequest {
return pinID;
}
/**
* 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)
*/
@JsonIgnore
public Optional<String> clientID() {
return clientID;
}
@JsonIgnore
public Optional<String> clientName() {
return clientName;
}
@JsonIgnore
public Optional<String> deviceName() {
return deviceName;
}
@JsonIgnore
public Optional<String> clientVersion() {
return clientVersion;
}
@JsonIgnore
public Optional<String> clientPlatform() {
return clientPlatform;
}
public final static Builder builder() {
return new Builder();
}
@@ -50,6 +117,72 @@ public class GetTokenByPinIdRequest {
this.pinID = pinID;
return this;
}
/**
* 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)
*/
public GetTokenByPinIdRequest withClientID(String clientID) {
Utils.checkNotNull(clientID, "clientID");
this.clientID = Optional.ofNullable(clientID);
return this;
}
/**
* 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)
*/
public GetTokenByPinIdRequest withClientID(Optional<String> clientID) {
Utils.checkNotNull(clientID, "clientID");
this.clientID = clientID;
return this;
}
public GetTokenByPinIdRequest withClientName(String clientName) {
Utils.checkNotNull(clientName, "clientName");
this.clientName = Optional.ofNullable(clientName);
return this;
}
public GetTokenByPinIdRequest withClientName(Optional<String> clientName) {
Utils.checkNotNull(clientName, "clientName");
this.clientName = clientName;
return this;
}
public GetTokenByPinIdRequest withDeviceName(String deviceName) {
Utils.checkNotNull(deviceName, "deviceName");
this.deviceName = Optional.ofNullable(deviceName);
return this;
}
public GetTokenByPinIdRequest withDeviceName(Optional<String> deviceName) {
Utils.checkNotNull(deviceName, "deviceName");
this.deviceName = deviceName;
return this;
}
public GetTokenByPinIdRequest withClientVersion(String clientVersion) {
Utils.checkNotNull(clientVersion, "clientVersion");
this.clientVersion = Optional.ofNullable(clientVersion);
return this;
}
public GetTokenByPinIdRequest withClientVersion(Optional<String> clientVersion) {
Utils.checkNotNull(clientVersion, "clientVersion");
this.clientVersion = clientVersion;
return this;
}
public GetTokenByPinIdRequest withClientPlatform(String clientPlatform) {
Utils.checkNotNull(clientPlatform, "clientPlatform");
this.clientPlatform = Optional.ofNullable(clientPlatform);
return this;
}
public GetTokenByPinIdRequest withClientPlatform(Optional<String> clientPlatform) {
Utils.checkNotNull(clientPlatform, "clientPlatform");
this.clientPlatform = clientPlatform;
return this;
}
@Override
public boolean equals(java.lang.Object o) {
@@ -61,24 +194,49 @@ public class GetTokenByPinIdRequest {
}
GetTokenByPinIdRequest other = (GetTokenByPinIdRequest) o;
return
Objects.deepEquals(this.pinID, other.pinID);
Objects.deepEquals(this.pinID, other.pinID) &&
Objects.deepEquals(this.clientID, other.clientID) &&
Objects.deepEquals(this.clientName, other.clientName) &&
Objects.deepEquals(this.deviceName, other.deviceName) &&
Objects.deepEquals(this.clientVersion, other.clientVersion) &&
Objects.deepEquals(this.clientPlatform, other.clientPlatform);
}
@Override
public int hashCode() {
return Objects.hash(
pinID);
pinID,
clientID,
clientName,
deviceName,
clientVersion,
clientPlatform);
}
@Override
public String toString() {
return Utils.toString(GetTokenByPinIdRequest.class,
"pinID", pinID);
"pinID", pinID,
"clientID", clientID,
"clientName", clientName,
"deviceName", deviceName,
"clientVersion", clientVersion,
"clientPlatform", clientPlatform);
}
public final static class Builder {
private Long pinID;
private Long pinID;
private Optional<String> clientID = Optional.empty();
private Optional<String> clientName = Optional.empty();
private Optional<String> deviceName = Optional.empty();
private Optional<String> clientVersion = Optional.empty();
private Optional<String> clientPlatform = Optional.empty();
private Builder() {
// force use of static builder() method
@@ -92,10 +250,81 @@ public class GetTokenByPinIdRequest {
this.pinID = pinID;
return this;
}
/**
* 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)
*/
public Builder clientID(String clientID) {
Utils.checkNotNull(clientID, "clientID");
this.clientID = Optional.ofNullable(clientID);
return this;
}
/**
* 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)
*/
public Builder clientID(Optional<String> clientID) {
Utils.checkNotNull(clientID, "clientID");
this.clientID = clientID;
return this;
}
public Builder clientName(String clientName) {
Utils.checkNotNull(clientName, "clientName");
this.clientName = Optional.ofNullable(clientName);
return this;
}
public Builder clientName(Optional<String> clientName) {
Utils.checkNotNull(clientName, "clientName");
this.clientName = clientName;
return this;
}
public Builder deviceName(String deviceName) {
Utils.checkNotNull(deviceName, "deviceName");
this.deviceName = Optional.ofNullable(deviceName);
return this;
}
public Builder deviceName(Optional<String> deviceName) {
Utils.checkNotNull(deviceName, "deviceName");
this.deviceName = deviceName;
return this;
}
public Builder clientVersion(String clientVersion) {
Utils.checkNotNull(clientVersion, "clientVersion");
this.clientVersion = Optional.ofNullable(clientVersion);
return this;
}
public Builder clientVersion(Optional<String> clientVersion) {
Utils.checkNotNull(clientVersion, "clientVersion");
this.clientVersion = clientVersion;
return this;
}
public Builder clientPlatform(String clientPlatform) {
Utils.checkNotNull(clientPlatform, "clientPlatform");
this.clientPlatform = Optional.ofNullable(clientPlatform);
return this;
}
public Builder clientPlatform(Optional<String> clientPlatform) {
Utils.checkNotNull(clientPlatform, "clientPlatform");
this.clientPlatform = clientPlatform;
return this;
}
public GetTokenByPinIdRequest build() {
return new GetTokenByPinIdRequest(
pinID);
pinID,
clientID,
clientName,
deviceName,
clientVersion,
clientPlatform);
}
}
}

View File

@@ -5,13 +5,12 @@
package dev.plexapi.sdk.models.operations;
import dev.plexapi.sdk.utils.Utils;
import java.lang.Long;
import java.lang.String;
import java.util.Optional;
public class GetTokenByPinIdRequestBuilder {
private Long pinID;
private GetTokenByPinIdRequest request;
private Optional<String> serverURL = Optional.empty();
private final SDKMethodInterfaces.MethodCallGetTokenByPinId sdk;
@@ -19,9 +18,9 @@ public class GetTokenByPinIdRequestBuilder {
this.sdk = sdk;
}
public GetTokenByPinIdRequestBuilder pinID(long pinID) {
Utils.checkNotNull(pinID, "pinID");
this.pinID = pinID;
public GetTokenByPinIdRequestBuilder request(GetTokenByPinIdRequest request) {
Utils.checkNotNull(request, "request");
this.request = request;
return this;
}
@@ -40,7 +39,7 @@ public class GetTokenByPinIdRequestBuilder {
public GetTokenByPinIdResponse call() throws Exception {
return sdk.getTokenByPinId(
pinID,
request,
serverURL);
}
}

View File

@@ -15,28 +15,43 @@ public enum GetTokenDetailsFeatures {
TREBLE_SHOW_FEATURES("TREBLE-show-features"),
AD_COUNTDOWN_TIMER("ad-countdown-timer"),
ADAPTIVE_BITRATE("adaptive_bitrate"),
ALBUM_TYPES("album-types"),
ALLOW_DVR("allow_dvr"),
AMAZON_LOOP_DEBUG("amazon-loop-debug"),
AVOD_AD_ANALYSIS("avod-ad-analysis"),
AVOD_NEW_MEDIA("avod-new-media"),
BLACKLIST_GET_SIGNIN("blacklist_get_signin"),
BOOST_VOICES("boost-voices"),
CAMERA_UPLOAD("camera_upload"),
CLIENT_RADIO_STATIONS("client-radio-stations"),
CLOUDFLARE_TURNSTILE_REQUIRED("cloudflare-turnstile-required"),
CLOUDSYNC("cloudsync"),
COLLECTIONS("collections"),
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS("comments_and_replies_push_notifications"),
COMMUNITY_ACCESS_PLEX_TV("community_access_plex_tv"),
COMPANIONS_SONOS("companions_sonos"),
CONTENT_FILTER("content_filter"),
CUSTOM_HOME_REMOVAL("custom-home-removal"),
DISABLE_HOME_USER_FRIENDSHIPS("disable_home_user_friendships"),
DISABLE_SHARING_FRIENDSHIPS("disable_sharing_friendships"),
DOWNLOADS_GATING("downloads-gating"),
DRM_SUPPORT("drm_support"),
DVR("dvr"),
DVR_BLOCK_UNSUPPORTED_COUNTRIES("dvr-block-unsupported-countries"),
EPG_RECENT_CHANNELS("epg-recent-channels"),
EXCLUDE_RESTRICTIONS("exclude restrictions"),
FEDERATED_AUTH("federated-auth"),
FRIEND_REQUEST_PUSH_NOTIFICATIONS("friend_request_push_notifications"),
GRANDFATHER_SYNC("grandfather-sync"),
GUIDED_UPGRADE("guided-upgrade"),
HARDWARE_TRANSCODING("hardware_transcoding"),
HOME("home"),
HWTRANSCODE("hwtranscode"),
IMAGGA_V2("imagga-v2"),
INCREASE_PASSWORD_COMPLEXITY("increase-password-complexity"),
IOS14_PRIVACY_BANNER("ios14-privacy-banner"),
ITERABLE_NOTIFICATION_TOKENS("iterable-notification-tokens"),
ITEM_CLUSTERS("item_clusters"),
KEEP_PAYMENT_METHOD("keep-payment-method"),
KEVIN_BACON("kevin-bacon"),
KOREA_CONSENT("korea-consent"),
@@ -45,28 +60,49 @@ public enum GetTokenDetailsFeatures {
LIGHTNING_DVR_PIVOT("lightning-dvr-pivot"),
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS("live-tv-support-incomplete-segments"),
LIVETV("livetv"),
LYRICS("lyrics"),
METADATA_SEARCH("metadata_search"),
MUSIC_ANALYSIS("music-analysis"),
MUSIC_VIDEOS("music_videos"),
NEW_PLEX_PASS_PRICES("new_plex_pass_prices"),
NEWS_PROVIDER_SUNSET_MODAL("news-provider-sunset-modal"),
NOMINATIM("nominatim"),
PASS("pass"),
PHOTOS_FAVORITES("photos-favorites"),
PHOTOS_METADATA_EDITION("photos-metadata-edition"),
PHOTOS_V6_EDIT("photosV6-edit"),
PHOTOS_V6_TV_ALBUMS("photosV6-tv-albums"),
PMS_HEALTH("pms_health"),
PREMIUM_DASHBOARD("premium-dashboard"),
PREMIUM_MUSIC_METADATA("premium_music_metadata"),
RADIO("radio"),
RATE_LIMIT_CLIENT_TOKEN("rate-limit-client-token"),
SCROBBLING_SERVICE_PLEX_TV("scrobbling-service-plex-tv"),
SESSION_BANDWIDTH_RESTRICTIONS("session_bandwidth_restrictions"),
SESSION_KICK("session_kick"),
SHARED_SERVER_NOTIFICATION("shared_server_notification"),
SHARED_SOURCE_NOTIFICATION("shared_source_notification"),
SIGNIN_NOTIFICATION("signin_notification"),
SIGNIN_WITH_APPLE("signin_with_apple"),
SILENCE_REMOVAL("silence-removal"),
SLEEP_TIMER("sleep-timer"),
SPRING_SERVE_AD_PROVIDER("spring_serve_ad_provider"),
SYNC("sync"),
SWEET_FADES("sweet-fades"),
TRANSCODER_CACHE("transcoder_cache"),
TRAILERS("trailers"),
TUNER_SHARING("tuner-sharing"),
TWO_FACTOR_AUTHENTICATION("two-factor-authentication"),
UNSUPPORTEDTUNERS("unsupportedtuners"),
UPGRADE3DS2("upgrade-3ds2"),
VISUALIZERS("visualizers"),
VOD_SCHEMA("vod-schema"),
VOD_CLOUDFLARE("vod_cloudflare"),
VOLUME_LEVELING("volume-leveling"),
WATCH_TOGETHER_INVITE("watch-together-invite"),
WEB_SERVER_DASHBOARD("web_server_dashboard");
WATCHLIST_RSS("watchlist-rss"),
WEB_SERVER_DASHBOARD("web_server_dashboard"),
WEBHOOKS("webhooks");
@JsonValue
private final String value;

View File

@@ -179,7 +179,7 @@ public class GetTokenDetailsUserPlexAccount {
private Optional<Boolean> mailingListActive;
/**
* Your current mailing list status
* Your current mailing list status (active or unsubscribed)
*/
@JsonProperty("mailingListStatus")
private MailingListStatus mailingListStatus;
@@ -617,7 +617,7 @@ public class GetTokenDetailsUserPlexAccount {
}
/**
* Your current mailing list status
* Your current mailing list status (active or unsubscribed)
*/
@JsonIgnore
public MailingListStatus mailingListStatus() {
@@ -1088,7 +1088,7 @@ public class GetTokenDetailsUserPlexAccount {
}
/**
* Your current mailing list status
* Your current mailing list status (active or unsubscribed)
*/
public GetTokenDetailsUserPlexAccount withMailingListStatus(MailingListStatus mailingListStatus) {
Utils.checkNotNull(mailingListStatus, "mailingListStatus");
@@ -1869,7 +1869,7 @@ public class GetTokenDetailsUserPlexAccount {
}
/**
* Your current mailing list status
* Your current mailing list status (active or unsubscribed)
*/
public Builder mailingListStatus(MailingListStatus mailingListStatus) {
Utils.checkNotNull(mailingListStatus, "mailingListStatus");

View File

@@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
import java.lang.String;
/**
* MailingListStatus - Your current mailing list status
* MailingListStatus - Your current mailing list status (active or unsubscribed)
*/
public enum MailingListStatus {
ACTIVE("active"),

View File

@@ -15,28 +15,43 @@ public enum PostUsersSignInDataAuthenticationFeatures {
TREBLE_SHOW_FEATURES("TREBLE-show-features"),
AD_COUNTDOWN_TIMER("ad-countdown-timer"),
ADAPTIVE_BITRATE("adaptive_bitrate"),
ALBUM_TYPES("album-types"),
ALLOW_DVR("allow_dvr"),
AMAZON_LOOP_DEBUG("amazon-loop-debug"),
AVOD_AD_ANALYSIS("avod-ad-analysis"),
AVOD_NEW_MEDIA("avod-new-media"),
BLACKLIST_GET_SIGNIN("blacklist_get_signin"),
BOOST_VOICES("boost-voices"),
CAMERA_UPLOAD("camera_upload"),
CLIENT_RADIO_STATIONS("client-radio-stations"),
CLOUDFLARE_TURNSTILE_REQUIRED("cloudflare-turnstile-required"),
CLOUDSYNC("cloudsync"),
COLLECTIONS("collections"),
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS("comments_and_replies_push_notifications"),
COMMUNITY_ACCESS_PLEX_TV("community_access_plex_tv"),
COMPANIONS_SONOS("companions_sonos"),
CONTENT_FILTER("content_filter"),
CUSTOM_HOME_REMOVAL("custom-home-removal"),
DISABLE_HOME_USER_FRIENDSHIPS("disable_home_user_friendships"),
DISABLE_SHARING_FRIENDSHIPS("disable_sharing_friendships"),
DOWNLOADS_GATING("downloads-gating"),
DRM_SUPPORT("drm_support"),
DVR("dvr"),
DVR_BLOCK_UNSUPPORTED_COUNTRIES("dvr-block-unsupported-countries"),
EPG_RECENT_CHANNELS("epg-recent-channels"),
EXCLUDE_RESTRICTIONS("exclude restrictions"),
FEDERATED_AUTH("federated-auth"),
FRIEND_REQUEST_PUSH_NOTIFICATIONS("friend_request_push_notifications"),
GRANDFATHER_SYNC("grandfather-sync"),
GUIDED_UPGRADE("guided-upgrade"),
HARDWARE_TRANSCODING("hardware_transcoding"),
HOME("home"),
HWTRANSCODE("hwtranscode"),
IMAGGA_V2("imagga-v2"),
INCREASE_PASSWORD_COMPLEXITY("increase-password-complexity"),
IOS14_PRIVACY_BANNER("ios14-privacy-banner"),
ITERABLE_NOTIFICATION_TOKENS("iterable-notification-tokens"),
ITEM_CLUSTERS("item_clusters"),
KEEP_PAYMENT_METHOD("keep-payment-method"),
KEVIN_BACON("kevin-bacon"),
KOREA_CONSENT("korea-consent"),
@@ -45,28 +60,49 @@ public enum PostUsersSignInDataAuthenticationFeatures {
LIGHTNING_DVR_PIVOT("lightning-dvr-pivot"),
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS("live-tv-support-incomplete-segments"),
LIVETV("livetv"),
LYRICS("lyrics"),
METADATA_SEARCH("metadata_search"),
MUSIC_ANALYSIS("music-analysis"),
MUSIC_VIDEOS("music_videos"),
NEW_PLEX_PASS_PRICES("new_plex_pass_prices"),
NEWS_PROVIDER_SUNSET_MODAL("news-provider-sunset-modal"),
NOMINATIM("nominatim"),
PASS("pass"),
PHOTOS_FAVORITES("photos-favorites"),
PHOTOS_METADATA_EDITION("photos-metadata-edition"),
PHOTOS_V6_EDIT("photosV6-edit"),
PHOTOS_V6_TV_ALBUMS("photosV6-tv-albums"),
PMS_HEALTH("pms_health"),
PREMIUM_DASHBOARD("premium-dashboard"),
PREMIUM_MUSIC_METADATA("premium_music_metadata"),
RADIO("radio"),
RATE_LIMIT_CLIENT_TOKEN("rate-limit-client-token"),
SCROBBLING_SERVICE_PLEX_TV("scrobbling-service-plex-tv"),
SESSION_BANDWIDTH_RESTRICTIONS("session_bandwidth_restrictions"),
SESSION_KICK("session_kick"),
SHARED_SERVER_NOTIFICATION("shared_server_notification"),
SHARED_SOURCE_NOTIFICATION("shared_source_notification"),
SIGNIN_NOTIFICATION("signin_notification"),
SIGNIN_WITH_APPLE("signin_with_apple"),
SILENCE_REMOVAL("silence-removal"),
SLEEP_TIMER("sleep-timer"),
SPRING_SERVE_AD_PROVIDER("spring_serve_ad_provider"),
SYNC("sync"),
SWEET_FADES("sweet-fades"),
TRANSCODER_CACHE("transcoder_cache"),
TRAILERS("trailers"),
TUNER_SHARING("tuner-sharing"),
TWO_FACTOR_AUTHENTICATION("two-factor-authentication"),
UNSUPPORTEDTUNERS("unsupportedtuners"),
UPGRADE3DS2("upgrade-3ds2"),
VISUALIZERS("visualizers"),
VOD_SCHEMA("vod-schema"),
VOD_CLOUDFLARE("vod_cloudflare"),
VOLUME_LEVELING("volume-leveling"),
WATCH_TOGETHER_INVITE("watch-together-invite"),
WEB_SERVER_DASHBOARD("web_server_dashboard");
WATCHLIST_RSS("watchlist-rss"),
WEB_SERVER_DASHBOARD("web_server_dashboard"),
WEBHOOKS("webhooks");
@JsonValue
private final String value;

View File

@@ -15,28 +15,43 @@ public enum PostUsersSignInDataFeatures {
TREBLE_SHOW_FEATURES("TREBLE-show-features"),
AD_COUNTDOWN_TIMER("ad-countdown-timer"),
ADAPTIVE_BITRATE("adaptive_bitrate"),
ALBUM_TYPES("album-types"),
ALLOW_DVR("allow_dvr"),
AMAZON_LOOP_DEBUG("amazon-loop-debug"),
AVOD_AD_ANALYSIS("avod-ad-analysis"),
AVOD_NEW_MEDIA("avod-new-media"),
BLACKLIST_GET_SIGNIN("blacklist_get_signin"),
BOOST_VOICES("boost-voices"),
CAMERA_UPLOAD("camera_upload"),
CLIENT_RADIO_STATIONS("client-radio-stations"),
CLOUDFLARE_TURNSTILE_REQUIRED("cloudflare-turnstile-required"),
CLOUDSYNC("cloudsync"),
COLLECTIONS("collections"),
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS("comments_and_replies_push_notifications"),
COMMUNITY_ACCESS_PLEX_TV("community_access_plex_tv"),
COMPANIONS_SONOS("companions_sonos"),
CONTENT_FILTER("content_filter"),
CUSTOM_HOME_REMOVAL("custom-home-removal"),
DISABLE_HOME_USER_FRIENDSHIPS("disable_home_user_friendships"),
DISABLE_SHARING_FRIENDSHIPS("disable_sharing_friendships"),
DOWNLOADS_GATING("downloads-gating"),
DRM_SUPPORT("drm_support"),
DVR("dvr"),
DVR_BLOCK_UNSUPPORTED_COUNTRIES("dvr-block-unsupported-countries"),
EPG_RECENT_CHANNELS("epg-recent-channels"),
EXCLUDE_RESTRICTIONS("exclude restrictions"),
FEDERATED_AUTH("federated-auth"),
FRIEND_REQUEST_PUSH_NOTIFICATIONS("friend_request_push_notifications"),
GRANDFATHER_SYNC("grandfather-sync"),
GUIDED_UPGRADE("guided-upgrade"),
HARDWARE_TRANSCODING("hardware_transcoding"),
HOME("home"),
HWTRANSCODE("hwtranscode"),
IMAGGA_V2("imagga-v2"),
INCREASE_PASSWORD_COMPLEXITY("increase-password-complexity"),
IOS14_PRIVACY_BANNER("ios14-privacy-banner"),
ITERABLE_NOTIFICATION_TOKENS("iterable-notification-tokens"),
ITEM_CLUSTERS("item_clusters"),
KEEP_PAYMENT_METHOD("keep-payment-method"),
KEVIN_BACON("kevin-bacon"),
KOREA_CONSENT("korea-consent"),
@@ -45,28 +60,49 @@ public enum PostUsersSignInDataFeatures {
LIGHTNING_DVR_PIVOT("lightning-dvr-pivot"),
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS("live-tv-support-incomplete-segments"),
LIVETV("livetv"),
LYRICS("lyrics"),
METADATA_SEARCH("metadata_search"),
MUSIC_ANALYSIS("music-analysis"),
MUSIC_VIDEOS("music_videos"),
NEW_PLEX_PASS_PRICES("new_plex_pass_prices"),
NEWS_PROVIDER_SUNSET_MODAL("news-provider-sunset-modal"),
NOMINATIM("nominatim"),
PASS("pass"),
PHOTOS_FAVORITES("photos-favorites"),
PHOTOS_METADATA_EDITION("photos-metadata-edition"),
PHOTOS_V6_EDIT("photosV6-edit"),
PHOTOS_V6_TV_ALBUMS("photosV6-tv-albums"),
PMS_HEALTH("pms_health"),
PREMIUM_DASHBOARD("premium-dashboard"),
PREMIUM_MUSIC_METADATA("premium_music_metadata"),
RADIO("radio"),
RATE_LIMIT_CLIENT_TOKEN("rate-limit-client-token"),
SCROBBLING_SERVICE_PLEX_TV("scrobbling-service-plex-tv"),
SESSION_BANDWIDTH_RESTRICTIONS("session_bandwidth_restrictions"),
SESSION_KICK("session_kick"),
SHARED_SERVER_NOTIFICATION("shared_server_notification"),
SHARED_SOURCE_NOTIFICATION("shared_source_notification"),
SIGNIN_NOTIFICATION("signin_notification"),
SIGNIN_WITH_APPLE("signin_with_apple"),
SILENCE_REMOVAL("silence-removal"),
SLEEP_TIMER("sleep-timer"),
SPRING_SERVE_AD_PROVIDER("spring_serve_ad_provider"),
SYNC("sync"),
SWEET_FADES("sweet-fades"),
TRANSCODER_CACHE("transcoder_cache"),
TRAILERS("trailers"),
TUNER_SHARING("tuner-sharing"),
TWO_FACTOR_AUTHENTICATION("two-factor-authentication"),
UNSUPPORTEDTUNERS("unsupportedtuners"),
UPGRADE3DS2("upgrade-3ds2"),
VISUALIZERS("visualizers"),
VOD_SCHEMA("vod-schema"),
VOD_CLOUDFLARE("vod_cloudflare"),
VOLUME_LEVELING("volume-leveling"),
WATCH_TOGETHER_INVITE("watch-together-invite"),
WEB_SERVER_DASHBOARD("web_server_dashboard");
WATCHLIST_RSS("watchlist-rss"),
WEB_SERVER_DASHBOARD("web_server_dashboard"),
WEBHOOKS("webhooks");
@JsonValue
private final String value;

View File

@@ -8,7 +8,7 @@ import com.fasterxml.jackson.annotation.JsonValue;
import java.lang.String;
/**
* PostUsersSignInDataMailingListStatus - Your current mailing list status
* PostUsersSignInDataMailingListStatus - Your current mailing list status (active or unsubscribed)
*/
public enum PostUsersSignInDataMailingListStatus {
ACTIVE("active"),

View File

@@ -19,10 +19,7 @@ import java.util.Optional;
public class PostUsersSignInDataRequest {
/**
* 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)
*
* 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)
*/
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=X-Plex-Client-Identifier")
private Optional<String> clientID;
@@ -72,10 +69,7 @@ public class PostUsersSignInDataRequest {
}
/**
* 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)
*
* 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)
*/
@JsonIgnore
public Optional<String> clientID() {
@@ -116,10 +110,7 @@ public class PostUsersSignInDataRequest {
}
/**
* 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)
*
* 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)
*/
public PostUsersSignInDataRequest withClientID(String clientID) {
Utils.checkNotNull(clientID, "clientID");
@@ -128,10 +119,7 @@ public class PostUsersSignInDataRequest {
}
/**
* 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)
*
* 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)
*/
public PostUsersSignInDataRequest withClientID(Optional<String> clientID) {
Utils.checkNotNull(clientID, "clientID");
@@ -264,10 +252,7 @@ public class PostUsersSignInDataRequest {
}
/**
* 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)
*
* 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)
*/
public Builder clientID(String clientID) {
Utils.checkNotNull(clientID, "clientID");
@@ -276,10 +261,7 @@ public class PostUsersSignInDataRequest {
}
/**
* 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)
*
* 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)
*/
public Builder clientID(Optional<String> clientID) {
Utils.checkNotNull(clientID, "clientID");

View File

@@ -179,7 +179,7 @@ public class PostUsersSignInDataUserPlexAccount {
private Optional<Boolean> mailingListActive;
/**
* Your current mailing list status
* Your current mailing list status (active or unsubscribed)
*/
@JsonProperty("mailingListStatus")
private PostUsersSignInDataMailingListStatus mailingListStatus;
@@ -631,7 +631,7 @@ public class PostUsersSignInDataUserPlexAccount {
}
/**
* Your current mailing list status
* Your current mailing list status (active or unsubscribed)
*/
@JsonIgnore
public PostUsersSignInDataMailingListStatus mailingListStatus() {
@@ -1112,7 +1112,7 @@ public class PostUsersSignInDataUserPlexAccount {
}
/**
* Your current mailing list status
* Your current mailing list status (active or unsubscribed)
*/
public PostUsersSignInDataUserPlexAccount withMailingListStatus(PostUsersSignInDataMailingListStatus mailingListStatus) {
Utils.checkNotNull(mailingListStatus, "mailingListStatus");
@@ -1915,7 +1915,7 @@ public class PostUsersSignInDataUserPlexAccount {
}
/**
* Your current mailing list status
* Your current mailing list status (active or unsubscribed)
*/
public Builder mailingListStatus(PostUsersSignInDataMailingListStatus mailingListStatus) {
Utils.checkNotNull(mailingListStatus, "mailingListStatus");

View File

@@ -170,6 +170,7 @@ public class SDKMethodInterfaces {
Optional<? extends IncludeHttps> includeHttps,
Optional<? extends IncludeRelay> includeRelay,
Optional<? extends IncludeIPv6> includeIPv6,
Optional<String> clientID,
Optional<String> serverURL) throws Exception;
}
@@ -183,7 +184,7 @@ public class SDKMethodInterfaces {
public interface MethodCallGetTokenByPinId {
GetTokenByPinIdResponse getTokenByPinId(
long pinID,
GetTokenByPinIdRequest request,
Optional<String> serverURL) throws Exception;
}