ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.228.1

This commit is contained in:
speakeasybot
2024-03-29 16:37:24 +00:00
parent 8957a8d350
commit 5f55e68f22
43 changed files with 360 additions and 149 deletions

View File

@@ -27,7 +27,9 @@ Get Server Activities
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -59,7 +61,9 @@ Cancel Server Activities
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -22,7 +22,9 @@ This endpoint provides the caller with a temporary token with the same access le
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -63,7 +65,9 @@ Note: requires Plex Media Server >= 1.15.4.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -24,7 +24,9 @@ Returns a list of butler tasks
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -61,7 +63,9 @@ This endpoint will attempt to start all Butler tasks that are enabled in the set
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -94,7 +98,9 @@ This endpoint will stop all currently running tasks and remove any scheduled tas
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -131,7 +137,9 @@ This endpoint will attempt to start a single Butler task that is enabled in the
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -170,7 +178,9 @@ This endpoint will stop a currently running task by name, or remove it from the
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -21,7 +21,9 @@ Get Global Hubs filtered by the parameters provided.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -61,7 +63,9 @@ This endpoint will return a list of library specific hubs
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -30,7 +30,9 @@ This resource returns hash values for local files
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -70,7 +72,9 @@ This endpoint will return the recently added content.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -108,7 +112,9 @@ This allows a client to provide a rich interface around the media (e.g. allow so
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -179,7 +185,9 @@ Each type in the library comes with a set of filters and sorts, aiding in buildi
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -218,7 +226,9 @@ Delate a library using a specific section
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -276,7 +286,9 @@ Fetches details from a specific section of the library identified by a section k
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -316,7 +328,9 @@ This endpoint Refreshes the library.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -372,7 +386,9 @@ Each type in the library comes with a set of filters and sorts, aiding in buildi
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -412,7 +428,9 @@ This endpoint will return the metadata of a library item specified with the rati
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -451,7 +469,9 @@ This endpoint will return the children of of a library item specified with the r
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -490,7 +510,9 @@ This endpoint will return the on deck content.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -23,7 +23,9 @@ This endpoint will write a single-line log message, including a level and source
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -84,7 +86,9 @@ Ensure each parameter is properly URL-encoded to avoid interpretation issues.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -127,7 +131,9 @@ This endpoint will enable all Plex Media Serverlogs to be sent to the Papertrail
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -22,7 +22,9 @@ This will mark the provided media key as Played.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -60,7 +62,9 @@ This will mark the provided media key as Unplayed.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -99,7 +103,9 @@ This API command can be used to update the play progress of a media item.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -34,7 +34,9 @@ Create a new playlist. By default the playlist is blank. To create a playlist al
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -79,7 +81,9 @@ Get All Playlists given the specified filters.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -120,7 +124,9 @@ Smart playlist details contain the `content` attribute. This is the content URI
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -159,7 +165,9 @@ This endpoint will delete a playlist
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -198,7 +206,9 @@ From PMS version 1.9.1 clients can also edit playlist metadata using this endpoi
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -242,7 +252,9 @@ Note that for dumb playlists, items have a `playlistItemID` attribute which is u
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -282,7 +294,9 @@ Clears a playlist, only works with dumb playlists. Returns the playlist.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -322,7 +336,9 @@ With a smart playlist, passing a new `uri` parameter replaces the rules for the
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -363,7 +379,9 @@ Imports m3u playlists by passing a path on the server to scan for m3u-formatted
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -21,10 +21,12 @@ Retrieve a Pin from Plex.tv for authentication flows
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
res = s.plex.get_pin(x_plex_client_identifier="<value>", strong=false)
res = s.plex.get_pin(strong=false, x_plex_client_identifier="<value>")
if ! res.two_hundred_application_json_object.nil?
# handle response
@@ -36,8 +38,8 @@ end
| Parameter | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `x_plex_client_identifier` | *::String* | :heavy_check_mark: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> |
| `strong` | *T::Boolean* | :heavy_minus_sign: | Determines the kind of code returned by the API call<br/>Strong codes are used for Pin authentication flows<br/>Non-Strong codes are used for `Plex.tv/link`<br/> |
| `x_plex_client_identifier` | *::String* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> |
| `server_url` | *String* | :heavy_minus_sign: | An optional server URL to use. |
@@ -56,7 +58,9 @@ Retrieve an Access Token from Plex.tv after the Pin has already been authenticat
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
res = s.plex.get_token(pin_id="<value>", x_plex_client_identifier="<value>")
@@ -72,7 +76,7 @@ end
| Parameter | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `pin_id` | *::String* | :heavy_check_mark: | The PinID to retrieve an access token for |
| `x_plex_client_identifier` | *::String* | :heavy_check_mark: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> |
| `x_plex_client_identifier` | *::String* | :heavy_minus_sign: | The unique identifier for the client application<br/>This is used to track the client application and its usage<br/>(UUID, serial number, or other number unique per device)<br/> |
| `server_url` | *String* | :heavy_minus_sign: | An optional server URL to use. |

View File

@@ -34,7 +34,9 @@ This request is intended to be very fast, and called as the user types.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -78,7 +80,9 @@ Results, as well as their containing per-type hubs, contain a `distance` attribu
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -118,7 +122,9 @@ This will search the database for the string provided.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -27,7 +27,9 @@ Server Capabilities
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -59,7 +61,9 @@ Get Server Preferences
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -91,7 +95,9 @@ Get Available Clients
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -123,7 +129,9 @@ Get Devices
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -155,7 +163,9 @@ Get Server Identity
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -187,7 +197,9 @@ Returns MyPlex Account Information
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -220,7 +232,9 @@ Plex's Photo transcoder is used throughout the service to serve images at specif
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -268,7 +282,9 @@ Get Server List
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -23,7 +23,9 @@ This will retrieve the "Now Playing" Information of the PMS.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -55,7 +57,9 @@ This will Retrieve a listing of all history views.
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -87,7 +91,9 @@ Get Transcode Sessions
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -119,7 +125,9 @@ Stop a Transcode Session
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -20,7 +20,9 @@ This will return the media statistics for the server
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -23,7 +23,9 @@ Querying status of updates
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -55,7 +57,9 @@ Checking for updates
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -94,7 +98,9 @@ Note that these two parameters are effectively mutually exclusive. The `tonight`
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",

View File

@@ -21,7 +21,9 @@ Get the timeline for a media item
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",
@@ -72,7 +74,9 @@ Begin a Universal Transcode Session
require 'plexruby'
s = ::OpenApiSDK::PlexAPI.new
s = ::OpenApiSDK::PlexAPI.new(
x_plex_client_identifier: "<value>",
)
s.config_security(
::OpenApiSDK::Shared::Security.new(
access_token: "<YOUR_API_KEY_HERE>",