leightweight query to get totalshots
Some checks failed
Tests / Tests (pull_request) Failing after 10s
Some checks failed
Tests / Tests (pull_request) Failing after 10s
This commit is contained in:
@@ -90,6 +90,26 @@ fragment VideoCardFields on VideoGQL {
|
||||
}
|
||||
}
|
||||
|
||||
# Lightweight version of GetVideoFeed for counting sessions only
|
||||
query GetVideoFeedSessionCount(
|
||||
$limit: Int! = 100
|
||||
$filters: VideoFilterInput = null
|
||||
$includePrivate: IncludePrivateEnum = MINE
|
||||
$feedInput: VideoFeedInputGQL = null
|
||||
) {
|
||||
getFeedVideos(
|
||||
limit: $limit
|
||||
filters: $filters
|
||||
includePrivate: $includePrivate
|
||||
feedInput: $feedInput
|
||||
) {
|
||||
videos {
|
||||
id
|
||||
totalShots
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetVideoFeed(
|
||||
$limit: Int! = 5
|
||||
$after: String = null
|
||||
|
||||
Reference in New Issue
Block a user