Project

General

Profile

Actions

Bug #23269

open

API response from /settings/allowed_networks is not consistent with other settings

Bug #23269: API response from /settings/allowed_networks is not consistent with other settings

Added by Elaad FURREEDAN over 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
API
Target version:
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" 
            }
        }
    } 
    

Updated by Elaad FURREEDAN over 2 years ago Actions #1

  • Subject changed from API response from /settings/allowed_networks/ is not consistent with other settings to API response from /settings/allowed_networks is not consistent with other settings

Updated by Alexis Mousset about 2 years ago Actions #2

  • Category changed from Relay server or API to API

Updated by Vincent MEMBRÉ about 2 years ago Actions #3

  • Target version changed from 7.2.11 to 1046

Updated by Alexis Mousset about 2 years ago Actions #4

  • Target version changed from 1046 to 7.3.8

Updated by Vincent MEMBRÉ about 2 years ago Actions #5

  • Target version changed from 7.3.8 to 7.3.9

Updated by Vincent MEMBRÉ about 2 years ago Actions #6

  • Target version changed from 7.3.9 to 7.3.10

Updated by Vincent MEMBRÉ almost 2 years ago Actions #7

  • Target version changed from 7.3.10 to 7.3.11

Updated by Vincent MEMBRÉ almost 2 years ago Actions #8

  • Target version changed from 7.3.11 to 7.3.12

Updated by Vincent MEMBRÉ over 1 year ago Actions #9

  • Target version changed from 7.3.12 to 7.3.13

Updated by Vincent MEMBRÉ over 1 year ago Actions #10

  • Target version changed from 7.3.13 to 7.3.14

Updated by Vincent MEMBRÉ over 1 year ago Actions #11

  • Target version changed from 7.3.14 to 7.3.15

Updated by Vincent MEMBRÉ over 1 year ago Actions #12

  • Target version changed from 7.3.15 to 7.3.16

Updated by Vincent MEMBRÉ over 1 year ago Actions #13

  • Target version changed from 7.3.16 to 7.3.17
Actions

Also available in: PDF Atom