Project

General

Profile

Actions

Bug #25285

open

API documentation for pending nodes is missing an endpoint and fields

Added by Clark ANDRIANASOLO 3 months ago. Updated 2 months ago.

Status:
Pending release
Priority:
N/A
Category:
Documentation
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

In the OpenAPI documentation we can see that there is only [[one endpoint]](https://docs.rudder.io/api/v/19/#tag/Nodes/operation/changePendingNodeStatus) to change pending nodes status.
But we have another endpoint POST /api/nodes/pending which accepts {"nodeId":[...],"status":...} which is not documented.
Also, the returned fields are not a node details as stated in the current documentation, but rather id,hostname,status,osName,osVersion,machineType at most.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #25203: The pending nodes API now returns array of arrays of nodes instead of an array of nodesReleasedElaad FURREEDANActions
Actions #1

Updated by Clark ANDRIANASOLO 3 months ago

  • Related to Bug #25203: The pending nodes API now returns array of arrays of nodes instead of an array of nodes added
Actions #2

Updated by Clark ANDRIANASOLO 3 months ago

  • Status changed from New to In progress
Actions #3

Updated by Clark ANDRIANASOLO 3 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Clark ANDRIANASOLO to Elaad FURREEDAN
  • Pull Request set to https://github.com/Normation/rudder/pull/5800
Actions #4

Updated by Clark ANDRIANASOLO 3 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ 2 months ago

  • Fix check changed from To do to Checked
Actions

Also available in: Atom PDF