Skip to main content
Version: 4.1.0

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

    graph_id stringrequired

    The identifier of the graph

    Example: fix

Query Parameters

    section string

    Possible values: [reported, desired, metadata]

    The name of the section used for all property paths. If not defined root is assumed.

    before date-timerequired

    Count all history events before the given timestamp

    after date-timerequired

    Count all history events after the given timestamp

    granularity duration

    Optional parameter to define the granularity of the timeline

    change string

    Possible values: [node_created, node_updated, node_deleted]

    Optional parameter to get all history events with the given change type

Body

The search to perform

    string

Responses

The result of this search in the defined format

Schema

    any

Loading...