Bug #18506
closed
Missing documentation for POST allowedNetwords API
Added by François ARMAND almost 4 years ago.
Updated about 3 years ago.
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"
]
}
}
- Target version changed from 6.1.7 to 6.1.8
- Target version changed from 6.1.8 to 6.1.9
- Target version changed from 6.1.9 to 6.1.10
- Target version changed from 6.1.10 to 6.1.11
- Target version changed from 6.1.11 to 6.1.12
- Target version changed from 6.1.12 to 6.1.13
- Status changed from New to In progress
- Assignee changed from François ARMAND to Nicolas CHARLES
- 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
- Status changed from Pending technical review to Pending release
- Fix check changed from To do to Checked
- 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.
Also available in: Atom
PDF