railbird-gql/src/operations/video.gql

117 lines
1.7 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
2024-04-22 22:20:59 -06:00
framesPerSecond
2024-04-22 16:18:06 -06:00
playlist {
2024-04-22 22:20:59 -06:00
m3u8Text
segmentDurations
2024-04-22 16:18:06 -06:00
}
}
}