Project

General

Profile

Actions

Bug #2774

closed

Retriving puppet by ID error

Added by Tal Kammer over 11 years ago. Updated about 11 years ago.

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

Description

When trying to run:

curl -s -H "Accept:application/json" -k -u $USER:$PASS --get https://$HOST/api/puppetclasses/10

where 10 is the ID number of one of the puppet classes, I'm getting an error:

{"error":{"message":"Missing template api/v1/puppetclasses/show, api/v1/base/show, api/base/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :rabl]}. Searched in:\n * \"/usr/share/foreman/app/views\"\n * \"/opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.0.18/app/views\"\n"}}

Tal

Actions

Also available in: Atom PDF