Versions Compared

Key

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

...

Request Method

Operation

URL Example

id required

Notes

GETread list /server/omk/opCharts/v2/latest_datan

Returns a list of all the latest_data records (latest_data id and node_uuid), use properties modifier to add more interesting information to the output

Paginated

GETread one /server/omk/opCharts/v2/latest_data/idyReturns the details of the latest_data with the given id. Use this to find what interesting properties can be added to a properties filter
GETread list

/server/omk/opCharts/v2/nodes/node_uuid/latest_data

y

Returns a list of all the latest data records (status latest_data id and node_uuid), matching given node_uuid

Paginated

...

You will get a list of all the Status records in Latest Data records in your database.

Successful Response

...

Code Block
GET HTTP://server/omk/opCharts/v2/statuslatest_data.json

Output:- List of first 25 statuslatest_data objects, sorted by id
[
	{
		"id": "648a0e4ca44a3ab377278383",
		"node_uuid": "8da86248-40f3-4c92-90b6-736bb66814aa"
	},
	{
		"id": "648a0e4ca44a3ab377278389",
		"node_uuid": "8da86248-40f3-4c92-90b6-736bb66814aa"
	},
	{
		"id": "648a0e4ca44a3ab37727838c",
		"node_uuid": "8da86248-40f3-4c92-90b6-736bb66814aa"
	},
	{
		"id": "648a0e4ca44a3ab377278542",
		"node_uuid": "8da86248-40f3-4c92-90b6-736bb66814aa"
	},
    . . .
]

...