Project

General

Profile

Actions

Bug #19502

closed

Missing 'settings' layer in the allowed_networks API doc

Added by Félix DALLIDET over 3 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

The documentation describe the response as:

{
    "result": "success",
    "action": "getAllowedNetworks",
    "data": {
        "allowed_networks": [
            "162.168.1.0/24",
            "162.168.2.0/24" 
        ]
    }
}

When it is:

{
    "result": "success",
    "id": "root",
    "action": "getAllowedNetworks",
    "data": {
        "settings": {
            "allowed_networks": [
                 "162.168.1.0/24",
                 "162.168.2.0/24" 
             ]
        }
    }

}
Actions

Also available in: Atom PDF