railbird-gql/src/operations/video.gql

289 lines
4.3 KiB
Plaintext
Raw Normal View History

query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
id
totalShots
makePercentage
elapsedTime
2024-09-04 19:18:15 -06:00
currentHomography {
2024-03-23 17:03:11 -06:00
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
isCompleted
uploadCompletionCursor
lastIntendedSegmentBound
2024-07-16 20:23:54 -06:00
initPlaylistUploadStatus
}
currentProcessing {
errors {
message
startSegmentIndex
endSegmentIndex
}
}
}
}
query GetVideoUpdatePageDetails($videoId: Int!) {
getVideo(videoId: $videoId) {
id
name
totalShots
makePercentage
elapsedTime
tableSize
tags {
tagClasses {
name
}
name
}
}
}
mutation DeleteVideo($videoId: Int!) {
deleteVideo(videoId: $videoId)
}
query GetVideoDetails($videoId: Int!) {
getVideo(videoId: $videoId) {
id
name
2024-04-29 14:08:27 -06:00
screenshotUri
averageTimeBetweenShots
elapsedTime
endTime
makePercentage
medianRun
startTime
totalShots
totalShotsMade
createdAt
updatedAt
tableSize
owner {
id
firebaseUid
username
profileImageUri
}
tags {
tagClasses {
name
}
name
}
}
}
2024-04-22 16:18:06 -06:00
query GetVideos($videoIds: [Int!]!) {
getVideos(videoIds: $videoIds) {
...VideoStreamMetadata
}
}
fragment VideoStreamMetadata on VideoGQL {
id
framesPerSecond
stream {
2024-04-22 16:18:06 -06:00
id
streamSegmentType
segments {
uploaded
valid
segmentIndex
endFrameIndex
framesPerSecond
2024-08-26 06:56:40 -06:00
}
}
playlist {
segmentDurations
}
}
query GetVideoForShotTime($videoId: Int!) {
getVideo(videoId: $videoId) {
...VideoStreamMetadata
}
}
query GetVideo($videoId: Int!) {
getVideo(videoId: $videoId) {
id
playlist {
segmentDurations
}
homographyHistory {
2024-08-01 15:52:37 -06:00
frameIndex
crop {
left
top
width
height
}
pockets {
left
top
width
height
}
sourcePoints {
topLeft {
x
y
}
topSide {
x
y
}
topRight {
x
y
}
bottomLeft {
x
y
}
bottomSide {
x
y
}
bottomRight {
x
y
}
}
}
stream {
2024-07-27 20:51:48 -06:00
streamSegmentType
segments {
segmentIndex
endFrameIndex
framesPerSecond
}
resolution {
width
height
}
}
2024-04-22 16:18:06 -06:00
}
}
query GetAverageTimePerShotForVideo($videoId: Int!) {
getVideo(videoId: $videoId) {
id
averageTimeBetweenShots
}
}
query GetElapsedTimeForVideo($videoId: Int!) {
getVideo(videoId: $videoId) {
id
elapsedTime
}
}
query GetMedianRunForVideo($videoId: Int!) {
getVideo(videoId: $videoId) {
id
medianRun
}
}
2024-07-30 00:58:33 -06:00
2024-10-16 23:39:14 -06:00
fragment StreamWithEndFrames on UploadStreamGQL {
id
streamSegmentType
segmentEndFrames @client
resolution {
width
height
}
segments {
uploaded
valid
segmentIndex
endFrameIndex
framesPerSecond
}
}
2024-10-17 01:28:14 -06:00
fragment SegmentEndFrames on SegmentEndFramesGQL {
id
segmentEndFrames
}
fragment SegmentStartTimes on SegmentStartTimesGQL {
id
segmentStartTimes
}
2024-10-16 23:39:14 -06:00
fragment PlaylistWithSegmentStartTimes on HLSPlaylistGQL {
2024-10-17 01:28:14 -06:00
videoId
2024-10-16 23:39:14 -06:00
segmentDurations
segmentStartTimes @client
}
fragment VideoDurationData on VideoGQL {
id
framesPerSecond
playlist {
...PlaylistWithSegmentStartTimes
}
stream {
...StreamWithEndFrames
}
}
2024-07-30 00:58:33 -06:00
query GetVideoForClipTimes($videoId: Int!) {
getVideo(videoId: $videoId) {
2024-10-16 23:39:14 -06:00
...VideoDurationData
2024-07-30 00:58:33 -06:00
}
}
query GetHeaderInfoByVideoId($videoId: Int!) {
getVideo(videoId: $videoId) {
id
name
startTime
}
}