Skip to content

Commit

Permalink
Update dispatcher.py
Browse files Browse the repository at this point in the history
Add rest api for ota updates
  • Loading branch information
SylvainPer authored Dec 7, 2024
1 parent 7525ba2 commit 9e7bbc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/WebServer/dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def setup_list_rest_commands( self ):
( {"Name": "new-hrdwr", "Verbs": {"GET"}, "function": self.rest_new_hrdwr} ),
( {"Name": "nwk-stat", "Verbs": {"GET", "DELETE"}, "function": self.rest_nwk_stat} ),
( {"Name": "non-optmize-device-configuration", "Verbs": {"GET"}, "function": self.non_optmize_device_configuration} ),
( {"Name": "ota-firmware-available", "Verbs": {"GET"}, "function": self.rest_ota_firmware_available } ),
( {"Name": "ota-firmware-device-list", "Verbs": {"GET"}, "function": self.rest_ota_devices_for_manufcode } ),
( {"Name": "ota-firmware-list", "Verbs": {"GET"}, "function": self.rest_ota_firmware_list} ),
( {"Name": "ota-firmware-update", "Verbs": {"PUT"}, "function": self.rest_ota_firmware_update } ),
Expand Down

0 comments on commit 9e7bbc2

Please sign in to comment.