Project

General

Profile

« Previous | Next » 

Revision a875a0b4

Added by Joseph Magen over 10 years ago

fixes #3267 - API v1 compatibility for /api/hosts

(cherry picked from commit 2508c6b92ee21f5229126a15a4cefcfcaea0829d)

View differences:

app/views/api/v1/hosts/show.json.rabl
attribute :location_id
end
child :environment do
attributes :id, :name
node :environment do |host|
{:environment => {:id => host.environment_id, :name => host.environment_name}}
end
child :host_parameters do

Also available in: Unified diff