railbird-gql/src/operations/feed.gql

44 lines
707 B
GraphQL

query GetFeed(
$limit: Int! = 5
$after: String = null
$filters: VideoFilterInput = null
) {
getUserVideos(limit: $limit, after: $after, filters: $filters) {
videos {
id
owner {
username
}
name
totalShotsMade
totalShots
makePercentage
medianRun
averageTimeBetweenShots
createdAt
updatedAt
startTime
endTime
elapsedTime
stream {
id
linksRequested
uploadsCompleted
isCompleted
createdAt
updatedAt
}
tags {
tagClasses {
name
}
name
}
}
pageInfo {
hasNextPage
endCursor
}
}
}