Update upload_stream and terminate_stream gql
This commit is contained in:
@@ -1,29 +1,5 @@
|
||||
mutation CreateUploadStream(
|
||||
$videoName: String!
|
||||
$deviceType: DeviceTypeEnum
|
||||
$osVersion: String
|
||||
$appVersion: String
|
||||
$browserName: String
|
||||
$browserVersion: String
|
||||
$locale: String
|
||||
$timezone: String
|
||||
$networkType: String
|
||||
$ipAddress: String
|
||||
) {
|
||||
createUploadStream(
|
||||
videoName: $videoName
|
||||
uploadMetadata: {
|
||||
deviceType: $deviceType
|
||||
osVersion: $osVersion
|
||||
appVersion: $appVersion
|
||||
browserName: $browserName
|
||||
browserVersion: $browserVersion
|
||||
locale: $locale
|
||||
timezone: $timezone
|
||||
networkType: $networkType
|
||||
ipAddress: $ipAddress
|
||||
}
|
||||
) {
|
||||
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
||||
createUploadStream(videoMetadata: $videoMetadataInput) {
|
||||
videoId
|
||||
}
|
||||
}
|
||||
@@ -40,14 +16,7 @@ mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
|
||||
|
||||
mutation TerminateUploadStream(
|
||||
$videoId: Int!
|
||||
$videoName: String
|
||||
$gameType: String
|
||||
$tableSize: String
|
||||
$videoMetadataInput: VideoMetadataInput!
|
||||
) {
|
||||
terminateUploadStream(
|
||||
videoId: $videoId
|
||||
videoName: $videoName
|
||||
gameType: $gameType
|
||||
tableSize: $tableSize
|
||||
)
|
||||
terminateUploadStream(videoId: $videoId, videoMetadata: $videoMetadataInput)
|
||||
}
|
||||
|
Reference in New Issue
Block a user