GET

{protocol}://{ip}:{port}

/
:
/
scrobble
require 'plex_ruby_sdk'


s = ::PlexRubySDK::PlexAPI.new
s.config_security(
  ::PlexRubySDK::Shared::Security.new(
    access_token: "<YOUR_API_KEY_HERE>",
  )
)

    
res = s.media.mark_played(key=59398.0)

if res.status_code == 200
  # handle response
end
This response has no body data.

Authorizations

X-Plex-Token
string
headerrequired

Plex Authentication Token

Query Parameters

key
number
required

The media key to mark as played