--- customizations: client: excludeResources: - "BroadcastGroup" - "ChannelPlan" - "Dashboard" - "DHCPOption" - "Dpi*" - "HeatMap*" - "Hotspot*" - "Map" - "MediaFile" - "ScheduleTask" - "Setting*" # Exclude all resources that start with "Setting" - "SpatialRecord" - "Tag" - "VirtualDevice" functions: - name: "Login" comment: "Login logs in to the controller. Useful only for user/password authentication." returns: - "error" - name: "Logout" comment: "Logout logs out from the controller." returns: - "error" - name: "BaseURL" comment: "BaseURL returns the base URL of the controller." returns: - "string" - name: "Do" comment: "Do sends a request to the controller." params: - name: "ctx" type: "context.Context" - name: "method" type: "string" - name: "apiPath" type: "string" - name: "reqBody" type: "interface{}" - name: "respBody" type: "interface{}" returns: - "error" - name: "Get" comment: "Get sends a GET request to the controller." params: - name: "ctx" type: "context.Context" - name: "apiPath" type: "string" - name: "reqBody" type: "interface{}" - name: "respBody" type: "interface{}" returns: - "error" - name: "Post" comment: "Post sends a POST request to the controller." params: - name: "ctx" type: "context.Context" - name: "apiPath" type: "string" - name: "reqBody" type: "interface{}" - name: "respBody" type: "interface{}" returns: - "error" - name: "Put" comment: "Put sends a PUT request to the controller." params: - name: "ctx" type: "context.Context" - name: "apiPath" type: "string" - name: "reqBody" type: "interface{}" - name: "respBody" type: "interface{}" returns: - "error" - name: "Delete" comment: "Delete sends a DELETE request to the controller." params: - name: "ctx" type: "context.Context" - name: "apiPath" type: "string" - name: "reqBody" type: "interface{}" - name: "respBody" type: "interface{}" returns: - "error" - name: "AdoptDevice" comment: "AdoptDevice adopts a device by MAC address." resourceName: "Device" params: - name: "ctx" type: "context.Context" - name: "site" type: "string" - name: "mac" type: "string" returns: - "error" - name: "ForgetDevice" comment: "ForgetDevice forgets a device by MAC address." resourceName: "Device" params: - name: "ctx" type: "context.Context" - name: "site" type: "string" - name: "mac" type: "string" returns: - "error" - name: "GetDeviceByMAC" resourceName: "Device" params: - name: "ctx" type: "context.Context" - name: "site" type: "string" - name: "mac" type: "string" returns: - "*Device" - "error" - name: "ReorderFirewallRules" resourceName: "FirewallRule" params: - name: "ctx" type: "context.Context" - name: "site" type: "string" - name: "ruleset" type: "string" - name: "reorder" type: "[]FirewallRuleIndexUpdate" returns: - "error" - name: "GetSetting" resourceName: "Setting" params: - name: "ctx" type: "context.Context" - name: "site" type: "string" - name: "key" type: "string" returns: - "*Setting" - "interface{}" - "error" - name: "ListSites" resourceName: "Site" params: - name: "ctx" type: "context.Context" returns: - "[]Site" - "error" - name: "GetSite" resourceName: "Site" params: - name: "ctx" type: "context.Context" - name: "id" type: "string" returns: - "*Site" - "error" - name: "CreateSite" resourceName: "Site" params: - name: "ctx" type: "context.Context" - name: "description" type: "string" returns: - "[]Site" - "error" - name: "DeleteSite" resourceName: "Site" params: - name: "ctx" type: "context.Context" - name: "id" type: "string" returns: - "[]Site" - "error" - name: "UpdateSite" resourceName: "Site" params: - name: "ctx" type: "context.Context" - name: "name" type: "string" - name: "description" type: "string" returns: - "[]Site" - "error" - name: "GetSystemInfo" resourceName: "SysInfo" params: - name: "ctx" type: "context.Context" - name: "id" type: "string" returns: - "*SysInfo" - "error" - name: "GetSystemInformation" resourceName: "SysInfo" returns: - "*SysInfo" - "error" - name: "GetUserByMAC" resourceName: "User" params: - name: "ctx" type: "context.Context" - name: "site" type: "string" - name: "mac" type: "string" returns: - "*User" - "error" - name: "BlockUserByMAC" resourceName: "User" params: - name: "ctx" type: "context.Context" - name: "site" type: "string" - name: "mac" type: "string" returns: - "error" - name: "UnblockUserByMAC" resourceName: "User" params: - name: "ctx" type: "context.Context" - name: "site" type: "string" - name: "mac" type: "string" returns: - "error" - name: "DeleteUserByMAC" resourceName: "User" params: - name: "ctx" type: "context.Context" - name: "site" type: "string" - name: "mac" type: "string" returns: - "error" - name: "KickUserByMAC" resourceName: "User" params: - name: "ctx" type: "context.Context" - name: "site" type: "string" - name: "mac" type: "string" returns: - "error" - name: "OverrideUserFingerprint" resourceName: "User" params: - name: "ctx" type: "context.Context" - name: "site" type: "string" - name: "mac" type: "string" - name: "devIdOverride" type: "int" returns: - "error" resources: Account: fields: IP: omitEmpty: true NetworkID: omitEmpty: true APGroup: resourcePath: "apgroups" ChannelPlan: fields: Channel: ifFieldType: "string" customUnmarshalType: "numberOrString" BackupChannel: ifFieldType: "string" customUnmarshalType: "numberOrString" TxPower: ifFieldType: "string" customUnmarshalType: "numberOrString" DNSRecord: resourcePath: "static-dns" Device: fields: _all: omitEmpty: true X: fieldType: "float64" Y: fieldType: "float64" StpPriority: fieldType: "string" customUnmarshalType: "numberOrString" Ht: fieldType: "int" Channel: customUnmarshalType: "numberOrString" ifFieldType: "string" BackupChannel: customUnmarshalType: "numberOrString" ifFieldType: "string" TxPower: customUnmarshalType: "numberOrString" ifFieldType: "string" LteExtAnt: customUnmarshalType: "booleanishString" LtePoe: customUnmarshalType: "booleanishString" PortOverrides: omitEmpty: false Network: fields: InternetAccessEnabled: ifFieldType: "bool" customUnmarshalType: "*bool" customUnmarshalFunc: "emptyBoolToTrue" IntraNetworkAccessEnabled: ifFieldType: "bool" customUnmarshalType: "*bool" customUnmarshalFunc: "emptyBoolToTrue" WANUsername: omitEmpty: true XWANPassword: omitEmpty: true User: fields: Blocked: fieldType: "bool" LastSeen: fieldType: "int" customUnmarshalType: "emptyStringInt" WLAN: fields: ScheduleWithDuration: omitEmpty: false