Skip to content

activityChronicles

Subscription

Subscribes to changes in any Event based on the given filter.

Response

Returns ActivityChronicle!

Arguments

NameTypeDescription
filterFilterActivityChronicleInputSubscription

Filter events by unique identifier of the event producer or type of event, etc.

Example

subscription activityChronicles(
$filter: FilterActivityChronicleInputSubscription
) {
activityChronicles(
filter: $filter
) {
id
chronicleProducer {
id
name
description
timezone
active
validationReasons
metadata
}
name
description
startTime
endTime
timezone
metadata
validation {
status
reason
details
validatedBy {
id
emailAddress
}
}
priority
status
position {
type
coordinates
crs {
type
properties
}
}
labels
locations
images {
id
dataSourceId
timestamp
url
thumbnailUrl
}
dataSourceClips {
id
dataSource {
id
name
type
labels
}
startTime
endTime
url
thumbnailUrl
displayName
}
tracks {
id
dataSource {
id
name
type
labels
}
video {
id
startTime
endTime
cloudAvailable
url
thumbnailUrl
displayName
resolutionHeight
resolutionWidth
frameRate
}
modelId
tag
startTime
endTime
finished
detections {
id
timestamp
metadata
createdAt
updatedAt
direction
}
properties {
__typename
}
metadata
zoneIntersections {
id
startTime
endTime
}
geofenceIntersections {
id
startTime
endTime
}
}
sites {
id
name
timezone
position {
type
coordinates
}
polygon {
type
coordinates
}
devices {
id
uuid
externalId
name
enabled
address
frameRate
transcoderId
lastHeartbeat
}
pointsOfInterest {
id
name
metadata
}
geofences {
id
name
labels
active
}
facilities {
id
name
metadata
}
}
dataSources {
id
name
type
device {
id
uuid
externalId
name
enabled
address
frameRate
transcoderId
lastHeartbeat
}
zones {
id
name
active
createdAt
updatedAt
}
labels
}
tags {
id
name
color
}
pointsOfInterest {
id
site {
id
name
timezone
}
name
position {
type
coordinates
}
devices {
id
uuid
externalId
name
enabled
address
frameRate
transcoderId
lastHeartbeat
}
geofences {
id
name
labels
active
}
metadata
}
createdAt
updatedAt
}
}