Import JSON endpoint
/api/open/nodes/import_from_json
allows you to enrich the information
associated to nodes. The provided information affects the nodes matching the specified
ip
field value. When there are no matches, new nodes are created.
Requirements and Restrictions
- The authenticated user must be in a group with admin role
- The input must be a JavaScript Object Notation (JSON) dictionary containing a
nodes
key whose value is an array of nodes information - Nodes must have a value for the
ip
field - In addition to
ip
, only the fields listed below and custom fields are considered. Every other provided field will be ignored. If you need to provide values for custom fields, please make sure that the names of these custom fields have been already created.label firmware_version vendor product_name serial_number os mac_address type