go-unifi

Internal API

The Internal (legacy) surface — every resource as Verb-Resource methods on the client, addressed by site name.

The Internal API is the legacy surface and the default one: every resource is exposed as a plain <Verb><Resource> method directly on the unifi.Client (also reachable via c.Internal()) — ListNetwork, CreateUser, UpdateWLAN, and so on. It addresses a site by its name string ("default"), not a UUID.

Most of these resource types are generated from the controller's own API definitions, so the pages here map the surface — the resource catalogue, the settings types, and the feature-flag constants — and link to pkg.go.dev for the exhaustive, always-current field lists. See Choosing a surface for how it compares to the Official API.

Pages

On this page