Project

General

Profile

Actions

Bug #23269

open

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

Added by Elaad FURREEDAN over 1 year ago. Updated 5 months 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" 
            }
        }
    } 
    
Actions #1

Updated by Elaad FURREEDAN over 1 year ago

  • 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
Actions #2

Updated by Alexis Mousset about 1 year ago

  • Category changed from Relay server or API to API
Actions #3

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.2.11 to 1046
Actions #4

Updated by Alexis Mousset about 1 year ago

  • Target version changed from 1046 to 7.3.8
Actions #5

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.3.8 to 7.3.9
Actions #6

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.3.9 to 7.3.10
Actions #7

Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 7.3.10 to 7.3.11
Actions #8

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #9

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #10

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 7.3.13 to 7.3.14
Actions #11

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 7.3.14 to 7.3.15
Actions #12

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.15 to 7.3.16
Actions #13

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 7.3.16 to 7.3.17
Actions

Also available in: Atom PDF