68 lines
1.1 KiB
GraphQL
68 lines
1.1 KiB
GraphQL
query GetRunsForHighlights(
|
|
$filterInput: RunFilterInput!
|
|
$runIds: [Int!] = null
|
|
$runsOrdering: GetRunsOrdering
|
|
$limit: Int! = 500
|
|
$countRespectsLimit: Boolean! = false
|
|
) {
|
|
getRuns(
|
|
filterInput: $filterInput
|
|
runIds: $runIds
|
|
runsOrdering: $runsOrdering
|
|
limit: $limit
|
|
countRespectsLimit: $countRespectsLimit
|
|
) {
|
|
count
|
|
runs {
|
|
id
|
|
runLength
|
|
userId
|
|
videoId
|
|
shots {
|
|
videoId
|
|
id
|
|
}
|
|
}
|
|
runIds
|
|
}
|
|
}
|
|
|
|
fragment PocketingIntentionFragment on PocketingIntentionFeaturesGQL {
|
|
make
|
|
targetPocketDistance
|
|
targetPocketAngle
|
|
targetPocketAngleDirection
|
|
marginOfErrorInDegrees
|
|
intendedPocketType
|
|
difficulty
|
|
}
|
|
|
|
query GetRunsWithTimestamps(
|
|
$filterInput: RunFilterInput!
|
|
$runIds: [Int!] = null
|
|
$runsOrdering: GetRunsOrdering
|
|
) {
|
|
getRuns(
|
|
filterInput: $filterInput
|
|
runIds: $runIds
|
|
runsOrdering: $runsOrdering
|
|
) {
|
|
count
|
|
runs {
|
|
id
|
|
runLength
|
|
userId
|
|
videoId
|
|
shots {
|
|
videoId
|
|
id
|
|
createdAt
|
|
pocketingIntentionFeatures {
|
|
...PocketingIntentionFragment
|
|
}
|
|
}
|
|
}
|
|
runIds
|
|
}
|
|
}
|