mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 04:20:52 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.531.4
This commit is contained in:
1267
.speakeasy/gen.lock
1267
.speakeasy/gen.lock
File diff suppressed because it is too large
Load Diff
@@ -15,11 +15,13 @@ generation:
|
|||||||
oAuth2ClientCredentialsEnabled: false
|
oAuth2ClientCredentialsEnabled: false
|
||||||
oAuth2PasswordEnabled: false
|
oAuth2PasswordEnabled: false
|
||||||
ruby:
|
ruby:
|
||||||
version: 0.9.0
|
version: 0.10.0
|
||||||
additionalDependencies:
|
additionalDependencies:
|
||||||
development: {}
|
development: {}
|
||||||
runtime: {}
|
runtime: {}
|
||||||
author: LukeHagar
|
author: LukeHagar
|
||||||
|
clientServerStatusCodesAsErrors: true
|
||||||
|
defaultErrorName: APIError
|
||||||
description: Ruby Client SDK Generated by Speakeasy
|
description: Ruby Client SDK Generated by Speakeasy
|
||||||
flattenGlobalSecurity: false
|
flattenGlobalSecurity: false
|
||||||
imports:
|
imports:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
speakeasyVersion: 1.529.1
|
speakeasyVersion: 1.531.4
|
||||||
sources:
|
sources:
|
||||||
my-source:
|
my-source:
|
||||||
sourceNamespace: my-source
|
sourceNamespace: my-source
|
||||||
@@ -9,19 +9,19 @@ sources:
|
|||||||
- main
|
- main
|
||||||
plexapi:
|
plexapi:
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:ea508e3da23b283f47aeb4384d6b3ab374a27bdffb8d8d8376cedbad3ad77a06
|
sourceRevisionDigest: sha256:db75a06885b897418dcb580679b5f744348573ad317155172346d32442420e5e
|
||||||
sourceBlobDigest: sha256:c210adbd02b0213b9e6f95ffc27f60ec38f8f9040137d55ccf2b650d92ab0ff5
|
sourceBlobDigest: sha256:ac0a3c3a6df002378b3522325c2330ba4309fbbbfa503a04b8267398f20033f5
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- speakeasy-sdk-regen-1743984537
|
- speakeasy-sdk-regen-1744675750
|
||||||
targets:
|
targets:
|
||||||
plexruby:
|
plexruby:
|
||||||
source: plexapi
|
source: plexapi
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:ea508e3da23b283f47aeb4384d6b3ab374a27bdffb8d8d8376cedbad3ad77a06
|
sourceRevisionDigest: sha256:db75a06885b897418dcb580679b5f744348573ad317155172346d32442420e5e
|
||||||
sourceBlobDigest: sha256:c210adbd02b0213b9e6f95ffc27f60ec38f8f9040137d55ccf2b650d92ab0ff5
|
sourceBlobDigest: sha256:ac0a3c3a6df002378b3522325c2330ba4309fbbbfa503a04b8267398f20033f5
|
||||||
codeSamplesNamespace: code-samples-ruby-plexruby
|
codeSamplesNamespace: code-samples-ruby-plexruby
|
||||||
codeSamplesRevisionDigest: sha256:f2a076d3d2fbf77cebec2a9f236c00e49ea062e716507fbbda3585a07b7469ba
|
codeSamplesRevisionDigest: sha256:ee5b782c24e38902f37108a1d4699b6892349edf0d45d4bd56fd37c21cb43f07
|
||||||
workflow:
|
workflow:
|
||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
speakeasyVersion: latest
|
speakeasyVersion: latest
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
plex_ruby_sdk (0.9.0)
|
plex_ruby_sdk (0.10.0)
|
||||||
faraday
|
faraday
|
||||||
faraday-multipart
|
faraday-multipart
|
||||||
faraday-retry (~> 2.2.1)
|
faraday-retry (~> 2.2.1)
|
||||||
|
|||||||
20
README.md
20
README.md
@@ -75,7 +75,7 @@ gem install plex_ruby_sdk
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -105,7 +105,7 @@ You can set the security parameters through the `security` optional parameter wh
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -271,11 +271,11 @@ end
|
|||||||
|
|
||||||
The default server `{protocol}://{ip}:{port}` contains variables and is set to `https://10.10.10.47:32400` by default. To override default values, the following parameters are available when initializing the SDK client instance:
|
The default server `{protocol}://{ip}:{port}` contains variables and is set to `https://10.10.10.47:32400` by default. To override default values, the following parameters are available when initializing the SDK client instance:
|
||||||
|
|
||||||
| Variable | Parameter | Supported Values | Default | Description |
|
| Variable | Parameter | Supported Values | Default | Description |
|
||||||
| ---------- | ----------------------------------------------------------- | -------------------------- | --------------- | ---------------------------------------------- |
|
| ---------- | ------------------------------------------------------------------- | -------------------------- | --------------- | ---------------------------------------------- |
|
||||||
| `protocol` | `protocol (::PlexRubySDK::ServerVariables::ServerProtocol)` | - `"http"`<br/>- `"https"` | `"https"` | The protocol to use for the server connection |
|
| `protocol` | `protocol (::PlexRubySDK::Models::ServerVariables::ServerProtocol)` | - `"http"`<br/>- `"https"` | `"https"` | The protocol to use for the server connection |
|
||||||
| `ip` | `ip (::String)` | ::String | `"10.10.10.47"` | The IP address or hostname of your Plex Server |
|
| `ip` | `ip (::String)` | ::String | `"10.10.10.47"` | The IP address or hostname of your Plex Server |
|
||||||
| `port` | `port (::String)` | ::String | `"32400"` | The port of your Plex Server |
|
| `port` | `port (::String)` | ::String | `"32400"` | The port of your Plex Server |
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
|
|
||||||
@@ -286,7 +286,7 @@ s = ::PlexRubySDK::PlexAPI.new(
|
|||||||
protocol: "https",
|
protocol: "https",
|
||||||
ip: "e0c3:bcc0:6bac:dccc:c4ec:34b1:ca98:4cb9",
|
ip: "e0c3:bcc0:6bac:dccc:c4ec:34b1:ca98:4cb9",
|
||||||
port: "40311",
|
port: "40311",
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -307,7 +307,7 @@ require 'plex_ruby_sdk'
|
|||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
server_url: "https://10.10.10.47:32400",
|
server_url: "https://10.10.10.47:32400",
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -327,7 +327,7 @@ The server URL can also be overridden on a per-operation basis, provided a serve
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
10
RELEASES.md
10
RELEASES.md
@@ -777,3 +777,13 @@ Based on:
|
|||||||
- [ruby v0.9.0] .
|
- [ruby v0.9.0] .
|
||||||
### Releases
|
### Releases
|
||||||
- [Ruby Gems v0.9.0] https://rubygems.org/gems/plex_ruby_sdk/versions/0.9.0 - .
|
- [Ruby Gems v0.9.0] https://rubygems.org/gems/plex_ruby_sdk/versions/0.9.0 - .
|
||||||
|
|
||||||
|
## 2025-04-15 00:08:54
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc
|
||||||
|
- Speakeasy CLI 1.531.4 (2.570.4) https://github.com/speakeasy-api/speakeasy
|
||||||
|
### Generated
|
||||||
|
- [ruby v0.10.0] .
|
||||||
|
### Releases
|
||||||
|
- [Ruby Gems v0.10.0] https://rubygems.org/gems/plex_ruby_sdk/versions/0.10.0 - .
|
||||||
2
USAGE.md
2
USAGE.md
@@ -3,7 +3,7 @@
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
278
codeSamples.yaml
278
codeSamples.yaml
@@ -12,7 +12,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -31,7 +31,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -50,7 +50,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -69,7 +69,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -88,15 +88,15 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetTimelineRequest.new(
|
req = Models::Operations::GetTimelineRequest.new(
|
||||||
rating_key: 23409.0,
|
rating_key: 23409.0,
|
||||||
key: "/library/metadata/23409",
|
key: "/library/metadata/23409",
|
||||||
state: ::PlexRubySDK::Operations::State::PLAYING,
|
state: Models::Operations::State::PLAYING,
|
||||||
has_mde: 1.0,
|
has_mde: 1.0,
|
||||||
time: 2000.0,
|
time: 2000.0,
|
||||||
duration: 10000.0,
|
duration: 10000.0,
|
||||||
@@ -120,7 +120,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -139,7 +139,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -158,7 +158,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -177,7 +177,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -196,7 +196,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -215,7 +215,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -234,12 +234,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.butler.stop_task(task_name=::PlexRubySDK::Operations::PathParamTaskName::BACKUP_DATABASE)
|
res = s.butler.stop_task(task_name=Models::Operations::PathParamTaskName::BACKUP_DATABASE)
|
||||||
|
|
||||||
if res.status_code == 200
|
if res.status_code == 200
|
||||||
# handle response
|
# handle response
|
||||||
@@ -253,12 +253,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.butler.start_task(task_name=::PlexRubySDK::Operations::TaskName::CLEAN_OLD_BUNDLES)
|
res = s.butler.start_task(task_name=Models::Operations::TaskName::CLEAN_OLD_BUNDLES)
|
||||||
|
|
||||||
if res.status_code == 200
|
if res.status_code == 200
|
||||||
# handle response
|
# handle response
|
||||||
@@ -272,7 +272,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -291,7 +291,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -310,7 +310,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -329,7 +329,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -363,7 +363,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -382,12 +382,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.hubs.get_global_hubs(count=1262.49, only_transient=::PlexRubySDK::Operations::OnlyTransient::ONE)
|
res = s.hubs.get_global_hubs(count=1262.49, only_transient=Models::Operations::OnlyTransient::ONE)
|
||||||
|
|
||||||
if ! res.object.nil?
|
if ! res.object.nil?
|
||||||
# handle response
|
# handle response
|
||||||
@@ -401,16 +401,16 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetRecentlyAddedRequest.new(
|
req = Models::Operations::GetRecentlyAddedRequest.new(
|
||||||
content_directory_id: 470_161,
|
content_directory_id: 470_161,
|
||||||
section_id: 2,
|
section_id: 2,
|
||||||
type: ::PlexRubySDK::Operations::Type::TV_SHOW,
|
type: Models::Operations::Type::TV_SHOW,
|
||||||
include_meta: ::PlexRubySDK::Operations::IncludeMeta::ENABLE,
|
include_meta: Models::Operations::IncludeMeta::ENABLE,
|
||||||
x_plex_container_start: 0,
|
x_plex_container_start: 0,
|
||||||
x_plex_container_size: 50,
|
x_plex_container_size: 50,
|
||||||
)
|
)
|
||||||
@@ -429,7 +429,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -448,7 +448,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -467,12 +467,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.hubs.get_library_hubs(section_id=6728.76, count=639.24, only_transient=::PlexRubySDK::Operations::QueryParamOnlyTransient::ONE)
|
res = s.hubs.get_library_hubs(section_id=6728.76, count=639.24, only_transient=Models::Operations::QueryParamOnlyTransient::ONE)
|
||||||
|
|
||||||
if ! res.object.nil?
|
if ! res.object.nil?
|
||||||
# handle response
|
# handle response
|
||||||
@@ -501,12 +501,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.library.get_top_watched_content(type=::PlexRubySDK::Operations::GetTopWatchedContentQueryParamType::TV_SHOW, include_guids=1)
|
res = s.library.get_top_watched_content(type=Models::Operations::GetTopWatchedContentQueryParamType::TV_SHOW, include_guids=1)
|
||||||
|
|
||||||
if ! res.object.nil?
|
if ! res.object.nil?
|
||||||
# handle response
|
# handle response
|
||||||
@@ -520,7 +520,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -539,12 +539,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetMediaMetaDataRequest.new(
|
req = Models::Operations::GetMediaMetaDataRequest.new(
|
||||||
rating_key: 9518,
|
rating_key: 9518,
|
||||||
include_concerts: true,
|
include_concerts: true,
|
||||||
include_extras: true,
|
include_extras: true,
|
||||||
@@ -575,7 +575,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -594,7 +594,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -613,12 +613,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetBannerImageRequest.new(
|
req = Models::Operations::GetBannerImageRequest.new(
|
||||||
rating_key: 9518,
|
rating_key: 9518,
|
||||||
width: 396,
|
width: 396,
|
||||||
height: 396,
|
height: 396,
|
||||||
@@ -641,7 +641,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -660,7 +660,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -679,7 +679,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -698,12 +698,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetThumbImageRequest.new(
|
req = Models::Operations::GetThumbImageRequest.new(
|
||||||
rating_key: 9518,
|
rating_key: 9518,
|
||||||
width: 396,
|
width: 396,
|
||||||
height: 396,
|
height: 396,
|
||||||
@@ -726,12 +726,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetRecentlyAddedLibraryRequest.new(
|
req = Models::Operations::GetRecentlyAddedLibraryRequest.new(
|
||||||
content_directory_id: 2,
|
content_directory_id: 2,
|
||||||
pinned_content_directory_id: [
|
pinned_content_directory_id: [
|
||||||
3,
|
3,
|
||||||
@@ -748,8 +748,8 @@ actions:
|
|||||||
17,
|
17,
|
||||||
],
|
],
|
||||||
section_id: 2,
|
section_id: 2,
|
||||||
type: ::PlexRubySDK::Operations::QueryParamType::TV_SHOW,
|
type: Models::Operations::QueryParamType::TV_SHOW,
|
||||||
include_meta: ::PlexRubySDK::Operations::QueryParamIncludeMeta::ENABLE,
|
include_meta: Models::Operations::QueryParamIncludeMeta::ENABLE,
|
||||||
x_plex_container_start: 0,
|
x_plex_container_start: 0,
|
||||||
x_plex_container_size: 50,
|
x_plex_container_size: 50,
|
||||||
)
|
)
|
||||||
@@ -768,19 +768,19 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetSearchAllLibrariesRequest.new(
|
req = Models::Operations::GetSearchAllLibrariesRequest.new(
|
||||||
query: "<value>",
|
query: "<value>",
|
||||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||||
search_types: [
|
search_types: [
|
||||||
::PlexRubySDK::Operations::SearchTypes::PEOPLE,
|
Models::Operations::SearchTypes::PEOPLE,
|
||||||
],
|
],
|
||||||
include_collections: ::PlexRubySDK::Operations::GetSearchAllLibrariesQueryParamIncludeCollections::ENABLE,
|
include_collections: Models::Operations::GetSearchAllLibrariesQueryParamIncludeCollections::ENABLE,
|
||||||
include_external_media: ::PlexRubySDK::Operations::GetSearchAllLibrariesQueryParamIncludeExternalMedia::ENABLE,
|
include_external_media: Models::Operations::GetSearchAllLibrariesQueryParamIncludeExternalMedia::ENABLE,
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.library.get_search_all_libraries(req)
|
res = s.library.get_search_all_libraries(req)
|
||||||
@@ -797,7 +797,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -816,13 +816,13 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetWatchListRequest.new(
|
req = Models::Operations::GetWatchListRequest.new(
|
||||||
filter: ::PlexRubySDK::Operations::Filter::AVAILABLE,
|
filter: Models::Operations::Filter::AVAILABLE,
|
||||||
x_plex_container_start: 0,
|
x_plex_container_start: 0,
|
||||||
x_plex_container_size: 50,
|
x_plex_container_size: 50,
|
||||||
x_plex_token: "CV5xoxjTpFKUzBTShsaf",
|
x_plex_token: "CV5xoxjTpFKUzBTShsaf",
|
||||||
@@ -842,7 +842,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -861,12 +861,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.library.get_library_details(section_key=9518, include_details=::PlexRubySDK::Operations::IncludeDetails::ZERO)
|
res = s.library.get_library_details(section_key=9518, include_details=Models::Operations::IncludeDetails::ZERO)
|
||||||
|
|
||||||
if ! res.object.nil?
|
if ! res.object.nil?
|
||||||
# handle response
|
# handle response
|
||||||
@@ -880,12 +880,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.library.get_actors_library(section_key=9518, type=::PlexRubySDK::Operations::GetActorsLibraryQueryParamType::TV_SHOW)
|
res = s.library.get_actors_library(section_key=9518, type=Models::Operations::GetActorsLibraryQueryParamType::TV_SHOW)
|
||||||
|
|
||||||
if ! res.object.nil?
|
if ! res.object.nil?
|
||||||
# handle response
|
# handle response
|
||||||
@@ -899,19 +899,19 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetAllMediaLibraryRequest.new(
|
req = Models::Operations::GetAllMediaLibraryRequest.new(
|
||||||
section_key: 9518,
|
section_key: 9518,
|
||||||
type: ::PlexRubySDK::Operations::GetAllMediaLibraryQueryParamType::TV_SHOW,
|
type: Models::Operations::GetAllMediaLibraryQueryParamType::TV_SHOW,
|
||||||
include_meta: ::PlexRubySDK::Operations::GetAllMediaLibraryQueryParamIncludeMeta::ENABLE,
|
include_meta: Models::Operations::GetAllMediaLibraryQueryParamIncludeMeta::ENABLE,
|
||||||
include_guids: ::PlexRubySDK::Operations::QueryParamIncludeGuids::ENABLE,
|
include_guids: Models::Operations::QueryParamIncludeGuids::ENABLE,
|
||||||
include_advanced: ::PlexRubySDK::Operations::IncludeAdvanced::ENABLE,
|
include_advanced: Models::Operations::IncludeAdvanced::ENABLE,
|
||||||
include_collections: ::PlexRubySDK::Operations::QueryParamIncludeCollections::ENABLE,
|
include_collections: Models::Operations::QueryParamIncludeCollections::ENABLE,
|
||||||
include_external_media: ::PlexRubySDK::Operations::QueryParamIncludeExternalMedia::ENABLE,
|
include_external_media: Models::Operations::QueryParamIncludeExternalMedia::ENABLE,
|
||||||
x_plex_container_start: 0,
|
x_plex_container_start: 0,
|
||||||
x_plex_container_size: 50,
|
x_plex_container_size: 50,
|
||||||
)
|
)
|
||||||
@@ -930,12 +930,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.library.get_countries_library(section_key=9518, type=::PlexRubySDK::Operations::GetCountriesLibraryQueryParamType::TV_SHOW)
|
res = s.library.get_countries_library(section_key=9518, type=Models::Operations::GetCountriesLibraryQueryParamType::TV_SHOW)
|
||||||
|
|
||||||
if ! res.object.nil?
|
if ! res.object.nil?
|
||||||
# handle response
|
# handle response
|
||||||
@@ -949,12 +949,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.library.get_genres_library(section_key=9518, type=::PlexRubySDK::Operations::GetGenresLibraryQueryParamType::TV_SHOW)
|
res = s.library.get_genres_library(section_key=9518, type=Models::Operations::GetGenresLibraryQueryParamType::TV_SHOW)
|
||||||
|
|
||||||
if ! res.object.nil?
|
if ! res.object.nil?
|
||||||
# handle response
|
# handle response
|
||||||
@@ -968,12 +968,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.library.get_refresh_library_metadata(section_key=9518, force=::PlexRubySDK::Operations::Force::ONE)
|
res = s.library.get_refresh_library_metadata(section_key=9518, force=Models::Operations::Force::ONE)
|
||||||
|
|
||||||
if res.status_code == 200
|
if res.status_code == 200
|
||||||
# handle response
|
# handle response
|
||||||
@@ -987,12 +987,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.library.get_search_library(section_key=9518, type=::PlexRubySDK::Operations::GetSearchLibraryQueryParamType::TV_SHOW)
|
res = s.library.get_search_library(section_key=9518, type=Models::Operations::GetSearchLibraryQueryParamType::TV_SHOW)
|
||||||
|
|
||||||
if ! res.object.nil?
|
if ! res.object.nil?
|
||||||
# handle response
|
# handle response
|
||||||
@@ -1006,17 +1006,17 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetLibraryItemsRequest.new(
|
req = Models::Operations::GetLibraryItemsRequest.new(
|
||||||
tag: ::PlexRubySDK::Operations::Tag::EDITION,
|
tag: Models::Operations::Tag::EDITION,
|
||||||
include_guids: ::PlexRubySDK::Operations::IncludeGuids::ENABLE,
|
include_guids: Models::Operations::IncludeGuids::ENABLE,
|
||||||
type: ::PlexRubySDK::Operations::GetLibraryItemsQueryParamType::TV_SHOW,
|
type: Models::Operations::GetLibraryItemsQueryParamType::TV_SHOW,
|
||||||
section_key: 9518,
|
section_key: 9518,
|
||||||
include_meta: ::PlexRubySDK::Operations::GetLibraryItemsQueryParamIncludeMeta::ENABLE,
|
include_meta: Models::Operations::GetLibraryItemsQueryParamIncludeMeta::ENABLE,
|
||||||
x_plex_container_start: 0,
|
x_plex_container_start: 0,
|
||||||
x_plex_container_size: 50,
|
x_plex_container_size: 50,
|
||||||
)
|
)
|
||||||
@@ -1035,12 +1035,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.log.log_line(level=::PlexRubySDK::Operations::Level::THREE, message="Test log message", source="Postman")
|
res = s.log.log_line(level=Models::Operations::Level::THREE, message="Test log message", source="Postman")
|
||||||
|
|
||||||
if res.status_code == 200
|
if res.status_code == 200
|
||||||
# handle response
|
# handle response
|
||||||
@@ -1054,7 +1054,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1077,7 +1077,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1096,7 +1096,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1115,7 +1115,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1134,18 +1134,18 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetResizedPhotoRequest.new(
|
req = Models::Operations::GetResizedPhotoRequest.new(
|
||||||
width: 110.0,
|
width: 110.0,
|
||||||
height: 165.0,
|
height: 165.0,
|
||||||
opacity: 643_869,
|
opacity: 643_869,
|
||||||
blur: 0.0,
|
blur: 0.0,
|
||||||
min_size: ::PlexRubySDK::Operations::MinSize::ONE,
|
min_size: Models::Operations::MinSize::ONE,
|
||||||
upscale: ::PlexRubySDK::Operations::Upscale::ONE,
|
upscale: Models::Operations::Upscale::ONE,
|
||||||
url: "/library/metadata/49564/thumb/1654258204",
|
url: "/library/metadata/49564/thumb/1654258204",
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -1164,7 +1164,7 @@ actions:
|
|||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new
|
s = ::PlexRubySDK::PlexAPI.new
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetPinRequest.new(
|
req = Models::Operations::GetPinRequest.new(
|
||||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||||
client_name: "Plex for Roku",
|
client_name: "Plex for Roku",
|
||||||
device_nickname: "Roku 3",
|
device_nickname: "Roku 3",
|
||||||
@@ -1187,7 +1187,7 @@ actions:
|
|||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new
|
s = ::PlexRubySDK::PlexAPI.new
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetTokenByPinIdRequest.new(
|
req = Models::Operations::GetTokenByPinIdRequest.new(
|
||||||
pin_id: 408_895,
|
pin_id: 408_895,
|
||||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||||
client_name: "Plex for Roku",
|
client_name: "Plex for Roku",
|
||||||
@@ -1210,12 +1210,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.playlists.get_playlists(playlist_type=::PlexRubySDK::Operations::PlaylistType::AUDIO, smart=::PlexRubySDK::Operations::QueryParamSmart::ZERO)
|
res = s.playlists.get_playlists(playlist_type=Models::Operations::PlaylistType::AUDIO, smart=Models::Operations::QueryParamSmart::ZERO)
|
||||||
|
|
||||||
if ! res.object.nil?
|
if ! res.object.nil?
|
||||||
# handle response
|
# handle response
|
||||||
@@ -1229,15 +1229,15 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::CreatePlaylistRequest.new(
|
req = Models::Operations::CreatePlaylistRequest.new(
|
||||||
title: "<value>",
|
title: "<value>",
|
||||||
type: ::PlexRubySDK::Operations::CreatePlaylistQueryParamType::PHOTO,
|
type: Models::Operations::CreatePlaylistQueryParamType::PHOTO,
|
||||||
smart: ::PlexRubySDK::Operations::Smart::ONE,
|
smart: Models::Operations::Smart::ONE,
|
||||||
uri: "https://hoarse-testing.info/",
|
uri: "https://hoarse-testing.info/",
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -1255,12 +1255,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.playlists.upload_playlist(path="/home/barkley/playlist.m3u", force=::PlexRubySDK::Operations::QueryParamForce::ZERO, section_id=1)
|
res = s.playlists.upload_playlist(path="/home/barkley/playlist.m3u", force=Models::Operations::QueryParamForce::ZERO, section_id=1)
|
||||||
|
|
||||||
if res.status_code == 200
|
if res.status_code == 200
|
||||||
# handle response
|
# handle response
|
||||||
@@ -1274,7 +1274,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1293,7 +1293,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1312,7 +1312,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1331,7 +1331,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1350,12 +1350,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.playlists.get_playlist_contents(playlist_id=5004.46, type=::PlexRubySDK::Operations::GetPlaylistContentsQueryParamType::TV_SHOW)
|
res = s.playlists.get_playlist_contents(playlist_id=5004.46, type=Models::Operations::GetPlaylistContentsQueryParamType::TV_SHOW)
|
||||||
|
|
||||||
if ! res.object.nil?
|
if ! res.object.nil?
|
||||||
# handle response
|
# handle response
|
||||||
@@ -1369,7 +1369,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1388,12 +1388,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.plex.get_server_resources(client_id="3381b62b-9ab7-4e37-827b-203e9809eb58", include_https=::PlexRubySDK::Operations::IncludeHttps::ENABLE, include_relay=::PlexRubySDK::Operations::IncludeRelay::ENABLE, include_i_pv6=::PlexRubySDK::Operations::IncludeIPv6::ENABLE)
|
res = s.plex.get_server_resources(client_id="3381b62b-9ab7-4e37-827b-203e9809eb58", include_https=Models::Operations::IncludeHttps::ENABLE, include_relay=Models::Operations::IncludeRelay::ENABLE, include_i_pv6=Models::Operations::IncludeIPv6::ENABLE)
|
||||||
|
|
||||||
if ! res.plex_devices.nil?
|
if ! res.plex_devices.nil?
|
||||||
# handle response
|
# handle response
|
||||||
@@ -1407,7 +1407,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1426,7 +1426,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1445,12 +1445,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.authentication.get_transient_token(type=::PlexRubySDK::Operations::GetTransientTokenQueryParamType::DELEGATION, scope=::PlexRubySDK::Operations::Scope::ALL)
|
res = s.authentication.get_transient_token(type=Models::Operations::GetTransientTokenQueryParamType::DELEGATION, scope=Models::Operations::Scope::ALL)
|
||||||
|
|
||||||
if res.status_code == 200
|
if res.status_code == 200
|
||||||
# handle response
|
# handle response
|
||||||
@@ -1464,7 +1464,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1483,7 +1483,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1502,7 +1502,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1521,7 +1521,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1540,7 +1540,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1559,12 +1559,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.sessions.get_session_history(sort="<value>", account_id=1, filter=::PlexRubySDK::Operations::QueryParamFilter.new(), library_section_id=12)
|
res = s.sessions.get_session_history(sort="<value>", account_id=1, filter=Models::Operations::QueryParamFilter.new(), library_section_id=12)
|
||||||
|
|
||||||
if ! res.object.nil?
|
if ! res.object.nil?
|
||||||
# handle response
|
# handle response
|
||||||
@@ -1578,7 +1578,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1597,7 +1597,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1616,12 +1616,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.updater.apply_updates(tonight=::PlexRubySDK::Operations::Tonight::ONE, skip=::PlexRubySDK::Operations::Skip::ONE)
|
res = s.updater.apply_updates(tonight=Models::Operations::Tonight::ONE, skip=Models::Operations::Skip::ONE)
|
||||||
|
|
||||||
if res.status_code == 200
|
if res.status_code == 200
|
||||||
# handle response
|
# handle response
|
||||||
@@ -1635,12 +1635,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
res = s.updater.check_for_updates(download=::PlexRubySDK::Operations::Download::ONE)
|
res = s.updater.check_for_updates(download=Models::Operations::Download::ONE)
|
||||||
|
|
||||||
if res.status_code == 200
|
if res.status_code == 200
|
||||||
# handle response
|
# handle response
|
||||||
@@ -1654,7 +1654,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1673,7 +1673,7 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@@ -1693,7 +1693,7 @@ actions:
|
|||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new
|
s = ::PlexRubySDK::PlexAPI.new
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::GetUsersRequest.new(
|
req = Models::Operations::GetUsersRequest.new(
|
||||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||||
client_name: "Plex for Roku",
|
client_name: "Plex for Roku",
|
||||||
device_nickname: "Roku 3",
|
device_nickname: "Roku 3",
|
||||||
@@ -1724,13 +1724,13 @@ actions:
|
|||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new
|
s = ::PlexRubySDK::PlexAPI.new
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::PostUsersSignInDataRequest.new(
|
req = Models::Operations::PostUsersSignInDataRequest.new(
|
||||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||||
client_name: "Plex for Roku",
|
client_name: "Plex for Roku",
|
||||||
device_nickname: "Roku 3",
|
device_nickname: "Roku 3",
|
||||||
client_version: "2.4.1",
|
client_version: "2.4.1",
|
||||||
platform: "Roku",
|
platform: "Roku",
|
||||||
request_body: ::PlexRubySDK::Operations::PostUsersSignInDataRequestBody.new(
|
request_body: Models::Operations::PostUsersSignInDataRequestBody.new(
|
||||||
login: "username@email.com",
|
login: "username@email.com",
|
||||||
password: "password123",
|
password: "password123",
|
||||||
verification_code: "123456",
|
verification_code: "123456",
|
||||||
@@ -1751,12 +1751,12 @@ actions:
|
|||||||
require 'plex_ruby_sdk'
|
require 'plex_ruby_sdk'
|
||||||
|
|
||||||
s = ::PlexRubySDK::PlexAPI.new(
|
s = ::PlexRubySDK::PlexAPI.new(
|
||||||
security: ::PlexRubySDK::Shared::Security.new(
|
security: Models::Shared::Security.new(
|
||||||
access_token: "<YOUR_API_KEY_HERE>",
|
access_token: "<YOUR_API_KEY_HERE>",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
req = ::PlexRubySDK::Operations::StartUniversalTranscodeRequest.new(
|
req = Models::Operations::StartUniversalTranscodeRequest.new(
|
||||||
has_mde: 1.0,
|
has_mde: 1.0,
|
||||||
path: "/library/metadata/23409",
|
path: "/library/metadata/23409",
|
||||||
media_index: 0.0,
|
media_index: 0.0,
|
||||||
|
|||||||
11
docs/models/errors/addplaylistcontentsbadrequest.md
Normal file
11
docs/models/errors/addplaylistcontentsbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# AddPlaylistContentsBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::AddPlaylistContentsErrors](../../models/errors/addplaylistcontentserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/addplaylistcontentsunauthorized.md
Normal file
11
docs/models/errors/addplaylistcontentsunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# AddPlaylistContentsUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::AddPlaylistContentsPlaylistsErrors](../../models/errors/addplaylistcontentsplaylistserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/applyupdatesbadrequest.md
Normal file
11
docs/models/errors/applyupdatesbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# ApplyUpdatesBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::ApplyUpdatesErrors](../../models/errors/applyupdateserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/applyupdatesunauthorized.md
Normal file
11
docs/models/errors/applyupdatesunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# ApplyUpdatesUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::ApplyUpdatesUpdaterErrors](../../models/errors/applyupdatesupdatererrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/cancelserveractivitiesbadrequest.md
Normal file
11
docs/models/errors/cancelserveractivitiesbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# CancelServerActivitiesBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::CancelServerActivitiesErrors](../../models/errors/cancelserveractivitieserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
@@ -5,6 +5,7 @@ Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|||||||
|
|
||||||
## Fields
|
## Fields
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
| Field | Type | Required | Description |
|
||||||
| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `errors` | T::Array<[::PlexRubySDK::Operations::CancelServerActivitiesActivitiesErrors](../../models/operations/cancelserveractivitiesactivitieserrors.md)> | :heavy_minus_sign: | N/A |
|
| `errors` | T::Array<[Models::Errors::CancelServerActivitiesActivitiesErrors](../../models/errors/cancelserveractivitiesactivitieserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/checkforupdatesbadrequest.md
Normal file
11
docs/models/errors/checkforupdatesbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# CheckForUpdatesBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::CheckForUpdatesErrors](../../models/errors/checkforupdateserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/checkforupdatesunauthorized.md
Normal file
11
docs/models/errors/checkforupdatesunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# CheckForUpdatesUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::CheckForUpdatesUpdaterErrors](../../models/errors/checkforupdatesupdatererrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/clearplaylistcontentsbadrequest.md
Normal file
11
docs/models/errors/clearplaylistcontentsbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# ClearPlaylistContentsBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::ClearPlaylistContentsErrors](../../models/errors/clearplaylistcontentserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/clearplaylistcontentsunauthorized.md
Normal file
11
docs/models/errors/clearplaylistcontentsunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# ClearPlaylistContentsUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::ClearPlaylistContentsPlaylistsErrors](../../models/errors/clearplaylistcontentsplaylistserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/createplaylistbadrequest.md
Normal file
11
docs/models/errors/createplaylistbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# CreatePlaylistBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::CreatePlaylistErrors](../../models/errors/createplaylisterrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/createplaylistunauthorized.md
Normal file
11
docs/models/errors/createplaylistunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# CreatePlaylistUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::CreatePlaylistPlaylistsErrors](../../models/errors/createplaylistplaylistserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/deletelibrarybadrequest.md
Normal file
11
docs/models/errors/deletelibrarybadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# DeleteLibraryBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::DeleteLibraryErrors](../../models/errors/deletelibraryerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/deletelibraryunauthorized.md
Normal file
11
docs/models/errors/deletelibraryunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# DeleteLibraryUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::DeleteLibraryLibraryErrors](../../models/errors/deletelibrarylibraryerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/deleteplaylistbadrequest.md
Normal file
11
docs/models/errors/deleteplaylistbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# DeletePlaylistBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::DeletePlaylistErrors](../../models/errors/deleteplaylisterrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/deleteplaylistunauthorized.md
Normal file
11
docs/models/errors/deleteplaylistunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# DeletePlaylistUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::DeletePlaylistPlaylistsErrors](../../models/errors/deleteplaylistplaylistserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/enablepapertrailbadrequest.md
Normal file
11
docs/models/errors/enablepapertrailbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# EnablePaperTrailBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::EnablePaperTrailErrors](../../models/errors/enablepapertrailerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/enablepapertrailunauthorized.md
Normal file
11
docs/models/errors/enablepapertrailunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# EnablePaperTrailUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::EnablePaperTrailLogErrors](../../models/errors/enablepapertraillogerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getactorslibrarybadrequest.md
Normal file
11
docs/models/errors/getactorslibrarybadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetActorsLibraryBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetActorsLibraryErrors](../../models/errors/getactorslibraryerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getactorslibraryunauthorized.md
Normal file
11
docs/models/errors/getactorslibraryunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetActorsLibraryUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetActorsLibraryLibraryErrors](../../models/errors/getactorslibrarylibraryerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getalllibrariesbadrequest.md
Normal file
11
docs/models/errors/getalllibrariesbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetAllLibrariesBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetAllLibrariesErrors](../../models/errors/getalllibrarieserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getalllibrariesunauthorized.md
Normal file
11
docs/models/errors/getalllibrariesunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetAllLibrariesUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetAllLibrariesLibraryErrors](../../models/errors/getalllibrarieslibraryerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getallmedialibrarybadrequest.md
Normal file
11
docs/models/errors/getallmedialibrarybadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetAllMediaLibraryBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetAllMediaLibraryErrors](../../models/errors/getallmedialibraryerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getallmedialibraryunauthorized.md
Normal file
11
docs/models/errors/getallmedialibraryunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetAllMediaLibraryUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetAllMediaLibraryLibraryErrors](../../models/errors/getallmedialibrarylibraryerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getavailableclientsbadrequest.md
Normal file
11
docs/models/errors/getavailableclientsbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetAvailableClientsBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetAvailableClientsErrors](../../models/errors/getavailableclientserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getavailableclientsunauthorized.md
Normal file
11
docs/models/errors/getavailableclientsunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetAvailableClientsUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetAvailableClientsServerErrors](../../models/errors/getavailableclientsservererrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getbandwidthstatisticsbadrequest.md
Normal file
11
docs/models/errors/getbandwidthstatisticsbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetBandwidthStatisticsBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetBandwidthStatisticsErrors](../../models/errors/getbandwidthstatisticserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
@@ -5,6 +5,7 @@ Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
|||||||
|
|
||||||
## Fields
|
## Fields
|
||||||
|
|
||||||
| Field | Type | Required | Description |
|
| Field | Type | Required | Description |
|
||||||
| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `errors` | T::Array<[::PlexRubySDK::Operations::GetBandwidthStatisticsStatisticsErrors](../../models/operations/getbandwidthstatisticsstatisticserrors.md)> | :heavy_minus_sign: | N/A |
|
| `errors` | T::Array<[Models::Errors::GetBandwidthStatisticsStatisticsErrors](../../models/errors/getbandwidthstatisticsstatisticserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getbannerimagebadrequest.md
Normal file
11
docs/models/errors/getbannerimagebadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetBannerImageBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetBannerImageErrors](../../models/errors/getbannerimageerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getbannerimageunauthorized.md
Normal file
11
docs/models/errors/getbannerimageunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetBannerImageUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetBannerImageMediaErrors](../../models/errors/getbannerimagemediaerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getbutlertasksbadrequest.md
Normal file
11
docs/models/errors/getbutlertasksbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetButlerTasksBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetButlerTasksErrors](../../models/errors/getbutlertaskserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getbutlertasksunauthorized.md
Normal file
11
docs/models/errors/getbutlertasksunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetButlerTasksUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetButlerTasksButlerErrors](../../models/errors/getbutlertasksbutlererrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getcompanionsdatabadrequest.md
Normal file
11
docs/models/errors/getcompanionsdatabadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetCompanionsDataBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetCompanionsDataErrors](../../models/errors/getcompanionsdataerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getcompanionsdataunauthorized.md
Normal file
11
docs/models/errors/getcompanionsdataunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetCompanionsDataUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetCompanionsDataPlexErrors](../../models/errors/getcompanionsdataplexerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getcountrieslibrarybadrequest.md
Normal file
11
docs/models/errors/getcountrieslibrarybadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetCountriesLibraryBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetCountriesLibraryErrors](../../models/errors/getcountrieslibraryerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getcountrieslibraryunauthorized.md
Normal file
11
docs/models/errors/getcountrieslibraryunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetCountriesLibraryUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetCountriesLibraryLibraryErrors](../../models/errors/getcountrieslibrarylibraryerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getdevicesbadrequest.md
Normal file
11
docs/models/errors/getdevicesbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetDevicesBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetDevicesErrors](../../models/errors/getdeviceserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getdevicesunauthorized.md
Normal file
11
docs/models/errors/getdevicesunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetDevicesUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetDevicesServerErrors](../../models/errors/getdevicesservererrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getfilehashbadrequest.md
Normal file
11
docs/models/errors/getfilehashbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetFileHashBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetFileHashErrors](../../models/errors/getfilehasherrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getfilehashunauthorized.md
Normal file
11
docs/models/errors/getfilehashunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetFileHashUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetFileHashLibraryErrors](../../models/errors/getfilehashlibraryerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getgenreslibrarybadrequest.md
Normal file
11
docs/models/errors/getgenreslibrarybadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetGenresLibraryBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetGenresLibraryErrors](../../models/errors/getgenreslibraryerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getgenreslibraryunauthorized.md
Normal file
11
docs/models/errors/getgenreslibraryunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetGenresLibraryUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetGenresLibraryLibraryErrors](../../models/errors/getgenreslibrarylibraryerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getgeodatabadrequest.md
Normal file
11
docs/models/errors/getgeodatabadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetGeoDataBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetGeoDataErrors](../../models/errors/getgeodataerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getgeodataunauthorized.md
Normal file
11
docs/models/errors/getgeodataunauthorized.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetGeoDataUnauthorized
|
||||||
|
|
||||||
|
Unauthorized - Returned if the X-Plex-Token is missing from the header or query.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetGeoDataPlexErrors](../../models/errors/getgeodataplexerrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
11
docs/models/errors/getglobalhubsbadrequest.md
Normal file
11
docs/models/errors/getglobalhubsbadrequest.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# GetGlobalHubsBadRequest
|
||||||
|
|
||||||
|
Bad Request - A parameter was not specified, or was specified incorrectly.
|
||||||
|
|
||||||
|
|
||||||
|
## Fields
|
||||||
|
|
||||||
|
| Field | Type | Required | Description |
|
||||||
|
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
||||||
|
| `errors` | T::Array<[Models::Errors::GetGlobalHubsErrors](../../models/errors/getglobalhubserrors.md)> | :heavy_minus_sign: | N/A |
|
||||||
|
| `raw_response` | [Faraday::Response](https://www.rubydoc.info/gems/faraday/Faraday/Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing |
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user