Project

General

Profile

Actions

Bug #18506

closed

Missing documentation for POST allowedNetwords API

Bug #18506: Missing documentation for POST allowedNetwords API

Added by François ARMAND over 5 years ago. Updated over 4 years ago.

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

Description

We don't have a clear documentation/example for allowed networks API:

% curl -k -X POST -H "X-API-TOKEN: ...." -H "Content-Type: application/json" 'https://.../api/latest/settings/allowed_networks/root' -d '{"allowed_networks":["192.168.0.0/24","10.0.2.15/24","192.168.56.2/24"]}' | jq

{
  "action": "modifyAllowedNetworks",
  "id": "root",
  "result": "success",
  "data": {
    "settings": [
      "192.168.0.0/24",
      "10.0.2.15/24",
      "192.168.56.2/24" 
    ]
  }
}

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

  • Target version changed from 6.1.7 to 6.1.8

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

  • Target version changed from 6.1.8 to 6.1.9

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

  • Target version changed from 6.1.9 to 6.1.10

Updated by Vincent MEMBRÉ almost 5 years ago Actions #4

  • Target version changed from 6.1.10 to 6.1.11

Updated by Vincent MEMBRÉ almost 5 years ago Actions #5

  • Target version changed from 6.1.11 to 6.1.12

Updated by Vincent MEMBRÉ almost 5 years ago Actions #6

  • Target version changed from 6.1.12 to 6.1.13

Updated by Nicolas CHARLES almost 5 years ago Actions #7

  • Status changed from New to In progress
  • Assignee changed from François ARMAND to Nicolas CHARLES

Updated by Nicolas CHARLES almost 5 years ago Actions #8

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder/pull/3617

Updated by Nicolas CHARLES almost 5 years ago Actions #9

  • Status changed from Pending technical review to Pending release

Updated by Alexis Mousset almost 5 years ago Actions #10

  • Fix check changed from To do to Checked

Updated by Vincent MEMBRÉ over 4 years ago Actions #11

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.13 and 6.2.7 which were released today.

Actions

Also available in: PDF Atom