Skip to content

createEvent

Mutation

Creates a new Event. This allows for the creation of custom events within the Worlds system.

Response

Returns Event

Arguments

NameTypeDescription
eventCreateEventInput!

Arguments to create a new event.

Example

mutation createEvent(
$event: CreateEventInput!
) {
createEvent(
event: $event
) {
id
eventProducer {
id
name
description
timezone
active
invalidReasons
metadata
}
type
subType
startTime
endTime
position {
type
coordinates
crs {
type
properties
}
}
timezone
metadata
images {
id
dataSourceId
timestamp
url
thumbnailUrl
}
dataSourceClips {
id
dataSource {
id
name
type
labels
}
startTime
endTime
url
thumbnailUrl
displayName
}
properties {
tracks {
id
modelId
tag
startTime
endTime
finished
metadata
}
sites {
id
name
timezone
}
dataSources {
id
name
type
labels
}
tags {
id
name
color
}
pointsOfInterest {
id
name
metadata
}
}
draft
validation {
status
reason
details
}
priority
}
}