new lighter weight queries
This commit is contained in:
@@ -20,3 +20,33 @@ mutation EditUploadStream(
|
||||
) {
|
||||
editUploadStream(videoId: $videoId, videoMetadata: $videoMetadataInput)
|
||||
}
|
||||
|
||||
query GetUploadStreams(
|
||||
$limit: Int! = 5
|
||||
$after: String = null
|
||||
$filters: VideoFilterInput = null
|
||||
) {
|
||||
getUserVideos(limit: $limit, after: $after, filters: $filters) {
|
||||
videos {
|
||||
id
|
||||
stream {
|
||||
isCompleted
|
||||
lowestUnuploadedSegmentIndex
|
||||
}
|
||||
}
|
||||
pageInfo {
|
||||
hasNextPage
|
||||
endCursor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetUploadStreamDetails($videoId: Int!) {
|
||||
getVideo(videoId: $videoId) {
|
||||
id
|
||||
stream {
|
||||
isCompleted
|
||||
lowestUnuploadedSegmentIndex
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user