Revision 71eb7ee0
Added by Jo Vandeginste over 7 years ago
app/views/api/v2/interfaces/base.json.rabl | ||
---|---|---|
object @interface
|
||
|
||
attributes :id, :name, :ip, :mac, :identifier, :primary, :provision
|
||
attributes :id, :name, :ip, :ip6, :mac, :identifier, :primary, :provision
|
||
node :type do |i|
|
||
next if i.is_a? Symbol
|
||
i.class.humanized_name.downcase
|
Also available in: Unified diff
fixes #18574 - add ip6 address to the REST api results