Create get videos with playlist gql
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user