UpsertWatchHistoryInput
Data to add or updated a watch history entry based on a video and device ID.
input UpsertWatchHistoryInput {
deviceId: String!
eventId: String
stationId: UUID!
videoId: String!
watchTime: Int!
}
Fields
UpsertWatchHistoryInput.deviceId
● String!
non-null scalar references
UpsertWatchHistoryInput.eventId
● String
scalar references
Existing watch history event ID.
If provided, an update will be performed. If not provided, a create will be peformed.
UpsertWatchHistoryInput.stationId
● UUID!
non-null scalar references
UpsertWatchHistoryInput.videoId
● String!
non-null scalar references
UpsertWatchHistoryInput.watchTime
● Int!
non-null scalar references
Number of seconds from the start of the video the viewer has watched to.
Member Of
upsertWatchHistory
mutation