Project

General

Profile

Bug #7955

/apidoc should point to v2 documentation by default

Added by Martin Bacovsky over 6 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:

Description

When I open /apidoc I see

Foreman v1 is currently the default API version. Users are recommended to use API v2 as future versions of Foreman will change the default to v2 and then deprecate and/or remove v1. You may explicitly use v1 by either passing ‘version=1’ in the Accept Header or using api/v1/ in the URL.

It should point to v2 by default


Related issues

Has duplicate Foreman - Bug #19270: Redirect /apidoc to latest doc versionDuplicate2017-04-13

Associated revisions

Revision 077e25c4 (diff)
Added by Ranjan Kumar almost 5 years ago

Fixes #7955 - /apidoc should point to v2 documentation by default

History

#1 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3688 added

#2 Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/3689 added

#3 Updated by Ranjan Kumar almost 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 160

#5 Updated by John Mitsch about 4 years ago

  • Has duplicate Bug #19270: Redirect /apidoc to latest doc version added

Also available in: Atom PDF