2024-11-05 13:56:51 -07:00
|
|
|
# DO NOT USE: use getVideoFeed instead
|
2024-04-05 15:46:16 -06:00
|
|
|
query GetFeed(
|
|
|
|
$limit: Int! = 5
|
|
|
|
$after: String = null
|
|
|
|
$filters: VideoFilterInput = null
|
|
|
|
) {
|
|
|
|
getUserVideos(limit: $limit, after: $after, filters: $filters) {
|
2024-02-21 19:13:30 -07:00
|
|
|
videos {
|
2024-11-13 20:34:16 +01:00
|
|
|
...VideoCardFields
|
2024-02-21 19:13:30 -07:00
|
|
|
}
|
|
|
|
pageInfo {
|
|
|
|
hasNextPage
|
|
|
|
endCursor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-11-04 15:08:21 -07:00
|
|
|
|
2024-11-05 13:56:51 -07:00
|
|
|
fragment VideoCardFields on VideoGQL {
|
|
|
|
id
|
|
|
|
owner {
|
2024-11-05 13:58:31 -07:00
|
|
|
id
|
2024-11-05 13:56:51 -07:00
|
|
|
username
|
|
|
|
profileImageUri
|
|
|
|
}
|
|
|
|
name
|
|
|
|
screenshotUri
|
|
|
|
totalShotsMade
|
|
|
|
totalShots
|
|
|
|
makePercentage
|
|
|
|
createdAt
|
|
|
|
updatedAt
|
|
|
|
startTime
|
|
|
|
endTime
|
2024-11-12 14:15:08 +01:00
|
|
|
private
|
2024-11-05 13:56:51 -07:00
|
|
|
elapsedTime
|
|
|
|
screenshotUri
|
|
|
|
stream {
|
|
|
|
id
|
2025-01-16 22:01:57 -08:00
|
|
|
lastIntendedSegmentBound
|
2024-11-05 13:56:51 -07:00
|
|
|
isCompleted
|
|
|
|
}
|
|
|
|
tableSize
|
|
|
|
tags {
|
|
|
|
tagClasses {
|
|
|
|
name
|
|
|
|
}
|
|
|
|
name
|
|
|
|
}
|
2024-11-06 22:40:18 -07:00
|
|
|
currentProcessing {
|
2024-11-07 15:50:51 -07:00
|
|
|
id
|
2024-11-06 22:40:18 -07:00
|
|
|
errors {
|
|
|
|
message
|
|
|
|
}
|
|
|
|
status
|
|
|
|
statuses {
|
|
|
|
status
|
|
|
|
}
|
|
|
|
}
|
2024-11-05 13:56:51 -07:00
|
|
|
}
|
|
|
|
|
2024-11-04 15:08:21 -07:00
|
|
|
query GetVideoFeed(
|
|
|
|
$limit: Int! = 5
|
|
|
|
$after: String = null
|
|
|
|
$filters: VideoFilterInput = null
|
2024-11-13 20:34:16 +01:00
|
|
|
$includeCallersVideos: Boolean = null
|
2024-12-17 18:07:00 -07:00
|
|
|
$includePrivate: IncludePrivateEnum = MINE
|
|
|
|
$feedInput: VideoFeedInputGQL = null
|
2024-11-04 15:08:21 -07:00
|
|
|
) {
|
2024-11-13 20:34:16 +01:00
|
|
|
getFeedVideos(
|
|
|
|
limit: $limit
|
|
|
|
after: $after
|
|
|
|
filters: $filters
|
|
|
|
includeCallersVideos: $includeCallersVideos
|
2024-12-17 18:07:00 -07:00
|
|
|
includePrivate: $includePrivate
|
|
|
|
feedInput: $feedInput
|
2024-11-13 20:34:16 +01:00
|
|
|
) {
|
2024-11-04 15:08:21 -07:00
|
|
|
videos {
|
2024-11-05 13:56:51 -07:00
|
|
|
...VideoCardFields
|
2024-11-04 15:08:21 -07:00
|
|
|
}
|
|
|
|
pageInfo {
|
|
|
|
hasNextPage
|
|
|
|
endCursor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|