Actions
Bug #21935
closedFormat of target group is wrong in API doc
Status:
Released
Priority:
N/A
Assignee:
Category:
Documentation
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No
Description
In create rule, update rule
Currently, the doc say that the format is:
"targets": [ "string" ],
but the format has changed:
"targets": [ { "include": { "or": [ "group:all-nodes-with-cfengine-agent" ] }, "exclude": { "or": [ "special:all", "group:1989357f-343d-4003-a441-43ccb7799429" ] } } ]
We also have an error on the format of the response of the GET one rule, there is not an embed array, but an array of object :
"targets": [ [ <---- should be removed { "include": {...}, "exclude": {...} } ] <---- should be removed ]
Updated by Vincent MEMBRÉ about 2 years ago
- Target version changed from 7.1.7 to 7.1.8
Updated by Elaad FURREEDAN about 2 years ago
- Target version changed from 7.1.8 to old 6.2 issues to relocate
Updated by Elaad FURREEDAN about 2 years ago
- Status changed from New to In progress
Updated by Elaad FURREEDAN about 2 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Elaad FURREEDAN to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder/pull/4534
Updated by Anonymous about 2 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|2d9ee2a851ce3b59c2d60c8d9ca9111b2b70a963.
Updated by Alexis Mousset about 2 years ago
- Fix check changed from To do to Checked
Updated by Alexis Mousset over 1 year ago
- Status changed from Pending release to Released
Actions