Project

General

Custom queries

Profile

Actions

Bug #7955

closed

/apidoc should point to v2 documentation by default

Added by Martin Bacovsky over 10 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
API
Target version:
Fixed in Releases:
Found in Releases:

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 1 (0 open1 closed)

Has duplicate Foreman - Bug #19270: Redirect /apidoc to latest doc versionDuplicate04/13/2017Actions
#1

Updated by The Foreman Bot almost 9 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 9 years ago

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

Updated by Ranjan Kumar almost 9 years ago

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

Updated by Dominic Cleal almost 9 years ago

  • Translation missing: en.field_release set to 160
#5

Updated by John Mitsch about 8 years ago

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

Also available in: Atom PDF