Revision 95ac2fdf
Added by dustin tsang almost 10 years ago
app/views/katello/api/v2/systems/show.json.rabl | ||
---|---|---|
|
||
@resource ||= @object
|
||
|
||
attributes :id, :uuid
|
||
attributes :name, :description
|
||
node(:id) { |resource| resource.uuid }
|
||
attributes :uuid, :name, :description
|
||
attributes :location
|
||
attributes :content_view, :content_view_id
|
||
attributes :distribution
|
Also available in: Unified diff
Fixes #6842 - system uuid as id bz1122938
In the Api, display uuid as the id in both the system show and index actions.