Adds new REST API v2/

Addresses #5269
This commit is contained in:
Simone Mainardi 2021-07-08 09:57:46 +02:00
parent 1f24dec3e3
commit b117e8a23a
178 changed files with 6639 additions and 124 deletions

View file

@ -108,7 +108,7 @@ script = {
input_description = i18n("unexpected_new_device.description"),
input_action_i18n = "Reset Learned Devices",
input_action_url = "lua/rest/v1/delete/host/new_devices.lua",
input_action_url = "lua/rest/v2/delete/host/new_devices.lua",
input_action_confirm = true,
input_action_i18n_confirm = "Are you sure to reset the learned devices?",
},