Update upload_stream and terminate_stream gql
This commit is contained in:
@@ -149,29 +149,10 @@ type UploadStreamGQL {
|
||||
linksRequested: Int!
|
||||
uploadsCompleted: Int!
|
||||
isCompleted: Boolean!
|
||||
uploadMetadata: UploadStreamMetadata!
|
||||
createdAt: DateTime!
|
||||
updatedAt: DateTime!
|
||||
}
|
||||
|
||||
type UploadStreamMetadata {
|
||||
deviceType: DeviceTypeEnum
|
||||
osVersion: String
|
||||
appVersion: String
|
||||
browserName: String
|
||||
browserVersion: String
|
||||
locale: String
|
||||
timezone: String
|
||||
networkType: String
|
||||
ipAddress: String
|
||||
}
|
||||
|
||||
enum DeviceTypeEnum {
|
||||
IOS
|
||||
ANDROID
|
||||
BROWSER
|
||||
}
|
||||
|
||||
input FilterInput {
|
||||
andFilters: AndFilter = null
|
||||
orFilters: OrFilter = null
|
||||
@@ -243,15 +224,12 @@ type PageInfoGQL {
|
||||
type Mutation {
|
||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||
createUploadStream(
|
||||
uploadMetadata: UploadMetadataInput
|
||||
videoName: String = null
|
||||
videoMetadata: VideoMetadataInput
|
||||
): CreateUploadStreamReturn!
|
||||
getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn!
|
||||
terminateUploadStream(
|
||||
videoId: Int!
|
||||
videoName: String = null
|
||||
gameType: String = null
|
||||
tableSize: String = null
|
||||
videoMetadata: VideoMetadataInput = null
|
||||
): Boolean!
|
||||
}
|
||||
|
||||
@@ -265,7 +243,16 @@ type CreateUploadStreamReturn {
|
||||
videoId: Int!
|
||||
}
|
||||
|
||||
input UploadMetadataInput {
|
||||
input VideoMetadataInput {
|
||||
videoName: String = null
|
||||
startTime: DateTime = null
|
||||
endTime: DateTime = null
|
||||
gameType: String = null
|
||||
tableSize: String = null
|
||||
uploadStreamMetadataInput: UploadStreamMetadataInput = null
|
||||
}
|
||||
|
||||
input UploadStreamMetadataInput {
|
||||
deviceType: DeviceTypeEnum = null
|
||||
osVersion: String = null
|
||||
appVersion: String = null
|
||||
@@ -277,6 +264,12 @@ input UploadMetadataInput {
|
||||
ipAddress: String = null
|
||||
}
|
||||
|
||||
enum DeviceTypeEnum {
|
||||
IOS
|
||||
ANDROID
|
||||
BROWSER
|
||||
}
|
||||
|
||||
type GetUploadLinkReturn {
|
||||
uploadUrl: String!
|
||||
headers: [Header]!
|
||||
|
Reference in New Issue
Block a user