Project

General

Profile

« Previous | Next » 

Revision 7afae8e0

Added by Jo Vandeginste over 7 years ago

fixes #18574 - add ip6 address to the REST api results

(cherry picked from commit 71eb7ee0731726d41d76b839c56db0330e895187)

View differences:

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