Compare commits

...

61 Commits

Author SHA1 Message Date
f9b02f65e0 Expose frames per second in get videos
All checks were successful
Tests / Tests (pull_request) Successful in 7s
2024-08-26 20:53:16 -06:00
ba36bc709c Merge pull request 'Add resolution to getShots operation' (#42) from loewy/add-resolution-in-get-shots into master
Reviewed-on: #42
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
Reviewed-by: countablecloud <countablecloud@gmail.com>
2024-08-26 12:42:15 -06:00
4005416233 Merge branch 'master' into loewy/add-resolution-in-get-shots
All checks were successful
Tests / Tests (pull_request) Successful in 15s
2024-08-26 10:23:07 -06:00
db4a6315cd Merge pull request 'Add stream type to get videos' (#43) from kat/add-stream-type-get-videos into master
Reviewed-on: #43
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
2024-08-26 08:36:44 -06:00
af38fdea64 Add stream type to get videos
All checks were successful
Tests / Tests (pull_request) Successful in 7s
2024-08-26 06:56:40 -06:00
172df69340 add resolution to getShots operation
All checks were successful
Tests / Tests (pull_request) Successful in 9s
2024-08-23 17:29:40 -07:00
a030a0ef16 Merge pull request 'Error reporting types and Errors for Shot Annotation' (#41) from mk/allow-error-reporting into master
Reviewed-on: #41
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
2024-08-21 16:59:34 -06:00
7a6cc2739f Error reporting types and Errors
All checks were successful
Tests / Tests (pull_request) Successful in 9s
2024-08-21 13:41:24 -07:00
41c9701e18 Merge pull request 'Add separate return to profile image' (#40) from mk/add-separate-return-to-image-upload-link into master
Reviewed-on: #40
Reviewed-by: loewy <loewymalkov@gmail.com>
2024-08-19 15:58:15 -06:00
16e79ed608 Adds stream to get upload link
All checks were successful
Tests / Tests (pull_request) Successful in 14s
2024-08-19 14:54:48 -07:00
f401e1879b Add separate return to profile image
All checks were successful
Tests / Tests (pull_request) Successful in 15s
2024-08-19 14:44:43 -07:00
72b451d322 remove stream from getUploadLink 2024-08-16 18:47:08 -07:00
5350c46e0a Merge pull request 'Adds proper error return to stuff involving upload links' (#39) from mk/add-error-return-to-upload-links into master
Reviewed-on: #39
Reviewed-by: loewy <loewymalkov@gmail.com>
2024-08-16 19:02:31 -06:00
1f5c5774e1 Merge branch 'master' into mk/add-error-return-to-upload-links
All checks were successful
Tests / Tests (pull_request) Successful in 15s
2024-08-16 17:29:18 -06:00
3b29502e7e Adds proper error return to stuff involving upload links
All checks were successful
Tests / Tests (pull_request) Successful in 10s
2024-08-16 16:28:45 -07:00
abc7e9fd05 Merge pull request 'add minimum app version to get config call' (#38) from loewy/add-operation-minimum-app-version into master
Reviewed-on: #38
2024-08-16 16:40:39 -06:00
dd5ce77102 add minimum app version to get config call
All checks were successful
Tests / Tests (pull_request) Successful in 15s
2024-08-16 14:26:24 -07:00
dabaa3d1e1 Add minimum allowed AppVersion to deployed config 2024-08-16 12:21:46 -07:00
a6604a3a6d add tableSize to GetFeed 2024-08-15 19:52:03 -07:00
09a3e0e294 Add table size range filter 2024-08-15 19:42:53 -07:00
f20ca53a2a add tableSize to operations for getVideo
All checks were successful
Tests / Tests (pull_request) Successful in 14s
2024-08-15 18:51:36 -07:00
a2b912500c Merge pull request 'Add table size to return' (#36) from mk/table-size-non-optional-float into master
Reviewed-on: #36
Reviewed-by: loewy <loewymalkov@gmail.com>
2024-08-15 19:12:22 -06:00
7de3d196ba Add table size to return
All checks were successful
Tests / Tests (pull_request) Successful in 8s
2024-08-15 19:11:25 -06:00
6d5669aaf8 Merge pull request 'Make table size nonnullable float' (#35) from mk/table-size-non-optional-float into master
Reviewed-on: #35
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
2024-08-15 18:19:07 -06:00
2c583509a2 Make table size nonnullable and float
All checks were successful
Tests / Tests (pull_request) Successful in 7s
2024-08-15 16:54:07 -07:00
3480637600 Merge pull request 'Add debugJson to getStreamMonitoringDetails' (#34) from loewy/add-debug-json into master
Reviewed-on: #34
2024-08-13 19:09:11 -06:00
f4665f51b1 add debugJson to getStreamMonitoringDetails
All checks were successful
Tests / Tests (pull_request) Successful in 7s
2024-08-13 15:30:04 -07:00
810212dc12 Merge pull request 'Make pagination optional' (#33) from loewy/make-pagination-optional into master
Reviewed-on: #33
2024-08-13 14:53:15 -06:00
c3210df517 make pagination optional:
All checks were successful
Tests / Tests (pull_request) Successful in 6s
2024-08-13 13:49:12 -07:00
9f5c354433 Merge pull request 'Tweaks for Debugging' (#32) from mk/tweeks-for-debugging into master
Reviewed-on: #32
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
Reviewed-by: loewy <loewymalkov@gmail.com>
2024-08-13 14:43:39 -06:00
23d9fef2b1 Add Debugging JSON to input
All checks were successful
Tests / Tests (pull_request) Successful in 7s
2024-08-13 13:28:36 -07:00
df3087de7d Add VideoProcessingStatus to VideoProcessing
All checks were successful
Tests / Tests (pull_request) Successful in 6s
2024-08-13 12:42:45 -07:00
5dd8318dab Add status to VideoProcessing 2024-08-13 11:33:31 -07:00
56c8bcce20 Add uploadCompletionCursor to GetUploadLinkReturn
All checks were successful
Tests / Tests (pull_request) Successful in 9s
2024-08-13 10:33:53 -07:00
1c4961db5b Merge pull request 'add uploadsCompleted to getUploadStreamWithDetails query' (#31) from loewy/add-uploads-completed into master
Reviewed-on: #31
Reviewed-by: countablecloud <countablecloud@gmail.com>
2024-08-13 11:22:09 -06:00
5e0d01ea5b add uploadsCompleted to getUploadStreamWithDetails query
All checks were successful
Tests / Tests (pull_request) Successful in 15s
2024-08-13 11:21:11 -06:00
e8938621fc Merge pull request 'Support shots pagination' (#30) from kat/paginate-get-shots into master
Reviewed-on: #30
2024-08-09 15:12:51 -06:00
8c8dcdd8e1 Support shots pagination
All checks were successful
Tests / Tests (pull_request) Successful in 7s
2024-08-09 15:10:36 -06:00
5085c9af90 Add waitFor 2024-08-09 00:59:38 -06:00
85bc743c8e Bump getShots default 2024-08-05 23:36:54 -06:00
b8efa644e3 Merge pull request 'Add frameIndex in operation for getVideo in homographyHistory' (#29) from loewy/add-frame-index-in-homography-history into master
Reviewed-on: #29
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
2024-08-01 19:52:51 -06:00
c18628a4ca Add pagination to getShots 2024-08-01 19:49:57 -06:00
535e24c9c2 add frameindex in operations
All checks were successful
Tests / Tests (pull_request) Successful in 11s
2024-08-01 14:52:37 -07:00
04308b1003 Merge pull request 'Add addAnnotationToShot' (#28) from mk/add-add-annotation into master
Reviewed-on: #28
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
2024-07-30 18:10:44 -06:00
43c626141e Add addAnnotationToShot
All checks were successful
Tests / Tests (pull_request) Successful in 15s
2024-07-30 17:08:05 -07:00
c49266e4c1 Merge pull request 'Expose frames per second on video' (#27) from kat/add-video-duration into master
Reviewed-on: #27
2024-07-30 11:54:34 -06:00
6677b9232f Expose frames per second on video
All checks were successful
Tests / Tests (pull_request) Successful in 8s
2024-07-30 11:53:34 -06:00
76e792be88 Merge pull request 'Expose stream type on video' (#26) from kat/create-get-video-for-clip-calculation into master
Reviewed-on: #26
2024-07-30 01:02:18 -06:00
5eac3d9d40 Expose stream type
All checks were successful
Tests / Tests (pull_request) Successful in 12s
2024-07-30 01:00:12 -06:00
64593f09b7 Add include_on_none in range filter 2024-07-29 17:21:09 -06:00
e20b68799f Add falsePositiveScore 2024-07-28 02:06:39 -06:00
378878967a Add streamSegmentType to Stream 2024-07-27 20:51:48 -06:00
251ebe7056 Merge pull request 'Add homography and resolution to GetVideo' (#25) from loewy/add-resolution-in-operation into master
Reviewed-on: #25
2024-07-25 19:09:56 -06:00
615e4d5467 add resolution and homography to getVideo
All checks were successful
Tests / Tests (pull_request) Successful in 8s
2024-07-25 18:07:17 -07:00
a4f602d651 Expose resolution 2024-07-25 18:18:16 -06:00
c48512fc45 Merge pull request 'Fixed get user tags parameters' (#24) from micah/get-user-tags into master
Reviewed-on: #24
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
2024-07-24 14:28:25 -06:00
d75822c465 Fixed get user tags parameters
All checks were successful
Tests / Tests (pull_request) Successful in 11s
2024-07-24 11:47:57 -07:00
4feeba5150 Merge pull request 'Added user tags' (#23) from micah/get-user-tags into master
Reviewed-on: #23
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
2024-07-23 23:37:05 -06:00
e1237363f0 Removed wrapper type
All checks were successful
Tests / Tests (pull_request) Successful in 14s
2024-07-23 18:53:39 -07:00
b1550b31c5 Added user tags
All checks were successful
Tests / Tests (pull_request) Successful in 7s
2024-07-22 19:43:42 -07:00
81b9fd9f12 Add spin features 2024-07-19 17:18:14 -06:00
8 changed files with 1186 additions and 83 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -4,5 +4,6 @@ query getDeployedConfig {
devMode devMode
environment environment
firebase firebase
minimumAllowedAppVersion
} }
} }

View File

@@ -23,6 +23,7 @@ query GetFeed(
stream { stream {
isCompleted isCompleted
} }
tableSize
tags { tags {
tagClasses { tagClasses {
name name

View File

@@ -1,5 +1,7 @@
query GetShots( query GetShots(
$filterInput: FilterInput! $filterInput: FilterInput!
$shotsPagination: GetShotsPagination
$limit: Int
$includeCreatedAt: Boolean! = false $includeCreatedAt: Boolean! = false
$includeUpdatedAt: Boolean! = false $includeUpdatedAt: Boolean! = false
$includeCueObjectFeatures: Boolean! = false $includeCueObjectFeatures: Boolean! = false
@@ -12,7 +14,11 @@ query GetShots(
$includeMake: Boolean! = false $includeMake: Boolean! = false
$includeIntendedPocketType: Boolean! = false $includeIntendedPocketType: Boolean! = false
) { ) {
getShots(filterInput: $filterInput) { getShots(
filterInput: $filterInput
shotsPagination: $shotsPagination
limit: $limit
) {
id id
videoId videoId
startFrame startFrame
@@ -20,6 +26,15 @@ query GetShots(
user { user {
id id
} }
falsePositiveScore
video {
stream {
resolution {
width
height
}
}
}
createdAt @include(if: $includeCreatedAt) createdAt @include(if: $includeCreatedAt)
updatedAt @include(if: $includeUpdatedAt) updatedAt @include(if: $includeUpdatedAt)
cueObjectFeatures @include(if: $includeCueObjectFeatures) { cueObjectFeatures @include(if: $includeCueObjectFeatures) {

View File

@@ -1,11 +1,22 @@
mutation getProfileImageUploadLink($fileExt: String = ".png") { mutation getProfileImageUploadLink($fileExt: String = ".png") {
getProfileImageUploadLink(fileExt: $fileExt) { getProfileImageUploadLink(fileExt: $fileExt) {
value {
... on UploadLink {
uploadUrl uploadUrl
headers { headers {
key key
value value
} }
} }
... on GetProfileUploadLinkErrors {
error {
... on TooManyProfileImageUploadsErr {
linksRequested
}
}
}
}
}
} }
mutation editProfileImageUri($profileImageUri: String!) { mutation editProfileImageUri($profileImageUri: String!) {

View File

@@ -1,5 +1,5 @@
query GetStreamMonitoringDetails($videoId: Int!) { query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
getVideo(videoId: $videoId) { getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
id id
totalShots totalShots
makePercentage makePercentage
@@ -70,6 +70,7 @@ query GetVideoUpdatePageDetails($videoId: Int!) {
totalShots totalShots
makePercentage makePercentage
elapsedTime elapsedTime
tableSize
tags { tags {
tagClasses { tagClasses {
name name
@@ -98,6 +99,7 @@ query GetVideoDetails($videoId: Int!) {
totalShotsMade totalShotsMade
createdAt createdAt
updatedAt updatedAt
tableSize
owner { owner {
id id
firebaseUid firebaseUid
@@ -116,11 +118,10 @@ query GetVideoDetails($videoId: Int!) {
query GetVideos($videoIds: [Int!]!) { query GetVideos($videoIds: [Int!]!) {
getVideos(videoIds: $videoIds) { getVideos(videoIds: $videoIds) {
id id
playlist { framesPerSecond
segmentDurations
}
stream { stream {
id id
streamSegmentType
segments { segments {
uploaded uploaded
valid valid
@@ -129,6 +130,9 @@ query GetVideos($videoIds: [Int!]!) {
framesPerSecond framesPerSecond
} }
} }
playlist {
segmentDurations
}
} }
} }
@@ -138,12 +142,58 @@ query GetVideo($videoId: Int!) {
playlist { playlist {
segmentDurations segmentDurations
} }
homographyHistory {
frameIndex
crop {
left
top
width
height
}
pockets {
left
top
width
height
}
sourcePoints {
topLeft {
x
y
}
topSide {
x
y
}
topRight {
x
y
}
bottomLeft {
x
y
}
bottomSide {
x
y
}
bottomRight {
x
y
}
}
}
stream { stream {
streamSegmentType
segments { segments {
segmentIndex segmentIndex
endFrameIndex endFrameIndex
framesPerSecond framesPerSecond
} }
resolution {
width
height
}
} }
} }
} }
@@ -166,3 +216,24 @@ query GetMedianRunForVideo($videoId: Int!) {
medianRun medianRun
} }
} }
query GetVideoForClipTimes($videoId: Int!) {
getVideo(videoId: $videoId) {
id
framesPerSecond
playlist {
segmentDurations
}
stream {
id
streamSegmentType
segments {
uploaded
valid
segmentIndex
endFrameIndex
framesPerSecond
}
}
}
}

View File

@@ -6,22 +6,59 @@ mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) { mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) { getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) {
value {
... on UploadLink {
uploadUrl uploadUrl
headers { headers {
key key
value value
} }
} }
... on GetUploadLinkErrors {
error {
... on MustHaveSetForUploadLinkErr {
resolution
framesPerSecond
}
... on SegmentAlreadyUploadedErr {
segmentId
}
... on ProcessingFailedErr {
processing {
status
errors {
message
}
}
}
}
}
}
stream {
uploadCompletionCursor
}
}
} }
mutation GetHlsInitUploadLink($videoId: Int!) { mutation GetHlsInitUploadLink($videoId: Int!) {
getHlsInitUploadLink(videoId: $videoId) { getHlsInitUploadLink(videoId: $videoId) {
value {
... on UploadLink {
uploadUrl uploadUrl
headers { headers {
key key
value value
} }
} }
... on GetUploadLinkErrors {
error {
... on NoInitForChunkedUploadErr {
segmentType
}
}
}
}
}
} }
mutation SetSegmentDuration( mutation SetSegmentDuration(
@@ -72,6 +109,7 @@ query GetUploadStreamsWithDetails(
isCompleted isCompleted
lastIntendedSegmentBound lastIntendedSegmentBound
uploadCompletionCursor uploadCompletionCursor
uploadsCompleted
} }
} }
pageInfo { pageInfo {

View File

@@ -4,12 +4,17 @@ type Query {
): [AggregateResultGQL!]! ): [AggregateResultGQL!]!
getBucketSet(keyName: String!): BucketSetGQL getBucketSet(keyName: String!): BucketSetGQL
getDeployedConfig: DeployedConfigGQL! getDeployedConfig: DeployedConfigGQL!
waitFor(duration: Float!): Float!
getVideoMakePercentageIntervals( getVideoMakePercentageIntervals(
videoId: ID! videoId: ID!
intervalDuration: Int! = 300 intervalDuration: Int! = 300
): [MakePercentageIntervalGQL!]! ): [MakePercentageIntervalGQL!]!
getShots(filterInput: FilterInput!): [ShotGQL!]! getShots(
getShotAnnotationTypes: [ShotAnnotationTypeGQL!]! filterInput: FilterInput!
shotsPagination: GetShotsPagination = null
limit: Int! = 500
): [ShotGQL!]!
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!
getUser(userId: Int!): UserGQL getUser(userId: Int!): UserGQL
getLoggedInUser: UserGQL getLoggedInUser: UserGQL
getUsernames( getUsernames(
@@ -24,7 +29,8 @@ type Query {
after: String = null after: String = null
filters: VideoFilterInput = null filters: VideoFilterInput = null
): VideoHistoryGQL! ): VideoHistoryGQL!
getVideo(videoId: Int!): VideoGQL! getUserTags: [TagGQL!]!
getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
getVideos(videoIds: [Int!]!): [VideoGQL!]! getVideos(videoIds: [Int!]!): [VideoGQL!]!
} }
@@ -90,15 +96,24 @@ input FilterInput @oneOf {
isLeftMiss: [Boolean!] isLeftMiss: [Boolean!]
isRightMiss: [Boolean!] isRightMiss: [Boolean!]
isDirect: [Boolean!] isDirect: [Boolean!]
tableSize: RangeFilter
bankAngle: RangeFilter bankAngle: RangeFilter
bankDistance: RangeFilter bankDistance: RangeFilter
kickAngle: RangeFilter kickAngle: RangeFilter
kickDistance: RangeFilter kickDistance: RangeFilter
cueAngleAfterObject: RangeFilter
cueSpeedAfterObject: RangeFilter
spinType: [String!]
falsePositiveScore: RangeFilter
} }
input RangeFilter { input RangeFilter {
lessThan: Float = null lessThan: Float = null
greaterThanEqualTo: Float = null greaterThanEqualTo: Float = null
greaterThan: Float = null
includeOnNone: Boolean! = false
lessThanInclusive: Boolean! = false
greaterThanInclusive: Boolean! = true
} }
enum PocketEnum { enum PocketEnum {
@@ -141,6 +156,7 @@ type DeployedConfigGQL {
firebase: Boolean! firebase: Boolean!
devMode: Boolean! devMode: Boolean!
environment: String! environment: String!
minimumAllowedAppVersion: String!
} }
type MakePercentageIntervalGQL { type MakePercentageIntervalGQL {
@@ -161,6 +177,8 @@ type ShotGQL {
serializedShotPaths: SerializedShotPathsGQL serializedShotPaths: SerializedShotPathsGQL
user: UserGQL user: UserGQL
annotations: [ShotAnnotationGQL!]! annotations: [ShotAnnotationGQL!]!
falsePositiveScore: Float
video: VideoGQL
} }
""" """
@@ -213,6 +231,7 @@ type ShotAnnotationGQL {
type: ShotAnnotationTypeGQL! type: ShotAnnotationTypeGQL!
creator: UserGQL! creator: UserGQL!
notes: String! notes: String!
errorDefault: Boolean!
createdAt: DateTime createdAt: DateTime
updatedAt: DateTime updatedAt: DateTime
} }
@@ -222,15 +241,6 @@ type ShotAnnotationTypeGQL {
name: String! name: String!
} }
type UserPlayTimeGQL {
totalSeconds: Float!
}
type VideoHistoryGQL {
videos: [VideoGQL!]!
pageInfo: PageInfoGQL!
}
type VideoGQL { type VideoGQL {
id: Int! id: Int!
owner: UserGQL owner: UserGQL
@@ -248,6 +258,7 @@ type VideoGQL {
endTime: DateTime endTime: DateTime
elapsedTime: Float elapsedTime: Float
framesPerSecond: Float! framesPerSecond: Float!
tableSize: Float!
stream: UploadStreamGQL stream: UploadStreamGQL
playlist: HLSPlaylistGQL playlist: HLSPlaylistGQL
tags: [VideoTag!]! tags: [VideoTag!]!
@@ -269,6 +280,8 @@ type UploadStreamGQL {
createdAt: DateTime! createdAt: DateTime!
updatedAt: DateTime! updatedAt: DateTime!
segments: [UploadSegmentGQL!]! segments: [UploadSegmentGQL!]!
resolution: VideoResolutionGQL!
streamSegmentType: StreamSegmentTypeEnum!
} }
enum InitPlaylistUploadStatusEnum { enum InitPlaylistUploadStatusEnum {
@@ -291,6 +304,16 @@ type UploadSegmentGQL {
linksRequested: Int! linksRequested: Int!
} }
type VideoResolutionGQL {
width: Int
height: Int
}
enum StreamSegmentTypeEnum {
FRAGMENTED_MP4
RB_CHUNKED_MP4
}
type HLSPlaylistGQL { type HLSPlaylistGQL {
videoId: Int! videoId: Int!
m3u8Text: String! m3u8Text: String!
@@ -337,6 +360,8 @@ type IntPoint2D {
type VideoProcessingGQL { type VideoProcessingGQL {
errors: [VideoProcessingErrorGQL!]! errors: [VideoProcessingErrorGQL!]!
status: ProcessingStatusEnum!
statuses: [VideoProcessingStatusGQL!]!
} }
type VideoProcessingErrorGQL { type VideoProcessingErrorGQL {
@@ -345,6 +370,44 @@ type VideoProcessingErrorGQL {
endSegmentIndex: Int endSegmentIndex: Int
} }
enum ProcessingStatusEnum {
STARTED
FAILED
SUCCEEDED
SUSPENDED
CREATED
QUEUED
RUNNING
REEXTRACTING_FEATURES
}
type VideoProcessingStatusGQL {
status: ProcessingStatusEnum!
appVersion: String!
sequenceId: Int!
createdAt: DateTime
updatedAt: DateTime
}
input GetShotsPagination {
createdAfter: CreatedAfter!
startFrameAfter: Int!
}
input CreatedAfter @oneOf {
videoId: Int
createdAt: DateTime
}
type UserPlayTimeGQL {
totalSeconds: Float!
}
type VideoHistoryGQL {
videos: [VideoGQL!]!
pageInfo: PageInfoGQL!
}
type PageInfoGQL { type PageInfoGQL {
hasNextPage: Boolean! hasNextPage: Boolean!
endCursor: String endCursor: String
@@ -355,10 +418,31 @@ input VideoFilterInput {
requireCursorCompletion: Boolean! = true requireCursorCompletion: Boolean! = true
} }
type TagGQL {
name: String!
id: Int!
group: String
}
"""
The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf).
"""
scalar JSON
@specifiedBy(
url: "https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf"
)
type Mutation { type Mutation {
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL! createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
setLoggerLevel(path: String!, level: String!): Boolean! setLoggerLevel(path: String!, level: String!): Boolean!
getProfileImageUploadLink(fileExt: String = ".png"): GetUploadLinkReturn! addAnnotationToShot(
shotId: Int!
annotationName: String!
notes: String = null
): AddShotAnnotationReturn!
getProfileImageUploadLink(
fileExt: String = ".png"
): GetProfileUploadLinkReturn!
editProfileImageUri(profileImageUri: String!): UserGQL! editProfileImageUri(profileImageUri: String!): UserGQL!
createUploadStream( createUploadStream(
videoMetadata: VideoMetadataInput! videoMetadata: VideoMetadataInput!
@@ -380,7 +464,44 @@ input CreateBucketSetInput {
buckets: [BucketInputGQL!]! buckets: [BucketInputGQL!]!
} }
type GetUploadLinkReturn { type AddShotAnnotationReturn {
value: SuccessfulAddAddShotAnnotationErrors!
}
union SuccessfulAddAddShotAnnotationErrors =
SuccessfulAdd
| AddShotAnnotationErrors
type SuccessfulAdd {
value: Boolean!
}
type AddShotAnnotationErrors {
error: DoesNotOwnShotErrOtherErrorNeedsNote!
}
union DoesNotOwnShotErrOtherErrorNeedsNote =
DoesNotOwnShotErr
| OtherErrorNeedsNote
type DoesNotOwnShotErr {
shotId: Int!
msg: String
}
type OtherErrorNeedsNote {
msg: String
}
type GetProfileUploadLinkReturn {
value: UploadLinkGetProfileUploadLinkErrors!
}
union UploadLinkGetProfileUploadLinkErrors =
UploadLink
| GetProfileUploadLinkErrors
type UploadLink {
uploadUrl: String! uploadUrl: String!
headers: [Header]! headers: [Header]!
} }
@@ -390,6 +511,14 @@ type Header {
value: String! value: String!
} }
type GetProfileUploadLinkErrors {
error: TooManyProfileImageUploadsErr!
}
type TooManyProfileImageUploadsErr {
linksRequested: Int!
}
type CreateUploadStreamReturn { type CreateUploadStreamReturn {
videoId: Int! videoId: Int!
} }
@@ -399,7 +528,7 @@ input VideoMetadataInput {
startTime: DateTime = null startTime: DateTime = null
endTime: DateTime = null endTime: DateTime = null
gameType: String = null gameType: String = null
tableSize: String = null tableSize: Float = null
uploadStreamMetadataInput: UploadStreamMetadataInput = null uploadStreamMetadataInput: UploadStreamMetadataInput = null
lastIntendedSegmentBound: Int = null lastIntendedSegmentBound: Int = null
streamSegmentType: StreamSegmentTypeEnum = null streamSegmentType: StreamSegmentTypeEnum = null
@@ -426,12 +555,42 @@ enum DeviceTypeEnum {
BROWSER BROWSER
} }
enum StreamSegmentTypeEnum {
FRAGMENTED_MP4
RB_CHUNKED_MP4
}
input VideoResolution { input VideoResolution {
width: Int! width: Int!
height: Int! height: Int!
} }
type GetUploadLinkReturn {
value: UploadLinkGetUploadLinkErrors!
stream: UploadStreamGQL
}
union UploadLinkGetUploadLinkErrors = UploadLink | GetUploadLinkErrors
type GetUploadLinkErrors {
error: MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErr!
}
union MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErr =
MustHaveSetForUploadLinkErr
| SegmentAlreadyUploadedErr
| ProcessingFailedErr
| NoInitForChunkedUploadErr
| TooManyProfileImageUploadsErr
type MustHaveSetForUploadLinkErr {
resolution: Boolean
framesPerSecond: Boolean
}
type SegmentAlreadyUploadedErr {
segmentId: Int!
}
type ProcessingFailedErr {
processing: VideoProcessingGQL!
}
type NoInitForChunkedUploadErr {
segmentType: StreamSegmentTypeEnum!
}