...
Request Method | Operation | URL Example | id required | Notes |
---|---|---|---|---|
GET | read list | /server/omk/opCharts/v2/events | n | Returns a list of all the event records (event id and node_uuid) Paginated |
GET | read one | / | y | Returns the detail of the requested event item |
GET | read list | / | y | Returns a list of all the event records (event id and node_uuid), matching given node_uuid Paginated |
...
Code Block |
---|
GET HTTP://server/omk/opCharts/v2/events.json Output:- List of first 25 event 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" }, . . . ] |
GET of opCharts/v2/events/id
GET /omk/opCharts/v2/events/id
You will get the details of the given event object.
Successful Response
200 OK | JSON object | A record with the details of the Inventory |
Unsuccessful Response
400 | JSON object with an error property | event with given id could not be found |
401 Unauthorized | JSON object with an error property | You are not authenticated. |
403 Forbidden | JSON object with an error property | You are not authorized. |
GET of /opcharts/v2/nodes/node_uuid/eventsfor List
...
You can use Request Modifiers (see above) for filtering, pagination, and selecting properties.
Successful Response
HTTP Status | Body | Description |
---|---|---|
200 OK | Possibly empty JSON array of strings | Each array element is a JSON object with all event attributes |
Unsuccessful Response
HTTP Status | Body | Description |
---|---|---|
400 | JSON object with an error property | Invalid inputs, eg. malformed properties or filter, or node not found |
401 Unauthorized | JSON object with an error property | You are not authenticated. |
403 Forbidden | JSON object with an error property | You are not authorized to view the node |
...