railbird-gql/src/operations/video.gql

135 lines
1.9 KiB
Plaintext
Raw Normal View History

query GetStreamMonitoringDetails($videoId: Int!) {
getVideo(videoId: $videoId) {
id
totalShots
makePercentage
elapsedTime
2024-03-23 17:03:11 -06:00
homographyHistory {
crop {
left
top
width
height
}
pockets {
left
top
width
height
}
sourcePoints {
topLeft {
x
y
}
topSide {
x
y
}
2024-03-23 17:03:11 -06:00
topRight {
x
y
}
2024-03-23 17:03:11 -06:00
bottomLeft {
x
y
}
bottomSide {
x
y
}
bottomRight {
x
y
}
}
2024-03-23 17:03:11 -06:00
}
stream {
linksRequested
uploadsCompleted
segmentProcessingCursor
}
}
}
query GetVideoUpdatePageDetails($videoId: Int!) {
getVideo(videoId: $videoId) {
id
name
totalShots
makePercentage
elapsedTime
tags {
tagClasses {
name
}
name
}
}
}
mutation DeleteVideo($videoId: Int!) {
deleteVideo(videoId: $videoId)
}
query GetVideoDetails($videoId: Int!) {
getVideo(videoId: $videoId) {
id
name
averageTimeBetweenShots
elapsedTime
endTime
makePercentage
makePercentage
medianRun
startTime
totalShots
totalShots
totalShotsMade
createdAt
updatedAt
owner {
id
firebaseUid
username
profileImageUri
}
tags {
tagClasses {
name
}
name
}
}
}
2024-04-22 16:18:06 -06:00
query GetVideos($videoIds: [Int!]!) {
getVideos(videoIds: $videoIds) {
id
name
frames_per_second
owner {
id
firebaseUid
username
profileImageUri
}
tags {
tagClasses {
name
}
name
}
playlist {
video_id
m3u8_text
segment_durations
}
shots {
id
timeOffset
coordinates
}
}
}