mirror of
https://github.com/Art-of-WiFi/UniFi-API-client.git
synced 2024-11-22 10:10:18 +01:00
Merge branch 'master' of github.com:Art-of-WiFi/UniFi-API-client
merge for device-basic
This commit is contained in:
commit
9e092f8b85
@ -1396,6 +1396,16 @@ class Client
|
|||||||
return $this->fetch_results('/api/s/' . $this->site . '/list/user');
|
return $this->fetch_results('/api/s/' . $this->site . '/list/user');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* List of site devices with a basic subset of fields (e.g., mac, state, adopted, disabled, type, model, name)
|
||||||
|
*
|
||||||
|
* @return array|false an array containing known UniFi device objects), false upon error
|
||||||
|
*/
|
||||||
|
public function list_devices_basic()
|
||||||
|
{
|
||||||
|
return $this->fetch_results('/api/s/' . $this->site . '/stat/device-basic');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fetch UniFi devices
|
* Fetch UniFi devices
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user