Project

General

Profile

Actions

Bug #19815

closed

Mistake in API documentation

Added by I C over 2 years ago. Updated 3 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 #1

Updated by I C over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Alexis Mousset about 2 years 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 2 years ago

  • Target version changed from 6.2.13 to 6.2.14
Actions #4

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 6.2.14 to 6.2.15
Actions #5

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 6.2.15 to 6.2.16
Actions #6

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from 6.2.16 to 6.2.17
Actions #7

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 6.2.17 to 997
Actions #8

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 997 to 6.2.18
Actions #9

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 6.2.18 to 6.2.19
Actions #10

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 6.2.19 to 6.2.20
Actions #11

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 6.2.20 to old 6.2 issues to relocate
Actions #12

Updated by Alexis Mousset 9 months ago

  • Target version changed from old 6.2 issues to relocate to 7.2.11
Actions #13

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 7.2.11 to 1046
Actions #14

Updated by Alexis Mousset 7 months ago

  • Target version changed from 1046 to 7.3.8
Actions #15

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.8 to 7.3.9
Actions #16

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.9 to 7.3.10
Actions #17

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 7.3.10 to 7.3.11
Actions #18

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #19

Updated by François ARMAND 3 months ago

  • Status changed from New to Resolved
  • Regression set to No

This was corrected at some point, API doc is correct now.

Actions

Also available in: Atom PDF