Create get videos with playlist gql

This commit is contained in:
2024-04-22 16:18:06 -06:00
parent 24fcac9318
commit 5181612f62
3 changed files with 88 additions and 0 deletions

View File

@@ -102,3 +102,70 @@ query GetVideoDetails($videoId: Int!) {
}
}
}
query GetVideos($videoIds: [Int!]!) {
getVideos(videoIds: $videoIds) {
id
name
totalShotsMade
totalShots
makePercentage
medianRun
averageTimeBetweenShots
createdAt
updatedAt
start_time
end_time
elapsed_time
frames_per_second
owner {
id
firebaseUid
username
profileImageUri
}
tags {
tagClasses {
name
}
name
}
playlist {
video_id
m3u8_text
segment_durations
}
shots {
id
timeOffset
coordinates
}
homography_history {
frame_index
crop {
x1
y1
x2
y2
}
pockets {
x1
y1
x2
y2
}
source_points {
topLeft
topRight
bottomLeft
bottomRight
}
dest_points {
topLeft
topRight
bottomLeft
bottomRight
}
}
}
}