Feature #2969
closed
remove all legacy api code in UI controllers
Added by Joseph Magen over 11 years ago.
Updated over 11 years ago.
Description
User must now use /api/ on json calls that are routed to the API controllers, rather than the UI controllers responding with json
- Status changed from Assigned to Ready For Testing
- Category set to Rails
- Target version set to 1.3.0
- Category changed from Rails to API
As announced in the 1.2 release notes:
Pre-1.1 API (non-/api) is deprecated
The older API is now deprecated and users should migrate to the versioned API at /api, available since Foreman 1.1. If you use paths such as /hosts rather than /api/hosts then you are using the pre-1.1 API and should change your program to use the new one.
http://theforeman.org/manuals/1.2/index.html#Upgradenotes
An HTTP 400 response will result with a message instructing the user to use the /api prefix instead.
- Related to Feature #2985: Remove as_json methods from AR models added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Related to Bug #3089: Updating settings causes settings page to load again within the page added
Also available in: Atom
PDF