- Status Nouveau
- Percent Complete
- Task Type Évolution
- Category Freebox OS → API
- Assigned To No-one
- Operating System Tous
- Severity Low
- Priority Very Low
- Reported Version 4.8.17.1
- Due in Version Undecided
-
Due Date
Undecided
-
Votes
1
- nbanba (29/12/2024)
- Private
Opened by nbanba - 29/12/2024
FS#39938 - Notification API - custom type + VM events
Bonjour
1) Il serait pratique de pouvoir custom le champ 'type' des notifications :
Aujourd'hui seul 3 choix sont possibles :
Android | IOS | Firebase
L'ajout d'un type 'custom' (et pourquoi pas la possibilité de personnaliser un champ associé ⇒ ajout d'un "custom_type") serait bien.
Par exemple :
GET /api/v11/notif/targets/11111111-2222-3333-4444-666666666666 { "success":true, "result":[ { "last_use":0, "type":"custom", "custom_type":"firewall", "name":"FGT901G-API", "id":"11111111-2222-3333-4444-666666666666", "subscriptions":[ "security", "lan_host", "box_state", ], "api_url": "https://myserver.example.com/my_fortigate_API_app", "message_type": "notification" } ] }
2) Il serait bien d'ajouter à la "subscriptions" les notifications des events des VM qui sont aujourd'hui renvoyés en websocket (+ celles des type l2/l3_address_(un)reachable)
3) Il serait bien de pouvoir avoir tous les types de notifications au travers des websocket API (register event) :
phone notification when missing call download notification when download is finished security notification when alarm is on box_state notification when box state changed lan_host notification related to lan events password_change notification when admin password is changed
Ainsi le système serait un peu plus complet et homogène et surtout on pourrait piloter d'autres équipements (avec leur propre API) à réception de ces notifications.
Merci
Cordialement
nbanba
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task