PlexUpdaterApi class

/updater/* — server software update lifecycle.

Wraps the Updater OpenAPI tag (3 operations). Admin only.

Constructors

PlexUpdaterApi(PlexConnection _http)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply({bool tonight = false, bool skip = false}) Future<void>
PUT /updater/apply?tonight={bool}&skip={bool} — apply a downloaded update. tonight schedules the install for the quiet hours window. skip is mutually exclusive with tonight and is ignored if both are passed.
check({bool download = false}) Future<void>
PUT /updater/check?download={bool} — run an update check. Pass download = true to also download the new version.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
status() Future<Map<String, dynamic>>
GET /updater/status — current update state (last check, downloaded version, install ready).
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited