Project

General

Profile

Actions

Bug #7909

closed

Bad URL example in compliance API doc

Added by François ARMAND almost 9 years ago. Updated about 8 years ago.

Status:
Released
Priority:
1 (highest)
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The doc at http://www.rudder-project.org/rudder-api-doc/#api-compliance-getNodesCompliance show:

curl -H "X-API-Token: yourToken" -X GET 'https://rudder.example.com/rudder/api/compliance/nodes?prettify=true'
....
curl -H "X-API-Token: yourToken" -X GET 'http://rudder.example.com/rudder/api/compliance/nodes/root?prettify=true'

It should be:

curl -H "X-API-Token: yourToken" -X GET 'https://rudder.example.com/rudder/api/latest/compliance/nodes?prettify=true'
...
curl -H "X-API-Token: yourToken" -X GET 'http://rudder.example.com/rudder/api/latest/compliance/nodes/root?prettify=true'

Actions

Also available in: Atom PDF