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.459.2
This commit is contained in:
@@ -34,13 +34,7 @@ Create a new playlist. By default the playlist is blank. To create a playlist al
|
||||
require 'plex_ruby_sdk'
|
||||
|
||||
|
||||
s = ::PlexRubySDK::PlexAPI.new(
|
||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||
client_name: "Plex for Roku",
|
||||
client_version: "2.4.1",
|
||||
platform: "Roku",
|
||||
device_nickname: "Roku 3",
|
||||
)
|
||||
s = ::PlexRubySDK::PlexAPI.new
|
||||
s.config_security(
|
||||
::PlexRubySDK::Shared::Security.new(
|
||||
access_token: "<YOUR_API_KEY_HERE>",
|
||||
@@ -85,13 +79,7 @@ Get All Playlists given the specified filters.
|
||||
require 'plex_ruby_sdk'
|
||||
|
||||
|
||||
s = ::PlexRubySDK::PlexAPI.new(
|
||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||
client_name: "Plex for Roku",
|
||||
client_version: "2.4.1",
|
||||
platform: "Roku",
|
||||
device_nickname: "Roku 3",
|
||||
)
|
||||
s = ::PlexRubySDK::PlexAPI.new
|
||||
s.config_security(
|
||||
::PlexRubySDK::Shared::Security.new(
|
||||
access_token: "<YOUR_API_KEY_HERE>",
|
||||
@@ -132,13 +120,7 @@ Smart playlist details contain the `content` attribute. This is the content URI
|
||||
require 'plex_ruby_sdk'
|
||||
|
||||
|
||||
s = ::PlexRubySDK::PlexAPI.new(
|
||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||
client_name: "Plex for Roku",
|
||||
client_version: "2.4.1",
|
||||
platform: "Roku",
|
||||
device_nickname: "Roku 3",
|
||||
)
|
||||
s = ::PlexRubySDK::PlexAPI.new
|
||||
s.config_security(
|
||||
::PlexRubySDK::Shared::Security.new(
|
||||
access_token: "<YOUR_API_KEY_HERE>",
|
||||
@@ -177,13 +159,7 @@ This endpoint will delete a playlist
|
||||
require 'plex_ruby_sdk'
|
||||
|
||||
|
||||
s = ::PlexRubySDK::PlexAPI.new(
|
||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||
client_name: "Plex for Roku",
|
||||
client_version: "2.4.1",
|
||||
platform: "Roku",
|
||||
device_nickname: "Roku 3",
|
||||
)
|
||||
s = ::PlexRubySDK::PlexAPI.new
|
||||
s.config_security(
|
||||
::PlexRubySDK::Shared::Security.new(
|
||||
access_token: "<YOUR_API_KEY_HERE>",
|
||||
@@ -222,13 +198,7 @@ From PMS version 1.9.1 clients can also edit playlist metadata using this endpoi
|
||||
require 'plex_ruby_sdk'
|
||||
|
||||
|
||||
s = ::PlexRubySDK::PlexAPI.new(
|
||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||
client_name: "Plex for Roku",
|
||||
client_version: "2.4.1",
|
||||
platform: "Roku",
|
||||
device_nickname: "Roku 3",
|
||||
)
|
||||
s = ::PlexRubySDK::PlexAPI.new
|
||||
s.config_security(
|
||||
::PlexRubySDK::Shared::Security.new(
|
||||
access_token: "<YOUR_API_KEY_HERE>",
|
||||
@@ -272,13 +242,7 @@ Note that for dumb playlists, items have a `playlistItemID` attribute which is u
|
||||
require 'plex_ruby_sdk'
|
||||
|
||||
|
||||
s = ::PlexRubySDK::PlexAPI.new(
|
||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||
client_name: "Plex for Roku",
|
||||
client_version: "2.4.1",
|
||||
platform: "Roku",
|
||||
device_nickname: "Roku 3",
|
||||
)
|
||||
s = ::PlexRubySDK::PlexAPI.new
|
||||
s.config_security(
|
||||
::PlexRubySDK::Shared::Security.new(
|
||||
access_token: "<YOUR_API_KEY_HERE>",
|
||||
@@ -318,13 +282,7 @@ Clears a playlist, only works with dumb playlists. Returns the playlist.
|
||||
require 'plex_ruby_sdk'
|
||||
|
||||
|
||||
s = ::PlexRubySDK::PlexAPI.new(
|
||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||
client_name: "Plex for Roku",
|
||||
client_version: "2.4.1",
|
||||
platform: "Roku",
|
||||
device_nickname: "Roku 3",
|
||||
)
|
||||
s = ::PlexRubySDK::PlexAPI.new
|
||||
s.config_security(
|
||||
::PlexRubySDK::Shared::Security.new(
|
||||
access_token: "<YOUR_API_KEY_HERE>",
|
||||
@@ -364,13 +322,7 @@ With a smart playlist, passing a new `uri` parameter replaces the rules for the
|
||||
require 'plex_ruby_sdk'
|
||||
|
||||
|
||||
s = ::PlexRubySDK::PlexAPI.new(
|
||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||
client_name: "Plex for Roku",
|
||||
client_version: "2.4.1",
|
||||
platform: "Roku",
|
||||
device_nickname: "Roku 3",
|
||||
)
|
||||
s = ::PlexRubySDK::PlexAPI.new
|
||||
s.config_security(
|
||||
::PlexRubySDK::Shared::Security.new(
|
||||
access_token: "<YOUR_API_KEY_HERE>",
|
||||
@@ -411,13 +363,7 @@ Imports m3u playlists by passing a path on the server to scan for m3u-formatted
|
||||
require 'plex_ruby_sdk'
|
||||
|
||||
|
||||
s = ::PlexRubySDK::PlexAPI.new(
|
||||
client_id: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||
client_name: "Plex for Roku",
|
||||
client_version: "2.4.1",
|
||||
platform: "Roku",
|
||||
device_nickname: "Roku 3",
|
||||
)
|
||||
s = ::PlexRubySDK::PlexAPI.new
|
||||
s.config_security(
|
||||
::PlexRubySDK::Shared::Security.new(
|
||||
access_token: "<YOUR_API_KEY_HERE>",
|
||||
|
||||
Reference in New Issue
Block a user