Skip to main content

Retrieve a list of historic values for the specified entity id/ids.

POST 

/history/entity/:entity

Retrieves a list of historic values for entities specified with the given id value. The entity type needs to support history tracking.

Request

Path Parameters

    entity stringrequired

Body

required
    id integer
    ids integer[]

Responses

Returns 'EntityHistoryResult'

Schema
    from date-time

    Timestamp of first history entry

    to date-time

    Timestamp of last history entry

    data object[]required

    List of requested entity ids and a list of historical values (for each entity)

  • Array [
  • id number

    The entity id

    values object[]

    The list of historical entity values, one for each step, with 'valid_from' and 'valid_to' interval properties

  • ]
Loading...