Skip to content

updatePointOfInterest

Mutation

Updates an existing PointOfInterest.

Response

Returns PointOfInterest

Arguments

NameTypeDescription
pointOfInterestUpdatePointOfInterestInput!

Arguments to update an existing point of interest.

Example

mutation updatePointOfInterest(
$pointOfInterest: UpdatePointOfInterestInput!
) {
updatePointOfInterest(
pointOfInterest: $pointOfInterest
) {
id
site {
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
}
}
name
position {
type
coordinates
crs {
type
properties
}
}
devices {
id
uuid
externalId
name
enabled
address
frameRate
position {
type
coordinates
}
dataSource {
id
name
type
labels
}
site {
id
name
timezone
}
transcoderId
calibrations {
id
timestamp
precomputeAt
}
pointOfInterest {
id
name
metadata
}
lastHeartbeat
}
geofences {
id
name
labels
site {
id
name
timezone
}
pointOfInterest {
id
name
metadata
}
bounds {
height
}
active
}
metadata
}
}