Add an operation to get details for updating a video

Fixes railbird/railbird#1164
This commit is contained in:
2024-03-22 19:27:57 -06:00
parent 87fabdc8f9
commit 8102a0f40b
3 changed files with 142 additions and 1 deletions

View File

@@ -4,7 +4,6 @@ query GetStreamMonitoringDetails($videoId: Int!) {
totalShots
makePercentage
elapsedTime
stream {
homographyHistory {
crop {
@@ -53,6 +52,22 @@ query GetStreamMonitoringDetails($videoId: Int!) {
}
}
query GetVideoUpdatePageDetails($videoId: Int!) {
getVideo(videoId: $videoId) {
id
name
totalShots
makePercentage
elapsedTime
tags {
tagClasses {
name
}
name
}
}
}
mutation DeleteVideo($videoId: Int!) {
deleteVideo(videoId: $videoId)
}