Project

General

Profile

Actions

Bug #19815

open

Mistake in API documentation

Added by I C almost 2 years ago. Updated 8 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:

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 #1

Updated by I C almost 2 years ago

  • Description updated (diff)
Actions #2

Updated by Alexis Mousset over 1 year ago

  • Project changed from Datasources to Rudder
  • Category set to API
  • Target version set to 6.2.13
Actions #3

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 6.2.13 to 6.2.14
Actions #4

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 6.2.14 to 6.2.15
Actions #5

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 6.2.15 to 6.2.16
Actions #6

Updated by Alexis Mousset 10 months ago

  • Target version changed from 6.2.16 to 6.2.17
Actions #7

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 6.2.17 to 997
Actions #8

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 997 to 6.2.18
Actions #9

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 6.2.18 to 6.2.19
Actions #10

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 6.2.19 to 6.2.20
Actions #11

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 6.2.20 to 6.2.21
Actions

Also available in: Atom PDF