Rename video endpoint to getUserVideos
This commit is contained in:
@@ -12,7 +12,12 @@ type Query {
|
||||
getUser(userId: Int!): UserGQL
|
||||
getLoggedInUser: UserGQL
|
||||
getPlayTime(userId: Int!): UserPlayTimeGQL!
|
||||
getVideoFeedForUser(limit: Int! = 5, after: String = null): VideoFeedGQL!
|
||||
getUserVideos(
|
||||
userId: Int = null
|
||||
limit: Int! = 5
|
||||
after: String = null
|
||||
filters: VideoFilterInput = null
|
||||
): VideoHistoryGQL!
|
||||
getVideo(videoId: Int!): VideoGQL!
|
||||
}
|
||||
|
||||
@@ -179,7 +184,7 @@ type UserPlayTimeGQL {
|
||||
totalSeconds: Float!
|
||||
}
|
||||
|
||||
type VideoFeedGQL {
|
||||
type VideoHistoryGQL {
|
||||
videos: [VideoGQL!]!
|
||||
pageInfo: PageInfoGQL!
|
||||
}
|
||||
@@ -263,6 +268,10 @@ type PageInfoGQL {
|
||||
endCursor: String
|
||||
}
|
||||
|
||||
input VideoFilterInput {
|
||||
isStreamCompleted: Boolean = null
|
||||
}
|
||||
|
||||
type Mutation {
|
||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||
|
Reference in New Issue
Block a user