Actions
Bug #26675
openError in documentation /api/changeRequests response data
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No
Description
The data array of the response does not match the expected definition from the documentation (does not contain the "rules" field)
$ curl --header "X-API-Token: $(cat /var/rudder/run/api-token)" --request GET http://localhost:8080/rudder/api/latest/changeRequests --data "status=open"
{"action":"listChangeRequests","result":"success","data":[]}
Updated by Véronique HAYAERT about 2 months ago
- Subject changed from Documentation /api/changeRequests to Error in documentation /api/changeRequests response data
Updated by Véronique HAYAERT about 2 months ago
- Status changed from New to In progress
Updated by Véronique HAYAERT about 2 months ago
- Status changed from In progress to Pending technical review
- Assignee changed from Véronique HAYAERT to Clark ANDRIANASOLO
- Pull Request set to https://github.com/Normation/rudder/pull/6302
Updated by Véronique HAYAERT about 2 months ago
Documentation for other changeRequest operations is also wrong, they also need to be changed
Updated by Véronique HAYAERT about 1 month ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder:rudder|ba3b8f2fcfca79f330b82605303e2af1eb3cd2cf.
Updated by Clark ANDRIANASOLO 20 days ago
- Fix check changed from To do to Checked
The doc is updated with the right data container changeRequests
now :
{ "action": "changeRequestDetails", "id": "4", "result": "success", "data": { "changeRequests": [ { "id": 4, "displayName": "update Directive plugin Openscap policies ABC", "status": "Pending validation", "created by": "No One", "acceptable": true, "description": "", "changes": { "directives": [], "rules": [], "groups": [], "parameters": [] } } ] } }
Actions