Revision ebecada6
Added by Tomer Brisker about 5 years ago
app/views/api/v2/hosts/main.json.rabl | ||
---|---|---|
:compute_profile_id, :compute_profile_name, :capabilities, :provision_method,
|
||
:certname, :image_id, :image_name, :created_at, :updated_at,
|
||
:last_compile, :global_status, :global_status_label, :uptime_seconds
|
||
attributes :organization_id, :organization_name if SETTINGS[:organizations_enabled]
|
||
attributes :location_id, :location_name if SETTINGS[:locations_enabled]
|
||
attributes :organization_id, :organization_name
|
||
attributes :location_id, :location_name
|
||
|
||
# for compatibility, :puppet_status was moved to host statuses
|
||
attributes :configuration_status => :puppet_status
|
Also available in: Unified diff
Fixes #26508 - Remove taxonomy setting checks from api