Project

General

Profile

Actions

Bug #7955

closed

/apidoc should point to v2 documentation by default

Added by Martin Bacovsky over 9 years ago. Updated almost 6 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

Also available in: Atom PDF