Project

General

Profile

Actions

Bug #3165

closed

/api/fact_values route missing from v2 API

Added by Dominic Cleal over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Specifying version=2:

Started GET "/api/fact_values?search=name=ipaddress" for 127.0.0.1 at 2013-09-27 21:16:43 +0100
Processing by Api::V1::HomeController#route_error as JSON

But version=1 works fine.

It's in the v1 routes file, but not v2: https://github.com/theforeman/foreman/blob/d74b482e/config/routes/api/v1.rb#L37

Actions

Also available in: Atom PDF