104 lines
1.6 KiB
Plaintext
Raw Normal View History

2024-08-26 15:54:43 -07:00
query GetSerializedShotPaths($filterInput: FilterInput!) {
getShots(filterInput: $filterInput) {
id
videoId
startFrame
endFrame
serializedShotPaths {
b64EncodedBuffer
}
}
}
query GetShotAnnotationTypes {
getShotAnnotationTypes {
id
name
}
}
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
ids
shots {
id
videoId
video {
screenshotUri
endTime
}
}
}
}
query GetShotsWithMetadata(
$filterInput: FilterInput!
$shotsPagination: GetShotsPagination
$limit: Int
$ids: [Int!]
) {
getShotsWithMetadata(
filterInput: $filterInput
shotsPagination: $shotsPagination
limit: $limit
ids: $ids
) {
count
shots {
2024-10-02 18:15:00 -06:00
...ShotWithAllFeatures
}
ids
}
}
2024-09-29 22:53:24 -06:00
2024-10-02 18:15:00 -06:00
query GetShotsByIds($ids: [Int!]!) {
getShotsByIds(ids: $ids) {
...ShotWithAllFeatures
}
}
fragment ShotWithAllFeatures on ShotGQL {
id
videoId
startFrame
endFrame
user {
2024-09-29 22:53:24 -06:00
id
}
2024-10-02 18:15:00 -06:00
falsePositiveScore
video {
2024-10-07 21:14:47 -07:00
id
stream {
resolution {
width
height
2024-09-29 22:53:24 -06:00
}
}
}
2024-10-02 18:15:00 -06:00
createdAt
updatedAt
cueObjectFeatures {
cueObjectDistance
cueObjectAngle
cueBallSpeed
shotDirection
spinType
}
pocketingIntentionFeatures {
make
targetPocketDistance
targetPocketAngle
targetPocketAngleDirection
marginOfErrorInDegrees
intendedPocketType
}
2024-10-02 18:15:00 -06:00
pocketingIntentionInfo {
ballId
pocketId
pathMetadataIndex
}
serializedShotPaths {
b64EncodedBuffer
2024-09-29 22:53:24 -06:00
}
}