Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# no properties specified, all data is returned, this will have some common data structures and some specific to the node / model
# GET /omk/opCharts/v1/nodes/UUID1
{
	"node_id": "$UUID1",
	"name": "node1"
	"config": { ... full of infodata from this nodes Nodes.nmis section ... },
	"info": { ... full of info data from this nodes "name-node.json" file ... },
	"status": { ... full of info data from this nodes nmis-nodesum.json section ... },
	...
}
# properties=["node_id","config.group","info.system.sysDescr"]
# GET /omk/opCharts/v1/nodes/UUID1?properties=["node_id","config.group","info.system.sysDescr"]
{
	"node_id": "$UUID1",
	"config": {
		group: "group1"
	},
	info: {
		system: {
			sysDescr: "something really long and full of great info"
		}
	}
}