Project

General

Profile

Actions

Bug #19815

closed

Mistake in API documentation

Added by I C over 2 years ago. Updated 2 months ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

Hi,

Maybe it is related with #16738 but not sure.

It seems that the Datasources API documentation include some mistake on those endpoints.

Rudder API documentation bad endpoints:
https://docs.rudder.io/api/v/13/#operation/ReloadAllDatasourcesOneNode
/rudder/api/latest/nodes/{nodeId}/fetchData -> return 404 Not Found

https://docs.rudder.io/api/v/13/#operation/ReloadOneDatasourceOneNode
/rudder/api/latest/nodes/{nodeId}/fetchData/{datasourceId} -> return 404 Not Found

Expected endpoints return by API (GET /info endpoint):

{
      {
        "reloadOneDatasourceAllNodes": "Reload this given datasources for all nodes",
        "POST": "[9,10,11,12,13] /datasources/reload/{datasourceid}" 
      },
      {
        "reloadOneDatasourceOneNode": "Reload the given datasource for the given node",
        "POST": "[9,10,11,12,13] /datasources/reload/{datasourceid}/node/{nodeid}" 
      },
}

My rudder server is in version 6.2.4

Actions

Also available in: Atom PDF