add a lightweight query to get video thumbnail and info from getShotsResultGql
All checks were successful
Tests / Tests (pull_request) Successful in 9s

This commit is contained in:
2024-10-07 16:51:53 -07:00
parent 8239ab6e1b
commit 025baf257a
2 changed files with 119 additions and 0 deletions

View File

@@ -17,6 +17,20 @@ query GetShotAnnotationTypes {
}
}
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
ids
shots {
id
videoId
video {
screenshotUri
endTime
}
}
}
}
query GetShotsWithMetadata(
$filterInput: FilterInput!
$shotsPagination: GetShotsPagination