Bug #7955

/apidoc should point to v2 documentation by default

Added by Martin Bacovsky over 2 years ago. Updated 8 months ago.

Status:Closed
Priority:Normal
Assigned To:-
Category:API
Target version:-
Difficulty: Bugzilla link:
Found in release:nightly Pull request:https://github.com/theforeman/foreman/pull/3689, https://github.com/theforeman/foreman/pull/3688
Story points-
Velocity based estimate-
Release1.13.0Release relationshipAuto

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

Associated revisions

Revision 077e25c4
Added by Ranjan Kumar 8 months ago

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

History

#1 Updated by The Foreman Bot 8 months 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 8 months ago

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

#3 Updated by Ranjan Kumar 8 months ago

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

#4 Updated by Dominic Cleal 8 months ago

  • Release set to 1.13.0

Also available in: Atom PDF