[+] Add get family alarm updates API
This commit is contained in:
@@ -147,6 +147,19 @@ class APIs
|
|||||||
*/
|
*/
|
||||||
static let familyAction = API<Family>(loc: "/family/action")
|
static let familyAction = API<Family>(loc: "/family/action")
|
||||||
|
|
||||||
|
/**
|
||||||
|
Get updates about alarms that other family members added
|
||||||
|
|
||||||
|
## Parameters (Besides from username and password)
|
||||||
|
- fid: Family ID
|
||||||
|
- pin: Admin pin
|
||||||
|
- action: get_alarm_updates
|
||||||
|
|
||||||
|
## Returns
|
||||||
|
Alarm updates
|
||||||
|
*/
|
||||||
|
static let familyAlarmUpdates = API<String>(loc: "/family/action")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Add alarm to a family member
|
Add alarm to a family member
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user