Actions
Bug #23269
openAPI response from /settings/allowed_networks is not consistent with other settings
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
Inconsistency from API response for settings/{settingId}
:
Parameters action
and id
are not handled the same way according to settingId
It seems like allowed_network is the only exception
settings/allowed_networks
{ "action": "getAllAllowedNetworks", "result": "success", "data": { "allowed_networks": [ { "id": "root", "allowed_networks": [ "10.0.2.15/32", "192.168.22.0/24", "192.168.22.2/32" ] } ] } }
settings/global_policy_mode
{ "action": "getSetting", "id": "global_policy_mode", "result": "success", "data": { "settings": { "global_policy_mode": "enforce" } } }
Actions