Actions
Bug #25285
openAPI documentation for pending nodes is missing an endpoint and fields
Status:
Pending release
Priority:
N/A
Assignee:
Category:
Documentation
Target version:
Pull Request:
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.
Actions