mirror of
https://github.com/LukeHagar/plexpy.git
synced 2025-12-06 12:47:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.404.5
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
lockVersion: 2.0.0
|
lockVersion: 2.0.0
|
||||||
id: 3eeea668-4ef4-464e-a888-bdfa023bedf5
|
id: 3eeea668-4ef4-464e-a888-bdfa023bedf5
|
||||||
management:
|
management:
|
||||||
docChecksum: 9f62ea35c6168986c8e3557d5df50b99
|
docChecksum: f387ae03f10decba230886eaab322b20
|
||||||
docVersion: 0.0.3
|
docVersion: 0.0.3
|
||||||
speakeasyVersion: 1.404.5
|
speakeasyVersion: 1.404.5
|
||||||
generationVersion: 2.426.2
|
generationVersion: 2.426.2
|
||||||
releaseVersion: 0.15.1
|
releaseVersion: 0.16.0
|
||||||
configChecksum: b2cbdd18b10b3e21e2f755c06d172b90
|
configChecksum: 4fb92df989ba28339c266ea7e0e3b960
|
||||||
repoURL: https://github.com/LukeHagar/plexpy.git
|
repoURL: https://github.com/LukeHagar/plexpy.git
|
||||||
repoSubDirectory: .
|
repoSubDirectory: .
|
||||||
installationURL: https://github.com/LukeHagar/plexpy.git
|
installationURL: https://github.com/LukeHagar/plexpy.git
|
||||||
@@ -32,6 +32,7 @@ features:
|
|||||||
methodServerURLs: 3.0.0
|
methodServerURLs: 3.0.0
|
||||||
nameOverrides: 3.0.0
|
nameOverrides: 3.0.0
|
||||||
nullables: 1.0.0
|
nullables: 1.0.0
|
||||||
|
openEnums: 1.0.0
|
||||||
responseFormat: 1.0.1
|
responseFormat: 1.0.1
|
||||||
retries: 3.0.2
|
retries: 3.0.2
|
||||||
sdkHooks: 1.0.0
|
sdkHooks: 1.0.0
|
||||||
@@ -618,6 +619,7 @@ generatedFiles:
|
|||||||
- docs/models/operations/getserverpreferencesmediacontainer.md
|
- docs/models/operations/getserverpreferencesmediacontainer.md
|
||||||
- docs/models/operations/getserverpreferencesresponse.md
|
- docs/models/operations/getserverpreferencesresponse.md
|
||||||
- docs/models/operations/getserverpreferencesresponsebody.md
|
- docs/models/operations/getserverpreferencesresponsebody.md
|
||||||
|
- docs/models/operations/getserverresourcesglobals.md
|
||||||
- docs/models/operations/getserverresourcesrequest.md
|
- docs/models/operations/getserverresourcesrequest.md
|
||||||
- docs/models/operations/getserverresourcesresponse.md
|
- docs/models/operations/getserverresourcesresponse.md
|
||||||
- docs/models/operations/getsessionhistorymediacontainer.md
|
- docs/models/operations/getsessionhistorymediacontainer.md
|
||||||
@@ -1351,6 +1353,7 @@ examples:
|
|||||||
includeHttps: 1
|
includeHttps: 1
|
||||||
includeRelay: 1
|
includeRelay: 1
|
||||||
includeIPv6: 1
|
includeIPv6: 1
|
||||||
|
X-Plex-Client-Identifier: "gcgzw5rz2xovp84b4vha3a40"
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
application/json: []
|
application/json: []
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ generation:
|
|||||||
auth:
|
auth:
|
||||||
oAuth2ClientCredentialsEnabled: true
|
oAuth2ClientCredentialsEnabled: true
|
||||||
python:
|
python:
|
||||||
version: 0.15.1
|
version: 0.16.0
|
||||||
additionalDependencies:
|
additionalDependencies:
|
||||||
dev: {}
|
dev: {}
|
||||||
main: {}
|
main: {}
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ sources:
|
|||||||
- latest
|
- latest
|
||||||
plexapi:
|
plexapi:
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:ed1af8e79d553cc0bf2f8f7975f445d80cb8bd58390bca18d1352577da5ec5ed
|
sourceRevisionDigest: sha256:a9bd67eaa35b8311162ae769209f725cc5da16e57976b4928c54594c02cd451c
|
||||||
sourceBlobDigest: sha256:157db2a169209c18fdca786b671c5da8d2b14dc3005574d08c9d667320869093
|
sourceBlobDigest: sha256:43ddffba137c37d2f64f8db185179a273bcc5ca7242594c932da99d1eb7f3e98
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- main
|
- main
|
||||||
@@ -17,10 +17,10 @@ targets:
|
|||||||
plexpy:
|
plexpy:
|
||||||
source: plexapi
|
source: plexapi
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:ed1af8e79d553cc0bf2f8f7975f445d80cb8bd58390bca18d1352577da5ec5ed
|
sourceRevisionDigest: sha256:a9bd67eaa35b8311162ae769209f725cc5da16e57976b4928c54594c02cd451c
|
||||||
sourceBlobDigest: sha256:157db2a169209c18fdca786b671c5da8d2b14dc3005574d08c9d667320869093
|
sourceBlobDigest: sha256:43ddffba137c37d2f64f8db185179a273bcc5ca7242594c932da99d1eb7f3e98
|
||||||
codeSamplesNamespace: code-samples-python-plexpy
|
codeSamplesNamespace: code-samples-python-plexpy
|
||||||
codeSamplesRevisionDigest: sha256:782c089812c393c0cc078fe6083deb38fb97c1f5bdc8856e983cb825d1ac6e2b
|
codeSamplesRevisionDigest: sha256:cb858e69b89f682d47639b76ea131528778854c4b0b5a071e7d6759a6b0fa1bd
|
||||||
workflow:
|
workflow:
|
||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
speakeasyVersion: latest
|
speakeasyVersion: latest
|
||||||
|
|||||||
@@ -576,7 +576,7 @@ if res.object is not None:
|
|||||||
|
|
||||||
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.
|
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 `get_pin`. 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 `get_server_resources`. 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
|
### Available Globals
|
||||||
@@ -599,8 +599,10 @@ This is used to track the client application and its usage
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
from plex_api_client import PlexAPI
|
from plex_api_client import PlexAPI
|
||||||
|
from plex_api_client.models import operations
|
||||||
|
|
||||||
s = PlexAPI(
|
s = PlexAPI(
|
||||||
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
client_id="gcgzw5rz2xovp84b4vha3a40",
|
client_id="gcgzw5rz2xovp84b4vha3a40",
|
||||||
client_name="Plex Web",
|
client_name="Plex Web",
|
||||||
client_version="4.133.0",
|
client_version="4.133.0",
|
||||||
@@ -608,9 +610,9 @@ s = PlexAPI(
|
|||||||
device_name="Linux",
|
device_name="Linux",
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.plex.get_pin(request={})
|
res = s.plex.get_server_resources(include_https=operations.IncludeHTTPS.ENABLE, include_relay=operations.IncludeRelay.ENABLE, include_i_pv6=operations.IncludeIPv6.ENABLE, client_id="gcgzw5rz2xovp84b4vha3a40")
|
||||||
|
|
||||||
if res.auth_pin_container is not None:
|
if res.plex_devices is not None:
|
||||||
# handle response
|
# handle response
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
12
RELEASES.md
12
RELEASES.md
@@ -798,4 +798,14 @@ Based on:
|
|||||||
### Generated
|
### Generated
|
||||||
- [python v0.15.1] .
|
- [python v0.15.1] .
|
||||||
### Releases
|
### Releases
|
||||||
- [PyPI v0.15.1] https://pypi.org/project/plex-api-client/0.15.1 - .
|
- [PyPI v0.15.1] https://pypi.org/project/plex-api-client/0.15.1 - .
|
||||||
|
|
||||||
|
## 2024-09-30 00:01:11
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc
|
||||||
|
- Speakeasy CLI 1.404.5 (2.426.2) https://github.com/speakeasy-api/speakeasy
|
||||||
|
### Generated
|
||||||
|
- [python v0.16.0] .
|
||||||
|
### Releases
|
||||||
|
- [PyPI v0.16.0] https://pypi.org/project/plex-api-client/0.16.0 - .
|
||||||
@@ -1369,7 +1369,7 @@ actions:
|
|||||||
device_name="Linux",
|
device_name="Linux",
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.plex.get_server_resources(include_https=operations.IncludeHTTPS.ENABLE, include_relay=operations.IncludeRelay.ENABLE, include_i_pv6=operations.IncludeIPv6.ENABLE)
|
res = s.plex.get_server_resources(include_https=operations.IncludeHTTPS.ENABLE, include_relay=operations.IncludeRelay.ENABLE, include_i_pv6=operations.IncludeIPv6.ENABLE, client_id="gcgzw5rz2xovp84b4vha3a40")
|
||||||
|
|
||||||
if res.plex_devices is not None:
|
if res.plex_devices is not None:
|
||||||
# handle response
|
# handle response
|
||||||
|
|||||||
@@ -12,28 +12,43 @@
|
|||||||
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
|
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
|
||||||
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
|
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
|
||||||
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
|
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
|
||||||
|
| `ALBUM_TYPES` | album-types |
|
||||||
|
| `ALLOW_DVR` | allow_dvr |
|
||||||
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
|
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
|
||||||
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
|
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
|
||||||
| `AVOD_NEW_MEDIA` | avod-new-media |
|
| `AVOD_NEW_MEDIA` | avod-new-media |
|
||||||
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
|
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
|
||||||
|
| `BOOST_VOICES` | boost-voices |
|
||||||
|
| `CAMERA_UPLOAD` | camera_upload |
|
||||||
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
|
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
|
||||||
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
|
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
|
||||||
|
| `CLOUDSYNC` | cloudsync |
|
||||||
| `COLLECTIONS` | collections |
|
| `COLLECTIONS` | collections |
|
||||||
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
|
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
|
||||||
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
|
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
|
||||||
| `COMPANIONS_SONOS` | companions_sonos |
|
| `COMPANIONS_SONOS` | companions_sonos |
|
||||||
|
| `CONTENT_FILTER` | content_filter |
|
||||||
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
|
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
|
||||||
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
|
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
|
||||||
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
|
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
|
||||||
|
| `DOWNLOADS_GATING` | downloads-gating |
|
||||||
| `DRM_SUPPORT` | drm_support |
|
| `DRM_SUPPORT` | drm_support |
|
||||||
|
| `DVR` | dvr |
|
||||||
|
| `DVR_BLOCK_UNSUPPORTED_COUNTRIES` | dvr-block-unsupported-countries |
|
||||||
|
| `EPG_RECENT_CHANNELS` | epg-recent-channels |
|
||||||
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
|
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
|
||||||
| `FEDERATED_AUTH` | federated-auth |
|
| `FEDERATED_AUTH` | federated-auth |
|
||||||
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
|
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
|
||||||
|
| `GRANDFATHER_SYNC` | grandfather-sync |
|
||||||
| `GUIDED_UPGRADE` | guided-upgrade |
|
| `GUIDED_UPGRADE` | guided-upgrade |
|
||||||
|
| `HARDWARE_TRANSCODING` | hardware_transcoding |
|
||||||
| `HOME` | home |
|
| `HOME` | home |
|
||||||
|
| `HWTRANSCODE` | hwtranscode |
|
||||||
|
| `IMAGGA_V2` | imagga-v2 |
|
||||||
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
|
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
|
||||||
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
|
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
|
||||||
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
|
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
|
||||||
|
| `ITEM_CLUSTERS` | item_clusters |
|
||||||
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
|
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
|
||||||
| `KEVIN_BACON` | kevin-bacon |
|
| `KEVIN_BACON` | kevin-bacon |
|
||||||
| `KOREA_CONSENT` | korea-consent |
|
| `KOREA_CONSENT` | korea-consent |
|
||||||
@@ -42,25 +57,46 @@
|
|||||||
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
|
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
|
||||||
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
|
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
|
||||||
| `LIVETV` | livetv |
|
| `LIVETV` | livetv |
|
||||||
|
| `LYRICS` | lyrics |
|
||||||
| `METADATA_SEARCH` | metadata_search |
|
| `METADATA_SEARCH` | metadata_search |
|
||||||
|
| `MUSIC_ANALYSIS` | music-analysis |
|
||||||
|
| `MUSIC_VIDEOS` | music_videos |
|
||||||
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
|
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
|
||||||
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
|
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
|
||||||
|
| `NOMINATIM` | nominatim |
|
||||||
|
| `PASS` | pass |
|
||||||
| `PHOTOS_FAVORITES` | photos-favorites |
|
| `PHOTOS_FAVORITES` | photos-favorites |
|
||||||
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
|
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
|
||||||
|
| `PHOTOS_V6_EDIT` | photosV6-edit |
|
||||||
|
| `PHOTOS_V6_TV_ALBUMS` | photosV6-tv-albums |
|
||||||
| `PMS_HEALTH` | pms_health |
|
| `PMS_HEALTH` | pms_health |
|
||||||
|
| `PREMIUM_DASHBOARD` | premium-dashboard |
|
||||||
|
| `PREMIUM_MUSIC_METADATA` | premium_music_metadata |
|
||||||
| `RADIO` | radio |
|
| `RADIO` | radio |
|
||||||
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
|
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
|
||||||
| `SCROBBLING_SERVICE_PLEX_TV` | scrobbling-service-plex-tv |
|
| `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_SERVER_NOTIFICATION` | shared_server_notification |
|
||||||
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
|
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
|
||||||
|
| `SIGNIN_NOTIFICATION` | signin_notification |
|
||||||
| `SIGNIN_WITH_APPLE` | signin_with_apple |
|
| `SIGNIN_WITH_APPLE` | signin_with_apple |
|
||||||
|
| `SILENCE_REMOVAL` | silence-removal |
|
||||||
|
| `SLEEP_TIMER` | sleep-timer |
|
||||||
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
|
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
|
||||||
|
| `SYNC` | sync |
|
||||||
|
| `SWEET_FADES` | sweet-fades |
|
||||||
| `TRANSCODER_CACHE` | transcoder_cache |
|
| `TRANSCODER_CACHE` | transcoder_cache |
|
||||||
|
| `TRAILERS` | trailers |
|
||||||
| `TUNER_SHARING` | tuner-sharing |
|
| `TUNER_SHARING` | tuner-sharing |
|
||||||
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
|
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
|
||||||
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
|
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
|
||||||
| `UPGRADE_3DS2` | upgrade-3ds2 |
|
| `UPGRADE_3DS2` | upgrade-3ds2 |
|
||||||
|
| `VISUALIZERS` | visualizers |
|
||||||
| `VOD_SCHEMA` | vod-schema |
|
| `VOD_SCHEMA` | vod-schema |
|
||||||
| `VOD_CLOUDFLARE` | vod_cloudflare |
|
| `VOD_CLOUDFLARE` | vod_cloudflare |
|
||||||
|
| `VOLUME_LEVELING` | volume-leveling |
|
||||||
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
|
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
|
||||||
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
|
| `WATCHLIST_RSS` | watchlist-rss |
|
||||||
|
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
|
||||||
|
| `WEBHOOKS` | webhooks |
|
||||||
8
docs/models/operations/getserverresourcesglobals.md
Normal file
8
docs/models/operations/getserverresourcesglobals.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# GetServerResourcesGlobals
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description | Example |
|
||||||
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `client_id` | *Optional[str]* | :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 |
|
||||||
@@ -3,8 +3,9 @@
|
|||||||
|
|
||||||
## Fields
|
## Fields
|
||||||
|
|
||||||
| Field | Type | Required | Description | Example |
|
| Field | Type | Required | Description | Example |
|
||||||
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `include_https` | [Optional[operations.IncludeHTTPS]](../../models/operations/includehttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
|
| `include_https` | [Optional[operations.IncludeHTTPS]](../../models/operations/includehttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
|
||||||
| `include_relay` | [Optional[operations.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 |
|
| `include_relay` | [Optional[operations.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 |
|
||||||
| `include_i_pv6` | [Optional[operations.IncludeIPv6]](../../models/operations/includeipv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
|
| `include_i_pv6` | [Optional[operations.IncludeIPv6]](../../models/operations/includeipv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
|
||||||
|
| `client_id` | *Optional[str]* | :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 |
|
||||||
@@ -12,28 +12,43 @@
|
|||||||
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
|
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
|
||||||
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
|
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
|
||||||
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
|
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
|
||||||
|
| `ALBUM_TYPES` | album-types |
|
||||||
|
| `ALLOW_DVR` | allow_dvr |
|
||||||
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
|
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
|
||||||
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
|
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
|
||||||
| `AVOD_NEW_MEDIA` | avod-new-media |
|
| `AVOD_NEW_MEDIA` | avod-new-media |
|
||||||
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
|
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
|
||||||
|
| `BOOST_VOICES` | boost-voices |
|
||||||
|
| `CAMERA_UPLOAD` | camera_upload |
|
||||||
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
|
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
|
||||||
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
|
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
|
||||||
|
| `CLOUDSYNC` | cloudsync |
|
||||||
| `COLLECTIONS` | collections |
|
| `COLLECTIONS` | collections |
|
||||||
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
|
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
|
||||||
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
|
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
|
||||||
| `COMPANIONS_SONOS` | companions_sonos |
|
| `COMPANIONS_SONOS` | companions_sonos |
|
||||||
|
| `CONTENT_FILTER` | content_filter |
|
||||||
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
|
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
|
||||||
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
|
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
|
||||||
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
|
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
|
||||||
|
| `DOWNLOADS_GATING` | downloads-gating |
|
||||||
| `DRM_SUPPORT` | drm_support |
|
| `DRM_SUPPORT` | drm_support |
|
||||||
|
| `DVR` | dvr |
|
||||||
|
| `DVR_BLOCK_UNSUPPORTED_COUNTRIES` | dvr-block-unsupported-countries |
|
||||||
|
| `EPG_RECENT_CHANNELS` | epg-recent-channels |
|
||||||
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
|
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
|
||||||
| `FEDERATED_AUTH` | federated-auth |
|
| `FEDERATED_AUTH` | federated-auth |
|
||||||
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
|
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
|
||||||
|
| `GRANDFATHER_SYNC` | grandfather-sync |
|
||||||
| `GUIDED_UPGRADE` | guided-upgrade |
|
| `GUIDED_UPGRADE` | guided-upgrade |
|
||||||
|
| `HARDWARE_TRANSCODING` | hardware_transcoding |
|
||||||
| `HOME` | home |
|
| `HOME` | home |
|
||||||
|
| `HWTRANSCODE` | hwtranscode |
|
||||||
|
| `IMAGGA_V2` | imagga-v2 |
|
||||||
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
|
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
|
||||||
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
|
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
|
||||||
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
|
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
|
||||||
|
| `ITEM_CLUSTERS` | item_clusters |
|
||||||
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
|
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
|
||||||
| `KEVIN_BACON` | kevin-bacon |
|
| `KEVIN_BACON` | kevin-bacon |
|
||||||
| `KOREA_CONSENT` | korea-consent |
|
| `KOREA_CONSENT` | korea-consent |
|
||||||
@@ -42,25 +57,46 @@
|
|||||||
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
|
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
|
||||||
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
|
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
|
||||||
| `LIVETV` | livetv |
|
| `LIVETV` | livetv |
|
||||||
|
| `LYRICS` | lyrics |
|
||||||
| `METADATA_SEARCH` | metadata_search |
|
| `METADATA_SEARCH` | metadata_search |
|
||||||
|
| `MUSIC_ANALYSIS` | music-analysis |
|
||||||
|
| `MUSIC_VIDEOS` | music_videos |
|
||||||
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
|
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
|
||||||
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
|
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
|
||||||
|
| `NOMINATIM` | nominatim |
|
||||||
|
| `PASS` | pass |
|
||||||
| `PHOTOS_FAVORITES` | photos-favorites |
|
| `PHOTOS_FAVORITES` | photos-favorites |
|
||||||
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
|
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
|
||||||
|
| `PHOTOS_V6_EDIT` | photosV6-edit |
|
||||||
|
| `PHOTOS_V6_TV_ALBUMS` | photosV6-tv-albums |
|
||||||
| `PMS_HEALTH` | pms_health |
|
| `PMS_HEALTH` | pms_health |
|
||||||
|
| `PREMIUM_DASHBOARD` | premium-dashboard |
|
||||||
|
| `PREMIUM_MUSIC_METADATA` | premium_music_metadata |
|
||||||
| `RADIO` | radio |
|
| `RADIO` | radio |
|
||||||
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
|
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
|
||||||
| `SCROBBLING_SERVICE_PLEX_TV` | scrobbling-service-plex-tv |
|
| `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_SERVER_NOTIFICATION` | shared_server_notification |
|
||||||
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
|
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
|
||||||
|
| `SIGNIN_NOTIFICATION` | signin_notification |
|
||||||
| `SIGNIN_WITH_APPLE` | signin_with_apple |
|
| `SIGNIN_WITH_APPLE` | signin_with_apple |
|
||||||
|
| `SILENCE_REMOVAL` | silence-removal |
|
||||||
|
| `SLEEP_TIMER` | sleep-timer |
|
||||||
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
|
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
|
||||||
|
| `SYNC` | sync |
|
||||||
|
| `SWEET_FADES` | sweet-fades |
|
||||||
| `TRANSCODER_CACHE` | transcoder_cache |
|
| `TRANSCODER_CACHE` | transcoder_cache |
|
||||||
|
| `TRAILERS` | trailers |
|
||||||
| `TUNER_SHARING` | tuner-sharing |
|
| `TUNER_SHARING` | tuner-sharing |
|
||||||
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
|
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
|
||||||
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
|
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
|
||||||
| `UPGRADE_3DS2` | upgrade-3ds2 |
|
| `UPGRADE_3DS2` | upgrade-3ds2 |
|
||||||
|
| `VISUALIZERS` | visualizers |
|
||||||
| `VOD_SCHEMA` | vod-schema |
|
| `VOD_SCHEMA` | vod-schema |
|
||||||
| `VOD_CLOUDFLARE` | vod_cloudflare |
|
| `VOD_CLOUDFLARE` | vod_cloudflare |
|
||||||
|
| `VOLUME_LEVELING` | volume-leveling |
|
||||||
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
|
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
|
||||||
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
|
| `WATCHLIST_RSS` | watchlist-rss |
|
||||||
|
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
|
||||||
|
| `WEBHOOKS` | webhooks |
|
||||||
@@ -12,28 +12,43 @@
|
|||||||
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
|
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
|
||||||
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
|
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
|
||||||
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
|
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
|
||||||
|
| `ALBUM_TYPES` | album-types |
|
||||||
|
| `ALLOW_DVR` | allow_dvr |
|
||||||
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
|
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
|
||||||
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
|
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
|
||||||
| `AVOD_NEW_MEDIA` | avod-new-media |
|
| `AVOD_NEW_MEDIA` | avod-new-media |
|
||||||
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
|
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
|
||||||
|
| `BOOST_VOICES` | boost-voices |
|
||||||
|
| `CAMERA_UPLOAD` | camera_upload |
|
||||||
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
|
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
|
||||||
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
|
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
|
||||||
|
| `CLOUDSYNC` | cloudsync |
|
||||||
| `COLLECTIONS` | collections |
|
| `COLLECTIONS` | collections |
|
||||||
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
|
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
|
||||||
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
|
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
|
||||||
| `COMPANIONS_SONOS` | companions_sonos |
|
| `COMPANIONS_SONOS` | companions_sonos |
|
||||||
|
| `CONTENT_FILTER` | content_filter |
|
||||||
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
|
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
|
||||||
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
|
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
|
||||||
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
|
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
|
||||||
|
| `DOWNLOADS_GATING` | downloads-gating |
|
||||||
| `DRM_SUPPORT` | drm_support |
|
| `DRM_SUPPORT` | drm_support |
|
||||||
|
| `DVR` | dvr |
|
||||||
|
| `DVR_BLOCK_UNSUPPORTED_COUNTRIES` | dvr-block-unsupported-countries |
|
||||||
|
| `EPG_RECENT_CHANNELS` | epg-recent-channels |
|
||||||
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
|
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
|
||||||
| `FEDERATED_AUTH` | federated-auth |
|
| `FEDERATED_AUTH` | federated-auth |
|
||||||
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
|
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
|
||||||
|
| `GRANDFATHER_SYNC` | grandfather-sync |
|
||||||
| `GUIDED_UPGRADE` | guided-upgrade |
|
| `GUIDED_UPGRADE` | guided-upgrade |
|
||||||
|
| `HARDWARE_TRANSCODING` | hardware_transcoding |
|
||||||
| `HOME` | home |
|
| `HOME` | home |
|
||||||
|
| `HWTRANSCODE` | hwtranscode |
|
||||||
|
| `IMAGGA_V2` | imagga-v2 |
|
||||||
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
|
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
|
||||||
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
|
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
|
||||||
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
|
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
|
||||||
|
| `ITEM_CLUSTERS` | item_clusters |
|
||||||
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
|
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
|
||||||
| `KEVIN_BACON` | kevin-bacon |
|
| `KEVIN_BACON` | kevin-bacon |
|
||||||
| `KOREA_CONSENT` | korea-consent |
|
| `KOREA_CONSENT` | korea-consent |
|
||||||
@@ -42,25 +57,46 @@
|
|||||||
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
|
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
|
||||||
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
|
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
|
||||||
| `LIVETV` | livetv |
|
| `LIVETV` | livetv |
|
||||||
|
| `LYRICS` | lyrics |
|
||||||
| `METADATA_SEARCH` | metadata_search |
|
| `METADATA_SEARCH` | metadata_search |
|
||||||
|
| `MUSIC_ANALYSIS` | music-analysis |
|
||||||
|
| `MUSIC_VIDEOS` | music_videos |
|
||||||
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
|
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
|
||||||
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
|
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
|
||||||
|
| `NOMINATIM` | nominatim |
|
||||||
|
| `PASS` | pass |
|
||||||
| `PHOTOS_FAVORITES` | photos-favorites |
|
| `PHOTOS_FAVORITES` | photos-favorites |
|
||||||
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
|
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
|
||||||
|
| `PHOTOS_V6_EDIT` | photosV6-edit |
|
||||||
|
| `PHOTOS_V6_TV_ALBUMS` | photosV6-tv-albums |
|
||||||
| `PMS_HEALTH` | pms_health |
|
| `PMS_HEALTH` | pms_health |
|
||||||
|
| `PREMIUM_DASHBOARD` | premium-dashboard |
|
||||||
|
| `PREMIUM_MUSIC_METADATA` | premium_music_metadata |
|
||||||
| `RADIO` | radio |
|
| `RADIO` | radio |
|
||||||
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
|
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
|
||||||
| `SCROBBLING_SERVICE_PLEX_TV` | scrobbling-service-plex-tv |
|
| `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_SERVER_NOTIFICATION` | shared_server_notification |
|
||||||
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
|
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
|
||||||
|
| `SIGNIN_NOTIFICATION` | signin_notification |
|
||||||
| `SIGNIN_WITH_APPLE` | signin_with_apple |
|
| `SIGNIN_WITH_APPLE` | signin_with_apple |
|
||||||
|
| `SILENCE_REMOVAL` | silence-removal |
|
||||||
|
| `SLEEP_TIMER` | sleep-timer |
|
||||||
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
|
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
|
||||||
|
| `SYNC` | sync |
|
||||||
|
| `SWEET_FADES` | sweet-fades |
|
||||||
| `TRANSCODER_CACHE` | transcoder_cache |
|
| `TRANSCODER_CACHE` | transcoder_cache |
|
||||||
|
| `TRAILERS` | trailers |
|
||||||
| `TUNER_SHARING` | tuner-sharing |
|
| `TUNER_SHARING` | tuner-sharing |
|
||||||
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
|
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
|
||||||
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
|
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
|
||||||
| `UPGRADE_3DS2` | upgrade-3ds2 |
|
| `UPGRADE_3DS2` | upgrade-3ds2 |
|
||||||
|
| `VISUALIZERS` | visualizers |
|
||||||
| `VOD_SCHEMA` | vod-schema |
|
| `VOD_SCHEMA` | vod-schema |
|
||||||
| `VOD_CLOUDFLARE` | vod_cloudflare |
|
| `VOD_CLOUDFLARE` | vod_cloudflare |
|
||||||
|
| `VOLUME_LEVELING` | volume-leveling |
|
||||||
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
|
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
|
||||||
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
|
| `WATCHLIST_RSS` | watchlist-rss |
|
||||||
|
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
|
||||||
|
| `WEBHOOKS` | webhooks |
|
||||||
@@ -12,28 +12,43 @@
|
|||||||
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
|
| `TREBLE_SHOW_FEATURES` | TREBLE-show-features |
|
||||||
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
|
| `AD_COUNTDOWN_TIMER` | ad-countdown-timer |
|
||||||
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
|
| `ADAPTIVE_BITRATE` | adaptive_bitrate |
|
||||||
|
| `ALBUM_TYPES` | album-types |
|
||||||
|
| `ALLOW_DVR` | allow_dvr |
|
||||||
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
|
| `AMAZON_LOOP_DEBUG` | amazon-loop-debug |
|
||||||
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
|
| `AVOD_AD_ANALYSIS` | avod-ad-analysis |
|
||||||
| `AVOD_NEW_MEDIA` | avod-new-media |
|
| `AVOD_NEW_MEDIA` | avod-new-media |
|
||||||
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
|
| `BLACKLIST_GET_SIGNIN` | blacklist_get_signin |
|
||||||
|
| `BOOST_VOICES` | boost-voices |
|
||||||
|
| `CAMERA_UPLOAD` | camera_upload |
|
||||||
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
|
| `CLIENT_RADIO_STATIONS` | client-radio-stations |
|
||||||
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
|
| `CLOUDFLARE_TURNSTILE_REQUIRED` | cloudflare-turnstile-required |
|
||||||
|
| `CLOUDSYNC` | cloudsync |
|
||||||
| `COLLECTIONS` | collections |
|
| `COLLECTIONS` | collections |
|
||||||
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
|
| `COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS` | comments_and_replies_push_notifications |
|
||||||
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
|
| `COMMUNITY_ACCESS_PLEX_TV` | community_access_plex_tv |
|
||||||
| `COMPANIONS_SONOS` | companions_sonos |
|
| `COMPANIONS_SONOS` | companions_sonos |
|
||||||
|
| `CONTENT_FILTER` | content_filter |
|
||||||
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
|
| `CUSTOM_HOME_REMOVAL` | custom-home-removal |
|
||||||
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
|
| `DISABLE_HOME_USER_FRIENDSHIPS` | disable_home_user_friendships |
|
||||||
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
|
| `DISABLE_SHARING_FRIENDSHIPS` | disable_sharing_friendships |
|
||||||
|
| `DOWNLOADS_GATING` | downloads-gating |
|
||||||
| `DRM_SUPPORT` | drm_support |
|
| `DRM_SUPPORT` | drm_support |
|
||||||
|
| `DVR` | dvr |
|
||||||
|
| `DVR_BLOCK_UNSUPPORTED_COUNTRIES` | dvr-block-unsupported-countries |
|
||||||
|
| `EPG_RECENT_CHANNELS` | epg-recent-channels |
|
||||||
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
|
| `EXCLUDE_RESTRICTIONS` | exclude restrictions |
|
||||||
| `FEDERATED_AUTH` | federated-auth |
|
| `FEDERATED_AUTH` | federated-auth |
|
||||||
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
|
| `FRIEND_REQUEST_PUSH_NOTIFICATIONS` | friend_request_push_notifications |
|
||||||
|
| `GRANDFATHER_SYNC` | grandfather-sync |
|
||||||
| `GUIDED_UPGRADE` | guided-upgrade |
|
| `GUIDED_UPGRADE` | guided-upgrade |
|
||||||
|
| `HARDWARE_TRANSCODING` | hardware_transcoding |
|
||||||
| `HOME` | home |
|
| `HOME` | home |
|
||||||
|
| `HWTRANSCODE` | hwtranscode |
|
||||||
|
| `IMAGGA_V2` | imagga-v2 |
|
||||||
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
|
| `INCREASE_PASSWORD_COMPLEXITY` | increase-password-complexity |
|
||||||
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
|
| `IOS14_PRIVACY_BANNER` | ios14-privacy-banner |
|
||||||
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
|
| `ITERABLE_NOTIFICATION_TOKENS` | iterable-notification-tokens |
|
||||||
|
| `ITEM_CLUSTERS` | item_clusters |
|
||||||
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
|
| `KEEP_PAYMENT_METHOD` | keep-payment-method |
|
||||||
| `KEVIN_BACON` | kevin-bacon |
|
| `KEVIN_BACON` | kevin-bacon |
|
||||||
| `KOREA_CONSENT` | korea-consent |
|
| `KOREA_CONSENT` | korea-consent |
|
||||||
@@ -42,25 +57,46 @@
|
|||||||
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
|
| `LIGHTNING_DVR_PIVOT` | lightning-dvr-pivot |
|
||||||
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
|
| `LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS` | live-tv-support-incomplete-segments |
|
||||||
| `LIVETV` | livetv |
|
| `LIVETV` | livetv |
|
||||||
|
| `LYRICS` | lyrics |
|
||||||
| `METADATA_SEARCH` | metadata_search |
|
| `METADATA_SEARCH` | metadata_search |
|
||||||
|
| `MUSIC_ANALYSIS` | music-analysis |
|
||||||
|
| `MUSIC_VIDEOS` | music_videos |
|
||||||
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
|
| `NEW_PLEX_PASS_PRICES` | new_plex_pass_prices |
|
||||||
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
|
| `NEWS_PROVIDER_SUNSET_MODAL` | news-provider-sunset-modal |
|
||||||
|
| `NOMINATIM` | nominatim |
|
||||||
|
| `PASS` | pass |
|
||||||
| `PHOTOS_FAVORITES` | photos-favorites |
|
| `PHOTOS_FAVORITES` | photos-favorites |
|
||||||
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
|
| `PHOTOS_METADATA_EDITION` | photos-metadata-edition |
|
||||||
|
| `PHOTOS_V6_EDIT` | photosV6-edit |
|
||||||
|
| `PHOTOS_V6_TV_ALBUMS` | photosV6-tv-albums |
|
||||||
| `PMS_HEALTH` | pms_health |
|
| `PMS_HEALTH` | pms_health |
|
||||||
|
| `PREMIUM_DASHBOARD` | premium-dashboard |
|
||||||
|
| `PREMIUM_MUSIC_METADATA` | premium_music_metadata |
|
||||||
| `RADIO` | radio |
|
| `RADIO` | radio |
|
||||||
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
|
| `RATE_LIMIT_CLIENT_TOKEN` | rate-limit-client-token |
|
||||||
| `SCROBBLING_SERVICE_PLEX_TV` | scrobbling-service-plex-tv |
|
| `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_SERVER_NOTIFICATION` | shared_server_notification |
|
||||||
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
|
| `SHARED_SOURCE_NOTIFICATION` | shared_source_notification |
|
||||||
|
| `SIGNIN_NOTIFICATION` | signin_notification |
|
||||||
| `SIGNIN_WITH_APPLE` | signin_with_apple |
|
| `SIGNIN_WITH_APPLE` | signin_with_apple |
|
||||||
|
| `SILENCE_REMOVAL` | silence-removal |
|
||||||
|
| `SLEEP_TIMER` | sleep-timer |
|
||||||
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
|
| `SPRING_SERVE_AD_PROVIDER` | spring_serve_ad_provider |
|
||||||
|
| `SYNC` | sync |
|
||||||
|
| `SWEET_FADES` | sweet-fades |
|
||||||
| `TRANSCODER_CACHE` | transcoder_cache |
|
| `TRANSCODER_CACHE` | transcoder_cache |
|
||||||
|
| `TRAILERS` | trailers |
|
||||||
| `TUNER_SHARING` | tuner-sharing |
|
| `TUNER_SHARING` | tuner-sharing |
|
||||||
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
|
| `TWO_FACTOR_AUTHENTICATION` | two-factor-authentication |
|
||||||
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
|
| `UNSUPPORTEDTUNERS` | unsupportedtuners |
|
||||||
| `UPGRADE_3DS2` | upgrade-3ds2 |
|
| `UPGRADE_3DS2` | upgrade-3ds2 |
|
||||||
|
| `VISUALIZERS` | visualizers |
|
||||||
| `VOD_SCHEMA` | vod-schema |
|
| `VOD_SCHEMA` | vod-schema |
|
||||||
| `VOD_CLOUDFLARE` | vod_cloudflare |
|
| `VOD_CLOUDFLARE` | vod_cloudflare |
|
||||||
|
| `VOLUME_LEVELING` | volume-leveling |
|
||||||
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
|
| `WATCH_TOGETHER_INVITE` | watch-together-invite |
|
||||||
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
|
| `WATCHLIST_RSS` | watchlist-rss |
|
||||||
|
| `WEB_SERVER_DASHBOARD` | web_server_dashboard |
|
||||||
|
| `WEBHOOKS` | webhooks |
|
||||||
@@ -217,7 +217,7 @@ s = PlexAPI(
|
|||||||
device_name="Linux",
|
device_name="Linux",
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.plex.get_server_resources(include_https=operations.IncludeHTTPS.ENABLE, include_relay=operations.IncludeRelay.ENABLE, include_i_pv6=operations.IncludeIPv6.ENABLE)
|
res = s.plex.get_server_resources(include_https=operations.IncludeHTTPS.ENABLE, include_relay=operations.IncludeRelay.ENABLE, include_i_pv6=operations.IncludeIPv6.ENABLE, client_id="gcgzw5rz2xovp84b4vha3a40")
|
||||||
|
|
||||||
if res.plex_devices is not None:
|
if res.plex_devices is not None:
|
||||||
# handle response
|
# handle response
|
||||||
@@ -227,13 +227,14 @@ if res.plex_devices is not None:
|
|||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
|
|
||||||
| Parameter | Type | Required | Description | Example |
|
| Parameter | Type | Required | Description | Example |
|
||||||
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `include_https` | [Optional[operations.IncludeHTTPS]](../../models/operations/includehttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
|
| `include_https` | [Optional[operations.IncludeHTTPS]](../../models/operations/includehttps.md) | :heavy_minus_sign: | Include Https entries in the results | 1 |
|
||||||
| `include_relay` | [Optional[operations.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 |
|
| `include_relay` | [Optional[operations.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 |
|
||||||
| `include_i_pv6` | [Optional[operations.IncludeIPv6]](../../models/operations/includeipv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
|
| `include_i_pv6` | [Optional[operations.IncludeIPv6]](../../models/operations/includeipv6.md) | :heavy_minus_sign: | Include IPv6 entries in the results | 1 |
|
||||||
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | |
|
| `client_id` | *Optional[str]* | :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 |
|
||||||
| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
|
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | |
|
||||||
|
| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | http://localhost:8080 |
|
||||||
|
|
||||||
### Response
|
### Response
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "plex-api-client"
|
name = "plex-api-client"
|
||||||
version = "0.15.1"
|
version = "0.16.0"
|
||||||
description = "Python Client SDK Generated by Speakeasy"
|
description = "Python Client SDK Generated by Speakeasy"
|
||||||
authors = ["Speakeasy",]
|
authors = ["Speakeasy",]
|
||||||
readme = "README-PYPI.md"
|
readme = "README-PYPI.md"
|
||||||
|
|||||||
@@ -380,6 +380,8 @@ from .get_server_resources import (
|
|||||||
Connections,
|
Connections,
|
||||||
ConnectionsTypedDict,
|
ConnectionsTypedDict,
|
||||||
GET_SERVER_RESOURCES_SERVERS,
|
GET_SERVER_RESOURCES_SERVERS,
|
||||||
|
GetServerResourcesGlobals,
|
||||||
|
GetServerResourcesGlobalsTypedDict,
|
||||||
GetServerResourcesRequest,
|
GetServerResourcesRequest,
|
||||||
GetServerResourcesRequestTypedDict,
|
GetServerResourcesRequestTypedDict,
|
||||||
GetServerResourcesResponse,
|
GetServerResourcesResponse,
|
||||||
@@ -1562,6 +1564,8 @@ __all__ = [
|
|||||||
"GetServerPreferencesResponseBody",
|
"GetServerPreferencesResponseBody",
|
||||||
"GetServerPreferencesResponseBodyTypedDict",
|
"GetServerPreferencesResponseBodyTypedDict",
|
||||||
"GetServerPreferencesResponseTypedDict",
|
"GetServerPreferencesResponseTypedDict",
|
||||||
|
"GetServerResourcesGlobals",
|
||||||
|
"GetServerResourcesGlobalsTypedDict",
|
||||||
"GetServerResourcesRequest",
|
"GetServerResourcesRequest",
|
||||||
"GetServerResourcesRequestTypedDict",
|
"GetServerResourcesRequestTypedDict",
|
||||||
"GetServerResourcesResponse",
|
"GetServerResourcesResponse",
|
||||||
|
|||||||
@@ -16,6 +16,28 @@ GET_SERVER_RESOURCES_SERVERS = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
class GetServerResourcesGlobalsTypedDict(TypedDict):
|
||||||
|
client_id: NotRequired[str]
|
||||||
|
r"""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)
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
class GetServerResourcesGlobals(BaseModel):
|
||||||
|
client_id: Annotated[
|
||||||
|
Optional[str],
|
||||||
|
pydantic.Field(alias="X-Plex-Client-Identifier"),
|
||||||
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
||||||
|
] = None
|
||||||
|
r"""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)
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
class IncludeHTTPS(int, Enum):
|
class IncludeHTTPS(int, Enum):
|
||||||
r"""Include Https entries in the results"""
|
r"""Include Https entries in the results"""
|
||||||
|
|
||||||
@@ -50,6 +72,12 @@ class GetServerResourcesRequestTypedDict(TypedDict):
|
|||||||
"""
|
"""
|
||||||
include_i_pv6: NotRequired[IncludeIPv6]
|
include_i_pv6: NotRequired[IncludeIPv6]
|
||||||
r"""Include IPv6 entries in the results"""
|
r"""Include IPv6 entries in the results"""
|
||||||
|
client_id: NotRequired[str]
|
||||||
|
r"""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)
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
class GetServerResourcesRequest(BaseModel):
|
class GetServerResourcesRequest(BaseModel):
|
||||||
@@ -77,6 +105,17 @@ class GetServerResourcesRequest(BaseModel):
|
|||||||
] = IncludeIPv6.DISABLE
|
] = IncludeIPv6.DISABLE
|
||||||
r"""Include IPv6 entries in the results"""
|
r"""Include IPv6 entries in the results"""
|
||||||
|
|
||||||
|
client_id: Annotated[
|
||||||
|
Optional[str],
|
||||||
|
pydantic.Field(alias="X-Plex-Client-Identifier"),
|
||||||
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
||||||
|
] = None
|
||||||
|
r"""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)
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
class Protocol(str, Enum):
|
class Protocol(str, Enum):
|
||||||
r"""The protocol used for the connection (http, https, etc)"""
|
r"""The protocol used for the connection (http, https, etc)"""
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ from __future__ import annotations
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
import httpx
|
import httpx
|
||||||
|
from plex_api_client import utils
|
||||||
from plex_api_client.types import (
|
from plex_api_client.types import (
|
||||||
BaseModel,
|
BaseModel,
|
||||||
Nullable,
|
Nullable,
|
||||||
@@ -11,8 +12,10 @@ from plex_api_client.types import (
|
|||||||
UNSET,
|
UNSET,
|
||||||
UNSET_SENTINEL,
|
UNSET_SENTINEL,
|
||||||
)
|
)
|
||||||
|
from plex_api_client.utils import validate_open_enum
|
||||||
import pydantic
|
import pydantic
|
||||||
from pydantic import model_serializer
|
from pydantic import model_serializer
|
||||||
|
from pydantic.functional_validators import PlainValidator
|
||||||
from typing import List, Optional, TypedDict
|
from typing import List, Optional, TypedDict
|
||||||
from typing_extensions import Annotated, NotRequired
|
from typing_extensions import Annotated, NotRequired
|
||||||
|
|
||||||
@@ -207,7 +210,7 @@ class Services(BaseModel):
|
|||||||
return m
|
return m
|
||||||
|
|
||||||
|
|
||||||
class Features(str, Enum):
|
class Features(str, Enum, metaclass=utils.OpenEnumMeta):
|
||||||
ANDROID_DOLBY_VISION = "Android - Dolby Vision"
|
ANDROID_DOLBY_VISION = "Android - Dolby Vision"
|
||||||
ANDROID_PI_P = "Android - PiP"
|
ANDROID_PI_P = "Android - PiP"
|
||||||
CU_SUNSET = "CU Sunset"
|
CU_SUNSET = "CU Sunset"
|
||||||
@@ -215,28 +218,43 @@ class Features(str, Enum):
|
|||||||
TREBLE_SHOW_FEATURES = "TREBLE-show-features"
|
TREBLE_SHOW_FEATURES = "TREBLE-show-features"
|
||||||
AD_COUNTDOWN_TIMER = "ad-countdown-timer"
|
AD_COUNTDOWN_TIMER = "ad-countdown-timer"
|
||||||
ADAPTIVE_BITRATE = "adaptive_bitrate"
|
ADAPTIVE_BITRATE = "adaptive_bitrate"
|
||||||
|
ALBUM_TYPES = "album-types"
|
||||||
|
ALLOW_DVR = "allow_dvr"
|
||||||
AMAZON_LOOP_DEBUG = "amazon-loop-debug"
|
AMAZON_LOOP_DEBUG = "amazon-loop-debug"
|
||||||
AVOD_AD_ANALYSIS = "avod-ad-analysis"
|
AVOD_AD_ANALYSIS = "avod-ad-analysis"
|
||||||
AVOD_NEW_MEDIA = "avod-new-media"
|
AVOD_NEW_MEDIA = "avod-new-media"
|
||||||
BLACKLIST_GET_SIGNIN = "blacklist_get_signin"
|
BLACKLIST_GET_SIGNIN = "blacklist_get_signin"
|
||||||
|
BOOST_VOICES = "boost-voices"
|
||||||
|
CAMERA_UPLOAD = "camera_upload"
|
||||||
CLIENT_RADIO_STATIONS = "client-radio-stations"
|
CLIENT_RADIO_STATIONS = "client-radio-stations"
|
||||||
CLOUDFLARE_TURNSTILE_REQUIRED = "cloudflare-turnstile-required"
|
CLOUDFLARE_TURNSTILE_REQUIRED = "cloudflare-turnstile-required"
|
||||||
|
CLOUDSYNC = "cloudsync"
|
||||||
COLLECTIONS = "collections"
|
COLLECTIONS = "collections"
|
||||||
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = "comments_and_replies_push_notifications"
|
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = "comments_and_replies_push_notifications"
|
||||||
COMMUNITY_ACCESS_PLEX_TV = "community_access_plex_tv"
|
COMMUNITY_ACCESS_PLEX_TV = "community_access_plex_tv"
|
||||||
COMPANIONS_SONOS = "companions_sonos"
|
COMPANIONS_SONOS = "companions_sonos"
|
||||||
|
CONTENT_FILTER = "content_filter"
|
||||||
CUSTOM_HOME_REMOVAL = "custom-home-removal"
|
CUSTOM_HOME_REMOVAL = "custom-home-removal"
|
||||||
DISABLE_HOME_USER_FRIENDSHIPS = "disable_home_user_friendships"
|
DISABLE_HOME_USER_FRIENDSHIPS = "disable_home_user_friendships"
|
||||||
DISABLE_SHARING_FRIENDSHIPS = "disable_sharing_friendships"
|
DISABLE_SHARING_FRIENDSHIPS = "disable_sharing_friendships"
|
||||||
|
DOWNLOADS_GATING = "downloads-gating"
|
||||||
DRM_SUPPORT = "drm_support"
|
DRM_SUPPORT = "drm_support"
|
||||||
|
DVR = "dvr"
|
||||||
|
DVR_BLOCK_UNSUPPORTED_COUNTRIES = "dvr-block-unsupported-countries"
|
||||||
|
EPG_RECENT_CHANNELS = "epg-recent-channels"
|
||||||
EXCLUDE_RESTRICTIONS = "exclude restrictions"
|
EXCLUDE_RESTRICTIONS = "exclude restrictions"
|
||||||
FEDERATED_AUTH = "federated-auth"
|
FEDERATED_AUTH = "federated-auth"
|
||||||
FRIEND_REQUEST_PUSH_NOTIFICATIONS = "friend_request_push_notifications"
|
FRIEND_REQUEST_PUSH_NOTIFICATIONS = "friend_request_push_notifications"
|
||||||
|
GRANDFATHER_SYNC = "grandfather-sync"
|
||||||
GUIDED_UPGRADE = "guided-upgrade"
|
GUIDED_UPGRADE = "guided-upgrade"
|
||||||
|
HARDWARE_TRANSCODING = "hardware_transcoding"
|
||||||
HOME = "home"
|
HOME = "home"
|
||||||
|
HWTRANSCODE = "hwtranscode"
|
||||||
|
IMAGGA_V2 = "imagga-v2"
|
||||||
INCREASE_PASSWORD_COMPLEXITY = "increase-password-complexity"
|
INCREASE_PASSWORD_COMPLEXITY = "increase-password-complexity"
|
||||||
IOS14_PRIVACY_BANNER = "ios14-privacy-banner"
|
IOS14_PRIVACY_BANNER = "ios14-privacy-banner"
|
||||||
ITERABLE_NOTIFICATION_TOKENS = "iterable-notification-tokens"
|
ITERABLE_NOTIFICATION_TOKENS = "iterable-notification-tokens"
|
||||||
|
ITEM_CLUSTERS = "item_clusters"
|
||||||
KEEP_PAYMENT_METHOD = "keep-payment-method"
|
KEEP_PAYMENT_METHOD = "keep-payment-method"
|
||||||
KEVIN_BACON = "kevin-bacon"
|
KEVIN_BACON = "kevin-bacon"
|
||||||
KOREA_CONSENT = "korea-consent"
|
KOREA_CONSENT = "korea-consent"
|
||||||
@@ -245,28 +263,49 @@ class Features(str, Enum):
|
|||||||
LIGHTNING_DVR_PIVOT = "lightning-dvr-pivot"
|
LIGHTNING_DVR_PIVOT = "lightning-dvr-pivot"
|
||||||
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = "live-tv-support-incomplete-segments"
|
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = "live-tv-support-incomplete-segments"
|
||||||
LIVETV = "livetv"
|
LIVETV = "livetv"
|
||||||
|
LYRICS = "lyrics"
|
||||||
METADATA_SEARCH = "metadata_search"
|
METADATA_SEARCH = "metadata_search"
|
||||||
|
MUSIC_ANALYSIS = "music-analysis"
|
||||||
|
MUSIC_VIDEOS = "music_videos"
|
||||||
NEW_PLEX_PASS_PRICES = "new_plex_pass_prices"
|
NEW_PLEX_PASS_PRICES = "new_plex_pass_prices"
|
||||||
NEWS_PROVIDER_SUNSET_MODAL = "news-provider-sunset-modal"
|
NEWS_PROVIDER_SUNSET_MODAL = "news-provider-sunset-modal"
|
||||||
|
NOMINATIM = "nominatim"
|
||||||
|
PASS = "pass"
|
||||||
PHOTOS_FAVORITES = "photos-favorites"
|
PHOTOS_FAVORITES = "photos-favorites"
|
||||||
PHOTOS_METADATA_EDITION = "photos-metadata-edition"
|
PHOTOS_METADATA_EDITION = "photos-metadata-edition"
|
||||||
|
PHOTOS_V6_EDIT = "photosV6-edit"
|
||||||
|
PHOTOS_V6_TV_ALBUMS = "photosV6-tv-albums"
|
||||||
PMS_HEALTH = "pms_health"
|
PMS_HEALTH = "pms_health"
|
||||||
|
PREMIUM_DASHBOARD = "premium-dashboard"
|
||||||
|
PREMIUM_MUSIC_METADATA = "premium_music_metadata"
|
||||||
RADIO = "radio"
|
RADIO = "radio"
|
||||||
RATE_LIMIT_CLIENT_TOKEN = "rate-limit-client-token"
|
RATE_LIMIT_CLIENT_TOKEN = "rate-limit-client-token"
|
||||||
SCROBBLING_SERVICE_PLEX_TV = "scrobbling-service-plex-tv"
|
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_SERVER_NOTIFICATION = "shared_server_notification"
|
||||||
SHARED_SOURCE_NOTIFICATION = "shared_source_notification"
|
SHARED_SOURCE_NOTIFICATION = "shared_source_notification"
|
||||||
|
SIGNIN_NOTIFICATION = "signin_notification"
|
||||||
SIGNIN_WITH_APPLE = "signin_with_apple"
|
SIGNIN_WITH_APPLE = "signin_with_apple"
|
||||||
|
SILENCE_REMOVAL = "silence-removal"
|
||||||
|
SLEEP_TIMER = "sleep-timer"
|
||||||
SPRING_SERVE_AD_PROVIDER = "spring_serve_ad_provider"
|
SPRING_SERVE_AD_PROVIDER = "spring_serve_ad_provider"
|
||||||
|
SYNC = "sync"
|
||||||
|
SWEET_FADES = "sweet-fades"
|
||||||
TRANSCODER_CACHE = "transcoder_cache"
|
TRANSCODER_CACHE = "transcoder_cache"
|
||||||
|
TRAILERS = "trailers"
|
||||||
TUNER_SHARING = "tuner-sharing"
|
TUNER_SHARING = "tuner-sharing"
|
||||||
TWO_FACTOR_AUTHENTICATION = "two-factor-authentication"
|
TWO_FACTOR_AUTHENTICATION = "two-factor-authentication"
|
||||||
UNSUPPORTEDTUNERS = "unsupportedtuners"
|
UNSUPPORTEDTUNERS = "unsupportedtuners"
|
||||||
UPGRADE_3DS2 = "upgrade-3ds2"
|
UPGRADE_3DS2 = "upgrade-3ds2"
|
||||||
|
VISUALIZERS = "visualizers"
|
||||||
VOD_SCHEMA = "vod-schema"
|
VOD_SCHEMA = "vod-schema"
|
||||||
VOD_CLOUDFLARE = "vod_cloudflare"
|
VOD_CLOUDFLARE = "vod_cloudflare"
|
||||||
|
VOLUME_LEVELING = "volume-leveling"
|
||||||
WATCH_TOGETHER_INVITE = "watch-together-invite"
|
WATCH_TOGETHER_INVITE = "watch-together-invite"
|
||||||
|
WATCHLIST_RSS = "watchlist-rss"
|
||||||
WEB_SERVER_DASHBOARD = "web_server_dashboard"
|
WEB_SERVER_DASHBOARD = "web_server_dashboard"
|
||||||
|
WEBHOOKS = "webhooks"
|
||||||
|
|
||||||
|
|
||||||
class GetTokenDetailsAuthenticationStatus(str, Enum):
|
class GetTokenDetailsAuthenticationStatus(str, Enum):
|
||||||
@@ -296,7 +335,9 @@ class SubscriptionTypedDict(TypedDict):
|
|||||||
class Subscription(BaseModel):
|
class Subscription(BaseModel):
|
||||||
r"""If the account’s Plex Pass subscription is active"""
|
r"""If the account’s Plex Pass subscription is active"""
|
||||||
|
|
||||||
features: Optional[List[Features]] = None
|
features: Optional[
|
||||||
|
List[Annotated[Features, PlainValidator(validate_open_enum(False))]]
|
||||||
|
] = None
|
||||||
r"""List of features allowed on your Plex Pass subscription"""
|
r"""List of features allowed on your Plex Pass subscription"""
|
||||||
|
|
||||||
active: Optional[bool] = None
|
active: Optional[bool] = None
|
||||||
@@ -356,7 +397,7 @@ class Subscription(BaseModel):
|
|||||||
return m
|
return m
|
||||||
|
|
||||||
|
|
||||||
class GetTokenDetailsFeatures(str, Enum):
|
class GetTokenDetailsFeatures(str, Enum, metaclass=utils.OpenEnumMeta):
|
||||||
ANDROID_DOLBY_VISION = "Android - Dolby Vision"
|
ANDROID_DOLBY_VISION = "Android - Dolby Vision"
|
||||||
ANDROID_PI_P = "Android - PiP"
|
ANDROID_PI_P = "Android - PiP"
|
||||||
CU_SUNSET = "CU Sunset"
|
CU_SUNSET = "CU Sunset"
|
||||||
@@ -364,28 +405,43 @@ class GetTokenDetailsFeatures(str, Enum):
|
|||||||
TREBLE_SHOW_FEATURES = "TREBLE-show-features"
|
TREBLE_SHOW_FEATURES = "TREBLE-show-features"
|
||||||
AD_COUNTDOWN_TIMER = "ad-countdown-timer"
|
AD_COUNTDOWN_TIMER = "ad-countdown-timer"
|
||||||
ADAPTIVE_BITRATE = "adaptive_bitrate"
|
ADAPTIVE_BITRATE = "adaptive_bitrate"
|
||||||
|
ALBUM_TYPES = "album-types"
|
||||||
|
ALLOW_DVR = "allow_dvr"
|
||||||
AMAZON_LOOP_DEBUG = "amazon-loop-debug"
|
AMAZON_LOOP_DEBUG = "amazon-loop-debug"
|
||||||
AVOD_AD_ANALYSIS = "avod-ad-analysis"
|
AVOD_AD_ANALYSIS = "avod-ad-analysis"
|
||||||
AVOD_NEW_MEDIA = "avod-new-media"
|
AVOD_NEW_MEDIA = "avod-new-media"
|
||||||
BLACKLIST_GET_SIGNIN = "blacklist_get_signin"
|
BLACKLIST_GET_SIGNIN = "blacklist_get_signin"
|
||||||
|
BOOST_VOICES = "boost-voices"
|
||||||
|
CAMERA_UPLOAD = "camera_upload"
|
||||||
CLIENT_RADIO_STATIONS = "client-radio-stations"
|
CLIENT_RADIO_STATIONS = "client-radio-stations"
|
||||||
CLOUDFLARE_TURNSTILE_REQUIRED = "cloudflare-turnstile-required"
|
CLOUDFLARE_TURNSTILE_REQUIRED = "cloudflare-turnstile-required"
|
||||||
|
CLOUDSYNC = "cloudsync"
|
||||||
COLLECTIONS = "collections"
|
COLLECTIONS = "collections"
|
||||||
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = "comments_and_replies_push_notifications"
|
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = "comments_and_replies_push_notifications"
|
||||||
COMMUNITY_ACCESS_PLEX_TV = "community_access_plex_tv"
|
COMMUNITY_ACCESS_PLEX_TV = "community_access_plex_tv"
|
||||||
COMPANIONS_SONOS = "companions_sonos"
|
COMPANIONS_SONOS = "companions_sonos"
|
||||||
|
CONTENT_FILTER = "content_filter"
|
||||||
CUSTOM_HOME_REMOVAL = "custom-home-removal"
|
CUSTOM_HOME_REMOVAL = "custom-home-removal"
|
||||||
DISABLE_HOME_USER_FRIENDSHIPS = "disable_home_user_friendships"
|
DISABLE_HOME_USER_FRIENDSHIPS = "disable_home_user_friendships"
|
||||||
DISABLE_SHARING_FRIENDSHIPS = "disable_sharing_friendships"
|
DISABLE_SHARING_FRIENDSHIPS = "disable_sharing_friendships"
|
||||||
|
DOWNLOADS_GATING = "downloads-gating"
|
||||||
DRM_SUPPORT = "drm_support"
|
DRM_SUPPORT = "drm_support"
|
||||||
|
DVR = "dvr"
|
||||||
|
DVR_BLOCK_UNSUPPORTED_COUNTRIES = "dvr-block-unsupported-countries"
|
||||||
|
EPG_RECENT_CHANNELS = "epg-recent-channels"
|
||||||
EXCLUDE_RESTRICTIONS = "exclude restrictions"
|
EXCLUDE_RESTRICTIONS = "exclude restrictions"
|
||||||
FEDERATED_AUTH = "federated-auth"
|
FEDERATED_AUTH = "federated-auth"
|
||||||
FRIEND_REQUEST_PUSH_NOTIFICATIONS = "friend_request_push_notifications"
|
FRIEND_REQUEST_PUSH_NOTIFICATIONS = "friend_request_push_notifications"
|
||||||
|
GRANDFATHER_SYNC = "grandfather-sync"
|
||||||
GUIDED_UPGRADE = "guided-upgrade"
|
GUIDED_UPGRADE = "guided-upgrade"
|
||||||
|
HARDWARE_TRANSCODING = "hardware_transcoding"
|
||||||
HOME = "home"
|
HOME = "home"
|
||||||
|
HWTRANSCODE = "hwtranscode"
|
||||||
|
IMAGGA_V2 = "imagga-v2"
|
||||||
INCREASE_PASSWORD_COMPLEXITY = "increase-password-complexity"
|
INCREASE_PASSWORD_COMPLEXITY = "increase-password-complexity"
|
||||||
IOS14_PRIVACY_BANNER = "ios14-privacy-banner"
|
IOS14_PRIVACY_BANNER = "ios14-privacy-banner"
|
||||||
ITERABLE_NOTIFICATION_TOKENS = "iterable-notification-tokens"
|
ITERABLE_NOTIFICATION_TOKENS = "iterable-notification-tokens"
|
||||||
|
ITEM_CLUSTERS = "item_clusters"
|
||||||
KEEP_PAYMENT_METHOD = "keep-payment-method"
|
KEEP_PAYMENT_METHOD = "keep-payment-method"
|
||||||
KEVIN_BACON = "kevin-bacon"
|
KEVIN_BACON = "kevin-bacon"
|
||||||
KOREA_CONSENT = "korea-consent"
|
KOREA_CONSENT = "korea-consent"
|
||||||
@@ -394,28 +450,49 @@ class GetTokenDetailsFeatures(str, Enum):
|
|||||||
LIGHTNING_DVR_PIVOT = "lightning-dvr-pivot"
|
LIGHTNING_DVR_PIVOT = "lightning-dvr-pivot"
|
||||||
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = "live-tv-support-incomplete-segments"
|
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = "live-tv-support-incomplete-segments"
|
||||||
LIVETV = "livetv"
|
LIVETV = "livetv"
|
||||||
|
LYRICS = "lyrics"
|
||||||
METADATA_SEARCH = "metadata_search"
|
METADATA_SEARCH = "metadata_search"
|
||||||
|
MUSIC_ANALYSIS = "music-analysis"
|
||||||
|
MUSIC_VIDEOS = "music_videos"
|
||||||
NEW_PLEX_PASS_PRICES = "new_plex_pass_prices"
|
NEW_PLEX_PASS_PRICES = "new_plex_pass_prices"
|
||||||
NEWS_PROVIDER_SUNSET_MODAL = "news-provider-sunset-modal"
|
NEWS_PROVIDER_SUNSET_MODAL = "news-provider-sunset-modal"
|
||||||
|
NOMINATIM = "nominatim"
|
||||||
|
PASS = "pass"
|
||||||
PHOTOS_FAVORITES = "photos-favorites"
|
PHOTOS_FAVORITES = "photos-favorites"
|
||||||
PHOTOS_METADATA_EDITION = "photos-metadata-edition"
|
PHOTOS_METADATA_EDITION = "photos-metadata-edition"
|
||||||
|
PHOTOS_V6_EDIT = "photosV6-edit"
|
||||||
|
PHOTOS_V6_TV_ALBUMS = "photosV6-tv-albums"
|
||||||
PMS_HEALTH = "pms_health"
|
PMS_HEALTH = "pms_health"
|
||||||
|
PREMIUM_DASHBOARD = "premium-dashboard"
|
||||||
|
PREMIUM_MUSIC_METADATA = "premium_music_metadata"
|
||||||
RADIO = "radio"
|
RADIO = "radio"
|
||||||
RATE_LIMIT_CLIENT_TOKEN = "rate-limit-client-token"
|
RATE_LIMIT_CLIENT_TOKEN = "rate-limit-client-token"
|
||||||
SCROBBLING_SERVICE_PLEX_TV = "scrobbling-service-plex-tv"
|
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_SERVER_NOTIFICATION = "shared_server_notification"
|
||||||
SHARED_SOURCE_NOTIFICATION = "shared_source_notification"
|
SHARED_SOURCE_NOTIFICATION = "shared_source_notification"
|
||||||
|
SIGNIN_NOTIFICATION = "signin_notification"
|
||||||
SIGNIN_WITH_APPLE = "signin_with_apple"
|
SIGNIN_WITH_APPLE = "signin_with_apple"
|
||||||
|
SILENCE_REMOVAL = "silence-removal"
|
||||||
|
SLEEP_TIMER = "sleep-timer"
|
||||||
SPRING_SERVE_AD_PROVIDER = "spring_serve_ad_provider"
|
SPRING_SERVE_AD_PROVIDER = "spring_serve_ad_provider"
|
||||||
|
SYNC = "sync"
|
||||||
|
SWEET_FADES = "sweet-fades"
|
||||||
TRANSCODER_CACHE = "transcoder_cache"
|
TRANSCODER_CACHE = "transcoder_cache"
|
||||||
|
TRAILERS = "trailers"
|
||||||
TUNER_SHARING = "tuner-sharing"
|
TUNER_SHARING = "tuner-sharing"
|
||||||
TWO_FACTOR_AUTHENTICATION = "two-factor-authentication"
|
TWO_FACTOR_AUTHENTICATION = "two-factor-authentication"
|
||||||
UNSUPPORTEDTUNERS = "unsupportedtuners"
|
UNSUPPORTEDTUNERS = "unsupportedtuners"
|
||||||
UPGRADE_3DS2 = "upgrade-3ds2"
|
UPGRADE_3DS2 = "upgrade-3ds2"
|
||||||
|
VISUALIZERS = "visualizers"
|
||||||
VOD_SCHEMA = "vod-schema"
|
VOD_SCHEMA = "vod-schema"
|
||||||
VOD_CLOUDFLARE = "vod_cloudflare"
|
VOD_CLOUDFLARE = "vod_cloudflare"
|
||||||
|
VOLUME_LEVELING = "volume-leveling"
|
||||||
WATCH_TOGETHER_INVITE = "watch-together-invite"
|
WATCH_TOGETHER_INVITE = "watch-together-invite"
|
||||||
|
WATCHLIST_RSS = "watchlist-rss"
|
||||||
WEB_SERVER_DASHBOARD = "web_server_dashboard"
|
WEB_SERVER_DASHBOARD = "web_server_dashboard"
|
||||||
|
WEBHOOKS = "webhooks"
|
||||||
|
|
||||||
|
|
||||||
class GetTokenDetailsAuthenticationResponseStatus(str, Enum):
|
class GetTokenDetailsAuthenticationResponseStatus(str, Enum):
|
||||||
@@ -441,7 +518,13 @@ class GetTokenDetailsSubscriptionTypedDict(TypedDict):
|
|||||||
|
|
||||||
|
|
||||||
class GetTokenDetailsSubscription(BaseModel):
|
class GetTokenDetailsSubscription(BaseModel):
|
||||||
features: Optional[List[GetTokenDetailsFeatures]] = None
|
features: Optional[
|
||||||
|
List[
|
||||||
|
Annotated[
|
||||||
|
GetTokenDetailsFeatures, PlainValidator(validate_open_enum(False))
|
||||||
|
]
|
||||||
|
]
|
||||||
|
] = None
|
||||||
r"""List of features allowed on your Plex Pass subscription"""
|
r"""List of features allowed on your Plex Pass subscription"""
|
||||||
|
|
||||||
active: Optional[bool] = None
|
active: Optional[bool] = None
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ from __future__ import annotations
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
import httpx
|
import httpx
|
||||||
|
from plex_api_client import utils
|
||||||
from plex_api_client.types import (
|
from plex_api_client.types import (
|
||||||
BaseModel,
|
BaseModel,
|
||||||
Nullable,
|
Nullable,
|
||||||
@@ -11,9 +12,15 @@ from plex_api_client.types import (
|
|||||||
UNSET,
|
UNSET,
|
||||||
UNSET_SENTINEL,
|
UNSET_SENTINEL,
|
||||||
)
|
)
|
||||||
from plex_api_client.utils import FieldMetadata, QueryParamMetadata, RequestMetadata
|
from plex_api_client.utils import (
|
||||||
|
FieldMetadata,
|
||||||
|
QueryParamMetadata,
|
||||||
|
RequestMetadata,
|
||||||
|
validate_open_enum,
|
||||||
|
)
|
||||||
import pydantic
|
import pydantic
|
||||||
from pydantic import model_serializer
|
from pydantic import model_serializer
|
||||||
|
from pydantic.functional_validators import PlainValidator
|
||||||
from typing import List, Optional, TypedDict
|
from typing import List, Optional, TypedDict
|
||||||
from typing_extensions import Annotated, NotRequired
|
from typing_extensions import Annotated, NotRequired
|
||||||
|
|
||||||
@@ -351,7 +358,7 @@ class PostUsersSignInDataServices(BaseModel):
|
|||||||
return m
|
return m
|
||||||
|
|
||||||
|
|
||||||
class PostUsersSignInDataFeatures(str, Enum):
|
class PostUsersSignInDataFeatures(str, Enum, metaclass=utils.OpenEnumMeta):
|
||||||
ANDROID_DOLBY_VISION = "Android - Dolby Vision"
|
ANDROID_DOLBY_VISION = "Android - Dolby Vision"
|
||||||
ANDROID_PI_P = "Android - PiP"
|
ANDROID_PI_P = "Android - PiP"
|
||||||
CU_SUNSET = "CU Sunset"
|
CU_SUNSET = "CU Sunset"
|
||||||
@@ -359,28 +366,43 @@ class PostUsersSignInDataFeatures(str, Enum):
|
|||||||
TREBLE_SHOW_FEATURES = "TREBLE-show-features"
|
TREBLE_SHOW_FEATURES = "TREBLE-show-features"
|
||||||
AD_COUNTDOWN_TIMER = "ad-countdown-timer"
|
AD_COUNTDOWN_TIMER = "ad-countdown-timer"
|
||||||
ADAPTIVE_BITRATE = "adaptive_bitrate"
|
ADAPTIVE_BITRATE = "adaptive_bitrate"
|
||||||
|
ALBUM_TYPES = "album-types"
|
||||||
|
ALLOW_DVR = "allow_dvr"
|
||||||
AMAZON_LOOP_DEBUG = "amazon-loop-debug"
|
AMAZON_LOOP_DEBUG = "amazon-loop-debug"
|
||||||
AVOD_AD_ANALYSIS = "avod-ad-analysis"
|
AVOD_AD_ANALYSIS = "avod-ad-analysis"
|
||||||
AVOD_NEW_MEDIA = "avod-new-media"
|
AVOD_NEW_MEDIA = "avod-new-media"
|
||||||
BLACKLIST_GET_SIGNIN = "blacklist_get_signin"
|
BLACKLIST_GET_SIGNIN = "blacklist_get_signin"
|
||||||
|
BOOST_VOICES = "boost-voices"
|
||||||
|
CAMERA_UPLOAD = "camera_upload"
|
||||||
CLIENT_RADIO_STATIONS = "client-radio-stations"
|
CLIENT_RADIO_STATIONS = "client-radio-stations"
|
||||||
CLOUDFLARE_TURNSTILE_REQUIRED = "cloudflare-turnstile-required"
|
CLOUDFLARE_TURNSTILE_REQUIRED = "cloudflare-turnstile-required"
|
||||||
|
CLOUDSYNC = "cloudsync"
|
||||||
COLLECTIONS = "collections"
|
COLLECTIONS = "collections"
|
||||||
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = "comments_and_replies_push_notifications"
|
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = "comments_and_replies_push_notifications"
|
||||||
COMMUNITY_ACCESS_PLEX_TV = "community_access_plex_tv"
|
COMMUNITY_ACCESS_PLEX_TV = "community_access_plex_tv"
|
||||||
COMPANIONS_SONOS = "companions_sonos"
|
COMPANIONS_SONOS = "companions_sonos"
|
||||||
|
CONTENT_FILTER = "content_filter"
|
||||||
CUSTOM_HOME_REMOVAL = "custom-home-removal"
|
CUSTOM_HOME_REMOVAL = "custom-home-removal"
|
||||||
DISABLE_HOME_USER_FRIENDSHIPS = "disable_home_user_friendships"
|
DISABLE_HOME_USER_FRIENDSHIPS = "disable_home_user_friendships"
|
||||||
DISABLE_SHARING_FRIENDSHIPS = "disable_sharing_friendships"
|
DISABLE_SHARING_FRIENDSHIPS = "disable_sharing_friendships"
|
||||||
|
DOWNLOADS_GATING = "downloads-gating"
|
||||||
DRM_SUPPORT = "drm_support"
|
DRM_SUPPORT = "drm_support"
|
||||||
|
DVR = "dvr"
|
||||||
|
DVR_BLOCK_UNSUPPORTED_COUNTRIES = "dvr-block-unsupported-countries"
|
||||||
|
EPG_RECENT_CHANNELS = "epg-recent-channels"
|
||||||
EXCLUDE_RESTRICTIONS = "exclude restrictions"
|
EXCLUDE_RESTRICTIONS = "exclude restrictions"
|
||||||
FEDERATED_AUTH = "federated-auth"
|
FEDERATED_AUTH = "federated-auth"
|
||||||
FRIEND_REQUEST_PUSH_NOTIFICATIONS = "friend_request_push_notifications"
|
FRIEND_REQUEST_PUSH_NOTIFICATIONS = "friend_request_push_notifications"
|
||||||
|
GRANDFATHER_SYNC = "grandfather-sync"
|
||||||
GUIDED_UPGRADE = "guided-upgrade"
|
GUIDED_UPGRADE = "guided-upgrade"
|
||||||
|
HARDWARE_TRANSCODING = "hardware_transcoding"
|
||||||
HOME = "home"
|
HOME = "home"
|
||||||
|
HWTRANSCODE = "hwtranscode"
|
||||||
|
IMAGGA_V2 = "imagga-v2"
|
||||||
INCREASE_PASSWORD_COMPLEXITY = "increase-password-complexity"
|
INCREASE_PASSWORD_COMPLEXITY = "increase-password-complexity"
|
||||||
IOS14_PRIVACY_BANNER = "ios14-privacy-banner"
|
IOS14_PRIVACY_BANNER = "ios14-privacy-banner"
|
||||||
ITERABLE_NOTIFICATION_TOKENS = "iterable-notification-tokens"
|
ITERABLE_NOTIFICATION_TOKENS = "iterable-notification-tokens"
|
||||||
|
ITEM_CLUSTERS = "item_clusters"
|
||||||
KEEP_PAYMENT_METHOD = "keep-payment-method"
|
KEEP_PAYMENT_METHOD = "keep-payment-method"
|
||||||
KEVIN_BACON = "kevin-bacon"
|
KEVIN_BACON = "kevin-bacon"
|
||||||
KOREA_CONSENT = "korea-consent"
|
KOREA_CONSENT = "korea-consent"
|
||||||
@@ -389,28 +411,49 @@ class PostUsersSignInDataFeatures(str, Enum):
|
|||||||
LIGHTNING_DVR_PIVOT = "lightning-dvr-pivot"
|
LIGHTNING_DVR_PIVOT = "lightning-dvr-pivot"
|
||||||
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = "live-tv-support-incomplete-segments"
|
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = "live-tv-support-incomplete-segments"
|
||||||
LIVETV = "livetv"
|
LIVETV = "livetv"
|
||||||
|
LYRICS = "lyrics"
|
||||||
METADATA_SEARCH = "metadata_search"
|
METADATA_SEARCH = "metadata_search"
|
||||||
|
MUSIC_ANALYSIS = "music-analysis"
|
||||||
|
MUSIC_VIDEOS = "music_videos"
|
||||||
NEW_PLEX_PASS_PRICES = "new_plex_pass_prices"
|
NEW_PLEX_PASS_PRICES = "new_plex_pass_prices"
|
||||||
NEWS_PROVIDER_SUNSET_MODAL = "news-provider-sunset-modal"
|
NEWS_PROVIDER_SUNSET_MODAL = "news-provider-sunset-modal"
|
||||||
|
NOMINATIM = "nominatim"
|
||||||
|
PASS = "pass"
|
||||||
PHOTOS_FAVORITES = "photos-favorites"
|
PHOTOS_FAVORITES = "photos-favorites"
|
||||||
PHOTOS_METADATA_EDITION = "photos-metadata-edition"
|
PHOTOS_METADATA_EDITION = "photos-metadata-edition"
|
||||||
|
PHOTOS_V6_EDIT = "photosV6-edit"
|
||||||
|
PHOTOS_V6_TV_ALBUMS = "photosV6-tv-albums"
|
||||||
PMS_HEALTH = "pms_health"
|
PMS_HEALTH = "pms_health"
|
||||||
|
PREMIUM_DASHBOARD = "premium-dashboard"
|
||||||
|
PREMIUM_MUSIC_METADATA = "premium_music_metadata"
|
||||||
RADIO = "radio"
|
RADIO = "radio"
|
||||||
RATE_LIMIT_CLIENT_TOKEN = "rate-limit-client-token"
|
RATE_LIMIT_CLIENT_TOKEN = "rate-limit-client-token"
|
||||||
SCROBBLING_SERVICE_PLEX_TV = "scrobbling-service-plex-tv"
|
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_SERVER_NOTIFICATION = "shared_server_notification"
|
||||||
SHARED_SOURCE_NOTIFICATION = "shared_source_notification"
|
SHARED_SOURCE_NOTIFICATION = "shared_source_notification"
|
||||||
|
SIGNIN_NOTIFICATION = "signin_notification"
|
||||||
SIGNIN_WITH_APPLE = "signin_with_apple"
|
SIGNIN_WITH_APPLE = "signin_with_apple"
|
||||||
|
SILENCE_REMOVAL = "silence-removal"
|
||||||
|
SLEEP_TIMER = "sleep-timer"
|
||||||
SPRING_SERVE_AD_PROVIDER = "spring_serve_ad_provider"
|
SPRING_SERVE_AD_PROVIDER = "spring_serve_ad_provider"
|
||||||
|
SYNC = "sync"
|
||||||
|
SWEET_FADES = "sweet-fades"
|
||||||
TRANSCODER_CACHE = "transcoder_cache"
|
TRANSCODER_CACHE = "transcoder_cache"
|
||||||
|
TRAILERS = "trailers"
|
||||||
TUNER_SHARING = "tuner-sharing"
|
TUNER_SHARING = "tuner-sharing"
|
||||||
TWO_FACTOR_AUTHENTICATION = "two-factor-authentication"
|
TWO_FACTOR_AUTHENTICATION = "two-factor-authentication"
|
||||||
UNSUPPORTEDTUNERS = "unsupportedtuners"
|
UNSUPPORTEDTUNERS = "unsupportedtuners"
|
||||||
UPGRADE_3DS2 = "upgrade-3ds2"
|
UPGRADE_3DS2 = "upgrade-3ds2"
|
||||||
|
VISUALIZERS = "visualizers"
|
||||||
VOD_SCHEMA = "vod-schema"
|
VOD_SCHEMA = "vod-schema"
|
||||||
VOD_CLOUDFLARE = "vod_cloudflare"
|
VOD_CLOUDFLARE = "vod_cloudflare"
|
||||||
|
VOLUME_LEVELING = "volume-leveling"
|
||||||
WATCH_TOGETHER_INVITE = "watch-together-invite"
|
WATCH_TOGETHER_INVITE = "watch-together-invite"
|
||||||
|
WATCHLIST_RSS = "watchlist-rss"
|
||||||
WEB_SERVER_DASHBOARD = "web_server_dashboard"
|
WEB_SERVER_DASHBOARD = "web_server_dashboard"
|
||||||
|
WEBHOOKS = "webhooks"
|
||||||
|
|
||||||
|
|
||||||
class PostUsersSignInDataAuthenticationStatus(str, Enum):
|
class PostUsersSignInDataAuthenticationStatus(str, Enum):
|
||||||
@@ -440,7 +483,13 @@ class PostUsersSignInDataSubscriptionTypedDict(TypedDict):
|
|||||||
class PostUsersSignInDataSubscription(BaseModel):
|
class PostUsersSignInDataSubscription(BaseModel):
|
||||||
r"""If the account’s Plex Pass subscription is active"""
|
r"""If the account’s Plex Pass subscription is active"""
|
||||||
|
|
||||||
features: Optional[List[PostUsersSignInDataFeatures]] = None
|
features: Optional[
|
||||||
|
List[
|
||||||
|
Annotated[
|
||||||
|
PostUsersSignInDataFeatures, PlainValidator(validate_open_enum(False))
|
||||||
|
]
|
||||||
|
]
|
||||||
|
] = None
|
||||||
r"""List of features allowed on your Plex Pass subscription"""
|
r"""List of features allowed on your Plex Pass subscription"""
|
||||||
|
|
||||||
active: Optional[bool] = None
|
active: Optional[bool] = None
|
||||||
@@ -500,7 +549,9 @@ class PostUsersSignInDataSubscription(BaseModel):
|
|||||||
return m
|
return m
|
||||||
|
|
||||||
|
|
||||||
class PostUsersSignInDataAuthenticationFeatures(str, Enum):
|
class PostUsersSignInDataAuthenticationFeatures(
|
||||||
|
str, Enum, metaclass=utils.OpenEnumMeta
|
||||||
|
):
|
||||||
ANDROID_DOLBY_VISION = "Android - Dolby Vision"
|
ANDROID_DOLBY_VISION = "Android - Dolby Vision"
|
||||||
ANDROID_PI_P = "Android - PiP"
|
ANDROID_PI_P = "Android - PiP"
|
||||||
CU_SUNSET = "CU Sunset"
|
CU_SUNSET = "CU Sunset"
|
||||||
@@ -508,28 +559,43 @@ class PostUsersSignInDataAuthenticationFeatures(str, Enum):
|
|||||||
TREBLE_SHOW_FEATURES = "TREBLE-show-features"
|
TREBLE_SHOW_FEATURES = "TREBLE-show-features"
|
||||||
AD_COUNTDOWN_TIMER = "ad-countdown-timer"
|
AD_COUNTDOWN_TIMER = "ad-countdown-timer"
|
||||||
ADAPTIVE_BITRATE = "adaptive_bitrate"
|
ADAPTIVE_BITRATE = "adaptive_bitrate"
|
||||||
|
ALBUM_TYPES = "album-types"
|
||||||
|
ALLOW_DVR = "allow_dvr"
|
||||||
AMAZON_LOOP_DEBUG = "amazon-loop-debug"
|
AMAZON_LOOP_DEBUG = "amazon-loop-debug"
|
||||||
AVOD_AD_ANALYSIS = "avod-ad-analysis"
|
AVOD_AD_ANALYSIS = "avod-ad-analysis"
|
||||||
AVOD_NEW_MEDIA = "avod-new-media"
|
AVOD_NEW_MEDIA = "avod-new-media"
|
||||||
BLACKLIST_GET_SIGNIN = "blacklist_get_signin"
|
BLACKLIST_GET_SIGNIN = "blacklist_get_signin"
|
||||||
|
BOOST_VOICES = "boost-voices"
|
||||||
|
CAMERA_UPLOAD = "camera_upload"
|
||||||
CLIENT_RADIO_STATIONS = "client-radio-stations"
|
CLIENT_RADIO_STATIONS = "client-radio-stations"
|
||||||
CLOUDFLARE_TURNSTILE_REQUIRED = "cloudflare-turnstile-required"
|
CLOUDFLARE_TURNSTILE_REQUIRED = "cloudflare-turnstile-required"
|
||||||
|
CLOUDSYNC = "cloudsync"
|
||||||
COLLECTIONS = "collections"
|
COLLECTIONS = "collections"
|
||||||
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = "comments_and_replies_push_notifications"
|
COMMENTS_AND_REPLIES_PUSH_NOTIFICATIONS = "comments_and_replies_push_notifications"
|
||||||
COMMUNITY_ACCESS_PLEX_TV = "community_access_plex_tv"
|
COMMUNITY_ACCESS_PLEX_TV = "community_access_plex_tv"
|
||||||
COMPANIONS_SONOS = "companions_sonos"
|
COMPANIONS_SONOS = "companions_sonos"
|
||||||
|
CONTENT_FILTER = "content_filter"
|
||||||
CUSTOM_HOME_REMOVAL = "custom-home-removal"
|
CUSTOM_HOME_REMOVAL = "custom-home-removal"
|
||||||
DISABLE_HOME_USER_FRIENDSHIPS = "disable_home_user_friendships"
|
DISABLE_HOME_USER_FRIENDSHIPS = "disable_home_user_friendships"
|
||||||
DISABLE_SHARING_FRIENDSHIPS = "disable_sharing_friendships"
|
DISABLE_SHARING_FRIENDSHIPS = "disable_sharing_friendships"
|
||||||
|
DOWNLOADS_GATING = "downloads-gating"
|
||||||
DRM_SUPPORT = "drm_support"
|
DRM_SUPPORT = "drm_support"
|
||||||
|
DVR = "dvr"
|
||||||
|
DVR_BLOCK_UNSUPPORTED_COUNTRIES = "dvr-block-unsupported-countries"
|
||||||
|
EPG_RECENT_CHANNELS = "epg-recent-channels"
|
||||||
EXCLUDE_RESTRICTIONS = "exclude restrictions"
|
EXCLUDE_RESTRICTIONS = "exclude restrictions"
|
||||||
FEDERATED_AUTH = "federated-auth"
|
FEDERATED_AUTH = "federated-auth"
|
||||||
FRIEND_REQUEST_PUSH_NOTIFICATIONS = "friend_request_push_notifications"
|
FRIEND_REQUEST_PUSH_NOTIFICATIONS = "friend_request_push_notifications"
|
||||||
|
GRANDFATHER_SYNC = "grandfather-sync"
|
||||||
GUIDED_UPGRADE = "guided-upgrade"
|
GUIDED_UPGRADE = "guided-upgrade"
|
||||||
|
HARDWARE_TRANSCODING = "hardware_transcoding"
|
||||||
HOME = "home"
|
HOME = "home"
|
||||||
|
HWTRANSCODE = "hwtranscode"
|
||||||
|
IMAGGA_V2 = "imagga-v2"
|
||||||
INCREASE_PASSWORD_COMPLEXITY = "increase-password-complexity"
|
INCREASE_PASSWORD_COMPLEXITY = "increase-password-complexity"
|
||||||
IOS14_PRIVACY_BANNER = "ios14-privacy-banner"
|
IOS14_PRIVACY_BANNER = "ios14-privacy-banner"
|
||||||
ITERABLE_NOTIFICATION_TOKENS = "iterable-notification-tokens"
|
ITERABLE_NOTIFICATION_TOKENS = "iterable-notification-tokens"
|
||||||
|
ITEM_CLUSTERS = "item_clusters"
|
||||||
KEEP_PAYMENT_METHOD = "keep-payment-method"
|
KEEP_PAYMENT_METHOD = "keep-payment-method"
|
||||||
KEVIN_BACON = "kevin-bacon"
|
KEVIN_BACON = "kevin-bacon"
|
||||||
KOREA_CONSENT = "korea-consent"
|
KOREA_CONSENT = "korea-consent"
|
||||||
@@ -538,28 +604,49 @@ class PostUsersSignInDataAuthenticationFeatures(str, Enum):
|
|||||||
LIGHTNING_DVR_PIVOT = "lightning-dvr-pivot"
|
LIGHTNING_DVR_PIVOT = "lightning-dvr-pivot"
|
||||||
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = "live-tv-support-incomplete-segments"
|
LIVE_TV_SUPPORT_INCOMPLETE_SEGMENTS = "live-tv-support-incomplete-segments"
|
||||||
LIVETV = "livetv"
|
LIVETV = "livetv"
|
||||||
|
LYRICS = "lyrics"
|
||||||
METADATA_SEARCH = "metadata_search"
|
METADATA_SEARCH = "metadata_search"
|
||||||
|
MUSIC_ANALYSIS = "music-analysis"
|
||||||
|
MUSIC_VIDEOS = "music_videos"
|
||||||
NEW_PLEX_PASS_PRICES = "new_plex_pass_prices"
|
NEW_PLEX_PASS_PRICES = "new_plex_pass_prices"
|
||||||
NEWS_PROVIDER_SUNSET_MODAL = "news-provider-sunset-modal"
|
NEWS_PROVIDER_SUNSET_MODAL = "news-provider-sunset-modal"
|
||||||
|
NOMINATIM = "nominatim"
|
||||||
|
PASS = "pass"
|
||||||
PHOTOS_FAVORITES = "photos-favorites"
|
PHOTOS_FAVORITES = "photos-favorites"
|
||||||
PHOTOS_METADATA_EDITION = "photos-metadata-edition"
|
PHOTOS_METADATA_EDITION = "photos-metadata-edition"
|
||||||
|
PHOTOS_V6_EDIT = "photosV6-edit"
|
||||||
|
PHOTOS_V6_TV_ALBUMS = "photosV6-tv-albums"
|
||||||
PMS_HEALTH = "pms_health"
|
PMS_HEALTH = "pms_health"
|
||||||
|
PREMIUM_DASHBOARD = "premium-dashboard"
|
||||||
|
PREMIUM_MUSIC_METADATA = "premium_music_metadata"
|
||||||
RADIO = "radio"
|
RADIO = "radio"
|
||||||
RATE_LIMIT_CLIENT_TOKEN = "rate-limit-client-token"
|
RATE_LIMIT_CLIENT_TOKEN = "rate-limit-client-token"
|
||||||
SCROBBLING_SERVICE_PLEX_TV = "scrobbling-service-plex-tv"
|
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_SERVER_NOTIFICATION = "shared_server_notification"
|
||||||
SHARED_SOURCE_NOTIFICATION = "shared_source_notification"
|
SHARED_SOURCE_NOTIFICATION = "shared_source_notification"
|
||||||
|
SIGNIN_NOTIFICATION = "signin_notification"
|
||||||
SIGNIN_WITH_APPLE = "signin_with_apple"
|
SIGNIN_WITH_APPLE = "signin_with_apple"
|
||||||
|
SILENCE_REMOVAL = "silence-removal"
|
||||||
|
SLEEP_TIMER = "sleep-timer"
|
||||||
SPRING_SERVE_AD_PROVIDER = "spring_serve_ad_provider"
|
SPRING_SERVE_AD_PROVIDER = "spring_serve_ad_provider"
|
||||||
|
SYNC = "sync"
|
||||||
|
SWEET_FADES = "sweet-fades"
|
||||||
TRANSCODER_CACHE = "transcoder_cache"
|
TRANSCODER_CACHE = "transcoder_cache"
|
||||||
|
TRAILERS = "trailers"
|
||||||
TUNER_SHARING = "tuner-sharing"
|
TUNER_SHARING = "tuner-sharing"
|
||||||
TWO_FACTOR_AUTHENTICATION = "two-factor-authentication"
|
TWO_FACTOR_AUTHENTICATION = "two-factor-authentication"
|
||||||
UNSUPPORTEDTUNERS = "unsupportedtuners"
|
UNSUPPORTEDTUNERS = "unsupportedtuners"
|
||||||
UPGRADE_3DS2 = "upgrade-3ds2"
|
UPGRADE_3DS2 = "upgrade-3ds2"
|
||||||
|
VISUALIZERS = "visualizers"
|
||||||
VOD_SCHEMA = "vod-schema"
|
VOD_SCHEMA = "vod-schema"
|
||||||
VOD_CLOUDFLARE = "vod_cloudflare"
|
VOD_CLOUDFLARE = "vod_cloudflare"
|
||||||
|
VOLUME_LEVELING = "volume-leveling"
|
||||||
WATCH_TOGETHER_INVITE = "watch-together-invite"
|
WATCH_TOGETHER_INVITE = "watch-together-invite"
|
||||||
|
WATCHLIST_RSS = "watchlist-rss"
|
||||||
WEB_SERVER_DASHBOARD = "web_server_dashboard"
|
WEB_SERVER_DASHBOARD = "web_server_dashboard"
|
||||||
|
WEBHOOKS = "webhooks"
|
||||||
|
|
||||||
|
|
||||||
class PostUsersSignInDataAuthenticationResponseStatus(str, Enum):
|
class PostUsersSignInDataAuthenticationResponseStatus(str, Enum):
|
||||||
@@ -585,7 +672,14 @@ class PostUsersSignInDataAuthenticationSubscriptionTypedDict(TypedDict):
|
|||||||
|
|
||||||
|
|
||||||
class PostUsersSignInDataAuthenticationSubscription(BaseModel):
|
class PostUsersSignInDataAuthenticationSubscription(BaseModel):
|
||||||
features: Optional[List[PostUsersSignInDataAuthenticationFeatures]] = None
|
features: Optional[
|
||||||
|
List[
|
||||||
|
Annotated[
|
||||||
|
PostUsersSignInDataAuthenticationFeatures,
|
||||||
|
PlainValidator(validate_open_enum(False)),
|
||||||
|
]
|
||||||
|
]
|
||||||
|
] = None
|
||||||
r"""List of features allowed on your Plex Pass subscription"""
|
r"""List of features allowed on your Plex Pass subscription"""
|
||||||
|
|
||||||
active: Optional[bool] = None
|
active: Optional[bool] = None
|
||||||
|
|||||||
@@ -749,6 +749,7 @@ class Plex(BaseSDK):
|
|||||||
include_i_pv6: Optional[
|
include_i_pv6: Optional[
|
||||||
operations.IncludeIPv6
|
operations.IncludeIPv6
|
||||||
] = operations.IncludeIPv6.DISABLE,
|
] = operations.IncludeIPv6.DISABLE,
|
||||||
|
client_id: Optional[str] = None,
|
||||||
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
||||||
server_url: Optional[str] = None,
|
server_url: Optional[str] = None,
|
||||||
timeout_ms: Optional[int] = None,
|
timeout_ms: Optional[int] = None,
|
||||||
@@ -760,6 +761,7 @@ class Plex(BaseSDK):
|
|||||||
:param include_https: Include Https entries in the results
|
:param include_https: Include Https entries in the results
|
||||||
:param include_relay: Include Relay addresses in the results E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
|
:param include_relay: Include Relay addresses in the results E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
|
||||||
:param include_i_pv6: Include IPv6 entries in the results
|
:param include_i_pv6: Include IPv6 entries in the results
|
||||||
|
:param client_id: 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 retries: Override the default retry configuration for this method
|
:param retries: Override the default retry configuration for this method
|
||||||
:param server_url: Override the default server URL for this method
|
:param server_url: Override the default server URL for this method
|
||||||
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
||||||
@@ -778,6 +780,7 @@ class Plex(BaseSDK):
|
|||||||
include_https=include_https,
|
include_https=include_https,
|
||||||
include_relay=include_relay,
|
include_relay=include_relay,
|
||||||
include_i_pv6=include_i_pv6,
|
include_i_pv6=include_i_pv6,
|
||||||
|
client_id=client_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
req = self.build_request(
|
req = self.build_request(
|
||||||
@@ -791,6 +794,9 @@ class Plex(BaseSDK):
|
|||||||
request_has_query_params=True,
|
request_has_query_params=True,
|
||||||
user_agent_header="user-agent",
|
user_agent_header="user-agent",
|
||||||
accept_header_value="application/json",
|
accept_header_value="application/json",
|
||||||
|
_globals=operations.GetServerResourcesGlobals(
|
||||||
|
client_id=self.sdk_configuration.globals.client_id,
|
||||||
|
),
|
||||||
security=self.sdk_configuration.security,
|
security=self.sdk_configuration.security,
|
||||||
timeout_ms=timeout_ms,
|
timeout_ms=timeout_ms,
|
||||||
)
|
)
|
||||||
@@ -861,6 +867,7 @@ class Plex(BaseSDK):
|
|||||||
include_i_pv6: Optional[
|
include_i_pv6: Optional[
|
||||||
operations.IncludeIPv6
|
operations.IncludeIPv6
|
||||||
] = operations.IncludeIPv6.DISABLE,
|
] = operations.IncludeIPv6.DISABLE,
|
||||||
|
client_id: Optional[str] = None,
|
||||||
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
||||||
server_url: Optional[str] = None,
|
server_url: Optional[str] = None,
|
||||||
timeout_ms: Optional[int] = None,
|
timeout_ms: Optional[int] = None,
|
||||||
@@ -872,6 +879,7 @@ class Plex(BaseSDK):
|
|||||||
:param include_https: Include Https entries in the results
|
:param include_https: Include Https entries in the results
|
||||||
:param include_relay: Include Relay addresses in the results E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
|
:param include_relay: Include Relay addresses in the results E.g: https://10-0-0-25.bbf8e10c7fa20447cacee74cd9914cde.plex.direct:32400
|
||||||
:param include_i_pv6: Include IPv6 entries in the results
|
:param include_i_pv6: Include IPv6 entries in the results
|
||||||
|
:param client_id: 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 retries: Override the default retry configuration for this method
|
:param retries: Override the default retry configuration for this method
|
||||||
:param server_url: Override the default server URL for this method
|
:param server_url: Override the default server URL for this method
|
||||||
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
||||||
@@ -890,6 +898,7 @@ class Plex(BaseSDK):
|
|||||||
include_https=include_https,
|
include_https=include_https,
|
||||||
include_relay=include_relay,
|
include_relay=include_relay,
|
||||||
include_i_pv6=include_i_pv6,
|
include_i_pv6=include_i_pv6,
|
||||||
|
client_id=client_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
req = self.build_request_async(
|
req = self.build_request_async(
|
||||||
@@ -903,6 +912,9 @@ class Plex(BaseSDK):
|
|||||||
request_has_query_params=True,
|
request_has_query_params=True,
|
||||||
user_agent_header="user-agent",
|
user_agent_header="user-agent",
|
||||||
accept_header_value="application/json",
|
accept_header_value="application/json",
|
||||||
|
_globals=operations.GetServerResourcesGlobals(
|
||||||
|
client_id=self.sdk_configuration.globals.client_id,
|
||||||
|
),
|
||||||
security=self.sdk_configuration.security,
|
security=self.sdk_configuration.security,
|
||||||
timeout_ms=timeout_ms,
|
timeout_ms=timeout_ms,
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -39,9 +39,9 @@ class SDKConfiguration:
|
|||||||
server_defaults: List[Dict[str, str]] = field(default_factory=List)
|
server_defaults: List[Dict[str, str]] = field(default_factory=List)
|
||||||
language: str = "python"
|
language: str = "python"
|
||||||
openapi_doc_version: str = "0.0.3"
|
openapi_doc_version: str = "0.0.3"
|
||||||
sdk_version: str = "0.15.1"
|
sdk_version: str = "0.16.0"
|
||||||
gen_version: str = "2.426.2"
|
gen_version: str = "2.426.2"
|
||||||
user_agent: str = "speakeasy-sdk/python 0.15.1 2.426.2 0.0.3 plex-api-client"
|
user_agent: str = "speakeasy-sdk/python 0.16.0 2.426.2 0.0.3 plex-api-client"
|
||||||
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
|
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
|
||||||
timeout_ms: Optional[int] = None
|
timeout_ms: Optional[int] = None
|
||||||
|
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ def test_plex_get_server_resources():
|
|||||||
include_https=operations.IncludeHTTPS.ENABLE,
|
include_https=operations.IncludeHTTPS.ENABLE,
|
||||||
include_relay=operations.IncludeRelay.ENABLE,
|
include_relay=operations.IncludeRelay.ENABLE,
|
||||||
include_i_pv6=operations.IncludeIPv6.ENABLE,
|
include_i_pv6=operations.IncludeIPv6.ENABLE,
|
||||||
|
client_id="gcgzw5rz2xovp84b4vha3a40",
|
||||||
)
|
)
|
||||||
assert res.status_code == 200
|
assert res.status_code == 200
|
||||||
assert res.plex_devices is not None
|
assert res.plex_devices is not None
|
||||||
|
|||||||
Reference in New Issue
Block a user