Skip to main content

Module capabilities

Module capabilities 

Source
Expand description

The action catalog, built from the JSON inventories in data/. The catalog of every action this crate can dispatch, assembled once from the two data/*.json inventories baked into the crate at compile time.

Modules§

internal_network
Builds Capability entries from the internal-API endpoint inventory baked into data/unifi_internal_endpoint_models.json, plus a handful of hand-written legacy and hybrid aliases.
official_network
Builds Capability entries from the official-API OpenAPI operation inventory baked into data/unifi_official_network_v10_3_58.json.

Structs§

Capability
One dispatchable UniFi action: its name, which API serves it, and (for non-hybrid actions) the method/path template to call.

Enums§

AuthScope
Who is allowed to call a Capability.

Functions§

all_capabilities
Every capability this crate can dispatch, built once and cached for the process lifetime.
find_capability
Looks up a capability by Capability::action name.