Project

General

Profile

Actions

Bug #7955

closed

/apidoc should point to v2 documentation by default

Added by Martin Bacovsky over 9 years ago. Updated over 5 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
Actions #1

Updated by The Foreman Bot over 7 years ago

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

Updated by The Foreman Bot over 7 years ago

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

Updated by Ranjan Kumar over 7 years ago

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

Updated by Dominic Cleal over 7 years ago

  • translation missing: en.field_release set to 160
Actions #5

Updated by John Mitsch almost 7 years ago

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

Also available in: Atom PDF