53 lines
1.5 KiB
GraphQL
53 lines
1.5 KiB
GraphQL
query GetShots(
|
|
$filterInput: FilterInput!
|
|
$shotsPagination: GetShotsPagination
|
|
$limit: Int
|
|
$includeCreatedAt: Boolean! = false
|
|
$includeUpdatedAt: Boolean! = false
|
|
$includeCueObjectFeatures: Boolean! = false
|
|
$includePocketingIntentionFeatures: Boolean! = false
|
|
$includeCueObjectDistance: Boolean! = false
|
|
$includeCueObjectAngle: Boolean! = false
|
|
$includeCueBallSpeed: Boolean! = false
|
|
$includeShotDirection: Boolean! = false
|
|
$includeTargetPocketDistance: Boolean! = false
|
|
$includeMake: Boolean! = false
|
|
$includeIntendedPocketType: Boolean! = false
|
|
) {
|
|
getShots(
|
|
filterInput: $filterInput
|
|
shotsPagination: $shotsPagination
|
|
limit: $limit
|
|
) {
|
|
id
|
|
videoId
|
|
startFrame
|
|
endFrame
|
|
user {
|
|
id
|
|
}
|
|
falsePositiveScore
|
|
createdAt @include(if: $includeCreatedAt)
|
|
updatedAt @include(if: $includeUpdatedAt)
|
|
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
|
cueObjectDistance @include(if: $includeCueObjectDistance)
|
|
cueObjectAngle @include(if: $includeCueObjectAngle)
|
|
cueBallSpeed @include(if: $includeCueBallSpeed)
|
|
shotDirection @include(if: $includeShotDirection)
|
|
}
|
|
pocketingIntentionFeatures
|
|
@include(if: $includePocketingIntentionFeatures) {
|
|
targetPocketDistance @include(if: $includeTargetPocketDistance)
|
|
make @include(if: $includeMake)
|
|
intendedPocketType @include(if: $includeIntendedPocketType)
|
|
}
|
|
}
|
|
}
|
|
|
|
query GetShotAnnotationTypes {
|
|
getShotAnnotationTypes {
|
|
id
|
|
name
|
|
}
|
|
}
|