Search history events and provide the number of events over time.
POST/graph/:graph_id/search/history/timeline
Search all history events and a histogram over time. A section can be defined (defaults to /
== root) to interpret relative property paths. Example: is(volume) and (reported.age>23d or desired.clean==true or metadata.version==2)
Request
Path Parameters
The identifier of the graph
Query Parameters
Possible values: [reported
, desired
, metadata
]
The name of the section used for all property paths. If not defined root is assumed.
Count all history events before the given timestamp
Count all history events after the given timestamp
Optional parameter to define the granularity of the timeline
Possible values: [node_created
, node_updated
, node_deleted
]
Optional parameter to get all history events with the given change type
- text/plain
Body
The search to perform
string
Responses
- 200
The result of this search in the defined format
- application/json
- Schema
- Example
Schema
any
[
{ "at": "2024-07-14T00:00:00.000Z", "group": { "change": "node_created" }, "v": 170 },
{ "at": "2024-07-15T00:00:00.000Z", "group": { "change": "node_updated" }, "v": 833 },
{ "at": "2024-07-15T00:00:00.000Z", "group": { "change": "node_created" }, "v": 1166 }
]