Project

General

Custom queries

Profile

Actions

Bug #26675

open

Error in documentation /api/changeRequests response data

Added by Véronique HAYAERT 3 days ago. Updated 1 day ago.

Status:
Pending release
Priority:
N/A
Target version:
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:
To do
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":[]}
Actions #1

Updated by Véronique HAYAERT 3 days ago

  • Subject changed from Documentation /api/changeRequests to Error in documentation /api/changeRequests response data
Actions #2

Updated by Véronique HAYAERT 3 days ago

  • Status changed from New to In progress
Actions #3

Updated by Véronique HAYAERT 3 days 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
Actions #4

Updated by Véronique HAYAERT 3 days ago

Documentation for other changeRequest operations is also wrong, they also need to be changed

Actions #5

Updated by Véronique HAYAERT 1 day ago

  • Status changed from Pending technical review to Pending release
Actions

Also available in: Atom PDF