Project

General

Profile

Actions

Bug #7909

closed

Bad URL example in compliance API doc

Added by François ARMAND about 8 years ago. Updated over 7 years ago.

Status:
Released
Priority:
1
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 #1

Updated by François ARMAND about 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-api-doc/pull/26
Actions #2

Updated by François ARMAND about 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #3

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.0.0~rc2 to 3.1.14
Actions #4

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF