[+] Implement adding alarms sent by family members

This commit is contained in:
Hykilpikonna
2021-01-26 18:06:40 -05:00
parent ddc47e8679
commit 3bb39b0027
2 changed files with 28 additions and 5 deletions
+2 -4
View File
@@ -151,14 +151,12 @@ class APIs
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
None
## Returns
Alarm updates
*/
static let familyAlarmUpdates = API<String>(loc: "/family/action")
static let familyAlarmUpdates = API<String>(loc: "/family/get_alarm_updates")
/**
Add alarm to a family member