58 lines
959 B
GraphQL
58 lines
959 B
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
|
|
}
|
|
}
|
|
|
|
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
|
|
shotDifficulty: pocketingIntentionFeatures {
|
|
difficulty
|
|
}
|
|
}
|
|
}
|
|
runIds
|
|
}
|
|
}
|