Skip to content

Feature | Monitors

JalalLinuX edited this page Nov 17, 2022 · 2 revisions

List

Fetch list of monitors

list(): Collection

Get

Fetch details of specific monitor

get(string $monitorId): Collection

Add

Add new monitor

add(string $monitorId, array $config): bool

Update

Edit specific monitor config

update(string $monitorId, array $config): bool

Delete

Delete specific monitor

delete(string $monitorId): bool

Mode

Set specific monitor mode to start, stop, record

mode(string $monitorId, string $mode)

Record

Scheduled monitor recording

record(string $monitorId, DateTime $start, DateTime $end)

Iframe

Fetch monitor iframe html

iframe(string $monitorId, array $options = ['jquery', 'fullscreen'])
Clone this wiki locally