Actions
Bug #25285
closedAPI documentation for pending nodes is missing an endpoint and fields
Bug #25285:
API documentation for pending nodes is missing an endpoint and fields
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