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
Capabilityentries from the internal-API endpoint inventory baked intodata/unifi_internal_endpoint_models.json, plus a handful of hand-written legacy and hybrid aliases. - official_
network - Builds
Capabilityentries from the official-API OpenAPI operation inventory baked intodata/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§
- Auth
Scope - 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::actionname.